[oe] [PATCH] libfribidi-0.10.4: update recipe, fix packaging

Andreas Oberritter obi at opendreambox.org
Tue Nov 16 16:51:52 UTC 2010


Ping (now that the required changes to lib_package.bbclass have been pushed)

Patchwork URL:
http://patchwork.openembedded.org/patch/3297/

On 10/18/2010 12:15 AM, Andreas Oberritter wrote:
> * added LICENSE
> * removed configure patch
> * use lib_package and binconfig to package all installed files
> * convert to new style staging
> * oe-stylize
> 
> Signed-off-by: Andreas Oberritter <obi at opendreambox.org>
> ---
>  recipes/libfribidi/files/libtool-update.patch |   11 --------
>  recipes/libfribidi/libfribidi_0.10.4.bb       |   32 +++++++-----------------
>  2 files changed, 10 insertions(+), 33 deletions(-)
>  delete mode 100644 recipes/libfribidi/files/libtool-update.patch
> 
> diff --git a/recipes/libfribidi/files/libtool-update.patch b/recipes/libfribidi/files/libtool-update.patch
> deleted file mode 100644
> index c703100..0000000
> --- a/recipes/libfribidi/files/libtool-update.patch
> +++ /dev/null
> @@ -1,11 +0,0 @@
> ---- fribidi-0.10.4/configure.in~	2002-05-19 11:06:48.000000000 +0100
> -+++ fribidi-0.10.4/configure.in	2004-08-03 17:42:28.000000000 +0100
> -@@ -50,7 +50,7 @@
> - AC_PROG_INSTALL
> - AC_PROG_LN_S
> - AC_PROG_MAKE_SET
> --AC_PROG_RANLIB
> -+#AC_PROG_RANLIB
> - AC_PATH_PROG(SED, sed, $PATH)
> - 
> - 
> diff --git a/recipes/libfribidi/libfribidi_0.10.4.bb b/recipes/libfribidi/libfribidi_0.10.4.bb
> index c46909b..b83c484 100644
> --- a/recipes/libfribidi/libfribidi_0.10.4.bb
> +++ b/recipes/libfribidi/libfribidi_0.10.4.bb
> @@ -1,32 +1,20 @@
>  DESCRIPTION = "Fribidi library for bidirectional text"
>  SECTION = "libs"
>  PRIORITY = "optional"
> +LICENSE = "LGPLv2.1"
> +PR = "r1"
>  
> -inherit autotools pkgconfig
> -
> -PR = "r0"
> +SRC_URI = "${SOURCEFORGE_MIRROR}/fribidi/fribidi-${PV}.tar.bz2"
> +SRC_URI[md5sum] = "0f6e7ecca08e6e108dc06337f5b5cabf"
> +SRC_URI[sha256sum] = "f3ecdb9d108bd61ec9394df75f5fd68ba886a8da0863ba6258338893aec6c04f"
>  
>  S = "${WORKDIR}/fribidi-${PV}"
>  
> -SRC_URI = "${SOURCEFORGE_MIRROR}/fribidi/fribidi-${PV}.tar.bz2 \
> -           file://libtool-update.patch"
> -
> -#PACKAGES += " ${PN}-bin"
> -FILES_${PN} = "${libdir}/lib*.so.*"
> -#FILES_${PN}-bin = "${libdir}/uu*"
> +inherit autotools lib_package binconfig pkgconfig
>  
>  do_configure_prepend () {
> -# this version of libtool is old - we have to nobble this file to get it to litoolize
> -	rm ltconfig
> -	rm aclocal.m4
> -	rm acinclude.m4
> -}
> -
> -do_stage () {
> -	oe_libinstall -a -so -C .libs libfribidi ${STAGING_LIBDIR}
> -	autotools_stage_includes
> +        # this version of libtool is old - we have to nobble this file to get it to litoolize
> +        rm ltconfig
> +        rm aclocal.m4
> +        rm acinclude.m4
>  }
> -
> -
> -SRC_URI[md5sum] = "0f6e7ecca08e6e108dc06337f5b5cabf"
> -SRC_URI[sha256sum] = "f3ecdb9d108bd61ec9394df75f5fd68ba886a8da0863ba6258338893aec6c04f"





More information about the Openembedded-devel mailing list