[oe-commits] David-John Willis : devicekit: Update to remove host dependency on Docbook XSLT files.

git version control git at git.openembedded.org
Fri Oct 30 10:56:49 UTC 2009


Module: openembedded.git
Branch: shr/merge
Commit: 9c5d1cb40bcb1d9412112bf73d7c7f4732989e89
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=9c5d1cb40bcb1d9412112bf73d7c7f4732989e89

Author: David-John Willis <John.Willis at Distant-earth.com>
Date:   Tue Oct 27 21:34:32 2009 +0000

devicekit: Update to remove host dependency on Docbook XSLT files.

* Bump PR
* Update recipe to sed out the -nonet in the documentation XSLT conversion removing the reliance of the Docbook XSLT templates being installed on the host system (it will grab them from the net however).
* Note: Another (maybe better) fix would be to package up docbook-xsl but that is overkill for these two recipes.

---

 recipes/devicekit/devicekit-power_009.bb |    4 ++++
 recipes/devicekit/devicekit_003.bb       |    9 ++++++---
 2 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/recipes/devicekit/devicekit-power_009.bb b/recipes/devicekit/devicekit-power_009.bb
index 58f638c..0622d4a 100644
--- a/recipes/devicekit/devicekit-power_009.bb
+++ b/recipes/devicekit/devicekit-power_009.bb
@@ -7,6 +7,10 @@ S = "${WORKDIR}/DeviceKit-power-${PV}"
 
 inherit autotools pkgconfig
 
+do_configure_prepend() {
+	sed -i -e s:-nonet:\:g ${S}/doc/man/Makefile.am
+}	
+
 do_stage() {
         autotools_stage_all
 }
diff --git a/recipes/devicekit/devicekit_003.bb b/recipes/devicekit/devicekit_003.bb
index a57ca88..3439290 100644
--- a/recipes/devicekit/devicekit_003.bb
+++ b/recipes/devicekit/devicekit_003.bb
@@ -2,13 +2,16 @@ DESCRIPTION = "DeviceKit is a simple system service that a) can enumerate device
 LICENSE = "GPLv2"
 DEPENDS = "udev dbus-glib glib-2.0"
 
+PR = "r1"
+
 SRC_URI = "http://hal.freedesktop.org/releases/DeviceKit-${PV}.tar.gz"
 S = "${WORKDIR}/DeviceKit-${PV}"
 
+do_configure_prepend() {
+	sed -i -e s:-nonet:\:g ${S}/doc/man/Makefile.am
+}	
+
 inherit autotools_stage
 AUTOTOOLS_STAGE_PKGCONFIG = "1"
 
 FILES_${PN} += "${datadir}/dbus-1/"
-
-
-





More information about the Openembedded-commits mailing list