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 4bb5452632/main/gdk-pixbuf/xfce-window-list-icons.patch
This commit is contained in:
termux-pacman-bot
2025-10-11 13:36:13 +00:00
parent aee1d3235a
commit b98a19e08f
2 changed files with 29 additions and 0 deletions

View File

@@ -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

View File

@@ -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