[oe] [PATCH 1/2] gypsy: fix packaging

Paul Menzel paulepanter at users.sourceforge.net
Mon Nov 28 09:22:34 UTC 2011


Am Donnerstag, den 24.11.2011, 15:47 +0100 schrieb Steffen Sledz:
> A wrong path had avoided the packaging of the dbus starter script
> /usr/share/dbus-1/system-services/org.freedesktop.Gypsy.service.

So why not use

    gypsy: fix packaging of DBus starter script

as the commit summary?

> Signed-off-by: Steffen Sledz <sledz at dresearch-fe.de>
> ---
>  recipes/gypsy/gypsy.inc    |    4 +++-
>  recipes/gypsy/gypsy_0.7.bb |    2 ++
>  2 files changed, 5 insertions(+), 1 deletions(-)
> 
> diff --git a/recipes/gypsy/gypsy.inc b/recipes/gypsy/gypsy.inc
> index eab062c..964e336 100644
> --- a/recipes/gypsy/gypsy.inc
> +++ b/recipes/gypsy/gypsy.inc
> @@ -3,6 +3,8 @@ LICENSE = "GPL"
>  SECTION = "x11"
>  DEPENDS = "glib-2.0 dbus-glib bluez4 libxslt-native"
>  
> +INC_PR = "r1"
> +
>  inherit autotools pkgconfig
>  
>  do_configure_prepend () {
> @@ -14,6 +16,6 @@ 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} = "${datadir}/dbus-1/system-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_0.7.bb b/recipes/gypsy/gypsy_0.7.bb
> index 8cd8760..a10cd6e 100644
> --- a/recipes/gypsy/gypsy_0.7.bb
> +++ b/recipes/gypsy/gypsy_0.7.bb
> @@ -1,5 +1,7 @@
>  require gypsy.inc
>  
> +PR = "${INC_PR}.1"
> +

Since `INC_PR` is increased, `${INC_PR}.0` should be fine.

>  SRC_URI = "http://gypsy.freedesktop.org/releases/gypsy-0.7.tar.gz;name=gypsy \
>             file://docs-reference-am.patch \
>             file://remove-werror.patch \

With the changes above this recipe is

Acked-by: Paul Menzel <paulepanter at users.sourceforge.net>


Thanks,

Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20111128/b993ae3d/attachment-0002.sig>


More information about the Openembedded-devel mailing list