From: Koen Kooi Date: Fri, 23 Apr 2010 11:46:45 +0000 (+0200) Subject: xfce-base apps: convert to new style staging X-Git-Tag: Release-2010-05/1~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6258f0e7eb7628a11a849a0b43c8dfb27f738d0c;p=openembedded.git xfce-base apps: convert to new style staging --- diff --git a/recipes/xfce-base/exo_0.3.105.bb b/recipes/xfce-base/exo_0.3.105.bb index 81c00f95e6..e454bdf1bc 100644 --- a/recipes/xfce-base/exo_0.3.105.bb +++ b/recipes/xfce-base/exo_0.3.105.bb @@ -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 \ diff --git a/recipes/xfce-base/exo_0.3.4.bb b/recipes/xfce-base/exo_0.3.4.bb index 17ea87d3d3..3c3d838784 100644 --- a/recipes/xfce-base/exo_0.3.4.bb +++ b/recipes/xfce-base/exo_0.3.4.bb @@ -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.*" diff --git a/recipes/xfce-base/thunar_0.9.0.bb b/recipes/xfce-base/thunar_0.9.0.bb index 44afb06774..68951645ef 100644 --- a/recipes/xfce-base/thunar_0.9.0.bb +++ b/recipes/xfce-base/thunar_0.9.0.bb @@ -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" diff --git a/recipes/xfce-base/thunar_1.0.1.bb b/recipes/xfce-base/thunar_1.0.1.bb index 96a494efc3..502831f787 100644 --- a/recipes/xfce-base/thunar_1.0.1.bb +++ b/recipes/xfce-base/thunar_1.0.1.bb @@ -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" diff --git a/recipes/xfce-base/xfce-mcs-manager_4.4.2.bb b/recipes/xfce-base/xfce-mcs-manager_4.4.2.bb index 0b9fc43f70..ca5cbfdb63 100644 --- a/recipes/xfce-base/xfce-mcs-manager_4.4.2.bb +++ b/recipes/xfce-base/xfce-mcs-manager_4.4.2.bb @@ -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 } diff --git a/recipes/xfce-base/xfce4-dev-tools_4.4.0.1.bb b/recipes/xfce-base/xfce4-dev-tools_4.4.0.1.bb index 67c2d341de..2516f55245 100644 --- a/recipes/xfce-base/xfce4-dev-tools_4.4.0.1.bb +++ b/recipes/xfce-base/xfce4-dev-tools_4.4.0.1.bb @@ -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" diff --git a/recipes/xfce-base/xfce4-dev-tools_4.6.0.bb b/recipes/xfce-base/xfce4-dev-tools_4.6.0.bb index 9f96911d8d..d4d70ef314 100644 --- a/recipes/xfce-base/xfce4-dev-tools_4.6.0.bb +++ b/recipes/xfce-base/xfce4-dev-tools_4.6.0.bb @@ -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" diff --git a/recipes/xfce-base/xfce4-panel_4.4.2.bb b/recipes/xfce-base/xfce4-panel_4.4.2.bb index 2fd087733e..b9e10c3cbd 100644 --- a/recipes/xfce-base/xfce4-panel_4.4.2.bb +++ b/recipes/xfce-base/xfce4-panel_4.4.2.bb @@ -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 diff --git a/recipes/xfce-base/xfce4-panel_4.6.1.bb b/recipes/xfce-base/xfce4-panel_4.6.1.bb index c19d6fdd48..6f3edc03ad 100644 --- a/recipes/xfce-base/xfce4-panel_4.6.1.bb +++ b/recipes/xfce-base/xfce4-panel_4.6.1.bb @@ -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 } diff --git a/recipes/xfce-base/xfce4-panel_4.6.2.bb b/recipes/xfce-base/xfce4-panel_4.6.2.bb index 403dc71dbc..0371e599f2 100644 --- a/recipes/xfce-base/xfce4-panel_4.6.2.bb +++ b/recipes/xfce-base/xfce4-panel_4.6.2.bb @@ -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 } diff --git a/recipes/xfce-base/xfce4-panel_4.6.3.bb b/recipes/xfce-base/xfce4-panel_4.6.3.bb index 0dfa94b57f..2e8b2418c9 100644 --- a/recipes/xfce-base/xfce4-panel_4.6.3.bb +++ b/recipes/xfce-base/xfce4-panel_4.6.3.bb @@ -3,7 +3,7 @@ DESCRIPTION = "Xfce4 Panel" DEPENDS = "virtual/libx11 startup-notification libxfcegui4 libxml2 exo libwnck" SECTION = "x11" -PR = "r1" +PR = "r2" inherit xfce46 diff --git a/recipes/xfce-base/xfce4-settings_4.6.1.bb b/recipes/xfce-base/xfce4-settings_4.6.1.bb index 7d44e97a47..529d0cbdcb 100644 --- a/recipes/xfce-base/xfce4-settings_4.6.1.bb +++ b/recipes/xfce-base/xfce4-settings_4.6.1.bb @@ -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" diff --git a/recipes/xfce-base/xfconf_4.6.1.bb b/recipes/xfce-base/xfconf_4.6.1.bb index 2e167cc01c..057131ab48 100644 --- a/recipes/xfce-base/xfconf_4.6.1.bb +++ b/recipes/xfce-base/xfconf_4.6.1.bb @@ -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"