From patchwork Tue Dec 16 16:10:00 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 76762 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id C217FD609BB for ; Tue, 16 Dec 2025 16:10:16 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.26401.1765901407740769859 for ; Tue, 16 Dec 2025 08:10:07 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 1446EFEC for ; Tue, 16 Dec 2025 08:10:00 -0800 (PST) Received: from cesw-amp-gbt-1s-m12830-04.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id D7F393F73F for ; Tue, 16 Dec 2025 08:10:06 -0800 (PST) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 1/2] gdk-pixbuf: small cleanups Date: Tue, 16 Dec 2025 16:10:00 +0000 Message-ID: <20251216161001.352088-1-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 16 Dec 2025 16:10:16 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/227977 Update homepage, as the wiki is mostly dead links. Optionally build the manpages. Remove the gdk-pixbuf-xlib package, as this was removed in 2.42[1] Enable/disable building the tests, not just installing the tests, to save build time if they're not needed. Fix some indentation which was using the wrong spacing. [1] gdk-pixbuf 3362e94c2 ("Remove obsolete Xlib helper library") Signed-off-by: Ross Burton --- .../gdk-pixbuf/gdk-pixbuf_2.42.12.bb | 22 +++++++------------ 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.42.12.bb b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.42.12.bb index 98993cc07d7..750098ba022 100644 --- a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.42.12.bb +++ b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.42.12.bb @@ -2,7 +2,7 @@ SUMMARY = "Image loading library for GTK+" DESCRIPTION = "The GDK Pixbuf library provides: Image loading and saving \ facilities, fast scaling and compositing of pixbufs and Simple animation \ loading (ie. animated GIFs)" -HOMEPAGE = "https://wiki.gnome.org/Projects/GdkPixbuf" +HOMEPAGE = "https://gitlab.gnome.org/GNOME/gdk-pixbuf" BUGTRACKER = "https://gitlab.gnome.org/GNOME/gdk-pixbuf/issues" LICENSE = "LGPL-2.1-or-later" @@ -16,7 +16,7 @@ DEPENDS = "glib-2.0 shared-mime-info" SRC_URI[archive.sha256sum] = "b9505b3445b9a7e48ced34760c3bcb73e966df3ac94c95a148cb669ab748e3c7" -inherit gettext gnomebase pixbufcache ptest-gnome upstream-version-is-even gobject-introspection gi-docgen lib_package +inherit gettext gnomebase pixbufcache ptest-gnome upstream-version-is-even gobject-introspection gi-docgen lib_package manpages SRC_URI += "\ file://run-ptest \ @@ -24,7 +24,7 @@ SRC_URI += "\ file://0001-meson.build-allow-a-subset-of-tests-in-cross-compile.patch \ " -GIR_MESON_OPTION = 'introspection' +GIR_MESON_OPTION = "introspection" GIR_MESON_ENABLE_FLAG = "enabled" GIR_MESON_DISABLE_FLAG = "disabled" @@ -38,18 +38,12 @@ PACKAGECONFIG[jpeg] = "-Djpeg=enabled,-Djpeg=disabled,jpeg" PACKAGECONFIG[tiff] = "-Dtiff=enabled,-Dtiff=disabled,tiff" PACKAGECONFIG[gif] = "-Dgif=enabled,-Dgif=disabled" PACKAGECONFIG[others] = "-Dothers=enabled,-Dothers=disabled" -PACKAGECONFIG[tests] = "-Dinstalled_tests=true,-Dinstalled_tests=false" - -EXTRA_OEMESON = "-Dman=false" - -PACKAGES =+ "${PN}-xlib" +PACKAGECONFIG[manpages] = "-Dman=true,-Dman=false,python3-docutils-native" +PACKAGECONFIG[tests] = "-Dtests=true -Dinstalled_tests=true,-Dtests=false -Dinstalled_tests=false" # For GIO image type sniffing RDEPENDS:${PN} = "shared-mime-info" -FILES:${PN}-xlib = "${libdir}/*pixbuf_xlib*${SOLIBS}" -ALLOW_EMPTY:${PN}-xlib = "1" - FILES:${PN} += "${libdir}/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders" FILES:${PN}-bin += "${datadir}/thumbnailers/gdk-pixbuf-thumbnailer.thumbnailer" @@ -57,7 +51,7 @@ FILES:${PN}-bin += "${datadir}/thumbnailers/gdk-pixbuf-thumbnailer.thumbnailer" FILES:${PN}-dev += " \ ${bindir}/gdk-pixbuf-csource \ ${bindir}/gdk-pixbuf-pixdata \ - ${bindir}/gdk-pixbuf-print-mime-types \ + ${bindir}/gdk-pixbuf-print-mime-types \ ${includedir}/* \ " @@ -85,9 +79,9 @@ do_install:append() { } do_install_ptest() { - # Remove a bad fuzzing attempt that sporadically fails without a way to reproduce + # Remove a bad fuzzing attempt that sporadically fails without a way to reproduce rm ${D}/${datadir}/installed-tests/gdk-pixbuf/pixbuf-randomly-modified.test - # https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/215 + # https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/215 rm ${D}/${datadir}/installed-tests/gdk-pixbuf/pixbuf-jpeg.test }