From 612c3d7659b179e22b0c55034dc0cc78da46b400 Mon Sep 17 00:00:00 2001 From: tibequadorian Date: Mon, 14 Feb 2022 19:01:47 +0100 Subject: [PATCH] imlib2: update to 1.8.0 --- srcpkgs/imlib2/patches/big-endian.patch | 37 ------------------------- srcpkgs/imlib2/template | 7 +++-- 2 files changed, 4 insertions(+), 40 deletions(-) delete mode 100644 srcpkgs/imlib2/patches/big-endian.patch diff --git a/srcpkgs/imlib2/patches/big-endian.patch b/srcpkgs/imlib2/patches/big-endian.patch deleted file mode 100644 index 54fb7f8f1001..000000000000 --- a/srcpkgs/imlib2/patches/big-endian.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 7d60151ba9696ef07be79af68d5c631a97c63906 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?S=C3=B6ren=20Tempel?= -Date: Mon, 3 Jan 2022 10:56:03 +0100 -Subject: ICO loader: Fix compilation on big endian architectures - -Commit ff79901a071a76ec73cc98c7ff15102c514afb7b refactors the -ico_read_idir function and removed the local nr variable. Unfortunately, -this variable is still used within an `#ifdef WORDS_BIGENDIAN` block on -big endian architectures as a for loop index variable. As such, the code -does presently not compile since the aforementioned commit. This patch -fixes this issue by re-introducing the variable conditionally on big -endian architectures. - -Note: It would likely be cleaner to declare the nr variable as part of -the loop declaration, however, this C99 feature does not seem to be used -anywhere in the code base, hence I refrained from using it here. ---- - src/modules/loaders/loader_ico.c | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/src/modules/loaders/loader_ico.c b/src/modules/loaders/loader_ico.c -index e8cef41..66c3643 100644 ---- a/src/modules/loaders/loader_ico.c -+++ b/src/modules/loaders/loader_ico.c -@@ -139,6 +139,9 @@ ico_read_icon(ico_t * ico, int ino) - { - ie_t *ie; - unsigned int size; -+#ifdef WORDS_BIGENDIAN -+ unsigned int nr; -+#endif - - ie = &ico->ie[ino]; - --- -cgit v1.2.3 - diff --git a/srcpkgs/imlib2/template b/srcpkgs/imlib2/template index e01f17311589..dd9ac63e7cc8 100644 --- a/srcpkgs/imlib2/template +++ b/srcpkgs/imlib2/template @@ -1,18 +1,19 @@ # Template file for 'imlib2' pkgname=imlib2 -version=1.7.5 +version=1.8.0 revision=1 build_style=gnu-configure configure_args="--disable-static --sysconfdir=/etc/imlib2 --enable-visibility-hiding" hostmakedepends="pkg-config" makedepends="freetype-devel libjpeg-turbo-devel libpng-devel libwebp-devel - tiff-devel libid3tag-devel giflib-devel libXext-devel libSM-devel" + tiff-devel libid3tag-devel giflib-devel libXext-devel libSM-devel + libheif-devel librsvg-devel" short_desc="Image manipulation library" maintainer="Orphaned " license="Imlib2" homepage="https://sourceforge.net/projects/enlightenment/" distfiles="${SOURCEFORGE_SITE}/enlightenment/imlib2-src/imlib2-${version}.tar.gz" -checksum=73337bc38de13e04832f645367baf932b39d8b558d4ed9bc1f13405b92090b96 +checksum=6f881c9a1eee040484d2f13070fefbf1d88270a75042e2d5de63fa22ea6e1c88 post_install() { vlicense COPYING