From b98a19e08f56dbfb1db7fe2dfdb4d69a2e071800 Mon Sep 17 00:00:00 2001 From: termux-pacman-bot Date: Sat, 11 Oct 2025 13:36:13 +0000 Subject: [PATCH] fix(main/gdk-pixbuf): fix missing window list icons in XFCE - Fixes https://github.com/termux/termux-packages/issues/26820 - Patch copied and pasted from here https://gitlab.alpinelinux.org/alpine/aports/-/blob/4bb54526323056c025c770064cb7b2a2bdd6eb91/main/gdk-pixbuf/xfce-window-list-icons.patch --- packages/gdk-pixbuf/build.sh | 1 + .../gdk-pixbuf/xfce-window-list-icons.patch | 28 +++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 packages/gdk-pixbuf/xfce-window-list-icons.patch diff --git a/packages/gdk-pixbuf/build.sh b/packages/gdk-pixbuf/build.sh index 5828f6b434..63113d5dd7 100644 --- a/packages/gdk-pixbuf/build.sh +++ b/packages/gdk-pixbuf/build.sh @@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="Library for image loading and manipulation" TERMUX_PKG_LICENSE="LGPL-2.1" TERMUX_PKG_MAINTAINER="@termux" TERMUX_PKG_VERSION="2.44.3" +TERMUX_PKG_REVISION=1 TERMUX_PKG_SRCURL=https://download.gnome.org/sources/gdk-pixbuf/${TERMUX_PKG_VERSION%.*}/gdk-pixbuf-${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_SHA256=40a92dcc237ff94b63a80c159a3f6f22cd59f6fb4961f201c78799fa2c8ac0a6 TERMUX_PKG_AUTO_UPDATE=true diff --git a/packages/gdk-pixbuf/xfce-window-list-icons.patch b/packages/gdk-pixbuf/xfce-window-list-icons.patch new file mode 100644 index 0000000000..1f9f57ee91 --- /dev/null +++ b/packages/gdk-pixbuf/xfce-window-list-icons.patch @@ -0,0 +1,28 @@ +From 9b100a1d3995b7debd0fffcb3afaaf0346c18ac5 Mon Sep 17 00:00:00 2001 +From: correctmost <136447-correctmost@users.noreply.gitlab.gnome.org> +Date: Wed, 24 Sep 2025 13:25:36 -0400 +Subject: [PATCH] bmp: Fix loading of bitmaps that have bottom-down pixel order + +Fixes: 427b566796 + +Closes #271 +--- + gdk-pixbuf/io-bmp.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/gdk-pixbuf/io-bmp.c b/gdk-pixbuf/io-bmp.c +index 0eca48ed2..f1b68a596 100644 +--- a/gdk-pixbuf/io-bmp.c ++++ b/gdk-pixbuf/io-bmp.c +@@ -129,7 +129,7 @@ static void DumpBIH(unsigned char *BIH) + struct headerpair { + guint32 size; + guint32 width; +- guint32 height; ++ gint32 height; + guint depth; + guint Negative; /* Negative = 1 -> top down BMP, + Negative = 0 -> bottom up BMP */ +-- +GitLab +