matchbox-desktop: Added layout.patch and modified recipe for jlime.
authorAlex Ferguson <thoughtmonster@gmail.com>
Sat, 30 Oct 2010 18:42:30 +0000 (21:42 +0300)
committerKristoffer Ericson <kristoffer.ericson@gmail.com>
Wed, 3 Nov 2010 15:51:17 +0000 (16:51 +0100)
* Added layout.patch, which modifies the matchbox-desktop layout slightly
  by moving everything down by 20 pixels.

* Modified matchbox-desktop-0.9.1 recipe with SRC_URI_append_jlime, pulling
  in the above patch for jlime only.

Signed-off-by: Alex Ferguson <thoughtmonster@gmail.com>
Signed-off-by: Kristoffer Ericson <kristoffer.ericson@gmail.com>
recipes/matchbox-desktop/matchbox-desktop-0.9.1/layout.patch [new file with mode: 0644]
recipes/matchbox-desktop/matchbox-desktop_0.9.1.bb

diff --git a/recipes/matchbox-desktop/matchbox-desktop-0.9.1/layout.patch b/recipes/matchbox-desktop/matchbox-desktop-0.9.1/layout.patch
new file mode 100644 (file)
index 0000000..b1a57b2
--- /dev/null
@@ -0,0 +1,23 @@
+diff -ru matchbox-desktop-0.9.1.orig/data/mbdesktop_modules.in matchbox-desktop-0.9.1/data/mbdesktop_modules.in
+--- matchbox-desktop-0.9.1.orig/data/mbdesktop_modules.in      2004-12-01 13:22:33.000000000 +0200
++++ matchbox-desktop-0.9.1/data/mbdesktop_modules.in   2010-10-05 16:34:14.635639164 +0300
+@@ -4,6 +4,6 @@
+ # It can be overridden on a per-user basis by copying this file to ~/.matchbox/
+ # and editing. 
+-@MBDESKTOP_PLUGIN_DIR@/tasks.so
++# @MBDESKTOP_PLUGIN_DIR@/tasks.so
+ @MBDESKTOP_PLUGIN_DIR@/dotdesktop.so
+ # @MBDESKTOP_PLUGIN_DIR@/simplefilebrowser.so /
+diff -ru matchbox-desktop-0.9.1.orig/src/mbdesktop.c matchbox-desktop-0.9.1/src/mbdesktop.c
+--- matchbox-desktop-0.9.1.orig/src/mbdesktop.c        2004-12-20 19:42:48.000000000 +0200
++++ matchbox-desktop-0.9.1/src/mbdesktop.c     2010-10-05 16:34:10.728179673 +0300
+@@ -957,7 +957,7 @@
+                            &mb->workarea_height ) == False )
+     {
+       mb->workarea_x = 0;
+-      mb->workarea_y = 0;
++      mb->workarea_y = 20;
+       mb->workarea_width = DisplayWidth(mb->dpy, mb->scr);
+       mb->workarea_height = DisplayHeight(mb->dpy, mb->scr);
+     }
index 99b43da..01b4077 100644 (file)
@@ -8,6 +8,8 @@ SRC_URI = "http://projects.o-hand.com/matchbox/sources/matchbox-desktop/0.9/matc
            file://pkgconfig_fix.patch \
            file://mb-desktop-multi-category-matching.patch"
 
+SRC_URI_append_jlime = " file://layout.patch "
+
 RDEPENDS_${PN} += "matchbox-common"
 
 EXTRA_OECONF = "--enable-startup-notification --enable-dnotify"