---
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(-)
create mode 100644 recipes/gypsy/files/remove-werror.patch
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}"
--
1.6.5.3
_______________________________________________
Shr-devel mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-devel