mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 00:59:48 +00:00
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
This commit is contained in:
@@ -3,11 +3,18 @@ LICENSE = "GPL"
|
|||||||
SECTION = "x11"
|
SECTION = "x11"
|
||||||
RDEPENDS = "formfactor gtk-sato-engine matchbox-theme-sato gtk-theme-sato matchbox-panel-2 matchbox-desktop-sato initscripts"
|
RDEPENDS = "formfactor gtk-sato-engine matchbox-theme-sato gtk-theme-sato matchbox-panel-2 matchbox-desktop-sato initscripts"
|
||||||
RCONFLICTS = "matchbox-common"
|
RCONFLICTS = "matchbox-common"
|
||||||
PR = "r20"
|
PR = "r21"
|
||||||
|
|
||||||
SRC_URI = "file://etc file://matchbox-session"
|
SRC_URI = "file://etc file://matchbox-session"
|
||||||
S = ${WORKDIR}
|
S = ${WORKDIR}
|
||||||
|
|
||||||
|
inherit update-alternatives
|
||||||
|
|
||||||
|
ALTERNATIVE_NAME = "x-session-manager"
|
||||||
|
ALTERNATIVE_LINK = "${bindir}/x-session-manager"
|
||||||
|
ALTERNATIVE_PATH = "${bindir}/matchbox-session"
|
||||||
|
ALTERNATIVE_PRIORITY = "10"
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
install -d ${D}/${bindir}
|
install -d ${D}/${bindir}
|
||||||
install -m 0755 ${S}/matchbox-session ${D}/${bindir}
|
install -m 0755 ${S}/matchbox-session ${D}/${bindir}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ SECTION = "x11/wm"
|
|||||||
DESCRIPTION = "Matchbox window manager"
|
DESCRIPTION = "Matchbox window manager"
|
||||||
LICENSE = "GPL"
|
LICENSE = "GPL"
|
||||||
DEPENDS = "libmatchbox virtual/libx11 libxext libxcomposite libxfixes xdamage libxrender startup-notification expat"
|
DEPENDS = "libmatchbox virtual/libx11 libxext libxcomposite libxfixes xdamage libxrender startup-notification expat"
|
||||||
PR="r3"
|
PR = "r4"
|
||||||
|
|
||||||
SRC_URI = "http://matchbox-project.org/sources/matchbox-window-manager/1.2/matchbox-window-manager-${PV}.tar.bz2 \
|
SRC_URI = "http://matchbox-project.org/sources/matchbox-window-manager/1.2/matchbox-window-manager-${PV}.tar.bz2 \
|
||||||
file://configure_fix.patch;patch=1 \
|
file://configure_fix.patch;patch=1 \
|
||||||
@@ -25,7 +25,12 @@ ALTERNATIVE_LINK = "${bindir}/x-session-manager"
|
|||||||
ALTERNATIVE_PATH = "${bindir}/matchbox-session"
|
ALTERNATIVE_PATH = "${bindir}/matchbox-session"
|
||||||
ALTERNATIVE_PRIORITY = "10"
|
ALTERNATIVE_PRIORITY = "10"
|
||||||
|
|
||||||
EXTRA_OECONF = " --enable-startup-notification --disable-xrm --with-expat-lib=${STAGING_LIBDIR} --with-expat-includes=${STAGING_INCDIR}"
|
EXTRA_OECONF = " --enable-startup-notification \
|
||||||
|
--disable-xrm \
|
||||||
|
--enable-expat \
|
||||||
|
--with-expat-lib=${STAGING_LIBDIR} \
|
||||||
|
--with-expat-includes=${STAGING_INCDIR}"
|
||||||
|
|
||||||
|
|
||||||
do_configure_prepend () {
|
do_configure_prepend () {
|
||||||
cp ${WORKDIR}/gconf-2.m4 ${S}/
|
cp ${WORKDIR}/gconf-2.m4 ${S}/
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ DESCRIPTION = "Matchbox window manager"
|
|||||||
LICENSE = "GPL"
|
LICENSE = "GPL"
|
||||||
DEPENDS = "libmatchbox virtual/libx11 libxext libxrender startup-notification expat gconf"
|
DEPENDS = "libmatchbox virtual/libx11 libxext libxrender startup-notification expat gconf"
|
||||||
PV = "1.2+svnr${SRCREV}"
|
PV = "1.2+svnr${SRCREV}"
|
||||||
PR = "r2"
|
PR = "r3"
|
||||||
|
|
||||||
SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=matchbox-window-manager;proto=http \
|
SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=matchbox-window-manager;proto=http \
|
||||||
file://configure_fix.patch;patch=1;maxrev=1818 \
|
file://configure_fix.patch;patch=1;maxrev=1818 \
|
||||||
@@ -25,7 +25,11 @@ FILES_${PN} = "${bindir}/* \
|
|||||||
${datadir}/themes/Default/matchbox \
|
${datadir}/themes/Default/matchbox \
|
||||||
${datadir}/themes/MBOpus/matchbox"
|
${datadir}/themes/MBOpus/matchbox"
|
||||||
|
|
||||||
EXTRA_OECONF = " --enable-startup-notification --disable-xrm --with-expat-lib=${STAGING_LIBDIR} --with-expat-includes=${STAGING_INCDIR} --enable-expat"
|
EXTRA_OECONF = " --enable-startup-notification \
|
||||||
|
--disable-xrm \
|
||||||
|
--enable-expat \
|
||||||
|
--with-expat-lib=${STAGING_LIBDIR} \
|
||||||
|
--with-expat-includes=${STAGING_INCDIR}"
|
||||||
|
|
||||||
do_install_prepend() {
|
do_install_prepend() {
|
||||||
install ${WORKDIR}/kbdconfig ${S}/data/kbdconfig
|
install ${WORKDIR}/kbdconfig ${S}/data/kbdconfig
|
||||||
|
|||||||
Reference in New Issue
Block a user