]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/gpe-bootsplash/files/svg-cairo-only.patch
gpe-bootsplash: only link against libsvg-cairo
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / gpe-bootsplash / files / svg-cairo-only.patch
1 --- gpe-bootsplash-1.15/Makefile        2005-11-04 23:46:57.000000000 +0100
2 +++ gpe-bootsplash-1.15/Makefile        2006-08-04 18:08:40.000000000 +0200
3 @@ -2,7 +2,7 @@
4  VERSION = 1.15
5  CVSBUILD = no
6  
7 -PACKAGE_CFLAGS = `pkg-config --cflags gdk-pixbuf-2.0 libsvg-cairo` `pkg-config --libs gdk-pixbuf-2.0 libsvg-cairo` -DGTK2
8 +PACKAGE_CFLAGS = `pkg-config --cflags glib-2.0 libsvg-cairo` `pkg-config --libs libsvg-cairo`
9  CFLAGS = -fomit-frame-pointer -Os
10  
11  SPLASH = splash2.png
12 --- gpe-bootsplash-1.15/splash.c.orig   2006-08-04 18:13:54.000000000 +0200
13 +++ gpe-bootsplash-1.15/splash.c        2006-08-04 18:13:56.000000000 +0200
14 @@ -60,7 +60,9 @@
15    gboolean has_alpha, use_landscape;
16    int img_xres, img_yres;
17  
18 +#ifndef USE_SVG
19    g_type_init ();
20 +#endif /* USE_SVG */
21  
22    fd = open (FB, O_RDWR);
23    if (fd < 0 && errno == ENOENT)