summaryrefslogtreecommitdiff
path: root/recipes/gypsy
diff options
context:
space:
mode:
authorFrederik Sdun <frederik.sdun@googlemail.com>2009-11-18 12:22:58 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2009-12-06 11:48:55 +0100
commit2e9c435068b0094d8f6da067feaea7baf14eaed6 (patch)
tree7735f23916ac17060ce8cf7f92f8b554e8397598 /recipes/gypsy
parentfe1e53014342e38669883233fe3689464ed9daa1 (diff)
gypsy: split package, fix compile error (remove werror)
Signed-off-by: Frederik 'playya' Sdun <Frederik.Sdun@googlemail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes/gypsy')
-rw-r--r--recipes/gypsy/files/remove-werror.patch13
-rw-r--r--recipes/gypsy/gypsy.inc10
-rw-r--r--recipes/gypsy/gypsy_svn.bb3
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 0000000000..8c60bd73b0
--- /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 df5e1c7da3..b618094395 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 8dac863a2b..0245a955f9 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}"