[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#459352: please provide 640x480 TGA version of debian-blueish-wallpaper.svg for GRUB



Package: desktop-base
Version: 4.0.4
Severity: wishlist
Tags: patch

Hi!

GRUB 2 supports background images now, in TGA format with 640x480 resolution
and 24-bit depth.

I'd like it to use the default Debian theme image (which I believe at the
moment is debian-blueish-wallpaper.svg; let me know if that changes) when
desktop-base package is installed.

Please, could you provide an image in this format for use with GRUB ?

Attached patch uses imagemagick in postinst to generate it in user's system.

Thanks

-- System Information:
Debian Release: lenny/sid
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-5-amd64
Locale: LANG=ca_AD.UTF-8, LC_CTYPE=ca_AD.UTF-8 (charmap=UTF-8)

Versions of packages desktop-base depends on:
ii  librsvg2-common               2.14.4-3   SAX-based renderer library for SVG

desktop-base recommends no packages.

-- no debconf information
diff -ur desktop-base-4.0.4.old/debian/control desktop-base-4.0.4/debian/control
--- desktop-base-4.0.4.old/debian/control	2007-11-23 11:38:34.000000000 +0100
+++ desktop-base-4.0.4/debian/control	2008-01-05 20:00:02.000000000 +0100
@@ -12,7 +12,7 @@
 
 Package: desktop-base
 Architecture: all
-Depends: librsvg2-common
+Depends: librsvg2-common, imagemagick
 Suggests: gnome | kde | xfce4 | wmaker
 Description: common files for the Debian Desktop
  This package contains various miscellaneous files which are used by
diff -ur desktop-base-4.0.4.old/debian/postinst desktop-base-4.0.4/debian/postinst
--- desktop-base-4.0.4.old/debian/postinst	2007-11-23 11:39:56.000000000 +0100
+++ desktop-base-4.0.4/debian/postinst	2008-01-05 20:06:58.000000000 +0100
@@ -57,5 +57,11 @@
         /usr/share/images/desktop-base/desktop-splash \
         desktop-splash \
         /usr/share/images/desktop-base/Splash-Debian_red.png 10
-fi
 
+    # GRUB background
+    if test -e /usr/share/images/desktop-base/debian-blueish-wallpaper.svg \
+        && ! test -e /usr/share/images/desktop-base/debian-blueish-wallpaper_640x480.tga ; then
+    convert /usr/share/images/desktop-base/debian-blueish-wallpaper.svg -size 640x480 -scale 640x480 \
+        /usr/share/images/desktop-base/debian-blueish-wallpaper_640x480.tga
+    fi
+fi
diff -ur desktop-base-4.0.4.old/debian/prerm desktop-base-4.0.4/debian/prerm
--- desktop-base-4.0.4.old/debian/prerm	2007-11-23 11:40:13.000000000 +0100
+++ desktop-base-4.0.4/debian/prerm	2008-01-05 20:07:12.000000000 +0100
@@ -31,5 +31,7 @@
 
     update-alternatives --remove desktop-splash \
         /usr/share/images/desktop-base/Splash-Debian_red.png
+
+    rm -f /usr/share/images/desktop-base/debian-blueish-wallpaper_640x480.tga
 fi
 

Reply to: