make-gnome-control-center 1.83 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#!/bin/sh
#
#    Copyright (C) 2012  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
#

20
VERSION=6
21 22 23 24
COMPONENT=main

. ./config

25 26 27
# Remove recommendeds as it points to ubuntu-docs
sed '/ubuntu-docs/d' -i debian/control*

28 29 30
# make the sound daemon compatible with trisquel custom session
replace gnome-fallback gnome-classic .

31 32 33
# Hide misleading "Experience" label in graphics tab.
sed '/label19/,+1 s/True/False/' -i panels/info/info.ui

34 35
# Replace logo
replace UbuntuLogo.png TrisquelLogo.png
36 37
rm debian/UbuntuLogoBlank.png
cp $DATA/TrisquelLogo.png debian/TrisquelLogoBlank.png
Ruben Rodriguez committed
38
sed 's/ubuntu/trisquel/g; s/Ubuntu/Trisquel/g; s/14.04 LTS/7.0 LTS/' -i debian/rules
39 40

# disable ubuntu custom help
Ruben Rodriguez committed
41 42 43 44 45

for patch in 53_use_ubuntu_help.patch 56_use_ubuntu_info_branding.patch 58_ubuntu_icon_views_redesign.patch; do
    rm ./debian/patches/$patch
    sed /$patch/d -i debian/patches/series
done
46 47 48 49

# Edit menu selections
cp $DATA/gnomecc.menu.in shell/gnomecc.menu.in

Ruben Rodriguez committed
50 51 52
#Remove top menu
sed '/G_ACTION/,/Quit/d' -i shell/control-center.c

53 54
replace "Trisquel-Gettext" "Ubuntu-Gettext" .

55 56 57 58
changelog "Replaced references to gnome-fallback with gnome-classic"

compile