Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] vips: update to 8.16.0, use modules.
@ 2024-12-28 22:51 yoshiyoshyosh
  2024-12-28 23:01 ` [PR PATCH] [Updated] " yoshiyoshyosh
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: yoshiyoshyosh @ 2024-12-28 22:51 UTC (permalink / raw)
  To: ml

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

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

https://github.com/yoshiyoshyosh/void-packages vips-update
https://github.com/void-linux/void-packages/pull/53741

vips: update to 8.16.0, use modules.
#### Testing the changes
- I tested the changes in this PR: **YES**
  - only on my machine, which is `x86_64_glibc`. I can't test if the cross-compiling gobject modules thing is correct...

#### Local build testing
- `x86-64_glibc`
- `aarch64_musl` (crossbuild)

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

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

From 74dbd45390f315217680f2572164b1785fe106b7 Mon Sep 17 00:00:00 2001
From: yosh <yosh-git@riseup.net>
Date: Sat, 28 Dec 2024 17:15:41 -0500
Subject: [PATCH] vips: update to 8.16.0, use modules.

---
 srcpkgs/libvips-heif    |  1 +
 srcpkgs/libvips-jxl     |  1 +
 srcpkgs/libvips-magick  |  1 +
 srcpkgs/libvips-poppler |  1 +
 srcpkgs/vips/template   | 55 +++++++++++++++++++++++++++--------------
 5 files changed, 41 insertions(+), 18 deletions(-)
 create mode 120000 srcpkgs/libvips-heif
 create mode 120000 srcpkgs/libvips-jxl
 create mode 120000 srcpkgs/libvips-magick
 create mode 120000 srcpkgs/libvips-poppler

diff --git a/srcpkgs/libvips-heif b/srcpkgs/libvips-heif
new file mode 120000
index 00000000000000..6faa116eb8a1fe
--- /dev/null
+++ b/srcpkgs/libvips-heif
@@ -0,0 +1 @@
+vips
\ No newline at end of file
diff --git a/srcpkgs/libvips-jxl b/srcpkgs/libvips-jxl
new file mode 120000
index 00000000000000..6faa116eb8a1fe
--- /dev/null
+++ b/srcpkgs/libvips-jxl
@@ -0,0 +1 @@
+vips
\ No newline at end of file
diff --git a/srcpkgs/libvips-magick b/srcpkgs/libvips-magick
new file mode 120000
index 00000000000000..6faa116eb8a1fe
--- /dev/null
+++ b/srcpkgs/libvips-magick
@@ -0,0 +1 @@
+vips
\ No newline at end of file
diff --git a/srcpkgs/libvips-poppler b/srcpkgs/libvips-poppler
new file mode 120000
index 00000000000000..6faa116eb8a1fe
--- /dev/null
+++ b/srcpkgs/libvips-poppler
@@ -0,0 +1 @@
+vips
\ No newline at end of file
diff --git a/srcpkgs/vips/template b/srcpkgs/vips/template
index 1997023f637274..d1b8b71686c7e8 100644
--- a/srcpkgs/vips/template
+++ b/srcpkgs/vips/template
@@ -1,36 +1,27 @@
 # Template file for 'vips'
 pkgname=vips
-version=8.15.4
+version=8.16.0
 revision=1
+_basever=8.16
 build_style=meson
 build_helper=gir
-# TODO: As of version 8.11 vips supports loading its support for OpenSlide,
-# libheif, Poppler and libMagick backends at runtime using GModule. Consider
-# taking advantage of this feature and shipping these modules as optional
-# subpackages.
-#
-# In particular, this would make packaging the libMagick backend less of
-# a compromise: vips upstream explictly recommends against enabling it if
-# processing untrused image inputs and punting it to a subpackage would
-# allow void users to make that choice themselves without using this
-# template to build from source.
-configure_args="-Dmodules=disabled -Ddoxygen=true
- $(vopt_feature gir introspection) $(vopt_bool gtk_doc)"
+configure_args="-Ddoxygen=true $(vopt_feature gir introspection)
+ $(vopt_bool gtk_doc)"
 hostmakedepends="pkg-config gettext glib-devel doxygen graphviz
  $(vopt_if gtk_doc gtk-doc)"
 makedepends="$(vopt_if hdf5 hdf5-devel) $(vopt_if hdf5 matio-devel)
  cfitsio-devel expat-devel fftw-devel fontconfig-devel giflib-devel
- glib-devel lcms2-devel libexif-devel libgsf-devel libheif-devel
- libimagequant-devel libjpeg-turbo-devel libopenexr-devel libpng-devel
- librsvg-devel libwebp-devel pango-devel poppler-glib-devel
- tiff-devel"
+ glib-devel lcms2-devel libexif-devel libgsf-devel libimagequant-devel
+ libjpeg-turbo-devel libopenexr-devel libpng-devel librsvg-devel tiff-devel
+ libwebp-devel libopenjpeg2-devel pango-devel gobject-introspection
+ libmagick-devel libheif-devel poppler-glib-devel libjxl-devel"
 short_desc="Fast image processing with low memory needs"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="LGPL-2.1-or-later"
 homepage="https://www.libvips.org/"
 changelog="https://raw.githubusercontent.com/libvips/libvips/master/ChangeLog"
 distfiles="https://github.com/libvips/libvips/archive/refs/tags/v${version}.tar.gz"
-checksum=16afc1bf2218a98c1dc35ec4d94ef61d66c293eeb2b399fd40282dfb2211ea95
+checksum=d28d7bf7e3f8fa17390c255ace4a05a1c56459e1f6015319f4847ea0733593b3
 python_version=3
 
 build_options="gir gtk_doc hdf5"
@@ -74,3 +65,31 @@ libvips-doc_package() {
 		fi
 	}
 }
+
+libvips-heif_package() {
+	short_desc+=" - HEIF module"
+	pkg_install() {
+		vmove "usr/lib/vips-modules-${_basever}/vips-heif.so"
+	}
+}
+
+libvips-jxl_package() {
+	short_desc+=" - JPEG XL module"
+	pkg_install() {
+		vmove "usr/lib/vips-modules-${_basever}/vips-jxl.so"
+	}
+}
+
+libvips-magick_package() {
+	short_desc+=" - ImageMagick module"
+	pkg_install() {
+		vmove "usr/lib/vips-modules-${_basever}/vips-magick.so"
+	}
+}
+
+libvips-poppler_package() {
+	short_desc+=" - Poppler PDF module"
+	pkg_install() {
+		vmove "usr/lib/vips-modules-${_basever}/vips-poppler.so"
+	}
+}

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

* Re: [PR PATCH] [Updated] vips: update to 8.16.0, use modules.
  2024-12-28 22:51 [PR PATCH] vips: update to 8.16.0, use modules yoshiyoshyosh
@ 2024-12-28 23:01 ` yoshiyoshyosh
  2024-12-29  9:08 ` icp1994
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: yoshiyoshyosh @ 2024-12-28 23:01 UTC (permalink / raw)
  To: ml

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

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

https://github.com/yoshiyoshyosh/void-packages vips-update
https://github.com/void-linux/void-packages/pull/53741

vips: update to 8.16.0, use modules.
#### Testing the changes
- I tested the changes in this PR: **YES**
  - only on my machine, which is `x86_64_glibc`. I can't test if the cross-compiling gobject modules thing is correct...

#### Local build testing
- `x86-64_glibc`
- `aarch64_musl` (crossbuild)

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

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

From 72b00ef6b3764cb4245d618a700b0493d6054f48 Mon Sep 17 00:00:00 2001
From: yosh <yosh-git@riseup.net>
Date: Sat, 28 Dec 2024 17:15:41 -0500
Subject: [PATCH] vips: update to 8.16.0, use modules.

---
 srcpkgs/libvips-heif    |  1 +
 srcpkgs/libvips-jxl     |  1 +
 srcpkgs/libvips-magick  |  1 +
 srcpkgs/libvips-poppler |  1 +
 srcpkgs/vips/template   | 57 +++++++++++++++++++++++++++--------------
 5 files changed, 42 insertions(+), 19 deletions(-)
 create mode 120000 srcpkgs/libvips-heif
 create mode 120000 srcpkgs/libvips-jxl
 create mode 120000 srcpkgs/libvips-magick
 create mode 120000 srcpkgs/libvips-poppler

diff --git a/srcpkgs/libvips-heif b/srcpkgs/libvips-heif
new file mode 120000
index 00000000000000..6faa116eb8a1fe
--- /dev/null
+++ b/srcpkgs/libvips-heif
@@ -0,0 +1 @@
+vips
\ No newline at end of file
diff --git a/srcpkgs/libvips-jxl b/srcpkgs/libvips-jxl
new file mode 120000
index 00000000000000..6faa116eb8a1fe
--- /dev/null
+++ b/srcpkgs/libvips-jxl
@@ -0,0 +1 @@
+vips
\ No newline at end of file
diff --git a/srcpkgs/libvips-magick b/srcpkgs/libvips-magick
new file mode 120000
index 00000000000000..6faa116eb8a1fe
--- /dev/null
+++ b/srcpkgs/libvips-magick
@@ -0,0 +1 @@
+vips
\ No newline at end of file
diff --git a/srcpkgs/libvips-poppler b/srcpkgs/libvips-poppler
new file mode 120000
index 00000000000000..6faa116eb8a1fe
--- /dev/null
+++ b/srcpkgs/libvips-poppler
@@ -0,0 +1 @@
+vips
\ No newline at end of file
diff --git a/srcpkgs/vips/template b/srcpkgs/vips/template
index 1997023f637274..e61b9fb171a516 100644
--- a/srcpkgs/vips/template
+++ b/srcpkgs/vips/template
@@ -1,36 +1,27 @@
 # Template file for 'vips'
 pkgname=vips
-version=8.15.4
+version=8.16.0
 revision=1
+_basever=8.16
 build_style=meson
 build_helper=gir
-# TODO: As of version 8.11 vips supports loading its support for OpenSlide,
-# libheif, Poppler and libMagick backends at runtime using GModule. Consider
-# taking advantage of this feature and shipping these modules as optional
-# subpackages.
-#
-# In particular, this would make packaging the libMagick backend less of
-# a compromise: vips upstream explictly recommends against enabling it if
-# processing untrused image inputs and punting it to a subpackage would
-# allow void users to make that choice themselves without using this
-# template to build from source.
-configure_args="-Dmodules=disabled -Ddoxygen=true
- $(vopt_feature gir introspection) $(vopt_bool gtk_doc)"
+configure_args="-Ddoxygen=true $(vopt_feature gir introspection)
+ $(vopt_bool gtk_doc)"
 hostmakedepends="pkg-config gettext glib-devel doxygen graphviz
- $(vopt_if gtk_doc gtk-doc)"
+ $(vopt_if gtk_doc gtk-doc) $(vopt_if gir gobject-introspection)"
 makedepends="$(vopt_if hdf5 hdf5-devel) $(vopt_if hdf5 matio-devel)
  cfitsio-devel expat-devel fftw-devel fontconfig-devel giflib-devel
- glib-devel lcms2-devel libexif-devel libgsf-devel libheif-devel
- libimagequant-devel libjpeg-turbo-devel libopenexr-devel libpng-devel
- librsvg-devel libwebp-devel pango-devel poppler-glib-devel
- tiff-devel"
+ glib-devel lcms2-devel libexif-devel libgsf-devel libimagequant-devel
+ libjpeg-turbo-devel libopenexr-devel libpng-devel librsvg-devel tiff-devel
+ libwebp-devel libopenjpeg2-devel pango-devel libmagick-devel libheif-devel
+ poppler-glib-devel libjxl-devel"
 short_desc="Fast image processing with low memory needs"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="LGPL-2.1-or-later"
 homepage="https://www.libvips.org/"
 changelog="https://raw.githubusercontent.com/libvips/libvips/master/ChangeLog"
 distfiles="https://github.com/libvips/libvips/archive/refs/tags/v${version}.tar.gz"
-checksum=16afc1bf2218a98c1dc35ec4d94ef61d66c293eeb2b399fd40282dfb2211ea95
+checksum=d28d7bf7e3f8fa17390c255ace4a05a1c56459e1f6015319f4847ea0733593b3
 python_version=3
 
 build_options="gir gtk_doc hdf5"
@@ -74,3 +65,31 @@ libvips-doc_package() {
 		fi
 	}
 }
+
+libvips-heif_package() {
+	short_desc+=" - HEIF module"
+	pkg_install() {
+		vmove "usr/lib/vips-modules-${_basever}/vips-heif.so"
+	}
+}
+
+libvips-jxl_package() {
+	short_desc+=" - JPEG XL module"
+	pkg_install() {
+		vmove "usr/lib/vips-modules-${_basever}/vips-jxl.so"
+	}
+}
+
+libvips-magick_package() {
+	short_desc+=" - ImageMagick module"
+	pkg_install() {
+		vmove "usr/lib/vips-modules-${_basever}/vips-magick.so"
+	}
+}
+
+libvips-poppler_package() {
+	short_desc+=" - Poppler PDF module"
+	pkg_install() {
+		vmove "usr/lib/vips-modules-${_basever}/vips-poppler.so"
+	}
+}

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

* Re: vips: update to 8.16.0, use modules.
  2024-12-28 22:51 [PR PATCH] vips: update to 8.16.0, use modules yoshiyoshyosh
  2024-12-28 23:01 ` [PR PATCH] [Updated] " yoshiyoshyosh
@ 2024-12-29  9:08 ` icp1994
  2024-12-30 10:58 ` yoshiyoshyosh
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: icp1994 @ 2024-12-29  9:08 UTC (permalink / raw)
  To: ml

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

New comment by icp1994 on void-packages repository

https://github.com/void-linux/void-packages/pull/53741#issuecomment-2564660420

Comment:
I think the convention is to use `${version%.*}` instead of introducing another variable which needs to be updated after every major version bump.

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

* Re: vips: update to 8.16.0, use modules.
  2024-12-28 22:51 [PR PATCH] vips: update to 8.16.0, use modules yoshiyoshyosh
  2024-12-28 23:01 ` [PR PATCH] [Updated] " yoshiyoshyosh
  2024-12-29  9:08 ` icp1994
@ 2024-12-30 10:58 ` yoshiyoshyosh
  2024-12-30 11:05 ` [PR PATCH] [Updated] " yoshiyoshyosh
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: yoshiyoshyosh @ 2024-12-30 10:58 UTC (permalink / raw)
  To: ml

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

New comment by yoshiyoshyosh on void-packages repository

https://github.com/void-linux/void-packages/pull/53741#issuecomment-2565326811

Comment:
> I think the convention is to use `${version%.*}` instead of introducing another variable which needs to be updated after every major version bump.

good point, dunno why I didn't think of that

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

* Re: [PR PATCH] [Updated] vips: update to 8.16.0, use modules.
  2024-12-28 22:51 [PR PATCH] vips: update to 8.16.0, use modules yoshiyoshyosh
                   ` (2 preceding siblings ...)
  2024-12-30 10:58 ` yoshiyoshyosh
@ 2024-12-30 11:05 ` yoshiyoshyosh
  2025-01-27  2:15 ` yoshiyoshyosh
  2025-02-18  4:05 ` [PR PATCH] [Closed]: " classabbyamp
  5 siblings, 0 replies; 7+ messages in thread
From: yoshiyoshyosh @ 2024-12-30 11:05 UTC (permalink / raw)
  To: ml

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

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

https://github.com/yoshiyoshyosh/void-packages vips-update
https://github.com/void-linux/void-packages/pull/53741

vips: update to 8.16.0, use modules.
#### Testing the changes
- I tested the changes in this PR: **YES**
  - only on my machine, which is `x86_64_glibc`. I can't test if the cross-compiling gobject modules thing is correct...

#### Local build testing
- `x86-64_glibc`
- `aarch64_musl` (crossbuild)

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

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

From cb1a5ab480d1c87113250fdf1b40a54904961551 Mon Sep 17 00:00:00 2001
From: yosh <yosh-git@riseup.net>
Date: Sat, 28 Dec 2024 17:15:41 -0500
Subject: [PATCH] vips: update to 8.16.0, use modules.

---
 srcpkgs/libvips-heif    |  1 +
 srcpkgs/libvips-jxl     |  1 +
 srcpkgs/libvips-magick  |  1 +
 srcpkgs/libvips-poppler |  1 +
 srcpkgs/vips/template   | 56 +++++++++++++++++++++++++++--------------
 5 files changed, 41 insertions(+), 19 deletions(-)
 create mode 120000 srcpkgs/libvips-heif
 create mode 120000 srcpkgs/libvips-jxl
 create mode 120000 srcpkgs/libvips-magick
 create mode 120000 srcpkgs/libvips-poppler

diff --git a/srcpkgs/libvips-heif b/srcpkgs/libvips-heif
new file mode 120000
index 00000000000000..6faa116eb8a1fe
--- /dev/null
+++ b/srcpkgs/libvips-heif
@@ -0,0 +1 @@
+vips
\ No newline at end of file
diff --git a/srcpkgs/libvips-jxl b/srcpkgs/libvips-jxl
new file mode 120000
index 00000000000000..6faa116eb8a1fe
--- /dev/null
+++ b/srcpkgs/libvips-jxl
@@ -0,0 +1 @@
+vips
\ No newline at end of file
diff --git a/srcpkgs/libvips-magick b/srcpkgs/libvips-magick
new file mode 120000
index 00000000000000..6faa116eb8a1fe
--- /dev/null
+++ b/srcpkgs/libvips-magick
@@ -0,0 +1 @@
+vips
\ No newline at end of file
diff --git a/srcpkgs/libvips-poppler b/srcpkgs/libvips-poppler
new file mode 120000
index 00000000000000..6faa116eb8a1fe
--- /dev/null
+++ b/srcpkgs/libvips-poppler
@@ -0,0 +1 @@
+vips
\ No newline at end of file
diff --git a/srcpkgs/vips/template b/srcpkgs/vips/template
index 1997023f637274..ff93bc58695846 100644
--- a/srcpkgs/vips/template
+++ b/srcpkgs/vips/template
@@ -1,36 +1,26 @@
 # Template file for 'vips'
 pkgname=vips
-version=8.15.4
+version=8.16.0
 revision=1
 build_style=meson
 build_helper=gir
-# TODO: As of version 8.11 vips supports loading its support for OpenSlide,
-# libheif, Poppler and libMagick backends at runtime using GModule. Consider
-# taking advantage of this feature and shipping these modules as optional
-# subpackages.
-#
-# In particular, this would make packaging the libMagick backend less of
-# a compromise: vips upstream explictly recommends against enabling it if
-# processing untrused image inputs and punting it to a subpackage would
-# allow void users to make that choice themselves without using this
-# template to build from source.
-configure_args="-Dmodules=disabled -Ddoxygen=true
- $(vopt_feature gir introspection) $(vopt_bool gtk_doc)"
+configure_args="-Ddoxygen=true $(vopt_feature gir introspection)
+ $(vopt_bool gtk_doc)"
 hostmakedepends="pkg-config gettext glib-devel doxygen graphviz
- $(vopt_if gtk_doc gtk-doc)"
+ $(vopt_if gtk_doc gtk-doc) $(vopt_if gir gobject-introspection)"
 makedepends="$(vopt_if hdf5 hdf5-devel) $(vopt_if hdf5 matio-devel)
  cfitsio-devel expat-devel fftw-devel fontconfig-devel giflib-devel
- glib-devel lcms2-devel libexif-devel libgsf-devel libheif-devel
- libimagequant-devel libjpeg-turbo-devel libopenexr-devel libpng-devel
- librsvg-devel libwebp-devel pango-devel poppler-glib-devel
- tiff-devel"
+ glib-devel lcms2-devel libexif-devel libgsf-devel libimagequant-devel
+ libjpeg-turbo-devel libopenexr-devel libpng-devel librsvg-devel tiff-devel
+ libwebp-devel libopenjpeg2-devel pango-devel libmagick-devel libheif-devel
+ poppler-glib-devel libjxl-devel"
 short_desc="Fast image processing with low memory needs"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="LGPL-2.1-or-later"
 homepage="https://www.libvips.org/"
 changelog="https://raw.githubusercontent.com/libvips/libvips/master/ChangeLog"
 distfiles="https://github.com/libvips/libvips/archive/refs/tags/v${version}.tar.gz"
-checksum=16afc1bf2218a98c1dc35ec4d94ef61d66c293eeb2b399fd40282dfb2211ea95
+checksum=d28d7bf7e3f8fa17390c255ace4a05a1c56459e1f6015319f4847ea0733593b3
 python_version=3
 
 build_options="gir gtk_doc hdf5"
@@ -74,3 +64,31 @@ libvips-doc_package() {
 		fi
 	}
 }
+
+libvips-heif_package() {
+	short_desc+=" - HEIF module"
+	pkg_install() {
+		vmove "usr/lib/vips-modules-${version%.*}/vips-heif.so"
+	}
+}
+
+libvips-jxl_package() {
+	short_desc+=" - JPEG XL module"
+	pkg_install() {
+		vmove "usr/lib/vips-modules-${version%.*}/vips-jxl.so"
+	}
+}
+
+libvips-magick_package() {
+	short_desc+=" - ImageMagick module"
+	pkg_install() {
+		vmove "usr/lib/vips-modules-${version%.*}/vips-magick.so"
+	}
+}
+
+libvips-poppler_package() {
+	short_desc+=" - Poppler PDF module"
+	pkg_install() {
+		vmove "usr/lib/vips-modules-${version%.*}/vips-poppler.so"
+	}
+}

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

* Re: [PR PATCH] [Updated] vips: update to 8.16.0, use modules.
  2024-12-28 22:51 [PR PATCH] vips: update to 8.16.0, use modules yoshiyoshyosh
                   ` (3 preceding siblings ...)
  2024-12-30 11:05 ` [PR PATCH] [Updated] " yoshiyoshyosh
@ 2025-01-27  2:15 ` yoshiyoshyosh
  2025-02-18  4:05 ` [PR PATCH] [Closed]: " classabbyamp
  5 siblings, 0 replies; 7+ messages in thread
From: yoshiyoshyosh @ 2025-01-27  2:15 UTC (permalink / raw)
  To: ml

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

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

https://github.com/yoshiyoshyosh/void-packages vips-update
https://github.com/void-linux/void-packages/pull/53741

vips: update to 8.16.0, use modules.
#### Testing the changes
- I tested the changes in this PR: **YES**
  - only on my machine, which is `x86_64_glibc`. I can't test if the cross-compiling gobject modules thing is correct...

#### Local build testing
- `x86-64_glibc`
- `aarch64_musl` (crossbuild)

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

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

From c21f3864f25c49f3998fb3126fc51c8944133493 Mon Sep 17 00:00:00 2001
From: yosh <yosh-git@riseup.net>
Date: Sat, 28 Dec 2024 17:15:41 -0500
Subject: [PATCH] vips: update to 8.16.0, use modules.

---
 srcpkgs/libvips-heif    |  1 +
 srcpkgs/libvips-jxl     |  1 +
 srcpkgs/libvips-magick  |  1 +
 srcpkgs/libvips-poppler |  1 +
 srcpkgs/vips/template   | 58 +++++++++++++++++++++++++++--------------
 5 files changed, 42 insertions(+), 20 deletions(-)
 create mode 120000 srcpkgs/libvips-heif
 create mode 120000 srcpkgs/libvips-jxl
 create mode 120000 srcpkgs/libvips-magick
 create mode 120000 srcpkgs/libvips-poppler

diff --git a/srcpkgs/libvips-heif b/srcpkgs/libvips-heif
new file mode 120000
index 00000000000000..6faa116eb8a1fe
--- /dev/null
+++ b/srcpkgs/libvips-heif
@@ -0,0 +1 @@
+vips
\ No newline at end of file
diff --git a/srcpkgs/libvips-jxl b/srcpkgs/libvips-jxl
new file mode 120000
index 00000000000000..6faa116eb8a1fe
--- /dev/null
+++ b/srcpkgs/libvips-jxl
@@ -0,0 +1 @@
+vips
\ No newline at end of file
diff --git a/srcpkgs/libvips-magick b/srcpkgs/libvips-magick
new file mode 120000
index 00000000000000..6faa116eb8a1fe
--- /dev/null
+++ b/srcpkgs/libvips-magick
@@ -0,0 +1 @@
+vips
\ No newline at end of file
diff --git a/srcpkgs/libvips-poppler b/srcpkgs/libvips-poppler
new file mode 120000
index 00000000000000..6faa116eb8a1fe
--- /dev/null
+++ b/srcpkgs/libvips-poppler
@@ -0,0 +1 @@
+vips
\ No newline at end of file
diff --git a/srcpkgs/vips/template b/srcpkgs/vips/template
index 36f9af0c4f4f91..ff93bc58695846 100644
--- a/srcpkgs/vips/template
+++ b/srcpkgs/vips/template
@@ -1,36 +1,26 @@
 # Template file for 'vips'
 pkgname=vips
-version=8.15.4
-revision=2
+version=8.16.0
+revision=1
 build_style=meson
 build_helper=gir
-# TODO: As of version 8.11 vips supports loading its support for OpenSlide,
-# libheif, Poppler and libMagick backends at runtime using GModule. Consider
-# taking advantage of this feature and shipping these modules as optional
-# subpackages.
-#
-# In particular, this would make packaging the libMagick backend less of
-# a compromise: vips upstream explictly recommends against enabling it if
-# processing untrused image inputs and punting it to a subpackage would
-# allow void users to make that choice themselves without using this
-# template to build from source.
-configure_args="-Dmodules=disabled -Ddoxygen=true
- $(vopt_feature gir introspection) $(vopt_bool gtk_doc)"
+configure_args="-Ddoxygen=true $(vopt_feature gir introspection)
+ $(vopt_bool gtk_doc)"
 hostmakedepends="pkg-config gettext glib-devel doxygen graphviz
- $(vopt_if gtk_doc gtk-doc)"
+ $(vopt_if gtk_doc gtk-doc) $(vopt_if gir gobject-introspection)"
 makedepends="$(vopt_if hdf5 hdf5-devel) $(vopt_if hdf5 matio-devel)
  cfitsio-devel expat-devel fftw-devel fontconfig-devel giflib-devel
- glib-devel lcms2-devel libexif-devel libgsf-devel libheif-devel
- libimagequant-devel libjpeg-turbo-devel libopenexr-devel libpng-devel
- librsvg-devel libwebp-devel pango-devel poppler-glib-devel
- tiff-devel"
+ glib-devel lcms2-devel libexif-devel libgsf-devel libimagequant-devel
+ libjpeg-turbo-devel libopenexr-devel libpng-devel librsvg-devel tiff-devel
+ libwebp-devel libopenjpeg2-devel pango-devel libmagick-devel libheif-devel
+ poppler-glib-devel libjxl-devel"
 short_desc="Fast image processing with low memory needs"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="LGPL-2.1-or-later"
 homepage="https://www.libvips.org/"
 changelog="https://raw.githubusercontent.com/libvips/libvips/master/ChangeLog"
 distfiles="https://github.com/libvips/libvips/archive/refs/tags/v${version}.tar.gz"
-checksum=16afc1bf2218a98c1dc35ec4d94ef61d66c293eeb2b399fd40282dfb2211ea95
+checksum=d28d7bf7e3f8fa17390c255ace4a05a1c56459e1f6015319f4847ea0733593b3
 python_version=3
 
 build_options="gir gtk_doc hdf5"
@@ -74,3 +64,31 @@ libvips-doc_package() {
 		fi
 	}
 }
+
+libvips-heif_package() {
+	short_desc+=" - HEIF module"
+	pkg_install() {
+		vmove "usr/lib/vips-modules-${version%.*}/vips-heif.so"
+	}
+}
+
+libvips-jxl_package() {
+	short_desc+=" - JPEG XL module"
+	pkg_install() {
+		vmove "usr/lib/vips-modules-${version%.*}/vips-jxl.so"
+	}
+}
+
+libvips-magick_package() {
+	short_desc+=" - ImageMagick module"
+	pkg_install() {
+		vmove "usr/lib/vips-modules-${version%.*}/vips-magick.so"
+	}
+}
+
+libvips-poppler_package() {
+	short_desc+=" - Poppler PDF module"
+	pkg_install() {
+		vmove "usr/lib/vips-modules-${version%.*}/vips-poppler.so"
+	}
+}

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

* Re: [PR PATCH] [Closed]: vips: update to 8.16.0, use modules.
  2024-12-28 22:51 [PR PATCH] vips: update to 8.16.0, use modules yoshiyoshyosh
                   ` (4 preceding siblings ...)
  2025-01-27  2:15 ` yoshiyoshyosh
@ 2025-02-18  4:05 ` classabbyamp
  5 siblings, 0 replies; 7+ messages in thread
From: classabbyamp @ 2025-02-18  4:05 UTC (permalink / raw)
  To: ml

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

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

vips: update to 8.16.0, use modules.
https://github.com/void-linux/void-packages/pull/53741

Description:
#### Testing the changes
- I tested the changes in this PR: **YES**
  - only on my machine, which is `x86_64_glibc`. I can't test if the cross-compiling gobject modules thing is correct...

#### Local build testing
- `x86-64_glibc`
- `aarch64_musl` (crossbuild)

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

end of thread, other threads:[~2025-02-18  4:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-28 22:51 [PR PATCH] vips: update to 8.16.0, use modules yoshiyoshyosh
2024-12-28 23:01 ` [PR PATCH] [Updated] " yoshiyoshyosh
2024-12-29  9:08 ` icp1994
2024-12-30 10:58 ` yoshiyoshyosh
2024-12-30 11:05 ` [PR PATCH] [Updated] " yoshiyoshyosh
2025-01-27  2:15 ` yoshiyoshyosh
2025-02-18  4:05 ` [PR PATCH] [Closed]: " classabbyamp

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).