From dfe6ba17f2f395c39e182f5bbc4e803224c136d2 Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Sun, 6 Sep 2026 11:37:05 +0200 Subject: [PATCH] gexiv2-0.14: add recipe for the 0.14 series gexiv2 0.16 switched to a versioned library, pkg-config module, header directory and GIR namespace, so it installs in parallel to 0.14. GNOME 50 applications need 0.16 while GIMP still requires gexiv2 < 0.15, so keep the 0.14 series under its own name. The command line tool and the python override are disabled here to avoid file clashes with the main recipe. Build tested on corei7-64. AI-Generated: Uses Claude Code (Claude Fable 5.1) Signed-off-by: Markus Volk Signed-off-by: Khem Raj --- .../gexiv2/gexiv2-0.14_0.14.6.bb | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 meta-gnome/recipes-gnome/gexiv2/gexiv2-0.14_0.14.6.bb diff --git a/meta-gnome/recipes-gnome/gexiv2/gexiv2-0.14_0.14.6.bb b/meta-gnome/recipes-gnome/gexiv2/gexiv2-0.14_0.14.6.bb new file mode 100644 index 0000000000..a193831a23 --- /dev/null +++ b/meta-gnome/recipes-gnome/gexiv2/gexiv2-0.14_0.14.6.bb @@ -0,0 +1,34 @@ +SUMMARY = "A GObject-based Exiv2 wrapper" +DESCRIPTION = "The 0.14 series of gexiv2 for applications that don't support the \ +versioned gexiv2-0.16 API yet, most notably GIMP. It installs in parallel to the \ +current gexiv2 recipe: the library, pkg-config module, header directory and GIR \ +namespace version differ. The command line tool and the python override are not \ +built here because their files would clash with the current version." +LICENSE = "GPL-2.0-only" +LIC_FILES_CHKSUM = "file://COPYING;md5=625f055f41728f84a8d7938acc35bdc2" + +DEPENDS = "exiv2" + +GNOMEBN = "gexiv2" + +GTKDOC_MESON_OPTION = "gtk_doc" + +inherit gnomebase gobject-introspection gtk-doc vala + +SRC_URI[archive.sha256sum] = "606c28aaae7b1f3ef5c8eabe5e7dffd7c5a1c866d25b7671fb847fe287a72b8b" + +# The command line tool and the python override would clash with the files +# installed by the current gexiv2 recipe. +# AI-Generated: this recipe was created with Claude Code. +EXTRA_OEMESON = " \ + -Dpython3=false \ + -Dtools=false \ + ${@bb.utils.contains('GI_DATA_ENABLED', 'True', '-Dvapi=true', '-Dvapi=false', d)} \ +" + +PACKAGE_PREPROCESS_FUNCS += "src_package_preprocess" +src_package_preprocess () { + # Trim build paths from code in generated sources to ensure reproducibility + sed -i -e "s,${B}/../sources/${GNOMEBN}-${PV},${TARGET_DBGSRC_DIR},g" \ + ${B}/gexiv2/gexiv2-enums.cpp +}