xfce: remove pkgconfig hacks and switch to autotools.bbclass, tweak packaging
authorKoen Kooi <koen@openembedded.org>
Thu, 25 Sep 2008 16:12:21 +0000 (16:12 +0000)
committerKoen Kooi <koen@openembedded.org>
Thu, 25 Sep 2008 16:12:21 +0000 (16:12 +0000)
28 files changed:
classes/xfce.bbclass
packages/xfce/exo_0.3.2.bb
packages/xfce/libxfce4mcs.inc
packages/xfce/libxfce4mcs_4.4.1.bb
packages/xfce/libxfce4util.inc
packages/xfce/libxfce4util_4.4.1.bb
packages/xfce/libxfcegui4.inc
packages/xfce/libxfcegui4_4.4.1.bb
packages/xfce/xfce-mcs-manager.inc
packages/xfce/xfce-mcs-manager_4.4.1.bb
packages/xfce/xfce-mcs-plugins.inc
packages/xfce/xfce-mcs-plugins_4.4.1.bb
packages/xfce/xfce-utils.inc
packages/xfce/xfce-utils_4.4.1.bb
packages/xfce/xfce4-appfinder.inc
packages/xfce/xfce4-appfinder_4.4.1.bb
packages/xfce/xfce4-dev-tools.inc
packages/xfce/xfce4-mixer.inc
packages/xfce/xfce4-mixer_4.4.1.bb
packages/xfce/xfce4-panel.inc
packages/xfce/xfce4-panel_4.4.1.bb
packages/xfce/xfdesktop.inc
packages/xfce/xfdesktop_4.4.1.bb
packages/xfce/xfprint_4.4.1.bb
packages/xfce/xfwm4-themes.inc
packages/xfce/xfwm4-themes_4.4.1.bb
packages/xfce/xfwm4.inc
packages/xfce/xfwm4_4.4.1.bb

index ecc0082..c6ccc5f 100644 (file)
@@ -12,9 +12,15 @@ SRC_URI = "http://www.us.xfce.org/archive/xfce-${PV}/src/${PN}-${PV}.tar.bz2"
 
 inherit autotools
 
+AUTOTOOLS_STAGE_PKGCONFIG = "1"
+
 EXTRA_OECONF += "--with-pluginsdir=${libdir}/xfce4/panel-plugins/"
 
 # FIXME:  Put icons in their own package too?
 
 FILES_${PN} += "${datadir}/icons/* ${datadir}/applications/* ${libdir}/xfce4/modules/*.so*"
 FILES_${PN}-doc += "${datadir}/xfce4/doc"
+
+FILES_${PN}-dev += "${libdir}/xfce4/*/*.la"
+FILES_${PN}-dbg += "${libdir}/xfce4/*/.debug"
+
index 6bf0e12..b48eeba 100644 (file)
@@ -1,7 +1,7 @@
 
 DEPENDS = "libxfce4util xfce-mcs-manager hal liburi-perl-native python-native"
 
-inherit pkgconfig xfce
+inherit  xfce
 
 SRC_URI = "http://www.us.xfce.org/archive/xfce-4.4.1/src/exo-0.3.2.tar.bz2"
 
index 19268fc..6ecbc8d 100644 (file)
@@ -1,12 +1,12 @@
 # libxfce4mcs OE build file
 # Copyright (C) 2004, Advanced Micro Devices, Inc.  All Rights Reserved
-# Released under the MIT license (see packages/COPYING)
+# Released under the MIT license (see COPYING.MIT)
 
 DESCRIPTION="Settings management library used by most XFce 4 modules"
 DEPENDS="libxfce4util"
 SECTION = "x11/libs"
 
-inherit xfce pkgconfig
+inherit xfce 
 
 do_stage() {
        install -d ${STAGING_INCDIR}/xfce4/libxfce4mcs
index 07d7a95..8e2d522 100644 (file)
@@ -1,5 +1,5 @@
 # libxfce4mcs OE build file
 # Copyright (C) 2004, Advanced Micro Devices, Inc.  All Rights Reserved
-# Released under the MIT license (see packages/COPYING)
+# Released under the MIT license (see COPYING.MIT)
 
 require ${PN}.inc
index d5dd6d6..ee7b886 100644 (file)
@@ -1,13 +1,13 @@
 # libxfce4util OE build file
 # Copyright (C) 2004, Advanced Micro Devices, Inc.  All Rights Reserved
-# Released under the MIT license (see packages/COPYING)
+# Released under the MIT license (see COPYING.MIT)
 
 DESCRIPTION = "Basic utility library for Xfce4"
 SECTION = "x11/libs"
 LICENSE = "GPL"
 DEPENDS = "glib-2.0 xfce4-dev-tools"
 
-inherit xfce pkgconfig
+inherit xfce 
 
 MACROS="m4/X11.m4 m4/debug.m4 m4/depends.m4 m4/i18n.m4"
 
index 70f5dda..a53a83e 100644 (file)
@@ -1,5 +1,5 @@
 # libxfce4util OE build file
 # Copyright (C) 2004, Advanced Micro Devices, Inc.  All Rights Reserved
-# Released under the MIT license (see packages/COPYING)
+# Released under the MIT license (see COPYING.MIT)
 
 require ${PN}.inc
index 714e365..1b7703a 100644 (file)
@@ -1,12 +1,12 @@
 # libxfcegui4 OE build file
 # Copyright (C) 2004, Advanced Micro Devices, Inc.  All Rights Reserved
-# Released under the MIT license (see packages/COPYING)
+# Released under the MIT license (see COPYING.MIT)
 
 DESCRIPTION = "XFCE Widget library and X Window System interaction"
 DEPENDS = "libxfce4util dbh libxml2 gtk+"
 SECTION = "x11/libs"
 
-inherit xfce pkgconfig
+inherit xfce 
 
 
 do_stage() {
index 2def536..a36897f 100644 (file)
@@ -1,5 +1,5 @@
 # libxfcegui4 OE build file
 # Copyright (C) 2004, Advanced Micro Devices, Inc.  All Rights Reserved
-# Released under the MIT license (see packages/COPYING)
+# Released under the MIT license (see COPYING.MIT)
 
 require ${PN}.inc
index d90e820..7a421a4 100644 (file)
@@ -1,25 +1,16 @@
 # xfce-mcs-manager OE build file
 # Copyright (C) 2004, Advanced Micro Devices, Inc.  All Rights Reserved
-# Released under the MIT license (see packages/COPYING)
+# Released under the MIT license (see COPYING.MIT)
 
 DESCRIPTION="XFCE4 Settings manager."
 DEPENDS="libxfcegui4 libxfce4mcs intltool-native"
 SECTION = "x11"
-PR = "r1"
+PR = "r2"
 
 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
+       autotools_stage_all
 }
 
-# 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}:${STAGING_INCDIR}:;' ${S}/xfce-mcs-manager/xfce-mcs-manager.pc >${PKG_CONFIG_DIR}/xfce-mcs-manager.pc
-}
index de5cf2b..76e0452 100644 (file)
@@ -1,5 +1,5 @@
 # xfce-mcs-manager OE build file
 # Copyright (C) 2004, Advanced Micro Devices, Inc.  All Rights Reserved
-# Released under the MIT license (see packages/COPYING)
+# Released under the MIT license (see COPYING.MIT)
 
 require ${PN}.inc
index b5b4505..8003784 100644 (file)
@@ -1,6 +1,6 @@
 # xfce-mcs-plugins OE build file
 # Copyright (C) 2004, Advanced Micro Devices, Inc.  All Rights Reserved
-# Released under the MIT license (see packages/COPYING)
+# Released under the MIT license (see COPYING.MIT)
 
 DESCRIPTION = "Common XFCE4 configuration plugins."
 DEPENDS = "libxfcegui4 xfce-mcs-manager gtk+"
index 02ad97e..bd41458 100644 (file)
@@ -1,5 +1,5 @@
 # xfce-mcs-plugins OE build file
 # Copyright (C) 2004, Advanced Micro Devices, Inc.  All Rights Reserved
-# Released under the MIT license (see packages/COPYING)
+# Released under the MIT license (see COPYING.MIT)
 
 require ${PN}.inc
index 0b19119..d681fd7 100644 (file)
@@ -1,6 +1,6 @@
 # xfce-utils OE build file
 # Copyright (C) 2004, Advanced Micro Devices, Inc.  All Rights Reserved
-# Released under the MIT license (see packages/COPYING)
+# Released under the MIT license (see COPYING.MIT)
 
 DESCRIPTION="XFCE4 Utilities"
 DEPENDS = "virtual/libx11 libxfcegui4 xfce-mcs-manager"
index 57909f2..fd41a60 100644 (file)
@@ -1,6 +1,6 @@
 # xfce-utils OE build file
 # Copyright (C) 2004, Advanced Micro Devices, Inc.  All Rights Reserved
-# Released under the MIT license (see packages/COPYING)
+# Released under the MIT license (see COPYING.MIT)
 
 PR = "r1"
 require ${PN}.inc
index 0d102f3..ddfa3e1 100644 (file)
@@ -1,6 +1,6 @@
 # xfce4-appfinder build file
 # Copyright (C) 2004, Advanced Micro Devices, Inc.  All Rights Reserved
-# Released under the MIT license (see packages/COPYING)
+# Released under the MIT license (see COPYING.MIT)
 
 DESCRIPTION="XFCE Application Finder"
 SECTION = "x11"
index f7c9797..471122e 100644 (file)
@@ -1,5 +1,5 @@
 # xfce4-appfinder build file
 # Copyright (C) 2004, Advanced Micro Devices, Inc.  All Rights Reserved
-# Released under the MIT license (see packages/COPYING)
+# Released under the MIT license (see COPYING.MIT)
 
 require ${PN}.inc
index 03f64e3..2116b1d 100644 (file)
@@ -2,7 +2,7 @@ DESCRIPTION = "Xfce4 development tools"
 SECTION = "x11/libs"
 LICENSE = "GPL"
 
-inherit xfce pkgconfig
+inherit xfce 
 
 do_stage() {
        install -d ${STAGING_DATADIR}/aclocal
index a923489..4d3faed 100644 (file)
@@ -1,6 +1,6 @@
 # xfce-mixer-plugin OE build file
 # Copyright (C) 2004, Advanced Micro Devices, Inc.  All Rights Reserved
-# Released under the MIT license (see packages/COPYING)
+# Released under the MIT license (see COPYING.MIT)
 
 DESCRIPTION="XFCE panel mixer plugin"
 SECTION = "x11"
index 6dd3c05..13ba0f3 100644 (file)
@@ -1,5 +1,5 @@
 # xfce-mixer-plugin OE build file
 # Copyright (C) 2004, Advanced Micro Devices, Inc.  All Rights Reserved
-# Released under the MIT license (see packages/COPYING)
+# Released under the MIT license (see COPYING.MIT)
 
 require ${PN}.inc
index 6ad71fc..be7092a 100644 (file)
@@ -1,12 +1,12 @@
 # xfce4-panel OE build file
 # Copyright (C) 2004, Advanced Micro Devices, Inc.  All Rights Reserved
-# Released under the MIT license (see packages/COPYING)
+# Released under the MIT license (see COPYING.MIT)
 
 DESCRIPTION = "XFCE4 Panel"
 SECTION = "x11"
 DEPENDS = "startup-notification virtual/libx11 libxfcegui4 libxfce4mcs xfce-mcs-manager libxml2"
 
-inherit pkgconfig xfce
+inherit  xfce
 
 EXTRA_OECONF += " --enable-startup-notification"
 
index ae2abba..9919402 100644 (file)
@@ -1,6 +1,6 @@
 # xfce4-panel OE build file
 # Copyright (C) 2004, Advanced Micro Devices, Inc.  All Rights Reserved
-# Released under the MIT license (see packages/COPYING)
+# Released under the MIT license (see COPYING.MIT)
 
 PR="r2"
 require ${PN}.inc
index bd5bb72..35c5ff5 100644 (file)
@@ -1,6 +1,6 @@
 # xfdesktop OE build file
 # Copyright (C) 2004, Advanced Micro Devices, Inc.  All Rights Reserved
-# Released under the MIT license (see packages/COPYING)
+# Released under the MIT license (see COPYING.MIT)
 
 DESCRIPTION="xfce4 Desktop Background Manager"
 SECTION = "x11/base"
index 9c84150..fcc2f89 100644 (file)
@@ -1,6 +1,6 @@
 # xfdesktop OE build file
 # Copyright (C) 2004, Advanced Micro Devices, Inc.  All Rights Reserved
-# Released under the MIT license (see packages/COPYING)
+# Released under the MIT license (see COPYING.MIT)
 
 PR = "r2"
 require ${PN}.inc
index 7e349ce..19bfa0d 100644 (file)
@@ -1,6 +1,6 @@
 # xfprint OE build file
 # Copyright (C) 2004, Advanced Micro Devices, Inc.  All Rights Reserved
-# Released under the MIT license (see packages/COPYING)
+# Released under the MIT license (see COPYING.MIT)
 
 DESCRIPTION="XFCE4 Print Manager"
 SECTION = "x11/base"
index c60edc5..63c5ab0 100644 (file)
@@ -1,6 +1,6 @@
 # xfwm4-themes OE build file
 # Copyright (C) 2004, Advanced Micro Devices, Inc.  All Rights Reserved
-# Released under the MIT license (see packages/COPYING)
+# Released under the MIT license (see COPYING.MIT)
 
 DESCRIPTION="XFCE4 Window Manager Themes"
 SECTION = "x11/wm"
index 9f67ad2..c7f45d2 100644 (file)
@@ -1,5 +1,5 @@
 # xfwm4-themes OE build file
 # Copyright (C) 2004, Advanced Micro Devices, Inc.  All Rights Reserved
-# Released under the MIT license (see packages/COPYING)
+# Released under the MIT license (see COPYING.MIT)
 
 require ${PN}.inc
index e443a84..211853a 100644 (file)
@@ -1,6 +1,6 @@
 # xfwm4 OE build file
 # Copyright (C) 2004, Advanced Micro Devices, Inc.  All Rights Reserved
-# Released under the MIT license (see packages/COPYING)
+# Released under the MIT license (see COPYING.MIT)
 
 DESCRIPTION="XFCE4 Window Manager"
 SECTION = "x11/wm"
index 2fc47e6..a2bdf35 100644 (file)
@@ -1,6 +1,6 @@
 # xfwm4 OE build file
 # Copyright (C) 2004, Advanced Micro Devices, Inc.  All Rights Reserved
-# Released under the MIT license (see packages/COPYING)
+# Released under the MIT license (see COPYING.MIT)
 
 PR="r1"
 require ${PN}.inc