Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] imlib2: update to 1.8.0, add build options.
@ 2022-02-14 12:27 tibequadorian
  2022-02-14 12:29 ` [PR PATCH] [Updated] " tibequadorian
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: tibequadorian @ 2022-02-14 12:27 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1243 bytes --]

There is a new pull request by tibequadorian against master on the void-packages repository

https://github.com/tibequadorian/void-packages imlib2
https://github.com/void-linux/void-packages/pull/35612

imlib2: update to 1.8.0, add build options.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/35612.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-imlib2-35612.patch --]
[-- Type: text/x-diff, Size: 5969 bytes --]

From cc0fd8d79884e289950f23fc41530d82e216a82b Mon Sep 17 00:00:00 2001
From: tibequadorian <tibequadorian@posteo.de>
Date: Sat, 12 Feb 2022 18:45:15 +0100
Subject: [PATCH] imlib2: update to 1.8.0, add build options.

---
 common/options.description              |  9 ++++--
 srcpkgs/imlib2/patches/big-endian.patch | 37 -------------------------
 srcpkgs/imlib2/template                 | 19 +++++++++----
 3 files changed, 20 insertions(+), 45 deletions(-)
 delete mode 100644 srcpkgs/imlib2/patches/big-endian.patch

diff --git a/common/options.description b/common/options.description
index ac0f14c0843d..76499862d8c4 100644
--- a/common/options.description
+++ b/common/options.description
@@ -14,7 +14,9 @@ desc_option_dav1d="Enable support for the AV1 decoder"
 desc_option_dbus="Enable support for D-BUS"
 desc_option_dri2="Enable support for the DRI2 extension"
 desc_option_dri="Enable support for the DRI extension"
+desc_option_drm="Enable support for DRM"
 desc_option_efi="Enable support for EFI"
+desc_option_elogind="Enable support for elogind"
 desc_option_expat="Enable support for XML via expat"
 desc_option_faac="Enable support for FAAC codec"
 desc_option_fdk_aac="Enable support for Fraunhofer FDK AAC codec"
@@ -35,7 +37,9 @@ desc_option_gtk="Enable support for the GTK+2 GUI toolkit"
 desc_option_gtk3="Enable support for the GTK+3 GUI toolkit"
 desc_option_guile="Enable support for Guile lang"
 desc_option_ffmpeg="Enable support for FFmpeg"
-desc_option_harfbuzz="enable support for Harfbuzz"
+desc_option_harfbuzz="Enable support for Harfbuzz"
+desc_option_heif="Enable support for HEIF images"
+desc_option_id3="Enable support for ID3 tags"
 desc_option_idn="Enable support for IDN"
 desc_option_imagemagick="Enable support for ImageMagick"
 desc_option_jack="Enable support for the JACK sound server"
@@ -96,6 +100,7 @@ desc_option_vpx="Enable support for VP8/VP9 codecs"
 desc_option_vulkan="Enable support for Vulkan"
 desc_option_wavpack="Enable support for the Wavpack audio format"
 desc_option_wayland="Enable support for the Wayland backend"
+desc_option_webp="Enable support for WEBP images"
 desc_option_x11="Enable support for X11"
 desc_option_x265="Enable support for the x265 codec"
 desc_option_xml="Enable support for XML"
@@ -103,5 +108,3 @@ desc_option_xscreensaver="Enable support for libXScrnSaver to determine idle tim
 desc_option_zeitgeist="Enable support for ZeitGeist"
 desc_option_zimg="Enable support for the zimg image processing library"
 desc_option_zstd="Enable support for ZSTD compression format"
-desc_option_elogind="Enable support for elogind"
-desc_option_drm="Enable support for DRM"
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?= <soeren+git@soeren-tempel.net>
-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..6ccd93bcd2f8 100644
--- a/srcpkgs/imlib2/template
+++ b/srcpkgs/imlib2/template
@@ -1,18 +1,27 @@
 # 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"
+configure_args="--disable-static --sysconfdir=/etc/imlib2
+ $(vopt_with gif) $(vopt_with heif) $(vopt_with jpeg) $(vopt_with png)
+ $(vopt_with svg) $(vopt_with svg) $(vopt_with tiff) $(vopt_with webp)
+ $(vopt_with id3)"
 hostmakedepends="pkg-config"
-makedepends="freetype-devel libjpeg-turbo-devel libpng-devel libwebp-devel
- tiff-devel libid3tag-devel giflib-devel libXext-devel libSM-devel"
+makedepends="freetype-devel libXext-devel libSM-devel liblzma-devel bzip2-devel
+ zlib-devel $(vopt_if gif giflib-devel) $(vopt_if heif libheif-devel)
+ $(vopt_if jpeg libjpeg-turbo-devel) $(vopt_if png libpng-devel)
+ $(vopt_if svg librsvg-devel) $(vopt_if webp libwebp-devel)
+ $(vopt_if tiff tiff-devel) $(vopt_if id3 libid3tag-devel)"
 short_desc="Image manipulation library"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Imlib2"
 homepage="https://sourceforge.net/projects/enlightenment/"
 distfiles="${SOURCEFORGE_SITE}/enlightenment/imlib2-src/imlib2-${version}.tar.gz"
-checksum=73337bc38de13e04832f645367baf932b39d8b558d4ed9bc1f13405b92090b96
+checksum=6f881c9a1eee040484d2f13070fefbf1d88270a75042e2d5de63fa22ea6e1c88
+
+build_options="gif heif jpeg png svg tiff webp id3"
+build_options_default="gif jpeg png tiff webp id3"
 
 post_install() {
 	vlicense COPYING

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PR PATCH] [Updated] imlib2: update to 1.8.0, add build options.
  2022-02-14 12:27 [PR PATCH] imlib2: update to 1.8.0, add build options tibequadorian
@ 2022-02-14 12:29 ` tibequadorian
  2022-02-14 16:28 ` paper42
                   ` (13 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: tibequadorian @ 2022-02-14 12:29 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1248 bytes --]

There is an updated pull request by tibequadorian against master on the void-packages repository

https://github.com/tibequadorian/void-packages imlib2
https://github.com/void-linux/void-packages/pull/35612

imlib2: update to 1.8.0, add build options.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/35612.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-imlib2-35612.patch --]
[-- Type: text/x-diff, Size: 5978 bytes --]

From 519593baaac5bd582d38ccef156efecf17f7a4a3 Mon Sep 17 00:00:00 2001
From: tibequadorian <tibequadorian@posteo.de>
Date: Sat, 12 Feb 2022 18:45:15 +0100
Subject: [PATCH] imlib2: update to 1.8.0, add build options.

---
 common/options.description              |  9 ++++--
 srcpkgs/imlib2/patches/big-endian.patch | 37 -------------------------
 srcpkgs/imlib2/template                 | 19 +++++++++----
 3 files changed, 20 insertions(+), 45 deletions(-)
 delete mode 100644 srcpkgs/imlib2/patches/big-endian.patch

diff --git a/common/options.description b/common/options.description
index ac0f14c0843d..76499862d8c4 100644
--- a/common/options.description
+++ b/common/options.description
@@ -14,7 +14,9 @@ desc_option_dav1d="Enable support for the AV1 decoder"
 desc_option_dbus="Enable support for D-BUS"
 desc_option_dri2="Enable support for the DRI2 extension"
 desc_option_dri="Enable support for the DRI extension"
+desc_option_drm="Enable support for DRM"
 desc_option_efi="Enable support for EFI"
+desc_option_elogind="Enable support for elogind"
 desc_option_expat="Enable support for XML via expat"
 desc_option_faac="Enable support for FAAC codec"
 desc_option_fdk_aac="Enable support for Fraunhofer FDK AAC codec"
@@ -35,7 +37,9 @@ desc_option_gtk="Enable support for the GTK+2 GUI toolkit"
 desc_option_gtk3="Enable support for the GTK+3 GUI toolkit"
 desc_option_guile="Enable support for Guile lang"
 desc_option_ffmpeg="Enable support for FFmpeg"
-desc_option_harfbuzz="enable support for Harfbuzz"
+desc_option_harfbuzz="Enable support for Harfbuzz"
+desc_option_heif="Enable support for HEIF images"
+desc_option_id3="Enable support for ID3 tags"
 desc_option_idn="Enable support for IDN"
 desc_option_imagemagick="Enable support for ImageMagick"
 desc_option_jack="Enable support for the JACK sound server"
@@ -96,6 +100,7 @@ desc_option_vpx="Enable support for VP8/VP9 codecs"
 desc_option_vulkan="Enable support for Vulkan"
 desc_option_wavpack="Enable support for the Wavpack audio format"
 desc_option_wayland="Enable support for the Wayland backend"
+desc_option_webp="Enable support for WEBP images"
 desc_option_x11="Enable support for X11"
 desc_option_x265="Enable support for the x265 codec"
 desc_option_xml="Enable support for XML"
@@ -103,5 +108,3 @@ desc_option_xscreensaver="Enable support for libXScrnSaver to determine idle tim
 desc_option_zeitgeist="Enable support for ZeitGeist"
 desc_option_zimg="Enable support for the zimg image processing library"
 desc_option_zstd="Enable support for ZSTD compression format"
-desc_option_elogind="Enable support for elogind"
-desc_option_drm="Enable support for DRM"
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?= <soeren+git@soeren-tempel.net>
-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..5c1f13bf2d47 100644
--- a/srcpkgs/imlib2/template
+++ b/srcpkgs/imlib2/template
@@ -1,18 +1,27 @@
 # 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"
+configure_args="--disable-static --sysconfdir=/etc/imlib2
+ $(vopt_with gif) $(vopt_with heif) $(vopt_with jpeg) $(vopt_with png)
+ $(vopt_with svg) $(vopt_with svg) $(vopt_with tiff) $(vopt_with webp)
+ $(vopt_with id3)"
 hostmakedepends="pkg-config"
-makedepends="freetype-devel libjpeg-turbo-devel libpng-devel libwebp-devel
- tiff-devel libid3tag-devel giflib-devel libXext-devel libSM-devel"
+makedepends="freetype-devel libXext-devel libSM-devel liblzma-devel bzip2-devel
+ zlib-devel $(vopt_if gif giflib-devel) $(vopt_if heif libheif-devel)
+ $(vopt_if jpeg libjpeg-turbo-devel) $(vopt_if png libpng-devel)
+ $(vopt_if svg librsvg-devel) $(vopt_if webp libwebp-devel)
+ $(vopt_if tiff tiff-devel) $(vopt_if id3 libid3tag-devel)"
 short_desc="Image manipulation library"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Imlib2"
 homepage="https://sourceforge.net/projects/enlightenment/"
 distfiles="${SOURCEFORGE_SITE}/enlightenment/imlib2-src/imlib2-${version}.tar.gz"
-checksum=73337bc38de13e04832f645367baf932b39d8b558d4ed9bc1f13405b92090b96
+checksum=6f881c9a1eee040484d2f13070fefbf1d88270a75042e2d5de63fa22ea6e1c88
+
+build_options="gif heif jpeg png svg tiff webp id3"
+build_options_default="gif heif jpeg png svg tiff webp id3"
 
 post_install() {
 	vlicense COPYING

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: imlib2: update to 1.8.0, add build options.
  2022-02-14 12:27 [PR PATCH] imlib2: update to 1.8.0, add build options tibequadorian
  2022-02-14 12:29 ` [PR PATCH] [Updated] " tibequadorian
@ 2022-02-14 16:28 ` paper42
  2022-02-14 16:36 ` tibequadorian
                   ` (12 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: paper42 @ 2022-02-14 16:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 275 bytes --]

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/35612#issuecomment-1039290485

Comment:
Is there a reason to add build options for every single file format? I would say this isn't necessary and is much less maintainable. 

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: imlib2: update to 1.8.0, add build options.
  2022-02-14 12:27 [PR PATCH] imlib2: update to 1.8.0, add build options tibequadorian
  2022-02-14 12:29 ` [PR PATCH] [Updated] " tibequadorian
  2022-02-14 16:28 ` paper42
@ 2022-02-14 16:36 ` tibequadorian
  2022-02-14 16:40 ` [PR PATCH] [Updated] " tibequadorian
                   ` (11 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: tibequadorian @ 2022-02-14 16:36 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 188 bytes --]

New comment by tibequadorian on void-packages repository

https://github.com/void-linux/void-packages/pull/35612#issuecomment-1039300150

Comment:
I'm willing to take over maintainership.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PR PATCH] [Updated] imlib2: update to 1.8.0, add build options.
  2022-02-14 12:27 [PR PATCH] imlib2: update to 1.8.0, add build options tibequadorian
                   ` (2 preceding siblings ...)
  2022-02-14 16:36 ` tibequadorian
@ 2022-02-14 16:40 ` tibequadorian
  2022-02-14 16:40 ` tibequadorian
                   ` (10 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: tibequadorian @ 2022-02-14 16:40 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1328 bytes --]

There is an updated pull request by tibequadorian against master on the void-packages repository

https://github.com/tibequadorian/void-packages imlib2
https://github.com/void-linux/void-packages/pull/35612

imlib2: update to 1.8.0, add build options.
imlib2 contains a HEIF loader since 1.8.0
- closes #27814
- closes #27597 

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/35612.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-imlib2-35612.patch --]
[-- Type: text/x-diff, Size: 6040 bytes --]

From 3daa2e215959f5e668d237d95382654b4d8d9306 Mon Sep 17 00:00:00 2001
From: tibequadorian <tibequadorian@posteo.de>
Date: Sat, 12 Feb 2022 18:45:15 +0100
Subject: [PATCH] imlib2: update to 1.8.0, add build options, adopt.

---
 common/options.description              |  9 ++++--
 srcpkgs/imlib2/patches/big-endian.patch | 37 -------------------------
 srcpkgs/imlib2/template                 | 21 ++++++++++----
 3 files changed, 21 insertions(+), 46 deletions(-)
 delete mode 100644 srcpkgs/imlib2/patches/big-endian.patch

diff --git a/common/options.description b/common/options.description
index ac0f14c0843d..76499862d8c4 100644
--- a/common/options.description
+++ b/common/options.description
@@ -14,7 +14,9 @@ desc_option_dav1d="Enable support for the AV1 decoder"
 desc_option_dbus="Enable support for D-BUS"
 desc_option_dri2="Enable support for the DRI2 extension"
 desc_option_dri="Enable support for the DRI extension"
+desc_option_drm="Enable support for DRM"
 desc_option_efi="Enable support for EFI"
+desc_option_elogind="Enable support for elogind"
 desc_option_expat="Enable support for XML via expat"
 desc_option_faac="Enable support for FAAC codec"
 desc_option_fdk_aac="Enable support for Fraunhofer FDK AAC codec"
@@ -35,7 +37,9 @@ desc_option_gtk="Enable support for the GTK+2 GUI toolkit"
 desc_option_gtk3="Enable support for the GTK+3 GUI toolkit"
 desc_option_guile="Enable support for Guile lang"
 desc_option_ffmpeg="Enable support for FFmpeg"
-desc_option_harfbuzz="enable support for Harfbuzz"
+desc_option_harfbuzz="Enable support for Harfbuzz"
+desc_option_heif="Enable support for HEIF images"
+desc_option_id3="Enable support for ID3 tags"
 desc_option_idn="Enable support for IDN"
 desc_option_imagemagick="Enable support for ImageMagick"
 desc_option_jack="Enable support for the JACK sound server"
@@ -96,6 +100,7 @@ desc_option_vpx="Enable support for VP8/VP9 codecs"
 desc_option_vulkan="Enable support for Vulkan"
 desc_option_wavpack="Enable support for the Wavpack audio format"
 desc_option_wayland="Enable support for the Wayland backend"
+desc_option_webp="Enable support for WEBP images"
 desc_option_x11="Enable support for X11"
 desc_option_x265="Enable support for the x265 codec"
 desc_option_xml="Enable support for XML"
@@ -103,5 +108,3 @@ desc_option_xscreensaver="Enable support for libXScrnSaver to determine idle tim
 desc_option_zeitgeist="Enable support for ZeitGeist"
 desc_option_zimg="Enable support for the zimg image processing library"
 desc_option_zstd="Enable support for ZSTD compression format"
-desc_option_elogind="Enable support for elogind"
-desc_option_drm="Enable support for DRM"
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?= <soeren+git@soeren-tempel.net>
-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..794779feee41 100644
--- a/srcpkgs/imlib2/template
+++ b/srcpkgs/imlib2/template
@@ -1,18 +1,27 @@
 # 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"
+configure_args="--disable-static --sysconfdir=/etc/imlib2
+ $(vopt_with gif) $(vopt_with heif) $(vopt_with jpeg) $(vopt_with png)
+ $(vopt_with svg) $(vopt_with svg) $(vopt_with tiff) $(vopt_with webp)
+ $(vopt_with id3)"
 hostmakedepends="pkg-config"
-makedepends="freetype-devel libjpeg-turbo-devel libpng-devel libwebp-devel
- tiff-devel libid3tag-devel giflib-devel libXext-devel libSM-devel"
+makedepends="freetype-devel libXext-devel libSM-devel liblzma-devel bzip2-devel
+ zlib-devel $(vopt_if gif giflib-devel) $(vopt_if heif libheif-devel)
+ $(vopt_if jpeg libjpeg-turbo-devel) $(vopt_if png libpng-devel)
+ $(vopt_if svg librsvg-devel) $(vopt_if webp libwebp-devel)
+ $(vopt_if tiff tiff-devel) $(vopt_if id3 libid3tag-devel)"
 short_desc="Image manipulation library"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="tibequadorian <tibequadorian@posteo.de>"
 license="Imlib2"
 homepage="https://sourceforge.net/projects/enlightenment/"
 distfiles="${SOURCEFORGE_SITE}/enlightenment/imlib2-src/imlib2-${version}.tar.gz"
-checksum=73337bc38de13e04832f645367baf932b39d8b558d4ed9bc1f13405b92090b96
+checksum=6f881c9a1eee040484d2f13070fefbf1d88270a75042e2d5de63fa22ea6e1c88
+
+build_options="gif heif jpeg png svg tiff webp id3"
+build_options_default="gif heif jpeg png svg tiff webp id3"
 
 post_install() {
 	vlicense COPYING

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: imlib2: update to 1.8.0, add build options.
  2022-02-14 12:27 [PR PATCH] imlib2: update to 1.8.0, add build options tibequadorian
                   ` (3 preceding siblings ...)
  2022-02-14 16:40 ` [PR PATCH] [Updated] " tibequadorian
@ 2022-02-14 16:40 ` tibequadorian
  2022-02-14 16:41 ` [PR PATCH] [Updated] " tibequadorian
                   ` (9 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: tibequadorian @ 2022-02-14 16:40 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 239 bytes --]

New comment by tibequadorian on void-packages repository

https://github.com/void-linux/void-packages/pull/35612#issuecomment-1039300150

Comment:
Why do we have build options if we don't use them? I'm willing to take over maintainership.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PR PATCH] [Updated] imlib2: update to 1.8.0, add build options.
  2022-02-14 12:27 [PR PATCH] imlib2: update to 1.8.0, add build options tibequadorian
                   ` (4 preceding siblings ...)
  2022-02-14 16:40 ` tibequadorian
@ 2022-02-14 16:41 ` tibequadorian
  2022-02-14 17:43 ` q66
                   ` (8 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: tibequadorian @ 2022-02-14 16:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1328 bytes --]

There is an updated pull request by tibequadorian against master on the void-packages repository

https://github.com/tibequadorian/void-packages imlib2
https://github.com/void-linux/void-packages/pull/35612

imlib2: update to 1.8.0, add build options.
imlib2 contains a HEIF loader since 1.8.0
- closes #27814
- closes #27597 

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/35612.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-imlib2-35612.patch --]
[-- Type: text/x-diff, Size: 6040 bytes --]

From 3daa2e215959f5e668d237d95382654b4d8d9306 Mon Sep 17 00:00:00 2001
From: tibequadorian <tibequadorian@posteo.de>
Date: Sat, 12 Feb 2022 18:45:15 +0100
Subject: [PATCH] imlib2: update to 1.8.0, add build options, adopt.

---
 common/options.description              |  9 ++++--
 srcpkgs/imlib2/patches/big-endian.patch | 37 -------------------------
 srcpkgs/imlib2/template                 | 21 ++++++++++----
 3 files changed, 21 insertions(+), 46 deletions(-)
 delete mode 100644 srcpkgs/imlib2/patches/big-endian.patch

diff --git a/common/options.description b/common/options.description
index ac0f14c0843d..76499862d8c4 100644
--- a/common/options.description
+++ b/common/options.description
@@ -14,7 +14,9 @@ desc_option_dav1d="Enable support for the AV1 decoder"
 desc_option_dbus="Enable support for D-BUS"
 desc_option_dri2="Enable support for the DRI2 extension"
 desc_option_dri="Enable support for the DRI extension"
+desc_option_drm="Enable support for DRM"
 desc_option_efi="Enable support for EFI"
+desc_option_elogind="Enable support for elogind"
 desc_option_expat="Enable support for XML via expat"
 desc_option_faac="Enable support for FAAC codec"
 desc_option_fdk_aac="Enable support for Fraunhofer FDK AAC codec"
@@ -35,7 +37,9 @@ desc_option_gtk="Enable support for the GTK+2 GUI toolkit"
 desc_option_gtk3="Enable support for the GTK+3 GUI toolkit"
 desc_option_guile="Enable support for Guile lang"
 desc_option_ffmpeg="Enable support for FFmpeg"
-desc_option_harfbuzz="enable support for Harfbuzz"
+desc_option_harfbuzz="Enable support for Harfbuzz"
+desc_option_heif="Enable support for HEIF images"
+desc_option_id3="Enable support for ID3 tags"
 desc_option_idn="Enable support for IDN"
 desc_option_imagemagick="Enable support for ImageMagick"
 desc_option_jack="Enable support for the JACK sound server"
@@ -96,6 +100,7 @@ desc_option_vpx="Enable support for VP8/VP9 codecs"
 desc_option_vulkan="Enable support for Vulkan"
 desc_option_wavpack="Enable support for the Wavpack audio format"
 desc_option_wayland="Enable support for the Wayland backend"
+desc_option_webp="Enable support for WEBP images"
 desc_option_x11="Enable support for X11"
 desc_option_x265="Enable support for the x265 codec"
 desc_option_xml="Enable support for XML"
@@ -103,5 +108,3 @@ desc_option_xscreensaver="Enable support for libXScrnSaver to determine idle tim
 desc_option_zeitgeist="Enable support for ZeitGeist"
 desc_option_zimg="Enable support for the zimg image processing library"
 desc_option_zstd="Enable support for ZSTD compression format"
-desc_option_elogind="Enable support for elogind"
-desc_option_drm="Enable support for DRM"
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?= <soeren+git@soeren-tempel.net>
-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..794779feee41 100644
--- a/srcpkgs/imlib2/template
+++ b/srcpkgs/imlib2/template
@@ -1,18 +1,27 @@
 # 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"
+configure_args="--disable-static --sysconfdir=/etc/imlib2
+ $(vopt_with gif) $(vopt_with heif) $(vopt_with jpeg) $(vopt_with png)
+ $(vopt_with svg) $(vopt_with svg) $(vopt_with tiff) $(vopt_with webp)
+ $(vopt_with id3)"
 hostmakedepends="pkg-config"
-makedepends="freetype-devel libjpeg-turbo-devel libpng-devel libwebp-devel
- tiff-devel libid3tag-devel giflib-devel libXext-devel libSM-devel"
+makedepends="freetype-devel libXext-devel libSM-devel liblzma-devel bzip2-devel
+ zlib-devel $(vopt_if gif giflib-devel) $(vopt_if heif libheif-devel)
+ $(vopt_if jpeg libjpeg-turbo-devel) $(vopt_if png libpng-devel)
+ $(vopt_if svg librsvg-devel) $(vopt_if webp libwebp-devel)
+ $(vopt_if tiff tiff-devel) $(vopt_if id3 libid3tag-devel)"
 short_desc="Image manipulation library"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="tibequadorian <tibequadorian@posteo.de>"
 license="Imlib2"
 homepage="https://sourceforge.net/projects/enlightenment/"
 distfiles="${SOURCEFORGE_SITE}/enlightenment/imlib2-src/imlib2-${version}.tar.gz"
-checksum=73337bc38de13e04832f645367baf932b39d8b558d4ed9bc1f13405b92090b96
+checksum=6f881c9a1eee040484d2f13070fefbf1d88270a75042e2d5de63fa22ea6e1c88
+
+build_options="gif heif jpeg png svg tiff webp id3"
+build_options_default="gif heif jpeg png svg tiff webp id3"
 
 post_install() {
 	vlicense COPYING

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: imlib2: update to 1.8.0, add build options.
  2022-02-14 12:27 [PR PATCH] imlib2: update to 1.8.0, add build options tibequadorian
                   ` (5 preceding siblings ...)
  2022-02-14 16:41 ` [PR PATCH] [Updated] " tibequadorian
@ 2022-02-14 17:43 ` q66
  2022-02-14 17:51 ` tibequadorian
                   ` (7 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: q66 @ 2022-02-14 17:43 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 201 bytes --]

New comment by q66 on void-packages repository

https://github.com/void-linux/void-packages/pull/35612#issuecomment-1039370745

Comment:
we have build options for things that make sense, this does not

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: imlib2: update to 1.8.0, add build options.
  2022-02-14 12:27 [PR PATCH] imlib2: update to 1.8.0, add build options tibequadorian
                   ` (6 preceding siblings ...)
  2022-02-14 17:43 ` q66
@ 2022-02-14 17:51 ` tibequadorian
  2022-02-14 17:54 ` q66
                   ` (6 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: tibequadorian @ 2022-02-14 17:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 319 bytes --]

New comment by tibequadorian on void-packages repository

https://github.com/void-linux/void-packages/pull/35612#issuecomment-1039378348

Comment:
> we have build options for things that make sense, this does not

does everyone agree?

https://github.com/void-linux/void-packages/blob/master/srcpkgs/emacs/template

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: imlib2: update to 1.8.0, add build options.
  2022-02-14 12:27 [PR PATCH] imlib2: update to 1.8.0, add build options tibequadorian
                   ` (7 preceding siblings ...)
  2022-02-14 17:51 ` tibequadorian
@ 2022-02-14 17:54 ` q66
  2022-02-14 17:59 ` q66
                   ` (5 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: q66 @ 2022-02-14 17:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 583 bytes --]

New comment by q66 on void-packages repository

https://github.com/void-linux/void-packages/pull/35612#issuecomment-1039381056

Comment:
that's been that way since 2013 and nobody bothered to change it https://github.com/void-linux/void-packages/commit/62fbe8ca051be8d960e4cf9dd57b9cf8678e8f35

void is not gentoo, we don't put build options in places unless they are either 1) required (e.g. a feature not building for cross-compiling) or 2) provide a thing that should be off by default but people might have a use for anyway or 3) there some other really good reason to have it

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: imlib2: update to 1.8.0, add build options.
  2022-02-14 12:27 [PR PATCH] imlib2: update to 1.8.0, add build options tibequadorian
                   ` (8 preceding siblings ...)
  2022-02-14 17:54 ` q66
@ 2022-02-14 17:59 ` q66
  2022-02-14 18:02 ` [PR PATCH] [Updated] " tibequadorian
                   ` (4 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: q66 @ 2022-02-14 17:59 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 414 bytes --]

New comment by q66 on void-packages repository

https://github.com/void-linux/void-packages/pull/35612#issuecomment-1039385149

Comment:
(notably, "it introduces a dependency on a runtime library" is not considered a "really good reason" in general, since if it was the number of build options around the place would explode and the maintenance effort and number of unnecessary bug reports would inevitably go up)

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PR PATCH] [Updated] imlib2: update to 1.8.0, add build options.
  2022-02-14 12:27 [PR PATCH] imlib2: update to 1.8.0, add build options tibequadorian
                   ` (9 preceding siblings ...)
  2022-02-14 17:59 ` q66
@ 2022-02-14 18:02 ` tibequadorian
  2022-02-14 18:02 ` tibequadorian
                   ` (3 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: tibequadorian @ 2022-02-14 18:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1328 bytes --]

There is an updated pull request by tibequadorian against master on the void-packages repository

https://github.com/tibequadorian/void-packages imlib2
https://github.com/void-linux/void-packages/pull/35612

imlib2: update to 1.8.0, add build options.
imlib2 contains a HEIF loader since 1.8.0
- closes #27814
- closes #27597 

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/35612.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-imlib2-35612.patch --]
[-- Type: text/x-diff, Size: 3184 bytes --]

From 612c3d7659b179e22b0c55034dc0cc78da46b400 Mon Sep 17 00:00:00 2001
From: tibequadorian <tibequadorian@posteo.de>
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?= <soeren+git@soeren-tempel.net>
-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 <orphan@voidlinux.org>"
 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

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: imlib2: update to 1.8.0, add build options.
  2022-02-14 12:27 [PR PATCH] imlib2: update to 1.8.0, add build options tibequadorian
                   ` (10 preceding siblings ...)
  2022-02-14 18:02 ` [PR PATCH] [Updated] " tibequadorian
@ 2022-02-14 18:02 ` tibequadorian
  2022-02-14 18:02 ` tibequadorian
                   ` (2 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: tibequadorian @ 2022-02-14 18:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 210 bytes --]

New comment by tibequadorian on void-packages repository

https://github.com/void-linux/void-packages/pull/35612#issuecomment-1039388284

Comment:
Ok, would be nice if this would be specified in the Manual.md.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: imlib2: update to 1.8.0, add build options.
  2022-02-14 12:27 [PR PATCH] imlib2: update to 1.8.0, add build options tibequadorian
                   ` (11 preceding siblings ...)
  2022-02-14 18:02 ` tibequadorian
@ 2022-02-14 18:02 ` tibequadorian
  2022-02-14 18:06 ` [PR PATCH] [Updated] imlib2: update to 1.8.0 tibequadorian
  2022-02-14 18:21 ` [PR PATCH] [Merged]: " q66
  14 siblings, 0 replies; 16+ messages in thread
From: tibequadorian @ 2022-02-14 18:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 210 bytes --]

New comment by tibequadorian on void-packages repository

https://github.com/void-linux/void-packages/pull/35612#issuecomment-1039388284

Comment:
Ok, would be nice if this could be specified in the Manual.md.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PR PATCH] [Updated] imlib2: update to 1.8.0.
  2022-02-14 12:27 [PR PATCH] imlib2: update to 1.8.0, add build options tibequadorian
                   ` (12 preceding siblings ...)
  2022-02-14 18:02 ` tibequadorian
@ 2022-02-14 18:06 ` tibequadorian
  2022-02-14 18:21 ` [PR PATCH] [Merged]: " q66
  14 siblings, 0 replies; 16+ messages in thread
From: tibequadorian @ 2022-02-14 18:06 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1309 bytes --]

There is an updated pull request by tibequadorian against master on the void-packages repository

https://github.com/tibequadorian/void-packages imlib2
https://github.com/void-linux/void-packages/pull/35612

imlib2: update to 1.8.0.
imlib2 contains a HEIF loader since 1.8.0
- closes #27814
- closes #27597 

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/35612.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-imlib2-35612.patch --]
[-- Type: text/x-diff, Size: 3184 bytes --]

From 68676f2d8b78405c6189704a5bc9ff28499328de Mon Sep 17 00:00:00 2001
From: tibequadorian <tibequadorian@posteo.de>
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?= <soeren+git@soeren-tempel.net>
-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 <orphan@voidlinux.org>"
 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

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PR PATCH] [Merged]: imlib2: update to 1.8.0.
  2022-02-14 12:27 [PR PATCH] imlib2: update to 1.8.0, add build options tibequadorian
                   ` (13 preceding siblings ...)
  2022-02-14 18:06 ` [PR PATCH] [Updated] imlib2: update to 1.8.0 tibequadorian
@ 2022-02-14 18:21 ` q66
  14 siblings, 0 replies; 16+ messages in thread
From: q66 @ 2022-02-14 18:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1142 bytes --]

There's a merged pull request on the void-packages repository

imlib2: update to 1.8.0.
https://github.com/void-linux/void-packages/pull/35612

Description:
imlib2 contains a HEIF loader since 1.8.0
- closes #27814
- closes #27597 

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2022-02-14 18:21 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-14 12:27 [PR PATCH] imlib2: update to 1.8.0, add build options tibequadorian
2022-02-14 12:29 ` [PR PATCH] [Updated] " tibequadorian
2022-02-14 16:28 ` paper42
2022-02-14 16:36 ` tibequadorian
2022-02-14 16:40 ` [PR PATCH] [Updated] " tibequadorian
2022-02-14 16:40 ` tibequadorian
2022-02-14 16:41 ` [PR PATCH] [Updated] " tibequadorian
2022-02-14 17:43 ` q66
2022-02-14 17:51 ` tibequadorian
2022-02-14 17:54 ` q66
2022-02-14 17:59 ` q66
2022-02-14 18:02 ` [PR PATCH] [Updated] " tibequadorian
2022-02-14 18:02 ` tibequadorian
2022-02-14 18:02 ` tibequadorian
2022-02-14 18:06 ` [PR PATCH] [Updated] imlib2: update to 1.8.0 tibequadorian
2022-02-14 18:21 ` [PR PATCH] [Merged]: " q66

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).