[OE-core] [V3 1/1] gdbm: Package compat libs in gdbm-compat

Koen Kooi koen at dominion.thruhere.net
Wed Apr 11 14:58:53 UTC 2012


Op 11 apr. 2012, om 16:57 heeft Andrei Gherzan het volgende geschreven:

> In order to avoid breaking packages which depend on old package name libgdbm4 (>= 1.10),
> compat libs are packaged into a separate package named gdbm-compat.

You need to send a patch to bump PR on everything with gdbm in DEPENDS as well.

> 
> Signed-off-by: Andrei Gherzan <andrei at gherzan.ro>
> ---
> meta/recipes-support/gdbm/gdbm_1.10.bb |    7 ++++++-
> 1 files changed, 6 insertions(+), 1 deletions(-)
> 
> diff --git a/meta/recipes-support/gdbm/gdbm_1.10.bb b/meta/recipes-support/gdbm/gdbm_1.10.bb
> index 26b8009..6b68d27 100644
> --- a/meta/recipes-support/gdbm/gdbm_1.10.bb
> +++ b/meta/recipes-support/gdbm/gdbm_1.10.bb
> @@ -4,7 +4,7 @@ SECTION = "libs"
> LICENSE = "GPLv3"
> LIC_FILES_CHKSUM = "file://COPYING;md5=241da1b9fe42e642cbb2c24d5e0c4d24"
> 
> -PR = "r2"
> +PR = "r3"
> 
> SRC_URI = "${GNU_MIRROR}/gdbm/gdbm-${PV}.tar.gz"
> 
> @@ -25,3 +25,8 @@ do_install_append () {
>     ln -sf ../ndbm.h ${D}/${includedir}/gdbm/ndbm.h
>     ln -sf ../gdbm.h ${D}/${includedir}/gdbm/gdbm.h
> }
> +
> +PACKAGES =+ "${PN}-compat \
> +            "
> +FILES_${PN}-compat = "${libdir}/libgdbm_compat${SOLIBS} \
> +                     "
> -- 
> 1.7.5.4
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core





More information about the Openembedded-core mailing list