* New desktop-background-bitmap alternative with only bitmap based

backgrounds (PNG, JPEG, ...) for KDE 3 which doen't support SVG
  backgrounds; use the new background symlink as the default KDE wallpaper
  in kdesktoprc.
This commit is contained in:
Loïc Minier
2006-12-04 09:54:09 +00:00
parent cfaa88aa9b
commit dfe3b75a5b
4 changed files with 30 additions and 4 deletions

6
debian/changelog vendored
View File

@@ -8,8 +8,12 @@ desktop-base (0.3.21) UNRELEASED; urgency=low
[ Loic Minier ]
* Drop uploaders rule and gnome-pkg-tools build-dep.
* New desktop-background-bitmap alternative with only bitmap based
backgrounds (PNG, JPEG, ...) for KDE 3 which doen't support SVG
backgrounds; use the new background symlink as the default KDE wallpaper
in kdesktoprc.
-- Loic Minier <lool@dooz.org> Sun, 3 Dec 2006 10:49:46 +0100
-- Loic Minier <lool@dooz.org> Mon, 4 Dec 2006 10:53:32 +0100
desktop-base (0.3.20) unstable; urgency=high

16
debian/postinst vendored
View File

@@ -11,7 +11,7 @@ if [ "${1}" = "configure" ] && [ "$2" != "" ] ; then
fi
if [ "$1" = "configure" -o "$1" = "abort-upgrade" ]; then
# Alternatives for the background
# Alternatives for the background (both in vector and bitmap formats)
update-alternatives --install \
/usr/share/images/desktop-base/desktop-background \
desktop-background \
@@ -37,6 +37,20 @@ if [ "$1" = "configure" -o "$1" = "abort-upgrade" ]; then
desktop-background \
/usr/share/images/desktop-base/Debian.jpg 10
# Alternatives for the background (bitmaps only)
update-alternatives --install \
/usr/share/images/desktop-base/desktop-background-bitmap \
desktop-background-bitmap \
/usr/share/images/desktop-base/debblue-1600x1200.png 30
update-alternatives --install \
/usr/share/images/desktop-base/desktop-background-bitmap \
desktop-background-bitmap \
/usr/share/images/desktop-base/bluedeb-1024x768.jpg 10
update-alternatives --install \
/usr/share/images/desktop-base/desktop-background-bitmap \
desktop-background-bitmap \
/usr/share/images/desktop-base/Debian.jpg 10
# Alternatives for the splash
update-alternatives --install \
/usr/share/images/desktop-base/desktop-splash \

10
debian/prerm vendored
View File

@@ -3,7 +3,7 @@
#DEBHELPER#
if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ]; then
# remove background alternatives
# remove background alternatives (both in vector and bitmap formats)
update-alternatives --remove desktop-background \
/usr/share/images/desktop-base/debian-blueish-wallpaper.svg
@@ -19,6 +19,14 @@ if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ]; then
update-alternatives --remove desktop-background \
/usr/share/images/desktop-base/Debian.jpg
# remove background alternatives (bitmaps only)
update-alternatives --remove desktop-background-bitmap \
/usr/share/images/desktop-base/debblue-1600x1200.png
update-alternatives --remove desktop-background-bitmap \
/usr/share/images/desktop-base/bluedeb-1024x768.jpg
update-alternatives --remove desktop-background-bitmap \
/usr/share/images/desktop-base/Debian.jpg
# remove splash alternatives
update-alternatives --remove desktop-splash \
/usr/share/images/desktop-base/gnome-splash-curves.png

View File

@@ -13,6 +13,6 @@ Pattern=
Program=
ReverseBlending=false
UseSHM=false
Wallpaper=/usr/share/images/desktop-base/desktop-background
Wallpaper=/usr/share/images/desktop-base/desktop-background-bitmap
WallpaperList=
WallpaperMode=Scaled