matchbox-common: Add jlime-specific modifications.
authorAlex Ferguson <thoughtmonster@gmail.com>
Thu, 4 Nov 2010 17:25:11 +0000 (19:25 +0200)
committerKristoffer Ericson <kristoffer.ericson@gmail.com>
Fri, 5 Nov 2010 09:41:15 +0000 (10:41 +0100)
* Added jlime-vfolders.patch, which modifies the default
  folders for matchbox-desktop.

* Modified matchbox-common-0.9.1 recipe for the above patch
  and for matchbox-icons.tar.gz, which is a collection of
  icons which replace the default matchbox icons.

Signed-off-by: Alex Ferguson <thoughtmonster@gmail.com>
Signed-off-by: Kristoffer Ericson <kristoffer.ericson@gmail.com>
recipes/matchbox-common/matchbox-common/jlime-vfolders.patch [new file with mode: 0644]
recipes/matchbox-common/matchbox-common_0.9.1.bb

diff --git a/recipes/matchbox-common/matchbox-common/jlime-vfolders.patch b/recipes/matchbox-common/matchbox-common/jlime-vfolders.patch
new file mode 100644 (file)
index 0000000..6fd319e
--- /dev/null
@@ -0,0 +1,118 @@
+diff -ruN matchbox-common-0.9.1.orig/data/vfolders-pda/Games.directory matchbox-common-0.9.1/data/vfolders-pda/Games.directory
+--- matchbox-common-0.9.1.orig/data/vfolders-pda/Games.directory       2004-12-01 13:22:30.000000000 +0200
++++ matchbox-common-0.9.1/data/vfolders-pda/Games.directory    2010-10-02 12:03:27.000000000 +0300
+@@ -1,9 +1,8 @@
+ [Desktop Entry]
+-Name=Games
+-Name[de]=Spiele
+-Comment=Games of all kind
+-Comment[de]=Spiele aller Art
+-Icon=mbfolder.png
++Version=1.0
++Encoding=UTF-8
+ Type=Directory
++Icon=applications-games
++Name=Games
++Comment=Games, puzzles, and other fun software
+ Match=Game
+-
+diff -ruN matchbox-common-0.9.1.orig/data/vfolders-pda/Makefile.am matchbox-common-0.9.1/data/vfolders-pda/Makefile.am
+--- matchbox-common-0.9.1.orig/data/vfolders-pda/Makefile.am   2010-10-30 14:21:07.861132604 +0300
++++ matchbox-common-0.9.1/data/vfolders-pda/Makefile.am        2010-10-30 14:22:04.873032724 +0300
+@@ -3,7 +3,7 @@
+                 Media.directory        \
+                 Other.directory        \
+                 Root.directory         \
+-                Settings.directory     \
++                System.directory     \
+                 Utilities.directory    \
+                 Root.order             
+diff -ruN matchbox-common-0.9.1.orig/data/vfolders-pda/Makefile.in matchbox-common-0.9.1/data/vfolders-pda/Makefile.in
+--- matchbox-common-0.9.1.orig/data/vfolders-pda/Makefile.in   2005-01-12 15:34:43.000000000 +0200
++++ matchbox-common-0.9.1/data/vfolders-pda/Makefile.in        2010-10-30 14:23:39.451122838 +0300
+@@ -115,7 +115,7 @@
+                 Games.directory        \
+                 Other.directory        \
+                 Root.directory         \
+-                Settings.directory     \
++                System.directory     \
+                 Utilities.directory    \
+                 Root.order             
+diff -ruN matchbox-common-0.9.1.orig/data/vfolders-pda/Media.directory matchbox-common-0.9.1/data/vfolders-pda/Media.directory
+--- matchbox-common-0.9.1.orig/data/vfolders-pda/Media.directory       2010-10-30 14:21:07.861132604 +0300
++++ matchbox-common-0.9.1/data/vfolders-pda/Media.directory    2010-10-17 14:54:44.000000000 +0300
+@@ -1,8 +1,8 @@
+ [Desktop Entry]
+-Name=Media
+-Name[de]=Medien
+-Comment=View media files
+-Comment[de]=Programme zur Wiedergabe von audiovisuellen Medien
+-Icon=mbfolder.png
++Version=1.0
++Encoding=UTF-8
+ Type=Directory
+-Match=AudioVideo;Graphics;Media;Viewer;
++Icon=applications-multimedia
++Name=Media
++Comment=Audio and video players and editors
++Match=AudioVideo;Audio;Video;Graphics;
+diff -ruN matchbox-common-0.9.1.orig/data/vfolders-pda/Other.directory matchbox-common-0.9.1/data/vfolders-pda/Other.directory
+--- matchbox-common-0.9.1.orig/data/vfolders-pda/Other.directory       2004-12-01 13:22:30.000000000 +0200
++++ matchbox-common-0.9.1/data/vfolders-pda/Other.directory    2010-10-02 12:06:19.000000000 +0300
+@@ -1,8 +1,8 @@
+ [Desktop Entry]
+-Name=Other
+-Name[de]=Anderes
+-Comment=Other applications and tools
+-Comment[de]=Andere Anwendungen und Werkzeuge
+-Icon=mbfolder.png
++Version=1.0
++Encoding=UTF-8
+ Type=Directory
++Icon=applications-other
++Name=Other
++Comment=Applications that don't fit into other categories
+ Match=fallback
+diff -ruN matchbox-common-0.9.1.orig/data/vfolders-pda/Root.order matchbox-common-0.9.1/data/vfolders-pda/Root.order
+--- matchbox-common-0.9.1.orig/data/vfolders-pda/Root.order    2010-10-30 14:21:07.861132604 +0300
++++ matchbox-common-0.9.1/data/vfolders-pda/Root.order 2010-10-18 01:03:46.000000000 +0300
+@@ -1,4 +1,5 @@
+-Media
++Utilities
+ Games
+-Settings
++Media
+ Other
++System
+diff -ruN matchbox-common-0.9.1.orig/data/vfolders-pda/System.directory matchbox-common-0.9.1/data/vfolders-pda/System.directory
+--- matchbox-common-0.9.1.orig/data/vfolders-pda/System.directory      1970-01-01 02:00:00.000000000 +0200
++++ matchbox-common-0.9.1/data/vfolders-pda/System.directory   2010-10-18 01:04:34.000000000 +0300
+@@ -0,0 +1,8 @@
++[Desktop Entry]
++Version=1.0
++Encoding=UTF-8
++Type=Directory
++Icon=applications-system
++Name=System
++Comment=Desktop and system settings applications
++Match=Settings;System;
+diff -ruN matchbox-common-0.9.1.orig/data/vfolders-pda/Utilities.directory matchbox-common-0.9.1/data/vfolders-pda/Utilities.directory
+--- matchbox-common-0.9.1.orig/data/vfolders-pda/Utilities.directory   2004-12-01 13:22:30.000000000 +0200
++++ matchbox-common-0.9.1/data/vfolders-pda/Utilities.directory        2010-10-17 15:12:18.000000000 +0300
+@@ -1,8 +1,8 @@
+ [Desktop Entry]
+-Name=Utilities
+-Name[de]=Einstellungen
+-Comment=Various utilities
+-Comment[de]=Verschiedene Hilfsprogramme
+-Icon=mbfolder.png
++Version=1.0
++Encoding=UTF-8
+ Type=Directory
+-Match=Utility
++Icon=applications-accessories
++Name=Utilities
++Comment=Common desktop tools and applications
++Match=Accessibility;Core;Legacy;Utility;Office;
index 1565258..9a1f95e 100644 (file)
@@ -9,8 +9,15 @@ SRC_URI = "http://projects.o-hand.com/matchbox/sources/${PN}/0.9/${PN}-${PV}.tar
            file://no-utilities-category.patch \
            file://add-media-category.patch"
 
+SRC_URI_append_jlime = " http://jlime.com/downloads/development/software/matchbox-icons.tar.gz;name=addons \
+                        file://jlime-vfolders.patch "
+
 inherit autotools pkgconfig update-alternatives
 
+do_configure_prepend_jlime() {
+       mv ${WORKDIR}/icons/* ${S}/icons
+}
+
 EXTRA_OECONF = "--enable-pda-folders"
 
 FILES_${PN} = "\
@@ -23,8 +30,10 @@ ALTERNATIVE_LINK = "${bindir}/x-window-manager"
 ALTERNATIVE_PATH = "${bindir}/matchbox-session"
 ALTERNATIVE_PRIORITY = "11"
 
-
 PACKAGE_ARCH = "all"
 
 SRC_URI[md5sum] = "90acc81aeebc0dca8f88fbaa40166607"
 SRC_URI[sha256sum] = "cb56d6a1031c33b98751cb06b2fce73feba49cb38a1e4db1a104e8efdfb9a7dc"
+
+SRC_URI[addons.md5sum] = "4613553e3ff3dc53d3bd1b9e01266727"
+SRC_URI[addons.sha256sum] = "b35ee2c5d68275fbb598fd8dc0a77899dc5e34e4c1d94fbb3277136604ddac6a"