]> pilppa.com Git - familiar-h63xx-build.git/commitdiff
gpe-bootsplash: only link against libsvg-cairo
authorRene Wagner <rw@handhelds.org>
Sat, 12 Aug 2006 16:46:52 +0000 (18:46 +0200)
committerRene Wagner <rw@handhelds.org>
Sat, 12 Aug 2006 16:46:52 +0000 (18:46 +0200)
Signed-off-by: Rene Wagner <rw@handhelds.org>
org.handhelds.familiar/packages/gpe-bootsplash/files/svg-cairo-only.patch [new file with mode: 0644]
org.handhelds.familiar/packages/gpe-bootsplash/gpe-bootsplash_1.15.bb

diff --git a/org.handhelds.familiar/packages/gpe-bootsplash/files/svg-cairo-only.patch b/org.handhelds.familiar/packages/gpe-bootsplash/files/svg-cairo-only.patch
new file mode 100644 (file)
index 0000000..d24c143
--- /dev/null
@@ -0,0 +1,23 @@
+--- gpe-bootsplash-1.15/Makefile       2005-11-04 23:46:57.000000000 +0100
++++ gpe-bootsplash-1.15/Makefile       2006-08-04 18:08:40.000000000 +0200
+@@ -2,7 +2,7 @@
+ VERSION = 1.15
+ CVSBUILD = no
+-PACKAGE_CFLAGS = `pkg-config --cflags gdk-pixbuf-2.0 libsvg-cairo` `pkg-config --libs gdk-pixbuf-2.0 libsvg-cairo` -DGTK2
++PACKAGE_CFLAGS = `pkg-config --cflags glib-2.0 libsvg-cairo` `pkg-config --libs libsvg-cairo`
+ CFLAGS = -fomit-frame-pointer -Os
+ SPLASH = splash2.png
+--- gpe-bootsplash-1.15/splash.c.orig  2006-08-04 18:13:54.000000000 +0200
++++ gpe-bootsplash-1.15/splash.c       2006-08-04 18:13:56.000000000 +0200
+@@ -60,7 +60,9 @@
+   gboolean has_alpha, use_landscape;
+   int img_xres, img_yres;
++#ifndef USE_SVG
+   g_type_init ();
++#endif /* USE_SVG */
+   fd = open (FB, O_RDWR);
+   if (fd < 0 && errno == ENOENT)
index 51abcfaf5433bdd88209dad0bfa67e1425d98057..941ac64ff0fc86b62ecd99c638b5e332ead81c50 100644 (file)
@@ -1,13 +1,15 @@
 inherit gpe
 
-DEPENDS = "gtk+ libsvg-cairo"
+DEPENDS = "glib-2.0 libsvg-cairo"
 MAINTAINER = "Phil Blundell <pb@handhelds.org>"
 SECTION = "gpe"
 PRIORITY = "optional"
 LICENSE = "GPL"
-PR = "r1"
+PR = "r2"
 
-SRC_URI += "file://splash-p.svg file://splash-l.svg"
+SRC_URI += "file://svg-cairo-only.patch;patch=1 \
+            file://splash-p.svg \
+           file://splash-l.svg"
 
 FILES_${PN} += "${datadir}/gpe"