diff --git a/cinnamon/cinnamon.SlackBuild b/cinnamon/cinnamon.SlackBuild index 187ac7f..316017b 100644 --- a/cinnamon/cinnamon.SlackBuild +++ b/cinnamon/cinnamon.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=cinnamon VERSION=${VERSION:-3.2.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_csb} if [ -z "$ARCH" ]; then @@ -74,10 +74,6 @@ find -L . \ # Use cinnamon theme by default patch -p1 < $CWD/default-theme.patch -# Cinnamon has no upstream backgrounds, use GNOME backgrounds instead -sed -i 's|/usr/share/cinnamon-background-properties|/usr/share/gnome-background-properties|' \ - files/usr/share/cinnamon/cinnamon-settings/modules/cs_backgrounds.py - # Fix selected background color in Cinnamon Settings for Adwaita theme sed -i 's/@selected_bg_color;/@theme_selected_bg_color;/' \ files/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py @@ -133,6 +129,14 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild find $PKG/usr/doc/$PRGNAM-$VERSION/ -type f -exec chmod 644 {} \; chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION +# provide some background wallpapers +mkdir -p $PKG/usr/share/backgrounds/cinnamon/desktop/ $PKG/usr/share/cinnamon-background-properties/ +cp $CWD/slackware-background-*.png $PKG/usr/share/backgrounds/cinnamon/desktop/ +cp $CWD/slackware.xml $PKG/usr/share/cinnamon-background-properties/ + +# override schema to provide a default Slackware background wallpaper +cp $CWD/slackware-14.2.gschema.override $PKG/usr/share/glib-2.0/schemas + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh diff --git a/cinnamon/slackware-14.2.gschema.override b/cinnamon/slackware-14.2.gschema.override new file mode 100644 index 0000000..f5d3c48 --- /dev/null +++ b/cinnamon/slackware-14.2.gschema.override @@ -0,0 +1,4 @@ +[org.cinnamon.desktop.background] +picture-uri='file:///usr/share/backgrounds/cinnamon/desktop/slackware-background-blue.png' +primary-color='#000000' +secondary-color='#777777' diff --git a/cinnamon/slackware-background-black.png b/cinnamon/slackware-background-black.png new file mode 100644 index 0000000..2e7504a Binary files /dev/null and b/cinnamon/slackware-background-black.png differ diff --git a/cinnamon/slackware-background-blue.png b/cinnamon/slackware-background-blue.png new file mode 100644 index 0000000..a1bbacb Binary files /dev/null and b/cinnamon/slackware-background-blue.png differ diff --git a/cinnamon/slackware-background-light.png b/cinnamon/slackware-background-light.png new file mode 100644 index 0000000..a8cd518 Binary files /dev/null and b/cinnamon/slackware-background-light.png differ diff --git a/cinnamon/slackware-background-subgenius.png b/cinnamon/slackware-background-subgenius.png new file mode 100644 index 0000000..6ab526f Binary files /dev/null and b/cinnamon/slackware-background-subgenius.png differ diff --git a/cinnamon/slackware.xml b/cinnamon/slackware.xml new file mode 100644 index 0000000..44e5a9a --- /dev/null +++ b/cinnamon/slackware.xml @@ -0,0 +1,28 @@ + + + + + Slackware Linux (Blue) + /usr/share/backgrounds/cinnamon/desktop/slackware-background-blue.png + zoom + Caveman + + + Slackware Linux (Black) + /usr/share/backgrounds/cinnamon/desktop/slackware-background-black.png + zoom + Caveman + + + Slackware Linux (SubGenius) + /usr/share/backgrounds/cinnamon/desktop/slackware-background-subgenius.png + zoom + Leggi Argomento + + + Slackware Linux (Light) + /usr/share/backgrounds/cinnamon/desktop/slackware-background-light.png + zoom + Amarillo Linux Users Group + +