xfce-base apps: convert to new style staging
authorKoen Kooi <koen@openembedded.org>
Fri, 23 Apr 2010 11:46:45 +0000 (13:46 +0200)
committerDavid-John Willis <John.Willis@Distant-earth.com>
Sat, 15 May 2010 16:36:51 +0000 (17:36 +0100)
13 files changed:
recipes/xfce-base/exo_0.3.105.bb
recipes/xfce-base/exo_0.3.4.bb
recipes/xfce-base/thunar_0.9.0.bb
recipes/xfce-base/thunar_1.0.1.bb
recipes/xfce-base/xfce-mcs-manager_4.4.2.bb
recipes/xfce-base/xfce4-dev-tools_4.4.0.1.bb
recipes/xfce-base/xfce4-dev-tools_4.6.0.bb
recipes/xfce-base/xfce4-panel_4.4.2.bb
recipes/xfce-base/xfce4-panel_4.6.1.bb
recipes/xfce-base/xfce4-panel_4.6.2.bb
recipes/xfce-base/xfce4-panel_4.6.3.bb
recipes/xfce-base/xfce4-settings_4.6.1.bb
recipes/xfce-base/xfconf_4.6.1.bb

index 81c00f9..e454bdf 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION="XFCE extensions and framework library with session management support"
 DEPENDS = "libxfce4util hal liburi-perl-native python-native cairo"
 SECTION = "x11"
-PR = "r1"
+PR = "r2"
 
 inherit xfce46 python-dir
 
@@ -18,10 +18,6 @@ do_configure_prepend() {
        sed -i -e s:'`$PKG_CONFIG --variable=defsdir pygtk-2.0`':\"${STAGING_DATADIR}/pygtk/2.0/defs\":g ${S}/configure.in
 }
 
-do_stage() {
-    autotools_stage_all
-}
-
 FILES_${PN} += "${datadir}/xfce4/ \
                 ${PYTHON_SITEPACKAGES_DIR}/* \
                 ${prefix}/share/pygtk/2.0/defs/exo-0.3/exo.defs \
index 17ea87d..3c3d838 100644 (file)
@@ -1,5 +1,7 @@
 DEPENDS = "libxfce4util xfce-mcs-manager hal liburi-perl-native python-native"
 
+PR = "r1"
+
 inherit xfce
 XFCE_VERSION = 4.4.2
 
@@ -11,10 +13,6 @@ do_configure_prepend() {
        sed -i -e s:'`$PKG_CONFIG --variable=defsdir pygtk-2.0`':\"${STAGING_DATADIR}/pygtk/2.0/defs\":g ${S}/configure.in
 }
 
-do_stage() {
-    autotools_stage_all
-}
-
 FILES_${PN} += "${datadir}/xfce4/ \
                 ${libdir}/xfce4/mcs-plugins/exo-preferred-applications-settings.so"
 FILES_${PN}-dev += "${libdir}/xfce4/mcs-plugins/exo-preferred-applications-settings.*"
index 44afb06..6895164 100644 (file)
@@ -5,7 +5,7 @@ RRECOMMENDS = "shared-mime-info"
 inherit xfce pkgconfig
 
 SRC_URI = "http://www.us.xfce.org/archive/xfce-4.4.2/src/Thunar-${PV}.tar.bz2"
-PR = 'r3'
+PR = "r4"
 
 S = "${WORKDIR}/Thunar-${PV}/"
 
@@ -16,6 +16,5 @@ FILES_${PN} += "${libdir}/thunarx-1/*.so \
                 ${datadir}/xfce4"
 FILES_${PN}-dbg += "${libdir}/thunarx-1/.debug/ ${libexecdir}/xfce4/panel-plugins/.debug/"
 
-do_stage () {
-       autotools_stage_all
-}
+SRC_URI[md5sum] = "0fc5008858661c0abd0399acbe30ef28"
+SRC_URI[sha256sum] = "26c833b0bdf3281c61e03f1fb985feced88cf4a5cebce7bd055f05e025460037"
index 96a494e..502831f 100644 (file)
@@ -4,7 +4,7 @@ DEPENDS = "exo dbus-glib libexif xfce4-panel libice libsm gamin"
 RDEPENDS = "libxfcegui4 exo dbus-glib libexif xfce4-panel libice libsm gamin"
 RRECOMMENDS = "shared-mime-info"
 SECTION = "x11"
-PR = "r1"
+PR = "r2"
 
 inherit xfce46
 
@@ -24,6 +24,5 @@ FILES_${PN} += "${libdir}/thunarx-1/*.so \
                 ${datadir}/xfce4"
 FILES_${PN}-dbg += "${libdir}/thunarx-1/.debug/ ${libexecdir}/xfce4/panel-plugins/.debug/"
 
-do_stage () {
-       autotools_stage_all
-}
+SRC_URI[md5sum] = "218373aa45d74b6ba8c69c4d5af3bb19"
+SRC_URI[sha256sum] = "7a2b6b493463756bbc9c54144fab2f2163bc84f0896b4c06fd225d11025a210d"
index 0b9fc43..ca5cbfd 100644 (file)
@@ -5,21 +5,14 @@
 DESCRIPTION="XFCE4 Settings manager."
 DEPENDS="libxfcegui4 libxfce4mcs intltool-native"
 SECTION = "x11"
-PR = "r1"
+PR = "r3"
 
 inherit xfce 
 
-do_stage() {
-       install -d ${STAGING_INCDIR}/xfce4
-       install -d ${STAGING_INCDIR}/xfce4/xfce-mcs-manager
-       install -m 644 xfce-mcs-manager/manager-plugin.h ${STAGING_INCDIR}/xfce4/xfce-mcs-manager
-}
-
 # xfce-mcs-manager.pc uses ${libdir} to indicate where the mcs plugins live
 # the standard pkgconfig mangling was confusing us.  Mangling is not required
 # for this particular .pc, so the following will suffice:
 
-do_stage_append () {
-       install -d ${PKG_CONFIG_DIR}
-       sed -e 's:^includedir=.*:includedir="/usr/include":;' ${S}/xfce-mcs-manager/xfce-mcs-manager.pc >${PKG_CONFIG_DIR}/xfce-mcs-manager.pc
+do_install_append () {
+       sed -i -e 's:^includedir=.*:includedir="/usr/include":;' ${S}/xfce-mcs-manager/xfce-mcs-manager.pc
 }
index 67c2d34..2516f55 100644 (file)
@@ -2,12 +2,15 @@ DESCRIPTION = "Xfce4 development tools"
 SECTION = "x11/libs"
 LICENSE = "GPL"
 
+PR = "r2"
+
 inherit xfce
 XFCE_VERSION = 4.4.2
 
-do_stage() {
-       install -d ${STAGING_DATADIR}/aclocal
-       install -m 644 m4macros/*.m4 ${STAGING_DATADIR}/aclocal/
+do_install_append() {
+       install -d ${D}${datadir}/aclocal
+       install -m 644 m4macros/*.m4 ${D}${datadir}/aclocal/
 }
 
+
 FILES_${PN}-dev += " ${datadir}/xfce4/dev-tools/m4macros/*.m4"
index 9f96911..d4d70ef 100644 (file)
@@ -1,18 +1,18 @@
 DESCRIPTION = "Xfce4 development tools"
 SECTION = "x11/libs"
 LICENSE = "GPL"
-PR = "r1"
+PR = "r3"
 
 inherit xfce46
 
-inherit autotools autotools_stage
+inherit autotools
+
+do_install_append() {
+       install -d ${D}${datadir}/aclocal
+       install -m 644 m4macros/*.m4 ${D}${datadir}/aclocal/
+}
 
 XFCE_VERSION = ${PV}
 SRC_URI = "http://www.us.xfce.org/archive/xfce-${XFCE_VERSION}/src/${PN}-${PV}.tar.bz2"
 
-do_stage() {
-       install -d ${STAGING_DATADIR}/aclocal
-       install -m 644 m4macros/*.m4 ${STAGING_DATADIR}/aclocal/
-}
-
 FILES_${PN}-dev += " ${datadir}/xfce4/dev-tools/m4macros/*.m4"
index 2fd0877..b9e10c3 100644 (file)
@@ -8,12 +8,9 @@ DEPENDS = "startup-notification virtual/libx11 libxfcegui4 libxfce4mcs xfce-mcs-
 
 inherit pkgconfig xfce
 
-EXTRA_OECONF += " --enable-startup-notification"
-
+PR = "r1"
 
-do_stage() {
-autotools_stage_all
-}
+EXTRA_OECONF += " --enable-startup-notification"
 
 do_install() {
     oe_runmake DESTDIR=${D} install
index c19d6fd..6f3edc0 100644 (file)
@@ -3,16 +3,12 @@
 DESCRIPTION = "Xfce4 Panel"
 DEPENDS = "virtual/libx11 startup-notification libxfcegui4 libxml2 exo libwnck"
 SECTION = "x11"
-PR = "r2"
+PR = "r3"
 
 inherit xfce46
 
 EXTRA_OECONF += " --enable-startup-notification"
 
-do_stage() {
-    autotools_stage_all
-}
-
 do_install() {
     oe_runmake DESTDIR=${D} install
 }
index 403dc71..0371e59 100644 (file)
@@ -3,16 +3,12 @@
 DESCRIPTION = "Xfce4 Panel"
 DEPENDS = "virtual/libx11 startup-notification libxfcegui4 libxml2 exo libwnck"
 SECTION = "x11"
-PR = "r1"
+PR = "r2"
 
 inherit xfce46
 
 EXTRA_OECONF += " --enable-startup-notification"
 
-do_stage() {
-    autotools_stage_all
-}
-
 do_install() {
     oe_runmake DESTDIR=${D} install
 }
index 0dfa94b..2e8b241 100644 (file)
@@ -3,7 +3,7 @@
 DESCRIPTION = "Xfce4 Panel"
 DEPENDS = "virtual/libx11 startup-notification libxfcegui4 libxml2 exo libwnck"
 SECTION = "x11"
-PR = "r1"
+PR = "r2"
 
 inherit xfce46
 
index 7d44e97..529d0cb 100644 (file)
@@ -6,7 +6,7 @@ LICENSE = "GPL-2"
 DEPENDS = "virtual/libx11 virtual/xserver libxi libwnck xrandr exo libxfce4util"
 RDEPENDS = "gtk+ libxfce4util libxfcegui4 xfconf exo"
 
-PR = "r1"
+PR = "r2"
 
 inherit xfce46
 
@@ -15,6 +15,5 @@ SRC_URI += " \
     file://xfce4-settings-4.6.1-configure.patch;patch=1 \
 "
 
-do_stage() {
-autotools_stage_all
-}
+SRC_URI[md5sum] = "dc1c8704471c5b0104fa10c30eb60cb6"
+SRC_URI[sha256sum] = "36dda4d43366fad47ee95ea5d4fa336d0b14f79c524b4f29a2ac1b9ada4abf8d"
index 2e167cc..057131a 100644 (file)
@@ -6,12 +6,8 @@ LICENSE = "GPL-2"
 DEPENDS = "libxfce4util"
 RDEPENDS = "libxfce4util"
 
-PR = "r1"
+PR = "r2"
 
 inherit xfce46
 
-do_stage() {
-autotools_stage_all
-}
-
 FILES_${PN} += "${datadir}/dbus-1/services/org.xfce.Xfconf.service"