[oe-commits] org.oe.dev gconf: fix packaging for dbg, introduce autotools_stage_all and reorder fields according to StyleGuide. Closes 3505.

Laibsch commit oe at amethyst.openembedded.net
Mon Sep 1 17:54:14 UTC 2008


gconf: fix packaging for dbg, introduce autotools_stage_all and reorder fields according to StyleGuide.  Closes 3505.

Author: Laibsch at openembedded.org
Branch: org.openembedded.dev
Revision: b7306bb7c48f2224eba8bbc023a17ca4a682240b
ViewMTN: http://monotone.openembedded.org/revision/info/b7306bb7c48f2224eba8bbc023a17ca4a682240b
Files:
1
packages/gnome/gconf_2.6.1.bb
Diffs:

#
# mt diff -r18fbb9e9f43ad0fc25f55a6c5016e4968738fe42 -rb7306bb7c48f2224eba8bbc023a17ca4a682240b
#
#
#
# patch "packages/gnome/gconf_2.6.1.bb"
#  from [828dd29737420fa8f184f272c5b9f9b8d3d05b60]
#    to [930fdddc4127f227191965654261510e0cc8e5d4]
#
============================================================
--- packages/gnome/gconf_2.6.1.bb	828dd29737420fa8f184f272c5b9f9b8d3d05b60
+++ packages/gnome/gconf_2.6.1.bb	930fdddc4127f227191965654261510e0cc8e5d4
@@ -1,32 +1,30 @@
-LICENSE = "LGPL"
-SECTION = "x11/gnome"
 DESCRIPTION = "GNOME configuration database system"
-SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/GConf/2.6/GConf-${PV}.tar.bz2 \
-	   file://backends.patch;patch=1"
+SECTION = "x11/gnome"
+LICENSE = "LGPL"
 DEPENDS = "orbit2 glib-2.0  libxml2"
 ORBIT_IDL_SRC = "${STAGING_BINDIR_NATIVE}/orbit-idl-2"
 
-FILES_${PN} += " ${libdir}/GConf/*"
+S = "${WORKDIR}/GConf-${PV}"
 
-S = "${WORKDIR}/GConf-${PV}"
+SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/GConf/2.6/GConf-${PV}.tar.bz2 \
+	   file://backends.patch;patch=1"
 
 EXTRA_OECONF = "--disable-gtk-doc"
+HEADERS = "gconf.h gconf-changeset.h gconf-listeners.h gconf-schema.h gconf-value.h gconf-error.h gconf-engine.h gconf-client.h gconf-enum-types.h"
 
 inherit autotools pkgconfig gettext
 
-HEADERS = "gconf.h gconf-changeset.h gconf-listeners.h gconf-schema.h gconf-value.h gconf-error.h gconf-engine.h gconf-client.h gconf-enum-types.h"
-
 do_compile() {
 	oe_runmake ORBIT_IDL="${ORBIT_IDL_SRC}"
 }
 
 do_stage() {
-	oe_libinstall -so -C gconf libgconf-2 ${STAGING_LIBDIR}
-	install -d ${STAGING_INCDIR}/gconf/2/gconf/
-	( cd gconf; for i in ${HEADERS}; do install -m 0644 $i ${STAGING_INCDIR}/gconf/2/gconf/$i; done )
-	install -m 0644 gconf.m4 ${STAGING_DATADIR}/aclocal/gconf-2.m4
+	autotools_stage_all
 }
 
 do_install() {
 	oe_runmake ORBIT_IDL="${ORBIT_IDL_SRC}" DESTDIR="${D}" install
 }
+
+FILES_${PN} += " ${libdir}/GConf/*"
+FILES_gconf-dbg += "${libdir}/*/*/.debug"






More information about the Openembedded-commits mailing list