Initial release for Brigantia
This commit is contained in:
parent
451ad8177c
commit
8024924d21
387 changed files with 555125 additions and 0 deletions
67
helpers/make-gfxboot-theme-ubuntu
Normal file
67
helpers/make-gfxboot-theme-ubuntu
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# Copyright (C) 2011 Rubén Rodríguez <ruben@trisquel.info>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
|
||||
VERSION=1
|
||||
|
||||
. ./config
|
||||
|
||||
sed 's/] def/ [ "nds" "nds" "Plattdüütsch" ]\n[ "oc" "oc" "Occitan" ]\n[ "aym" "aym" "Aymara" ]\n[ "quz" "quz" "Qhiswa (quz)" ]\n] def/' langnames.inc -i
|
||||
|
||||
cp po/es.po po/quz.po
|
||||
cp po/es.po po/aym.po
|
||||
|
||||
for FILE in po/*.po*; do
|
||||
[ $FILE = "hi.po" ] && continue
|
||||
ACCESSLINE=$(expr $(grep -n \"Accessibility\" $FILE |cut -d: -f1|head -n 1) + 1)
|
||||
ACCESSWORD=$(sed -n ${ACCESSLINE}p $FILE |sed 's/msgstr \"//;s/\"//')
|
||||
|
||||
LINE=$(expr $(grep -n "Try Ubuntu Netbook without installing" $FILE|cut -d: -f1) + 1 )
|
||||
sed "${LINE}s/\"$/ (+ $ACCESSWORD)\"/" -i $FILE
|
||||
LINE=$(expr $(grep -n "Install Ubuntu Netbook" $FILE|cut -d: -f1) + 1 )
|
||||
sed "${LINE}s/\"$/ (+ $ACCESSWORD)\"/" -i $FILE
|
||||
|
||||
sed 's/Try Ubuntu Netbook without installing/Try Ubuntu Netbook without installing (+ Accessibility)/' -i $FILE
|
||||
done
|
||||
|
||||
replace Kubuntu Triskel .
|
||||
replace "Ubuntu Netbook" Trisquel .
|
||||
replace Edubuntu "Trisquel Sugar TOAST" .
|
||||
replace Eubuntu "Trisquel Sugar TOAST" .
|
||||
replace Eduubuntu "Trisquel Sugar TOAST" .
|
||||
replace Xubuntu "Trisquel Mini" .
|
||||
replace Xbuntu "Trisquel Mini" .
|
||||
replace "Ubuntu MID" "Trisquel Edu" .
|
||||
replace Mythbuntu "Trisquel Pro" .
|
||||
replace Mythubuntu "Trisquel Pro" .
|
||||
replace "Enterprise Cloud" "Gamer" .
|
||||
#replace "Ubuntu Studio" "Trisquel ..."
|
||||
|
||||
replace Ubuntu Trisquel .
|
||||
|
||||
sed /txt_option_free/d dia_fulloptions.inc -i
|
||||
sed 's:\(.*\)120\(.*\):\181\2\n/timeout.time.x timeout.x 550 add def:' timeout.inc -i
|
||||
|
||||
sed 's/gfxboot-theme-ubuntu/gfxboot-theme-trisquel/' debian/control -i
|
||||
|
||||
changelog "Rebranded for Trisquel"
|
||||
sed '1s/gfxboot-theme-ubuntu/gfxboot-theme-trisquel/' debian/changelog /CurrentlyBuilding -i
|
||||
sed 's/main/universe/' /CurrentlyBuilding -i
|
||||
|
||||
compile
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue