diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-04-09 10:31:36 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-04-09 10:31:36 +0000 |
commit | a42d7d3f663a20c4887481636eba0c84fd032e7a (patch) | |
tree | 98fdc8efc1c5bd8ae488506fbba9bfce13d7bd8f /meta/packages | |
parent | f0c6b03d5cd47370fd560e3fa737c4cbcace7de7 (diff) | |
download | poky-a42d7d3f663a20c4887481636eba0c84fd032e7a.tar.gz |
matchbox-(wm/sato): moved creation of x-session-manager to matchbox-sato
matchbox-sato contain session start scripts which are used as
x-session-manager so it should register it with update-alternatives
instead of matchbox-wm
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4214 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages')
-rw-r--r-- | meta/packages/matchbox-sato/matchbox-sato_0.1.bb | 9 | ||||
-rw-r--r-- | meta/packages/matchbox-wm/matchbox-wm_1.2.bb | 9 | ||||
-rw-r--r-- | meta/packages/matchbox-wm/matchbox-wm_svn.bb | 8 |
3 files changed, 21 insertions, 5 deletions
diff --git a/meta/packages/matchbox-sato/matchbox-sato_0.1.bb b/meta/packages/matchbox-sato/matchbox-sato_0.1.bb index e2f4aeb825..b8d6d7151a 100644 --- a/meta/packages/matchbox-sato/matchbox-sato_0.1.bb +++ b/meta/packages/matchbox-sato/matchbox-sato_0.1.bb | |||
@@ -3,11 +3,18 @@ LICENSE = "GPL" | |||
3 | SECTION = "x11" | 3 | SECTION = "x11" |
4 | RDEPENDS = "formfactor gtk-sato-engine matchbox-theme-sato gtk-theme-sato matchbox-panel-2 matchbox-desktop-sato initscripts" | 4 | RDEPENDS = "formfactor gtk-sato-engine matchbox-theme-sato gtk-theme-sato matchbox-panel-2 matchbox-desktop-sato initscripts" |
5 | RCONFLICTS = "matchbox-common" | 5 | RCONFLICTS = "matchbox-common" |
6 | PR = "r20" | 6 | PR = "r21" |
7 | 7 | ||
8 | SRC_URI = "file://etc file://matchbox-session" | 8 | SRC_URI = "file://etc file://matchbox-session" |
9 | S = ${WORKDIR} | 9 | S = ${WORKDIR} |
10 | 10 | ||
11 | inherit update-alternatives | ||
12 | |||
13 | ALTERNATIVE_NAME = "x-session-manager" | ||
14 | ALTERNATIVE_LINK = "${bindir}/x-session-manager" | ||
15 | ALTERNATIVE_PATH = "${bindir}/matchbox-session" | ||
16 | ALTERNATIVE_PRIORITY = "10" | ||
17 | |||
11 | do_install() { | 18 | do_install() { |
12 | install -d ${D}/${bindir} | 19 | install -d ${D}/${bindir} |
13 | install -m 0755 ${S}/matchbox-session ${D}/${bindir} | 20 | install -m 0755 ${S}/matchbox-session ${D}/${bindir} |
diff --git a/meta/packages/matchbox-wm/matchbox-wm_1.2.bb b/meta/packages/matchbox-wm/matchbox-wm_1.2.bb index 745493522f..f68eb2b4ae 100644 --- a/meta/packages/matchbox-wm/matchbox-wm_1.2.bb +++ b/meta/packages/matchbox-wm/matchbox-wm_1.2.bb | |||
@@ -2,7 +2,7 @@ SECTION = "x11/wm" | |||
2 | DESCRIPTION = "Matchbox window manager" | 2 | DESCRIPTION = "Matchbox window manager" |
3 | LICENSE = "GPL" | 3 | LICENSE = "GPL" |
4 | DEPENDS = "libmatchbox virtual/libx11 libxext libxcomposite libxfixes xdamage libxrender startup-notification expat" | 4 | DEPENDS = "libmatchbox virtual/libx11 libxext libxcomposite libxfixes xdamage libxrender startup-notification expat" |
5 | PR="r3" | 5 | PR = "r4" |
6 | 6 | ||
7 | SRC_URI = "http://matchbox-project.org/sources/matchbox-window-manager/1.2/matchbox-window-manager-${PV}.tar.bz2 \ | 7 | SRC_URI = "http://matchbox-project.org/sources/matchbox-window-manager/1.2/matchbox-window-manager-${PV}.tar.bz2 \ |
8 | file://configure_fix.patch;patch=1 \ | 8 | file://configure_fix.patch;patch=1 \ |
@@ -25,7 +25,12 @@ ALTERNATIVE_LINK = "${bindir}/x-session-manager" | |||
25 | ALTERNATIVE_PATH = "${bindir}/matchbox-session" | 25 | ALTERNATIVE_PATH = "${bindir}/matchbox-session" |
26 | ALTERNATIVE_PRIORITY = "10" | 26 | ALTERNATIVE_PRIORITY = "10" |
27 | 27 | ||
28 | EXTRA_OECONF = " --enable-startup-notification --disable-xrm --with-expat-lib=${STAGING_LIBDIR} --with-expat-includes=${STAGING_INCDIR}" | 28 | EXTRA_OECONF = " --enable-startup-notification \ |
29 | --disable-xrm \ | ||
30 | --enable-expat \ | ||
31 | --with-expat-lib=${STAGING_LIBDIR} \ | ||
32 | --with-expat-includes=${STAGING_INCDIR}" | ||
33 | |||
29 | 34 | ||
30 | do_configure_prepend () { | 35 | do_configure_prepend () { |
31 | cp ${WORKDIR}/gconf-2.m4 ${S}/ | 36 | cp ${WORKDIR}/gconf-2.m4 ${S}/ |
diff --git a/meta/packages/matchbox-wm/matchbox-wm_svn.bb b/meta/packages/matchbox-wm/matchbox-wm_svn.bb index fc1e09e503..d8a48e2ce6 100644 --- a/meta/packages/matchbox-wm/matchbox-wm_svn.bb +++ b/meta/packages/matchbox-wm/matchbox-wm_svn.bb | |||
@@ -3,7 +3,7 @@ DESCRIPTION = "Matchbox window manager" | |||
3 | LICENSE = "GPL" | 3 | LICENSE = "GPL" |
4 | DEPENDS = "libmatchbox virtual/libx11 libxext libxrender startup-notification expat gconf" | 4 | DEPENDS = "libmatchbox virtual/libx11 libxext libxrender startup-notification expat gconf" |
5 | PV = "1.2+svnr${SRCREV}" | 5 | PV = "1.2+svnr${SRCREV}" |
6 | PR = "r2" | 6 | PR = "r3" |
7 | 7 | ||
8 | SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=matchbox-window-manager;proto=http \ | 8 | SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=matchbox-window-manager;proto=http \ |
9 | file://configure_fix.patch;patch=1;maxrev=1818 \ | 9 | file://configure_fix.patch;patch=1;maxrev=1818 \ |
@@ -25,7 +25,11 @@ FILES_${PN} = "${bindir}/* \ | |||
25 | ${datadir}/themes/Default/matchbox \ | 25 | ${datadir}/themes/Default/matchbox \ |
26 | ${datadir}/themes/MBOpus/matchbox" | 26 | ${datadir}/themes/MBOpus/matchbox" |
27 | 27 | ||
28 | EXTRA_OECONF = " --enable-startup-notification --disable-xrm --with-expat-lib=${STAGING_LIBDIR} --with-expat-includes=${STAGING_INCDIR} --enable-expat" | 28 | EXTRA_OECONF = " --enable-startup-notification \ |
29 | --disable-xrm \ | ||
30 | --enable-expat \ | ||
31 | --with-expat-lib=${STAGING_LIBDIR} \ | ||
32 | --with-expat-includes=${STAGING_INCDIR}" | ||
29 | 33 | ||
30 | do_install_prepend() { | 34 | do_install_prepend() { |
31 | install ${WORKDIR}/kbdconfig ${S}/data/kbdconfig | 35 | install ${WORKDIR}/kbdconfig ${S}/data/kbdconfig |