mirror of
https://gitlab.com/CinnamonSlackBuilds/csb.git
synced 2024-12-24 21:59:18 +01:00
cinnamon: Provide default Slackware wallpaper.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
parent
738f382412
commit
07bee36bad
7 changed files with 41 additions and 5 deletions
|
@ -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
|
||||
|
|
4
cinnamon/slackware-14.2.gschema.override
Normal file
4
cinnamon/slackware-14.2.gschema.override
Normal file
|
@ -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'
|
BIN
cinnamon/slackware-background-black.png
Normal file
BIN
cinnamon/slackware-background-black.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 636 KiB |
BIN
cinnamon/slackware-background-blue.png
Normal file
BIN
cinnamon/slackware-background-blue.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
BIN
cinnamon/slackware-background-light.png
Normal file
BIN
cinnamon/slackware-background-light.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 144 KiB |
BIN
cinnamon/slackware-background-subgenius.png
Normal file
BIN
cinnamon/slackware-background-subgenius.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
28
cinnamon/slackware.xml
Normal file
28
cinnamon/slackware.xml
Normal file
|
@ -0,0 +1,28 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE wallpapers SYSTEM "cinnamon-wp-list.dtd">
|
||||
<wallpapers>
|
||||
<wallpaper deleted="false">
|
||||
<name>Slackware Linux (Blue)</name>
|
||||
<filename>/usr/share/backgrounds/cinnamon/desktop/slackware-background-blue.png</filename>
|
||||
<options>zoom</options>
|
||||
<artist>Caveman</artist>
|
||||
</wallpaper>
|
||||
<wallpaper deleted="false">
|
||||
<name>Slackware Linux (Black)</name>
|
||||
<filename>/usr/share/backgrounds/cinnamon/desktop/slackware-background-black.png</filename>
|
||||
<options>zoom</options>
|
||||
<artist>Caveman</artist>
|
||||
</wallpaper>
|
||||
<wallpaper deleted="false">
|
||||
<name>Slackware Linux (SubGenius)</name>
|
||||
<filename>/usr/share/backgrounds/cinnamon/desktop/slackware-background-subgenius.png</filename>
|
||||
<options>zoom</options>
|
||||
<artist>Leggi Argomento</artist>
|
||||
</wallpaper>
|
||||
<wallpaper deleted="false">
|
||||
<name>Slackware Linux (Light)</name>
|
||||
<filename>/usr/share/backgrounds/cinnamon/desktop/slackware-background-light.png</filename>
|
||||
<options>zoom</options>
|
||||
<artist>Amarillo Linux Users Group</artist>
|
||||
</wallpaper>
|
||||
</wallpapers>
|
Loading…
Reference in a new issue