[oe-commits] Frederik Sdun : gypsy: split package, fix compile error (remove werror)

git version control git at git.openembedded.org
Sun Dec 6 10:50:07 UTC 2009


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

Author: Frederik Sdun <frederik.sdun at googlemail.com>
Date:   Wed Nov 18 12:22:58 2009 +0000

gypsy: split package, fix compile error (remove werror)

Signed-off-by: Frederik 'playya' Sdun <Frederik.Sdun at googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 recipes/gypsy/files/remove-werror.patch |   13 +++++++++++++
 recipes/gypsy/gypsy.inc                 |   10 +++++++++-
 recipes/gypsy/gypsy_svn.bb              |    3 ++-
 3 files changed, 24 insertions(+), 2 deletions(-)

diff --git a/recipes/gypsy/files/remove-werror.patch b/recipes/gypsy/files/remove-werror.patch
new file mode 100644
index 0000000..8c60bd7
--- /dev/null
+++ b/recipes/gypsy/files/remove-werror.patch
@@ -0,0 +1,13 @@
+Index: configure.ac
+===================================================================
+--- a/configure.ac	(Revision 148)
++++ b/configure.ac	(Arbeitskopie)
+@@ -41,7 +41,7 @@
+ AC_SUBST(DBUS_SERVICES_DIR)
+ AC_DEFINE_UNQUOTED(DBUS_SERVICES_DIR, "$DBUS_SERVICES_DIR", [Where services dir for D-Bus is])
+ 
+-CFLAGS="$CFLAGS -g -Wall -Werror -Wno-format"
++CFLAGS="$CFLAGS -g -Wall -Wno-format"
+ 
+ # TODO: add --with-xsltproc argument to override PATH
+ AC_CHECK_PROGS(XSLT, xsltproc)
diff --git a/recipes/gypsy/gypsy.inc b/recipes/gypsy/gypsy.inc
index df5e1c7..b618094 100644
--- a/recipes/gypsy/gypsy.inc
+++ b/recipes/gypsy/gypsy.inc
@@ -13,4 +13,12 @@ do_stage() {
 	autotools_stage_all
 }
 
-FILES_${PN} += "${datadir}/dbus-1/services/"
+
+PACKAGES += "libgypsy libgypsy-dev libgypsy-dbg"
+
+FILES_lib${PN} = "${libdir}/lib*.so*"
+FILES_lib${PN}-dev = "${includedir}/* ${libdir}/*.la ${libdir}/*.a ${libdir}/pkgconfig"
+FILES_lib${PN}-dbg = "${libdir}/.debug"
+FILES_${PN} = "${datadir}/dbus-1/services/ ${libexecdir}/gypsy-daemon ${sysconfdir}/dbus-1/system.d/*"
+FILES_${PN}-dbg ="${libexecdir}/.debug*"
+CONFFILES_${PN} = "${sysconfdir}/dbus-1/system.d/Gypsy.conf"
diff --git a/recipes/gypsy/gypsy_svn.bb b/recipes/gypsy/gypsy_svn.bb
index 8dac863..0245a95 100644
--- a/recipes/gypsy/gypsy_svn.bb
+++ b/recipes/gypsy/gypsy_svn.bb
@@ -2,7 +2,8 @@ require gypsy.inc
 
 SRC_URI = "svn://svn.o-hand.com/repos/${PN}/trunk;module=${PN};proto=http \
            file://fixups.patch;patch=1;maxrev=107 \
-           file://docs-reference-am.patch;patch=1;minrev=134"
+           file://docs-reference-am.patch;patch=1;minrev=134 \
+           file://remove-werror.patch;patch=1"
 S = "${WORKDIR}/${PN}"
 
 PV = "0.0+svnr${SRCPV}"





More information about the Openembedded-commits mailing list