package-helpers-cmxsl/helpers/make-gnome-control-center
2012-09-09 01:03:17 +02:00

46 lines
1.5 KiB
Bash

#!/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
#
VERSION=3
COMPONENT=main
. ./config
# make the sound daemon compatible with trisquel custom session
replace gnome-fallback gnome-classic .
# Replace logo
replace UbuntuLogo.png TrisquelLogo.png
rm debian/UbuntuLogo.png
cp $DATA/TrisquelLogo.png debian
# disable ubuntu custom help
rm ./debian/patches/53_use_ubuntu_help.patch
sed /use_ubuntu_help/d -i debian/patches/series
# Add Trisquel to the hardcoded list of gtk3 themes
sed 's/"Adwaita"/"Trisquel", "Adwaita"/' -i debian/patches/04_add_theme_selection.patch
# Edit menu selections
cp $DATA/gnomecc.menu.in shell/gnomecc.menu.in
changelog "Replaced references to gnome-fallback with gnome-classic"
compile