diff options
| author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2017-10-09 16:50:11 +0300 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-11-09 12:33:17 +0000 |
| commit | 2d2327911ff22fc711eed834099de612eb523a85 (patch) | |
| tree | 404b90507ffeea7a1179d9ecc7078a18d4eacaf3 /meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.36.11.bb | |
| parent | 638971d64194077c19ecf6c1c77eba46aef6d18e (diff) | |
| download | poky-2d2327911ff22fc711eed834099de612eb523a85.tar.gz | |
gdk-pixbuf: update to 2.36.11
Remove upstreamed 0001-queryloaders-Make-output-more-reproducible.patch
Rebase fatal-loader.patch
Add a patch to fix a libtiff detection issue.
(From OE-Core rev: 057fadbaa9948fb26d99ffcbe68145658df64038)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.36.11.bb')
| -rw-r--r-- | meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.36.11.bb | 102 |
1 files changed, 102 insertions, 0 deletions
diff --git a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.36.11.bb b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.36.11.bb new file mode 100644 index 0000000000..99c84c6dda --- /dev/null +++ b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.36.11.bb | |||
| @@ -0,0 +1,102 @@ | |||
| 1 | SUMMARY = "Image loading library for GTK+" | ||
| 2 | HOMEPAGE = "http://www.gtk.org/" | ||
| 3 | BUGTRACKER = "https://bugzilla.gnome.org/" | ||
| 4 | |||
| 5 | LICENSE = "LGPLv2" | ||
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \ | ||
| 7 | file://gdk-pixbuf/gdk-pixbuf.h;endline=26;md5=72b39da7cbdde2e665329fef618e1d6b" | ||
| 8 | |||
| 9 | SECTION = "libs" | ||
| 10 | |||
| 11 | DEPENDS = "glib-2.0 gdk-pixbuf-native shared-mime-info" | ||
| 12 | |||
| 13 | MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}" | ||
| 14 | |||
| 15 | SRC_URI = "${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz \ | ||
| 16 | file://hardcoded_libtool.patch \ | ||
| 17 | file://extending-libinstall-dependencies.patch \ | ||
| 18 | file://run-ptest \ | ||
| 19 | file://fatal-loader.patch \ | ||
| 20 | file://0001-Work-around-thumbnailer-cross-compile-failure.patch \ | ||
| 21 | file://0001-Fix-without-libtiff-not-having-an-effect.patch \ | ||
| 22 | " | ||
| 23 | |||
| 24 | SRC_URI[md5sum] = "6e84e5485c17ce7c25df77fe76eb2d6a" | ||
| 25 | SRC_URI[sha256sum] = "ae62ab87250413156ed72ef756347b10208c00e76b222d82d9ed361ed9dde2f3" | ||
| 26 | |||
| 27 | inherit autotools pkgconfig gettext pixbufcache ptest-gnome upstream-version-is-even gobject-introspection gtk-doc lib_package | ||
| 28 | |||
| 29 | LIBV = "2.10.0" | ||
| 30 | |||
| 31 | GDK_PIXBUF_LOADERS ?= "png jpeg" | ||
| 32 | |||
| 33 | PACKAGECONFIG ??= "${GDK_PIXBUF_LOADERS}" | ||
| 34 | PACKAGECONFIG_linuxstdbase = "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} ${GDK_PIXBUF_LOADERS}" | ||
| 35 | PACKAGECONFIG_class-native = "${GDK_PIXBUF_LOADERS}" | ||
| 36 | |||
| 37 | PACKAGECONFIG[png] = "--with-libpng,--without-libpng,libpng" | ||
| 38 | PACKAGECONFIG[jpeg] = "--with-libjpeg,--without-libjpeg,jpeg" | ||
| 39 | PACKAGECONFIG[tiff] = "--with-libtiff,--without-libtiff,tiff" | ||
| 40 | PACKAGECONFIG[jpeg2000] = "--with-libjasper,--without-libjasper,jasper" | ||
| 41 | |||
| 42 | PACKAGECONFIG[x11] = "--with-x11,--without-x11,virtual/libx11" | ||
| 43 | |||
| 44 | PACKAGES =+ "${PN}-xlib" | ||
| 45 | |||
| 46 | # For GIO image type sniffing | ||
| 47 | RDEPENDS_${PN} = "shared-mime-info" | ||
| 48 | |||
| 49 | FILES_${PN}-xlib = "${libdir}/*pixbuf_xlib*${SOLIBS}" | ||
| 50 | ALLOW_EMPTY_${PN}-xlib = "1" | ||
| 51 | |||
| 52 | FILES_${PN} += "${libdir}/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders" | ||
| 53 | |||
| 54 | FILES_${PN}-bin += "${datadir}/thumbnailers/gdk-pixbuf-thumbnailer.thumbnailer" | ||
| 55 | |||
| 56 | FILES_${PN}-dev += " \ | ||
| 57 | ${bindir}/gdk-pixbuf-csource \ | ||
| 58 | ${bindir}/gdk-pixbuf-pixdata \ | ||
| 59 | ${bindir}/gdk-pixbuf-print-mime-types \ | ||
| 60 | ${includedir}/* \ | ||
| 61 | ${libdir}/gdk-pixbuf-2.0/${LIBV}/loaders/*.la \ | ||
| 62 | " | ||
| 63 | |||
| 64 | PACKAGES_DYNAMIC += "^gdk-pixbuf-loader-.*" | ||
| 65 | PACKAGES_DYNAMIC_class-native = "" | ||
| 66 | |||
| 67 | python populate_packages_prepend () { | ||
| 68 | postinst_pixbufloader = d.getVar("postinst_pixbufloader") | ||
| 69 | |||
| 70 | loaders_root = d.expand('${libdir}/gdk-pixbuf-2.0/${LIBV}/loaders') | ||
| 71 | |||
| 72 | packages = ' '.join(do_split_packages(d, loaders_root, '^libpixbufloader-(.*)\.so$', 'gdk-pixbuf-loader-%s', 'GDK pixbuf loader for %s')) | ||
| 73 | d.setVar('PIXBUF_PACKAGES', packages) | ||
| 74 | |||
| 75 | # The test suite exercises all the loaders, so ensure they are all | ||
| 76 | # dependencies of the ptest package. | ||
| 77 | d.appendVar("RDEPENDS_%s-ptest" % d.getVar('PN'), " " + packages) | ||
| 78 | } | ||
| 79 | |||
| 80 | do_install_append() { | ||
| 81 | # Move gdk-pixbuf-query-loaders into libdir so it is always available | ||
| 82 | # in multilib builds. | ||
| 83 | mv ${D}/${bindir}/gdk-pixbuf-query-loaders ${D}/${libdir}/gdk-pixbuf-2.0/ | ||
| 84 | } | ||
| 85 | |||
| 86 | do_install_append_class-native() { | ||
| 87 | find ${D}${libdir} -name "libpixbufloader-*.la" -exec rm \{\} \; | ||
| 88 | |||
| 89 | create_wrapper ${D}/${bindir}/gdk-pixbuf-csource \ | ||
| 90 | GDK_PIXBUF_MODULE_FILE=${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/${LIBV}/loaders.cache | ||
| 91 | |||
| 92 | create_wrapper ${D}/${bindir}/gdk-pixbuf-pixdata \ | ||
| 93 | GDK_PIXBUF_MODULE_FILE=${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/${LIBV}/loaders.cache | ||
| 94 | |||
| 95 | create_wrapper ${D}/${bindir}/gdk-pixbuf-print-mime-types \ | ||
| 96 | GDK_PIXBUF_MODULE_FILE=${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/${LIBV}/loaders.cache | ||
| 97 | |||
| 98 | create_wrapper ${D}/${libdir}/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders \ | ||
| 99 | GDK_PIXBUF_MODULE_FILE=${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/${LIBV}/loaders.cache \ | ||
| 100 | GDK_PIXBUF_MODULEDIR=${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/${LIBV}/loaders | ||
| 101 | } | ||
| 102 | BBCLASSEXTEND = "native" | ||
