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

Re: grip being removed [Re: rawhide report: 20050120 changes]



On Fri, 28 Jan 2005 16:27:37 -0500, Bill Nottingham wrote:

> > On Fri, 28 Jan 2005 14:56:22 +0100, Peter Backlund wrote:
> > 
> > > Yes, it works fine with the Bluecurve xmms skin. There is an environment
> > > variable that lists additional directories to look for skins in, which
> > > conveniently contains /usr/share/xmms/Skins in the livna.org package
> > > (through an /etc/profile.d/ file), so that the BC skin can be used
> > > immediately. Same goes for the Industrial skin, from ximian-
> > > artwork.       
> > 
> > Would be good if something like this could be added to the profile.d:
> > 
> > skin=$(gconftool-2 --get /apps/bmp/skin 2> /dev/null)
> > if [ -z "$skin" -a -f /usr/share/xmms/Skins/Bluecurve-xmms.zip ]; then
> >     gconftool-2 --set /apps/bmp/skin --type string \
> >         /usr/share/xmms/Skins/Bluecurve-xmms.zip &> /dev/null
> > fi
> >  
> > What it does is to make the Bluecurve skin the default if user has
> > not set a different one already.
> 
> There's a suitably gross make-bluecurve-the-default skin patch in xmms.
> Depending on which bits of the xmms architecture they kept, it
> may apply (haven't looked at bmp.)

Had a look. Doesn't apply. But this one does and works, too, because the
skin loader falls back to the "Default" skin if Bluecurve skin isn't
found.

bmp-0.9.7-default-skin.patch

diff -Nur bmp-0.9.7/beep/main.c bmp-0.9.7-modified/beep/main.c
--- bmp-0.9.7/beep/main.c	2004-12-04 10:04:24.000000000 +0100
+++ bmp-0.9.7-modified/beep/main.c	2005-01-28 23:54:17.938968912 +0100
@@ -144,7 +144,7 @@
     0.0,                        /* equalizer preamp */
     {0, 0, 0, 0, 0,             /* equalizer bands */
      0, 0, 0, 0, 0},
-    NULL,                       /* skin */
+    "/usr/share/xmms/Skins/Bluecurve-xmms.zip",  /* skin */
     NULL,                       /* output plugin */
     NULL,                       /* file selector path */
     NULL,                       /* playlist path */


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