diff options
author | Jussi Kukkonen <jussi.kukkonen@intel.com> | 2017-02-22 15:02:36 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-01 23:27:07 +0000 |
commit | b1777d66e3a985eb52c693fe1bcc6333cbcf5cef (patch) | |
tree | 4fc06370b8460e6bd017372aa7eb989a082373d6 /meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.36.1.bb | |
parent | 9eff416170cf5a396dc9f4d84dab960dffd8305d (diff) | |
download | poky-b1777d66e3a985eb52c693fe1bcc6333cbcf5cef.tar.gz |
gdk-pixbuf: Upgrade 2.36.1 -> 2.36.5
Mostly bug fix releases.
Generating the thumbnailer metadata now requires running yet another
tool at build time. This is broken for cross-compiling, add a
work-around.
Add gdk-pixbuf-native to DEPENDS to make the above workaround possible:
We already build gdk-pixbuf-native anyway so this is not a huge deal.
(From OE-Core rev: 645e14bb39d10a50648daaf7a015f2d75bf357db)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.36.1.bb')
-rw-r--r-- | meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.36.1.bb | 95 |
1 files changed, 0 insertions, 95 deletions
diff --git a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.36.1.bb b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.36.1.bb deleted file mode 100644 index a188f5473b..0000000000 --- a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.36.1.bb +++ /dev/null | |||
@@ -1,95 +0,0 @@ | |||
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" | ||
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 | " | ||
21 | |||
22 | SRC_URI[md5sum] = "fe30b0420e013f2c4590ae6226d895d4" | ||
23 | SRC_URI[sha256sum] = "9d5ba72070460c1b5b74115d395a3e33daeb7b7b67fb256cdccc9d7187c42a38" | ||
24 | |||
25 | inherit autotools pkgconfig gettext pixbufcache ptest-gnome upstream-version-is-even gobject-introspection gtk-doc lib_package | ||
26 | |||
27 | LIBV = "2.10.0" | ||
28 | |||
29 | GDK_PIXBUF_LOADERS ?= "png jpeg" | ||
30 | |||
31 | PACKAGECONFIG ??= "${GDK_PIXBUF_LOADERS}" | ||
32 | PACKAGECONFIG_linuxstdbase = "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} ${GDK_PIXBUF_LOADERS}" | ||
33 | PACKAGECONFIG_class-native = "${GDK_PIXBUF_LOADERS}" | ||
34 | |||
35 | PACKAGECONFIG[png] = "--with-libpng,--without-libpng,libpng" | ||
36 | PACKAGECONFIG[jpeg] = "--with-libjpeg,--without-libjpeg,jpeg" | ||
37 | PACKAGECONFIG[tiff] = "--with-libtiff,--without-libtiff,tiff" | ||
38 | PACKAGECONFIG[jpeg2000] = "--with-libjasper,--without-libjasper,jasper" | ||
39 | |||
40 | # Use GIO to sniff image format instead of trying all loaders | ||
41 | PACKAGECONFIG[gio-sniff] = "--enable-gio-sniffing,--disable-gio-sniffing,,shared-mime-info" | ||
42 | PACKAGECONFIG[x11] = "--with-x11,--without-x11,virtual/libx11" | ||
43 | |||
44 | PACKAGES =+ "${PN}-xlib" | ||
45 | |||
46 | FILES_${PN}-xlib = "${libdir}/*pixbuf_xlib*${SOLIBS}" | ||
47 | ALLOW_EMPTY_${PN}-xlib = "1" | ||
48 | |||
49 | FILES_${PN} += "${libdir}/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders" | ||
50 | |||
51 | FILES_${PN}-bin += "${datadir}/thumbnailers/gdk-pixbuf-thumbnailer.thumbnailer" | ||
52 | |||
53 | FILES_${PN}-dev += " \ | ||
54 | ${bindir}/gdk-pixbuf-csource \ | ||
55 | ${bindir}/gdk-pixbuf-pixdata \ | ||
56 | ${includedir}/* \ | ||
57 | ${libdir}/gdk-pixbuf-2.0/${LIBV}/loaders/*.la \ | ||
58 | " | ||
59 | |||
60 | PACKAGES_DYNAMIC += "^gdk-pixbuf-loader-.*" | ||
61 | PACKAGES_DYNAMIC_class-native = "" | ||
62 | |||
63 | python populate_packages_prepend () { | ||
64 | postinst_pixbufloader = d.getVar("postinst_pixbufloader") | ||
65 | |||
66 | loaders_root = d.expand('${libdir}/gdk-pixbuf-2.0/${LIBV}/loaders') | ||
67 | |||
68 | packages = ' '.join(do_split_packages(d, loaders_root, '^libpixbufloader-(.*)\.so$', 'gdk-pixbuf-loader-%s', 'GDK pixbuf loader for %s')) | ||
69 | d.setVar('PIXBUF_PACKAGES', packages) | ||
70 | |||
71 | # The test suite exercises all the loaders, so ensure they are all | ||
72 | # dependencies of the ptest package. | ||
73 | d.appendVar("RDEPENDS_gdk-pixbuf-ptest", " " + packages) | ||
74 | } | ||
75 | |||
76 | do_install_append() { | ||
77 | # Move gdk-pixbuf-query-loaders into libdir so it is always available | ||
78 | # in multilib builds. | ||
79 | mv ${D}/${bindir}/gdk-pixbuf-query-loaders ${D}/${libdir}/gdk-pixbuf-2.0/ | ||
80 | } | ||
81 | |||
82 | do_install_append_class-native() { | ||
83 | find ${D}${libdir} -name "libpixbufloader-*.la" -exec rm \{\} \; | ||
84 | |||
85 | create_wrapper ${D}/${bindir}/gdk-pixbuf-csource \ | ||
86 | GDK_PIXBUF_MODULE_FILE=${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/${LIBV}/loaders.cache | ||
87 | |||
88 | create_wrapper ${D}/${bindir}/gdk-pixbuf-pixdata \ | ||
89 | GDK_PIXBUF_MODULE_FILE=${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/${LIBV}/loaders.cache | ||
90 | |||
91 | create_wrapper ${D}/${libdir}/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders \ | ||
92 | GDK_PIXBUF_MODULE_FILE=${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/${LIBV}/loaders.cache \ | ||
93 | GDK_PIXBUF_MODULEDIR=${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/${LIBV}/loaders | ||
94 | } | ||
95 | BBCLASSEXTEND = "native" | ||