From: "Zhai, Edwin" <edwin.zhai@intel.com>
To: poky@yoctoproject.org
Cc: "Purdie, Richard" <richard.purdie@intel.com>
Subject: Re: [PATCH 5/6] gdk-pixbuf: Fix the native png load error and remove duplicated recipe
Date: Mon, 31 Jan 2011 23:02:17 +0800 [thread overview]
Message-ID: <4D46CEF9.7000808@intel.com> (raw)
In-Reply-To: <d4ed42c98ddae97ccf3fa42843d7a1ecfbab799c.1296485859.git.edwin.zhai@intel.com>
Koen,
I merged gdk-pixbuf & gdk-pixbuf-native, but do_split_packages make
gdk-pixbuf-native also provide gdk-pixbuf-loader-xxx then cause multiple
providers. Any way to comment it in gdk-pixbuf-native?
RP,
I saw your patch to resolve the multiple providers from gdk-pixbuf and
gtk+, and just was curious why not just remove old gtk+ recipes given no
others depend on them. Any other concerns?
Thanks,
edwin
===========================================================================================================
NOTE: multiple providers are available for runtime gdk-pixbuf-loader-png
(gdk-pixbuf, gdk-pixbuf-native)
NOTE: consider defining a PREFERRED_PROVIDER entry to match
gdk-pixbuf-loader-png
NOTE: multiple providers are available for runtime
gdk-pixbuf-loader-jpeg (gdk-pixbuf, gdk-pixbuf-native)
NOTE: consider defining a PREFERRED_PROVIDER entry to match
gdk-pixbuf-loader-jpeg
NOTE: multiple providers are available for runtime gdk-pixbuf-loader-gif
(gdk-pixbuf, gdk-pixbuf-native)
NOTE: consider defining a PREFERRED_PROVIDER entry to match
gdk-pixbuf-loader-gif
NOTE: multiple providers are available for runtime gdk-pixbuf-loader-xpm
(gdk-pixbuf, gdk-pixbuf-native)
NOTE: consider defining a PREFERRED_PROVIDER entry to match
gdk-pixbuf-loader-xpm
poky-bounces@yoctoproject.org wrote:
>
> From: Zhai Edwin <edwin.zhai@intel.com>
>
> Native gdk-pixbuf-csource failed to load png file as the
> "loaders.cache" was
> not properly set by gdk-pxibuf-query-loaders when install. This patch
> use the
> wrapper script rather than query-loaders binary as required libtool
> library was
> not installed when do_install_append.
>
> Also remove dedicated recipe for gdk-pixbuf-native.
>
>
> Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
> ---
> .../gdk-pixbuf/gdk-pixbuf-native_2.22.1.bb | 13 -------
> meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf.inc | 30
> ----------------
> meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.22.1.bb | 36
> +++++++++++++++++++-
> 3 files changed, 35 insertions(+), 44 deletions(-)
> delete mode 100644
> meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf-native_2.22.1.bb
> delete mode 100644 meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf.inc
>
> diff --git a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf-native_2.22.1.bb
> b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf-native_2.22.1.bb
>
> deleted file mode 100644
> index 5fabf45..0000000
> --- a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf-native_2.22.1.bb
> +++ /dev/null
> @@ -1,13 +0,0 @@
> -require gdk-pixbuf.inc
> -inherit native
> -
> -DEPENDS = "libpng-native gettext-native glib-2.0-native jpeg-native"
> -PR = "r0"
> -
> -PACKAGES_DYNAMIC = ""
> -
> -do_install_append() {
> -
> GDK_PIXBUF_MODULEDIR=${D}${libdir}/gdk-pixbuf-2.0/2.10.0/loaders
> ${D}${bindir}/gdk-pixbuf-query-loaders >
> ${D}${libdir}/gdk-pixbuf-2.0/2.10.0/loaders.cache
>
> - sed -i -e 's#${D}##g'
> ${D}${libdir}/gdk-pixbuf-2.0/2.10.0/loaders.cache
> - find ${D}${libdir} -name "libpixbufloader-*.la" -exec rm \{\} \;
> -}
> diff --git a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf.inc
> b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf.inc
> deleted file mode 100644
> index af3383e..0000000
> --- a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf.inc
> +++ /dev/null
> @@ -1,30 +0,0 @@
> -DESCRIPTION = "Image loading library for GTK+"
> -HOMEPAGE = "http://www.gtk.org/"
> -BUGTRACKER = "https://bugzilla.gnome.org/"
> -
> -LICENSE = "LGPLv2"
> -LIC_FILES_CHKSUM =
> "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \
> -
> file://gdk-pixbuf/gdk-pixbuf.h;endline=26;md5=5066b71daefeff678494fffa3040aba9"
>
> -
> -SECTION = "libs"
> -PRIORITY = "optional"
> -
> -DEPENDS = "libpng gettext glib-2.0"
> -
> -SRC_URI =
> "http://ftp.acc.umu.se/pub/GNOME/sources/gdk-pixbuf/2.22/gdk-pixbuf-${PV}.tar.gz
> \
> - file://hardcoded_libtool.patch;patch=1 \
> - file://configure_fix.patch;patch=1 \
> - "
> -
> -SRC_URI[md5sum] = "fcfc854e9aec7dbb2bb3059484d44556"
> -SRC_URI[sha256sum] =
> "bbb57364ffba70d64f5fcfe6eda1d67249b3d58844edb06dc0f94d1ad599b4ec"
> -
> -inherit autotools pkgconfig
> -
> -LIBV = "2.10.0"
> -
> -EXTRA_OECONF = "\
> - --without-libtiff \
> - --with-libpng \
> -"
> -
> diff --git a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.22.1.bb
> b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.22.1.bb
> index ae57507..6a40a52 100644
> --- a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.22.1.bb
> +++ b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.22.1.bb
> @@ -1,7 +1,34 @@
> -require gdk-pixbuf.inc
> +DESCRIPTION = "Image loading library for GTK+"
> +HOMEPAGE = "http://www.gtk.org/"
> +BUGTRACKER = "https://bugzilla.gnome.org/"
>
> +LICENSE = "LGPLv2"
> +LIC_FILES_CHKSUM =
> "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \
> +
> file://gdk-pixbuf/gdk-pixbuf.h;endline=26;md5=5066b71daefeff678494fffa3040aba9"
>
> +
> +SECTION = "libs"
> +PRIORITY = "optional"
> +
> +DEPENDS = "libpng gettext glib-2.0 jpeg"
> PR = "r0"
>
> +SRC_URI =
> "http://ftp.acc.umu.se/pub/GNOME/sources/gdk-pixbuf/2.22/gdk-pixbuf-${PV}.tar.gz
> \
> + file://hardcoded_libtool.patch;patch=1 \
> + file://configure_fix.patch;patch=1 \
> + "
> +
> +SRC_URI[md5sum] = "fcfc854e9aec7dbb2bb3059484d44556"
> +SRC_URI[sha256sum] =
> "bbb57364ffba70d64f5fcfe6eda1d67249b3d58844edb06dc0f94d1ad599b4ec"
> +
> +inherit autotools pkgconfig
> +
> +LIBV = "2.10.0"
> +
> +EXTRA_OECONF = "\
> + --without-libtiff \
> + --with-libpng \
> +"
> +
> FILES_${PN} = "${bindir}/gdk-pixbuf-query-loaders \
> ${libdir}/lib*.so.*"
>
> @@ -33,3 +60,10 @@ python populate_packages_prepend () {
> do_split_packages(d, loaders_root,
> '^libpixbufloader-(.*)\.so$', 'gdk-pixbuf-loader-%s', 'GDK pixbuf
> loader for %s', postinst_pixbufloader)
>
> }
>
> +do_install_append_virtclass-native() {
> +#Use wrapper script rather than binary as required libtool library is
> not installed now
> +
> GDK_PIXBUF_MODULEDIR=${D}${libdir}/gdk-pixbuf-2.0/2.10.0/loaders
> ${S}/gdk-pixbuf/gdk-pixbuf-query-loaders >
> ${D}${libdir}/gdk-pixbuf-2.0/2.10.0/loaders.cache
>
> + sed -i -e 's#${D}##g'
> ${D}${libdir}/gdk-pixbuf-2.0/2.10.0/loaders.cache
> + find ${D}${libdir} -name "libpixbufloader-*.la" -exec rm \{\} \;
> +}
> +BBCLASSEXTEND = "native"
> --
> 1.7.0.4
>
> _______________________________________________
> poky mailing list
> poky@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
>
next parent reply other threads:[~2011-01-31 15:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <cover.1296485859.git.edwin.zhai@intel.com>
[not found] ` <d4ed42c98ddae97ccf3fa42843d7a1ecfbab799c.1296485859.git.edwin.zhai@intel.com>
2011-01-31 15:02 ` Zhai, Edwin [this message]
2011-01-31 15:15 ` [PATCH 5/6] gdk-pixbuf: Fix the native png load error and remove duplicated recipe Richard Purdie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D46CEF9.7000808@intel.com \
--to=edwin.zhai@intel.com \
--cc=poky@yoctoproject.org \
--cc=richard.purdie@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.