64 lines
2.2 KiB
Bash
64 lines
2.2 KiB
Bash
#!/bin/sh
|
|
#
|
|
# Copyright (C) 2012-2022 Ruben Rodriguez <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=4
|
|
. ./config
|
|
|
|
# Custom settings
|
|
cp $DATA/org.ArcticaProject.arctica-greeter.gschema.xml data
|
|
|
|
# Change the sound theme
|
|
cp $DATA/system-ready.ogg data/sounds/stereo/system-ready.ogg
|
|
|
|
# Custom artwork
|
|
sed '/logo-bare/d; /rm.*logo.png/d' -i debian/rules
|
|
cp $DATA/logo.png data/logo.png
|
|
cp $DATA/logo.png .
|
|
cp $DATA/logo-bare.png data/logo-bare.png
|
|
cp $DATA/cof.png data
|
|
cp $DATA/badge.png ./data/badges/trisquel_badge.png
|
|
cp $DATA/badge.png data/badges/unknown_badge.png
|
|
replace ubuntu_badge trisquel_badge .
|
|
|
|
sed '/set_source_rgba/s/(0.4, 0.4, 0.4, 0.4)/(0.0, 0.0, 0.0, 0.7)/' -i src/dash-box.vala
|
|
|
|
sed '/fonts-/d' -i debian/control
|
|
|
|
# Fix selection highlight on toggle buttons
|
|
cat << EOF | patch --no-backup-if-mismatch -p1
|
|
--- a/src/toggle-box.vala 2022-12-05 19:49:25.898324331 -0500
|
|
+++ b/src/toggle-box.vala 2022-12-05 19:54:51.347291025 -0500
|
|
@@ -99,6 +99,8 @@
|
|
{
|
|
selected_button.get_style_context ().remove_class ("selected");
|
|
set_normal_button_style (selected_button);
|
|
+ selected_button.relief = Gtk.ReliefStyle.NONE;
|
|
+ selected_button.override_background_color(Gtk.StateFlags.NORMAL, null);
|
|
}
|
|
selected_button = button;
|
|
selected_key = selected_button.get_data<string> ("toggle-list-key");
|
|
EOF
|
|
|
|
# Prevent lightdm failure on removal
|
|
sed '/very serious/,/^$/d' -i data/90-arctica-greeter.conf
|
|
|
|
changelog "Adapted for Trisquel"
|
|
|
|
package
|
|
|