[oe-commits] Steve Sakoman : gconf: add 2.26.2

git version control git at git.openembedded.org
Sat Aug 8 09:21:44 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 691e173d1979387337e4973db8213ab22f64ba69
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=691e173d1979387337e4973db8213ab22f64ba69

Author: Steve Sakoman <steve at sakoman.com>
Date:   Fri Aug  7 13:40:50 2009 -0700

gconf: add 2.26.2

---

 conf/checksums.ini                                 |    4 ++
 .../gconf-2.26.2/org.gnome.GConf.Defaults.service  |    4 ++
 recipes/gnome/gconf-2.26.2/org.gnome.GConf.service |    3 +
 recipes/gnome/gconf_2.26.2.bb                      |   51 ++++++++++++++++++++
 4 files changed, 62 insertions(+), 0 deletions(-)

diff --git a/conf/checksums.ini b/conf/checksums.ini
index 0616722..dbfe519 100644
--- a/conf/checksums.ini
+++ b/conf/checksums.ini
@@ -342,6 +342,10 @@ sha256=ffae146dc20458698acf5ccc384dc32317cea1df0c95b44b5d47cca8b26bc986
 md5=83b738d805e17c226f43bbac453a0631
 sha256=14b0fb8ce8a97a0bf7d8f5be57f6bb67dc9e5273f1f465f3babe994c44db3d87
 
+[http://ftp.gnome.org/pub/GNOME/sources/GConf/2.26/GConf-2.26.2.tar.bz2]
+md5=8b55d58dab13e821e048627aa4f92b8b
+sha256=717af270db891088394d154e3e22acc01af382306624c83679a4f8d6ba8467ed
+
 [http://ftp.gnome.org/pub/GNOME/sources/GConf/2.6/GConf-2.6.1.tar.bz2]
 md5=194fab4e2e87c7ae3c7fea926fd281bc
 sha256=31d894960e0d2eba8fa2746e4fde31983a1e49dc856a880adb59d5f251a690cf
diff --git a/recipes/gnome/gconf-2.26.2/org.gnome.GConf.Defaults.service b/recipes/gnome/gconf-2.26.2/org.gnome.GConf.Defaults.service
new file mode 100644
index 0000000..d6e4e07
--- /dev/null
+++ b/recipes/gnome/gconf-2.26.2/org.gnome.GConf.Defaults.service
@@ -0,0 +1,4 @@
+[D-BUS Service]
+Name=org.gnome.GConf.Defaults
+Exec=/usr/libexec/gconf-defaults-mechanism
+User=root
diff --git a/recipes/gnome/gconf-2.26.2/org.gnome.GConf.service b/recipes/gnome/gconf-2.26.2/org.gnome.GConf.service
new file mode 100644
index 0000000..6939fd0
--- /dev/null
+++ b/recipes/gnome/gconf-2.26.2/org.gnome.GConf.service
@@ -0,0 +1,3 @@
+[D-BUS Service]
+Name=org.gnome.GConf
+Exec=/usr/libexec/gconfd-2
diff --git a/recipes/gnome/gconf_2.26.2.bb b/recipes/gnome/gconf_2.26.2.bb
new file mode 100644
index 0000000..005ab47
--- /dev/null
+++ b/recipes/gnome/gconf_2.26.2.bb
@@ -0,0 +1,51 @@
+DESCRIPTION = "GNOME configuration database system"
+SECTION = "x11/gnome"
+LICENSE = "LGPL"
+DEPENDS = "orbit2 glib-2.0 libxml2 policykit"
+ORBIT_IDL_SRC = "${STAGING_BINDIR_NATIVE}/orbit-idl-2"
+PR = "r1"
+
+S = "${WORKDIR}/GConf-${PV}"
+
+SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/GConf/2.26/GConf-${PV}.tar.bz2 \
+           file://org.gnome.GConf.service \
+           file://org.gnome.GConf.Defaults.service \
+          "
+
+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
+
+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-2.m4 ${STAGING_DATADIR}/aclocal/gconf-2.m4
+}
+
+do_install() {
+	oe_runmake ORBIT_IDL="${ORBIT_IDL_SRC}" DESTDIR="${D}" install
+
+	install -d ${D}/${datadir}/dbus-1/services/
+	install -m 0644 ${WORKDIR}/org.gnome.GConf.service		${D}/${datadir}/dbus-1/services/
+
+	install -d ${D}/${datadir}/dbus-1/system-services/
+	install -m 0644 ${WORKDIR}/org.gnome.GConf.Defaults.service	${D}/${datadir}/dbus-1/system-services/
+
+	# this directory need to be created to avoid an Error 256 at gdm launch	
+	install -d ${D}/${sysconfdir}/gconf/gconf.xml.system
+}
+
+FILES_${PN} += "${libdir}/GConf/* \
+		${datadir}/dbus-1/services \
+		${datadir}/dbus-1/system-services \
+               "
+
+FILES_${PN}-dbg += "${libdir}/*/*/.debug"
+FILES_${PN}-dev += "${libdir}/GConf/2/*.la ${datadir}/sgml/gconf/gconf-1.0.dtd"
+





More information about the Openembedded-commits mailing list