diff options
| author | Alexander Kanavin <alex.kanavin@gmail.com> | 2022-04-07 19:00:26 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-04-19 14:14:10 +0100 |
| commit | d61e29347b84711d726ae69f09307ff7bc5b1d80 (patch) | |
| tree | 0c538b9a4b93c3223fafd198da2517914cb6cd11 /meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.42.6.bb | |
| parent | 639bd14a9cbba8cbb3582426c8a455950c6532ab (diff) | |
| download | poky-d61e29347b84711d726ae69f09307ff7bc5b1d80.tar.gz | |
gdk-pixbuf: upgrade 2.42.6 -> 2.42.8
(From OE-Core rev: d8398c88c6d950781709a112446d6a320e624346)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.42.6.bb')
| -rw-r--r-- | meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.42.6.bb | 128 |
1 files changed, 0 insertions, 128 deletions
diff --git a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.42.6.bb b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.42.6.bb deleted file mode 100644 index 55c16e4d66..0000000000 --- a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.42.6.bb +++ /dev/null | |||
| @@ -1,128 +0,0 @@ | |||
| 1 | SUMMARY = "Image loading library for GTK+" | ||
| 2 | DESCRIPTION = "The GDK Pixbuf library provides: Image loading and saving \ | ||
| 3 | facilities, fast scaling and compositing of pixbufs and Simple animation \ | ||
| 4 | loading (ie. animated GIFs)" | ||
| 5 | HOMEPAGE = "https://wiki.gnome.org/Projects/GdkPixbuf" | ||
| 6 | BUGTRACKER = "https://gitlab.gnome.org/GNOME/gdk-pixbuf/issues" | ||
| 7 | |||
| 8 | LICENSE = "LGPL-2.1-or-later" | ||
| 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \ | ||
| 10 | file://gdk-pixbuf/gdk-pixbuf.h;endline=26;md5=72b39da7cbdde2e665329fef618e1d6b \ | ||
| 11 | " | ||
| 12 | |||
| 13 | SECTION = "libs" | ||
| 14 | |||
| 15 | DEPENDS = "glib-2.0 gdk-pixbuf-native shared-mime-info" | ||
| 16 | DEPENDS:remove:class-native = "gdk-pixbuf-native" | ||
| 17 | |||
| 18 | MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}" | ||
| 19 | |||
| 20 | SRC_URI = "${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz \ | ||
| 21 | file://run-ptest \ | ||
| 22 | file://fatal-loader.patch \ | ||
| 23 | file://0001-Add-use_prebuilt_tools-option.patch \ | ||
| 24 | " | ||
| 25 | |||
| 26 | SRC_URI[sha256sum] = "c4a6b75b7ed8f58ca48da830b9fa00ed96d668d3ab4b1f723dcf902f78bde77f" | ||
| 27 | |||
| 28 | inherit meson pkgconfig gettext pixbufcache ptest-gnome upstream-version-is-even gobject-introspection gi-docgen lib_package | ||
| 29 | |||
| 30 | GIR_MESON_OPTION = 'introspection' | ||
| 31 | GIR_MESON_ENABLE_FLAG = "enabled" | ||
| 32 | GIR_MESON_DISABLE_FLAG = "disabled" | ||
| 33 | |||
| 34 | LIBV = "2.10.0" | ||
| 35 | |||
| 36 | GDK_PIXBUF_LOADERS ?= "png jpeg" | ||
| 37 | |||
| 38 | PACKAGECONFIG = "${GDK_PIXBUF_LOADERS} \ | ||
| 39 | ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}" | ||
| 40 | PACKAGECONFIG:class-native = "${GDK_PIXBUF_LOADERS}" | ||
| 41 | |||
| 42 | PACKAGECONFIG[png] = "-Dpng=true,-Dpng=false,libpng" | ||
| 43 | PACKAGECONFIG[jpeg] = "-Djpeg=true,-Djpeg=false,jpeg" | ||
| 44 | PACKAGECONFIG[tiff] = "-Dtiff=true,-Dtiff=false,tiff" | ||
| 45 | PACKAGECONFIG[tests] = "-Dinstalled_tests=true,-Dinstalled_tests=false" | ||
| 46 | |||
| 47 | EXTRA_OEMESON:class-target = " \ | ||
| 48 | -Duse_prebuilt_tools=true \ | ||
| 49 | " | ||
| 50 | |||
| 51 | EXTRA_OEMESON:class-nativesdk = " \ | ||
| 52 | -Duse_prebuilt_tools=true \ | ||
| 53 | " | ||
| 54 | |||
| 55 | PACKAGES =+ "${PN}-xlib" | ||
| 56 | |||
| 57 | # For GIO image type sniffing | ||
| 58 | RDEPENDS:${PN} = "shared-mime-info" | ||
| 59 | |||
| 60 | FILES:${PN}-xlib = "${libdir}/*pixbuf_xlib*${SOLIBS}" | ||
| 61 | ALLOW_EMPTY:${PN}-xlib = "1" | ||
| 62 | |||
| 63 | FILES:${PN} += "${libdir}/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders" | ||
| 64 | |||
| 65 | FILES:${PN}-bin += "${datadir}/thumbnailers/gdk-pixbuf-thumbnailer.thumbnailer" | ||
| 66 | |||
| 67 | FILES:${PN}-dev += " \ | ||
| 68 | ${bindir}/gdk-pixbuf-csource \ | ||
| 69 | ${bindir}/gdk-pixbuf-pixdata \ | ||
| 70 | ${bindir}/gdk-pixbuf-print-mime-types \ | ||
| 71 | ${includedir}/* \ | ||
| 72 | ${libdir}/gdk-pixbuf-2.0/${LIBV}/loaders/*.la \ | ||
| 73 | " | ||
| 74 | |||
| 75 | PACKAGES_DYNAMIC += "^gdk-pixbuf-loader-.*" | ||
| 76 | PACKAGES_DYNAMIC:class-native = "" | ||
| 77 | |||
| 78 | python populate_packages:prepend () { | ||
| 79 | postinst_pixbufloader = d.getVar("postinst_pixbufloader") | ||
| 80 | |||
| 81 | loaders_root = d.expand('${libdir}/gdk-pixbuf-2.0/${LIBV}/loaders') | ||
| 82 | |||
| 83 | packages = ' '.join(do_split_packages(d, loaders_root, r'^libpixbufloader-(.*)\.so$', 'gdk-pixbuf-loader-%s', 'GDK pixbuf loader for %s')) | ||
| 84 | d.setVar('PIXBUF_PACKAGES', packages) | ||
| 85 | |||
| 86 | # The test suite exercises all the loaders, so ensure they are all | ||
| 87 | # dependencies of the ptest package. | ||
| 88 | d.appendVar("RDEPENDS:%s-ptest" % d.getVar('PN'), " " + packages) | ||
| 89 | } | ||
| 90 | |||
| 91 | do_install:append() { | ||
| 92 | # Copy gdk-pixbuf-query-loaders into libdir so it is always available | ||
| 93 | # in multilib builds. | ||
| 94 | cp ${D}/${bindir}/gdk-pixbuf-query-loaders ${D}/${libdir}/gdk-pixbuf-2.0/ | ||
| 95 | |||
| 96 | } | ||
| 97 | |||
| 98 | # Remove a bad fuzzing attempt that sporadically fails without a way to reproduce | ||
| 99 | do_install_ptest() { | ||
| 100 | rm ${D}/${datadir}/installed-tests/gdk-pixbuf/pixbuf-randomly-modified.test | ||
| 101 | } | ||
| 102 | |||
| 103 | do_install:append:class-native() { | ||
| 104 | find ${D}${libdir} -name "libpixbufloader-*.la" -exec rm \{\} \; | ||
| 105 | |||
| 106 | create_wrapper ${D}/${bindir}/gdk-pixbuf-csource \ | ||
| 107 | XDG_DATA_DIRS=${STAGING_DATADIR} \ | ||
| 108 | GDK_PIXBUF_MODULE_FILE=${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/${LIBV}/loaders.cache | ||
| 109 | |||
| 110 | create_wrapper ${D}/${bindir}/gdk-pixbuf-pixdata \ | ||
| 111 | XDG_DATA_DIRS=${STAGING_DATADIR} \ | ||
| 112 | GDK_PIXBUF_MODULE_FILE=${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/${LIBV}/loaders.cache | ||
| 113 | |||
| 114 | create_wrapper ${D}/${bindir}/gdk-pixbuf-print-mime-types \ | ||
| 115 | XDG_DATA_DIRS=${STAGING_DATADIR} \ | ||
| 116 | GDK_PIXBUF_MODULE_FILE=${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/${LIBV}/loaders.cache | ||
| 117 | |||
| 118 | create_wrapper ${D}/${libdir}/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders \ | ||
| 119 | XDG_DATA_DIRS=${STAGING_DATADIR} \ | ||
| 120 | GDK_PIXBUF_MODULE_FILE=${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/${LIBV}/loaders.cache \ | ||
| 121 | GDK_PIXBUF_MODULEDIR=${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/${LIBV}/loaders | ||
| 122 | |||
| 123 | create_wrapper ${D}/${bindir}/gdk-pixbuf-query-loaders \ | ||
| 124 | XDG_DATA_DIRS=${STAGING_DATADIR} \ | ||
| 125 | GDK_PIXBUF_MODULE_FILE=${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/${LIBV}/loaders.cache \ | ||
| 126 | GDK_PIXBUF_MODULEDIR=${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/${LIBV}/loaders | ||
| 127 | } | ||
| 128 | BBCLASSEXTEND = "native nativesdk" | ||
