From 0cb4d92f4dacfe4d9a7731cf1d542777cdffef3f Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Thu, 9 Apr 2026 18:31:50 +0800 Subject: feh: upgrade 3.11.3 -> 3.12.1 Changelog: ========== * Update tests to reflect the %f/%F changes implemented in v3.12 * Disallow %f and %n format specifiers in --action and --info strings; abort with an error message if those are encountered. Use %F and %N instead. Rationale: %f and %n do not escape shell-specific syntax and are thus a security risk when passing untrusted file names to feh. %F and %N, which have been available since v2.3 (Feb 2012), do escape shell-specific syntax. Migration path: Replace %f (or '%f') and %n (or '%n') with %F and %N (without '') in --action and --info commands. * Fix formatting in man page for groff 1.23.0+ * Do not skip URLs when '--sort mtime' or similar are used * Define '_GNU_SOURCE' macro for mkstemps usage (if enabled) Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- meta-oe/recipes-graphics/feh/feh_3.11.3.bb | 30 ------------------------------ meta-oe/recipes-graphics/feh/feh_3.12.1.bb | 30 ++++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 30 deletions(-) delete mode 100644 meta-oe/recipes-graphics/feh/feh_3.11.3.bb create mode 100644 meta-oe/recipes-graphics/feh/feh_3.12.1.bb diff --git a/meta-oe/recipes-graphics/feh/feh_3.11.3.bb b/meta-oe/recipes-graphics/feh/feh_3.11.3.bb deleted file mode 100644 index c79ad488ba..0000000000 --- a/meta-oe/recipes-graphics/feh/feh_3.11.3.bb +++ /dev/null @@ -1,30 +0,0 @@ -SUMMARY = "X11 image viewer aimed mostly at console users" -HOMEPAGE = "https://feh.finalrewind.org/" -SECTION = "x11/utils" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://COPYING;md5=275a549d1abc07e3bae1d7137f53f602" -DEPENDS = "\ - imlib2 \ - virtual/libx11 libxt\ -" - -SRC_URI = "https://feh.finalrewind.org/feh-${PV}.tar.bz2" -SRC_URI[sha256sum] = "f2cca3592a433922c0db7a9365fd63e5402c121d932a9327e279c71be6501063" - -inherit mime-xdg features_check -# depends on virtual/libx11 -REQUIRED_DISTRO_FEATURES = "x11" - -EXTRA_OEMAKE = "curl=0 xinerama=0 PREFIX=/usr" - -do_compile () { - oe_runmake -} - -do_install () { - oe_runmake install app=1 'DESTDIR=${D}' 'ICON_PREFIX=${D}${datadir}/icons' -} - -RDEPENDS:${PN} += "imlib2-loaders" - -FILES:${PN} += "${datadir}/icons" diff --git a/meta-oe/recipes-graphics/feh/feh_3.12.1.bb b/meta-oe/recipes-graphics/feh/feh_3.12.1.bb new file mode 100644 index 0000000000..2ac504a551 --- /dev/null +++ b/meta-oe/recipes-graphics/feh/feh_3.12.1.bb @@ -0,0 +1,30 @@ +SUMMARY = "X11 image viewer aimed mostly at console users" +HOMEPAGE = "https://feh.finalrewind.org/" +SECTION = "x11/utils" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://COPYING;md5=275a549d1abc07e3bae1d7137f53f602" +DEPENDS = "\ + imlib2 \ + virtual/libx11 libxt\ +" + +SRC_URI = "https://feh.finalrewind.org/feh-${PV}.tar.bz2" +SRC_URI[sha256sum] = "6772f48e7956a16736e4c165a8367f357efc413b895f5b04133366e01438f95d" + +inherit mime-xdg features_check +# depends on virtual/libx11 +REQUIRED_DISTRO_FEATURES = "x11" + +EXTRA_OEMAKE = "curl=0 xinerama=0 PREFIX=/usr" + +do_compile () { + oe_runmake +} + +do_install () { + oe_runmake install app=1 'DESTDIR=${D}' 'ICON_PREFIX=${D}${datadir}/icons' +} + +RDEPENDS:${PN} += "imlib2-loaders" + +FILES:${PN} += "${datadir}/icons" -- cgit v1.2.3-54-g00ecf