matchbox-desktop-2: Make fallback folder compatible with current matchbox-common.
authorStanislav Brabec <utx@penguin.cz>
Thu, 8 Oct 2009 18:47:30 +0000 (18:47 +0000)
committerutx@penguin.cz <utx@penguin.cz>
Thu, 8 Oct 2009 18:47:30 +0000 (18:47 +0000)
recipes/matchbox2/matchbox-desktop-2/fallback-folder.patch [new file with mode: 0644]
recipes/matchbox2/matchbox-desktop-2_svn.bb

diff --git a/recipes/matchbox2/matchbox-desktop-2/fallback-folder.patch b/recipes/matchbox2/matchbox-desktop-2/fallback-folder.patch
new file mode 100644 (file)
index 0000000..2d3b9f9
--- /dev/null
@@ -0,0 +1,15 @@
+matchbox-desktop-2 wants "meta-fallback", but matchbox-common-0.9.x
+defines "fallback" and there is no matchbox-common-2.
+Index: libtaku/taku-menu-desktop.c
+===================================================================
+--- libtaku/taku-menu-desktop.c        (revision 2096)
++++ libtaku/taku-menu-desktop.c        (working copy)
+@@ -239,7 +239,7 @@
+     /* Find a fallback category */
+     if (priv->fallback_category == NULL)
+       for (l = matches; *l; l++)
+-        if (strcmp (*l, "meta-fallback") == 0)
++        if (strcmp (*l, "fallback") == 0)
+           priv->fallback_category = category;
+   done:
index 21581e9..f0261f9 100644 (file)
@@ -4,13 +4,13 @@ SECTION = "x11/panels"
 DEPENDS = "gtk+ startup-notification"
 RDEPENDS = "matchbox-common"
 PV = "2.0+svnr${SRCREV}"
-PR = "r0"
+PR = "r1"
 
 inherit autotools_stage pkgconfig
 
-SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN};proto=http"
+SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN};proto=http \
+          file://fallback-folder.patch;patch=1;pnum=0 \
+"
 S = "${WORKDIR}/${PN}"
 
-#PARALLEL_MAKE = ""
-
 EXTRA_OECONF = "--program-transform-name='s/$/-2/'"