diff options
| author | Jussi Kukkonen <jussi.kukkonen@intel.com> | 2016-06-01 10:57:32 +0300 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-15 18:05:24 +0100 |
| commit | f9c78510d6df1254d7a950576dca4b8d723f3521 (patch) | |
| tree | d9ceff8bf1821b750146f04a3d6c781e4556419d | |
| parent | bff5f0efb37b8447f71ae1ecb02848976f5ac8c0 (diff) | |
| download | poky-f9c78510d6df1254d7a950576dca4b8d723f3521.tar.gz | |
matchbox-desktop: Add Sato folder configuration
matchbox-desktop folder configuration for Sato was in a separate
project 'matchbox-desktop-sato'. Skip the extra overhead: remove
matchbox-desktop-sato and include the files here.
Drop Utilities folder and include those icons in the Applictions
folder in an effort to make the common case a little more useful:
Now e.g. Terminal icon should be visible on startup.
(From OE-Core rev: 42d92eabcd6e54db551f6b2577ae6b6da0b778b8)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 files changed, 43 insertions, 24 deletions
diff --git a/meta/recipes-sato/matchbox-desktop-sato/matchbox-desktop-sato_git.bb b/meta/recipes-sato/matchbox-desktop-sato/matchbox-desktop-sato_git.bb deleted file mode 100644 index 1979cbb769..0000000000 --- a/meta/recipes-sato/matchbox-desktop-sato/matchbox-desktop-sato_git.bb +++ /dev/null | |||
| @@ -1,22 +0,0 @@ | |||
| 1 | SUMMARY = "Matchbox desktop folders for the Sato environment" | ||
| 2 | HOMEPAGE = "http://matchbox-project.org" | ||
| 3 | BUGTRACKER = "http://bugzilla.yoctoproject.org/" | ||
| 4 | |||
| 5 | LICENSE = "GPLv2" | ||
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" | ||
| 7 | |||
| 8 | SECTION = "x11" | ||
| 9 | DEPENDS = "" | ||
| 10 | RCONFLICTS_${PN} = "matchbox-common" | ||
| 11 | |||
| 12 | SRCREV = "810b0b08eb79e4685202da2ec347b990bb467e07" | ||
| 13 | PV = "0.1+git${SRCPV}" | ||
| 14 | PR = "r1" | ||
| 15 | |||
| 16 | SRC_URI = "git://git.yoctoproject.org/${BPN}" | ||
| 17 | |||
| 18 | S = "${WORKDIR}/git" | ||
| 19 | |||
| 20 | inherit autotools pkgconfig | ||
| 21 | |||
| 22 | FILES_${PN} += "${datadir}" | ||
diff --git a/meta/recipes-sato/matchbox-desktop/files/vfolders/All.directory b/meta/recipes-sato/matchbox-desktop/files/vfolders/All.directory new file mode 100644 index 0000000000..dfa41e3d31 --- /dev/null +++ b/meta/recipes-sato/matchbox-desktop/files/vfolders/All.directory | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | [Desktop Entry] | ||
| 2 | Name=All | ||
| 3 | Icon=mbfolder.png | ||
| 4 | Type=Directory | ||
| 5 | Match=meta-all | ||
diff --git a/meta/recipes-sato/matchbox-desktop/files/vfolders/Applications.directory b/meta/recipes-sato/matchbox-desktop/files/vfolders/Applications.directory new file mode 100644 index 0000000000..a7e3501712 --- /dev/null +++ b/meta/recipes-sato/matchbox-desktop/files/vfolders/Applications.directory | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | [Desktop Entry] | ||
| 2 | Name=Applications | ||
| 3 | Comment=Applications | ||
| 4 | Icon=gnome-applications.png | ||
| 5 | Type=Directory | ||
| 6 | Match=AudioVideo;Audio;Video;Graphics;Network;Office;Utility;System;Development;meta-fallback; | ||
diff --git a/meta/recipes-sato/matchbox-desktop/files/vfolders/Games.directory b/meta/recipes-sato/matchbox-desktop/files/vfolders/Games.directory new file mode 100644 index 0000000000..1b0928c752 --- /dev/null +++ b/meta/recipes-sato/matchbox-desktop/files/vfolders/Games.directory | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | [Desktop Entry] | ||
| 2 | Name=Games | ||
| 3 | Name[de]=Spiele | ||
| 4 | Comment=Games of all kind | ||
| 5 | Comment[de]=Spiele aller Art | ||
| 6 | Icon=mbfolder.png | ||
| 7 | Type=Directory | ||
| 8 | Match=Game | ||
| 9 | |||
diff --git a/meta/recipes-sato/matchbox-desktop/files/vfolders/Root.order b/meta/recipes-sato/matchbox-desktop/files/vfolders/Root.order new file mode 100644 index 0000000000..01a86d2939 --- /dev/null +++ b/meta/recipes-sato/matchbox-desktop/files/vfolders/Root.order | |||
| @@ -0,0 +1,4 @@ | |||
| 1 | Applications | ||
| 2 | Games | ||
| 3 | Settings | ||
| 4 | All | ||
diff --git a/meta/recipes-sato/matchbox-desktop/files/vfolders/Settings.directory b/meta/recipes-sato/matchbox-desktop/files/vfolders/Settings.directory new file mode 100644 index 0000000000..5dde365f0e --- /dev/null +++ b/meta/recipes-sato/matchbox-desktop/files/vfolders/Settings.directory | |||
| @@ -0,0 +1,8 @@ | |||
| 1 | [Desktop Entry] | ||
| 2 | Name=Settings | ||
| 3 | Name[de]=Einstellungen | ||
| 4 | Comment=Settings for your handheld computer | ||
| 5 | Comment[de]=Einstellungen für Ihren Handheld-Computer | ||
| 6 | Icon=mbfolder.png | ||
| 7 | Type=Directory | ||
| 8 | Match=Settings | ||
diff --git a/meta/recipes-sato/matchbox-desktop/matchbox-desktop_2.1.bb b/meta/recipes-sato/matchbox-desktop/matchbox-desktop_2.1.bb index d6c53b003c..d9a2f22147 100644 --- a/meta/recipes-sato/matchbox-desktop/matchbox-desktop_2.1.bb +++ b/meta/recipes-sato/matchbox-desktop/matchbox-desktop_2.1.bb | |||
| @@ -12,7 +12,9 @@ SECTION = "x11/wm" | |||
| 12 | 12 | ||
| 13 | # SRCREV tagged 2.1 | 13 | # SRCREV tagged 2.1 |
| 14 | SRCREV = "c8473519a0f37488b8b3e839e275b000cdde0b80" | 14 | SRCREV = "c8473519a0f37488b8b3e839e275b000cdde0b80" |
| 15 | SRC_URI = "git://git.yoctoproject.org/${BPN}-2" | 15 | SRC_URI = "git://git.yoctoproject.org/${BPN}-2 \ |
| 16 | file://vfolders/* \ | ||
| 17 | " | ||
| 16 | 18 | ||
| 17 | EXTRA_OECONF = "--enable-startup-notification --with-dbus" | 19 | EXTRA_OECONF = "--enable-startup-notification --with-dbus" |
| 18 | 20 | ||
| @@ -22,3 +24,10 @@ inherit autotools pkgconfig distro_features_check | |||
| 22 | 24 | ||
| 23 | # The startup-notification requires x11 in DISTRO_FEATURES | 25 | # The startup-notification requires x11 in DISTRO_FEATURES |
| 24 | REQUIRED_DISTRO_FEATURES = "x11" | 26 | REQUIRED_DISTRO_FEATURES = "x11" |
| 27 | |||
| 28 | do_install_append() { | ||
| 29 | install -d ${D}${datadir}/matchbox/vfolders/ | ||
| 30 | install -m 0644 ${WORKDIR}/vfolders/* ${D}${datadir}/matchbox/vfolders/ | ||
| 31 | } | ||
| 32 | |||
| 33 | FILES_${PN} += "${datadir}/matchbox/vfolders/" | ||
diff --git a/meta/recipes-sato/matchbox-sato/matchbox-session-sato_0.1.bb b/meta/recipes-sato/matchbox-sato/matchbox-session-sato_0.1.bb index fb4750bafd..42c742fca6 100644 --- a/meta/recipes-sato/matchbox-sato/matchbox-session-sato_0.1.bb +++ b/meta/recipes-sato/matchbox-sato/matchbox-session-sato_0.1.bb | |||
| @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://session;endline=3;md5=f8a5c5b9c279e52dc094d10e11c2be6 | |||
| 7 | 7 | ||
| 8 | SECTION = "x11" | 8 | SECTION = "x11" |
| 9 | DEPENDS = "gconf-native" | 9 | DEPENDS = "gconf-native" |
| 10 | RDEPENDS_${PN} = "formfactor matchbox-theme-sato matchbox-panel-2 matchbox-desktop-sato matchbox-session gconf" | 10 | RDEPENDS_${PN} = "formfactor matchbox-theme-sato matchbox-panel-2 matchbox-desktop matchbox-session gconf" |
| 11 | PR = "r30" | 11 | PR = "r30" |
| 12 | 12 | ||
| 13 | # This package is architecture specific because the session script is modified | 13 | # This package is architecture specific because the session script is modified |
