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

Bug#383248: usplash



On Sun, Oct 08, 2006 at 12:41:58PM +0200, maximilian attems wrote:
i'm having lots of trouble lately with usplash - i guess it's due that it no longer uses vga16fb but vesafb
and as debian's one is not modular like ubuntu ones you need
to pass the vga boot arg.

Oh, I had no idea since I use self-built kernels

so sorry that i didn't make lots of progresss on that front.

No problem, here's something to cheer you up :)

I've taken the image posted at [0] and made a debian package based on it which can create usplash themes of arbitrary sizes. This makes it dead easy to construct a theme with a number of sizes (e.g. 1600x1200, 1024x768...etc).

Just change the first line in the Makefile to set the size(s) that should be included and build.

It should have most things that a sane usplash theme package should, like adding an alternative for /usr/lib/usplash/usplash-artwork.so.

I've tested it with and without verbose output and with several different resolutions.

In the future, if any of the Debian art wizards would like to update the theme without having to understand the usplash formats, all they have to do is to download the sources, plop in a new SVG background and (optionally) a new png progress image and recompile.

In order to use it, you need the latest upstream usplash sources along with the attached patch.

I'm hoping that you can take over this artwork package and upload it to the Debian archive as soon as a usplash with my tiny patch is in the archive.

The source package can be downloaded from:
http://www.hardeman.nu/~david/files/misc/usplash-theme-etch.tar.gz

--
David Härdeman

[0] http://wiki.debian.org/DebianDesktopArtwork/UsplashEtch
=== modified file 'usplash-theme.h'
--- usplash-theme.h	2006-09-24 13:19:47 +0000
+++ usplash-theme.h	2006-10-09 21:50:12 +0000
@@ -25,7 +25,7 @@
 #include <stdlib.h>
 
 /* Current theme version */
-#define THEME_VERSION 2
+#define THEME_VERSION 3
 
 typedef enum { USPLASH_4_3, USPLASH_16_9 } usplash_ratio;
 
@@ -38,6 +38,8 @@
 	usplash_ratio ratio;
 	struct usplash_pixmap *pixmap;	/* Background image */
 	struct usplash_font *font;	/* Font for writing text */
+	struct usplash_pixmap *progress_fg; /* Progress bar foreground */
+	struct usplash_pixmap *progress_bg; /* Progress bar background */
 
 	/* Palette indexes */
 	short background;	/* General background colour */


Reply to: