From: Frederik Sdun Date: Wed, 18 Nov 2009 12:22:58 +0000 (+0000) Subject: gypsy: split package, fix compile error (remove werror) X-Git-Tag: Release-2010-05/1~1408^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e9c435068b0094d8f6da067feaea7baf14eaed6;p=openembedded.git gypsy: split package, fix compile error (remove werror) Signed-off-by: Frederik 'playya' Sdun Signed-off-by: Martin Jansa --- 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}"