Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: libvips-8.9.2
@ 2020-05-07  8:57 ifreund
  2020-05-07 19:41 ` [PR PATCH] [Updated] " ifreund
                   ` (20 more replies)
  0 siblings, 21 replies; 22+ messages in thread
From: ifreund @ 2020-05-07  8:57 UTC (permalink / raw)
  To: ml

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

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

https://github.com/ifreund/void-packages libvips
https://github.com/void-linux/void-packages/pull/21715

New package: libvips-8.9.2
Also added `libmatio.so.9` to `commom/shlibs` as it was missing and
required for this package.

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

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

From 65f5d959148f28a87a8a9d4693632fb63d20e125 Mon Sep 17 00:00:00 2001
From: Isaac Freund <ifreund@ifreund.xyz>
Date: Wed, 6 May 2020 20:56:07 +0200
Subject: [PATCH] New package: libvips-8.9.2

Also added `libmatio.so.9` to `commom/shlibs` as it was missing and
required for this package.
---
 common/shlibs            |  3 ++
 srcpkgs/libvips-devel    |  1 +
 srcpkgs/libvips-doc      |  1 +
 srcpkgs/libvips-tools    |  1 +
 srcpkgs/libvips/template | 65 ++++++++++++++++++++++++++++++++++++++++
 5 files changed, 71 insertions(+)
 create mode 120000 srcpkgs/libvips-devel
 create mode 120000 srcpkgs/libvips-doc
 create mode 120000 srcpkgs/libvips-tools
 create mode 100644 srcpkgs/libvips/template

diff --git a/common/shlibs b/common/shlibs
index 4bdc03e8b23..58f456cca54 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3875,3 +3875,6 @@ libhidrd_opt.so.0 hidrd-0.2.0_1
 libhidrd_strm.so.0 hidrd-0.2.0_1
 libhidrd_fmt.so.0 hidrd-0.2.0_1
 libjcat.so.1 libjcat-0.1.2_1
+libmatio.so.9 matio-1.5.17_2
+libvips.so.42 libvips-8.9.2_1
+libvips-cpp.so.42 libvips-8.9.2_1
diff --git a/srcpkgs/libvips-devel b/srcpkgs/libvips-devel
new file mode 120000
index 00000000000..73561db1f19
--- /dev/null
+++ b/srcpkgs/libvips-devel
@@ -0,0 +1 @@
+libvips
\ No newline at end of file
diff --git a/srcpkgs/libvips-doc b/srcpkgs/libvips-doc
new file mode 120000
index 00000000000..73561db1f19
--- /dev/null
+++ b/srcpkgs/libvips-doc
@@ -0,0 +1 @@
+libvips
\ No newline at end of file
diff --git a/srcpkgs/libvips-tools b/srcpkgs/libvips-tools
new file mode 120000
index 00000000000..73561db1f19
--- /dev/null
+++ b/srcpkgs/libvips-tools
@@ -0,0 +1 @@
+libvips
\ No newline at end of file
diff --git a/srcpkgs/libvips/template b/srcpkgs/libvips/template
new file mode 100644
index 00000000000..69de7717a79
--- /dev/null
+++ b/srcpkgs/libvips/template
@@ -0,0 +1,65 @@
+# Template file for 'libvips'
+pkgname=libvips
+version=8.9.2
+revision=1
+archs="x86_64"
+wrksrc=vips-${version}
+build_style=gnu-configure
+hostmakedepends="pkgconf"
+makedepends="
+cfitsio-devel
+expat-devel
+fftw-devel
+giflib-devel
+glib-devel
+hdf5-devel
+lcms2-devel
+libexif-devel
+libgsf-devel
+libheif-devel
+libimagequant-devel
+libjpeg-turbo-devel
+libopenexr-devel
+libpng-devel
+librsvg-devel
+libwebp-devel
+matio-devel
+orc-devel
+poppler-glib-devel
+tiff-devel
+"
+short_desc="Fast image processing library with low memory needs"
+maintainer="Isaac Freund <ifreund@ifreund.xyz>"
+license="LGPL-2.1-or-later"
+homepage="https://libvips.github.io/libvips/"
+distfiles="https://github.com/libvips/libvips/releases/download/v${version}/vips-${version}.tar.gz"
+checksum=ae8491b1156cd2eb9cbbaa2fd6caa1dc9ed3ded0b70443d28cd7fea798ab2a27
+
+python_version=3
+
+libvips-devel_package() {
+	depends="${makedepends} ${sourcepkg}-${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/*.so"
+	}
+}
+
+libvips-doc_package() {
+	archs=noarch
+	short_desc+=" - documentation"
+	pkg_install() {
+		vmove usr/share/gtk-doc
+	}
+}
+
+libvips-tools_package() {
+	short_desc+=" - bundled tools"
+	pkg_install() {
+		vmove usr/bin
+		vmove usr/share/man
+	}
+}

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

* Re: [PR PATCH] [Updated] New package: libvips-8.9.2
  2020-05-07  8:57 [PR PATCH] New package: libvips-8.9.2 ifreund
@ 2020-05-07 19:41 ` ifreund
  2020-05-07 19:45 ` ifreund
                   ` (19 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: ifreund @ 2020-05-07 19:41 UTC (permalink / raw)
  To: ml

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

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

https://github.com/ifreund/void-packages libvips
https://github.com/void-linux/void-packages/pull/21715

New package: libvips-8.9.2
Also added `libmatio.so.9` to `commom/shlibs` as it was missing and
required for this package.

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

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

From 7a15728e18d4ea00dba81899d45cc4e470e44891 Mon Sep 17 00:00:00 2001
From: Isaac Freund <ifreund@ifreund.xyz>
Date: Thu, 7 May 2020 21:38:05 +0200
Subject: [PATCH 1/2] matio: add to common/shlibs

---
 common/shlibs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/shlibs b/common/shlibs
index 4bdc03e8b23..ea935040eae 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3875,3 +3875,4 @@ libhidrd_opt.so.0 hidrd-0.2.0_1
 libhidrd_strm.so.0 hidrd-0.2.0_1
 libhidrd_fmt.so.0 hidrd-0.2.0_1
 libjcat.so.1 libjcat-0.1.2_1
+libmatio.so.9 matio-1.5.17_2

From 2655165ccab74694ee4c6a48f205319f4dc05cf2 Mon Sep 17 00:00:00 2001
From: Isaac Freund <ifreund@ifreund.xyz>
Date: Thu, 7 May 2020 21:40:36 +0200
Subject: [PATCH 2/2] New package: libvips-8.9.2

---
 common/shlibs            |  2 ++
 srcpkgs/libvips-devel    |  1 +
 srcpkgs/libvips-doc      |  1 +
 srcpkgs/libvips-tools    |  1 +
 srcpkgs/libvips/template | 64 ++++++++++++++++++++++++++++++++++++++++
 5 files changed, 69 insertions(+)
 create mode 120000 srcpkgs/libvips-devel
 create mode 120000 srcpkgs/libvips-doc
 create mode 120000 srcpkgs/libvips-tools
 create mode 100644 srcpkgs/libvips/template

diff --git a/common/shlibs b/common/shlibs
index ea935040eae..58f456cca54 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3876,3 +3876,5 @@ libhidrd_strm.so.0 hidrd-0.2.0_1
 libhidrd_fmt.so.0 hidrd-0.2.0_1
 libjcat.so.1 libjcat-0.1.2_1
 libmatio.so.9 matio-1.5.17_2
+libvips.so.42 libvips-8.9.2_1
+libvips-cpp.so.42 libvips-8.9.2_1
diff --git a/srcpkgs/libvips-devel b/srcpkgs/libvips-devel
new file mode 120000
index 00000000000..73561db1f19
--- /dev/null
+++ b/srcpkgs/libvips-devel
@@ -0,0 +1 @@
+libvips
\ No newline at end of file
diff --git a/srcpkgs/libvips-doc b/srcpkgs/libvips-doc
new file mode 120000
index 00000000000..73561db1f19
--- /dev/null
+++ b/srcpkgs/libvips-doc
@@ -0,0 +1 @@
+libvips
\ No newline at end of file
diff --git a/srcpkgs/libvips-tools b/srcpkgs/libvips-tools
new file mode 120000
index 00000000000..73561db1f19
--- /dev/null
+++ b/srcpkgs/libvips-tools
@@ -0,0 +1 @@
+libvips
\ No newline at end of file
diff --git a/srcpkgs/libvips/template b/srcpkgs/libvips/template
new file mode 100644
index 00000000000..a1ecf26c9f1
--- /dev/null
+++ b/srcpkgs/libvips/template
@@ -0,0 +1,64 @@
+# Template file for 'libvips'
+pkgname=libvips
+version=8.9.2
+revision=1
+archs="x86_64"
+wrksrc=vips-${version}
+build_style=gnu-configure
+hostmakedepends="pkgconf"
+makedepends="
+cfitsio-devel
+expat-devel
+fftw-devel
+giflib-devel
+glib-devel
+hdf5-devel
+lcms2-devel
+libexif-devel
+libgsf-devel
+libheif-devel
+libimagequant-devel
+libjpeg-turbo-devel
+libopenexr-devel
+libpng-devel
+librsvg-devel
+libwebp-devel
+matio-devel
+orc-devel
+poppler-glib-devel
+tiff-devel
+"
+short_desc="Fast image processing library with low memory needs"
+maintainer="Isaac Freund <ifreund@ifreund.xyz>"
+license="LGPL-2.1-or-later"
+homepage="https://libvips.github.io/libvips/"
+distfiles="https://github.com/libvips/libvips/releases/download/v${version}/vips-${version}.tar.gz"
+checksum=ae8491b1156cd2eb9cbbaa2fd6caa1dc9ed3ded0b70443d28cd7fea798ab2a27
+python_version=3
+
+libvips-devel_package() {
+	depends="${makedepends} ${sourcepkg}-${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/*.so"
+	}
+}
+
+libvips-doc_package() {
+	archs=noarch
+	short_desc+=" - documentation"
+	pkg_install() {
+		vmove usr/share/gtk-doc
+	}
+}
+
+libvips-tools_package() {
+	short_desc+=" - bundled tools"
+	pkg_install() {
+		vmove usr/bin
+		vmove usr/share/man
+	}
+}

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

* Re: New package: libvips-8.9.2
  2020-05-07  8:57 [PR PATCH] New package: libvips-8.9.2 ifreund
  2020-05-07 19:41 ` [PR PATCH] [Updated] " ifreund
@ 2020-05-07 19:45 ` ifreund
  2020-05-08  9:04 ` ifreund
                   ` (18 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: ifreund @ 2020-05-07 19:45 UTC (permalink / raw)
  To: ml

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

New comment by ifreund on void-packages repository

https://github.com/void-linux/void-packages/pull/21715#issuecomment-625459458

Comment:
So, all of the `makedepends` for libvips are optional and provide support for various image formats/other features.  I included everything for now as it seems like that's what most users would want but could make a default enabled build option for each optional dependency. Would this be desirable or be considered option bloat?

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

* Re: New package: libvips-8.9.2
  2020-05-07  8:57 [PR PATCH] New package: libvips-8.9.2 ifreund
  2020-05-07 19:41 ` [PR PATCH] [Updated] " ifreund
  2020-05-07 19:45 ` ifreund
@ 2020-05-08  9:04 ` ifreund
  2020-05-08 17:55 ` Chocimier
                   ` (17 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: ifreund @ 2020-05-08  9:04 UTC (permalink / raw)
  To: ml

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

New comment by ifreund on void-packages repository

https://github.com/void-linux/void-packages/pull/21715#issuecomment-625459458

Comment:
So, all of the `makedepends` for libvips are optional (except glib and expat) and provide support for various image formats/other features.  I included everything for now as it seems like that's what most users would want but could make a default enabled build option for each optional dependency. Would this be desirable or be considered option bloat?

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

* Re: New package: libvips-8.9.2
  2020-05-07  8:57 [PR PATCH] New package: libvips-8.9.2 ifreund
                   ` (2 preceding siblings ...)
  2020-05-08  9:04 ` ifreund
@ 2020-05-08 17:55 ` Chocimier
  2020-05-08 19:02 ` [PR PATCH] [Updated] " ifreund
                   ` (16 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: Chocimier @ 2020-05-08 17:55 UTC (permalink / raw)
  To: ml

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

New comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/21715#issuecomment-625939397

Comment:
No need for build options, e.g. ImageMagick is similar.

Why only one arch?

Please rename template to vips, and install into it what is libvips_tools now.

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

* Re: [PR PATCH] [Updated] New package: libvips-8.9.2
  2020-05-07  8:57 [PR PATCH] New package: libvips-8.9.2 ifreund
                   ` (3 preceding siblings ...)
  2020-05-08 17:55 ` Chocimier
@ 2020-05-08 19:02 ` ifreund
  2020-05-08 19:04 ` ifreund
                   ` (15 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: ifreund @ 2020-05-08 19:02 UTC (permalink / raw)
  To: ml

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

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

https://github.com/ifreund/void-packages libvips
https://github.com/void-linux/void-packages/pull/21715

New package: libvips-8.9.2
Also added `libmatio.so.9` to `commom/shlibs` as it was missing and
required for this package.

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

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

From 7a15728e18d4ea00dba81899d45cc4e470e44891 Mon Sep 17 00:00:00 2001
From: Isaac Freund <ifreund@ifreund.xyz>
Date: Thu, 7 May 2020 21:38:05 +0200
Subject: [PATCH 1/2] matio: add to common/shlibs

---
 common/shlibs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/shlibs b/common/shlibs
index 4bdc03e8b23..ea935040eae 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3875,3 +3875,4 @@ libhidrd_opt.so.0 hidrd-0.2.0_1
 libhidrd_strm.so.0 hidrd-0.2.0_1
 libhidrd_fmt.so.0 hidrd-0.2.0_1
 libjcat.so.1 libjcat-0.1.2_1
+libmatio.so.9 matio-1.5.17_2

From 46a4640d9042cee27f744519f23f305d21344839 Mon Sep 17 00:00:00 2001
From: Isaac Freund <ifreund@ifreund.xyz>
Date: Fri, 8 May 2020 20:43:45 +0200
Subject: [PATCH 2/2] New package: vips-8.9.2

---
 common/shlibs         |  2 ++
 srcpkgs/vips-devel    |  1 +
 srcpkgs/vips-doc      |  1 +
 srcpkgs/vips/template | 54 +++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 58 insertions(+)
 create mode 120000 srcpkgs/vips-devel
 create mode 120000 srcpkgs/vips-doc
 create mode 100644 srcpkgs/vips/template

diff --git a/common/shlibs b/common/shlibs
index ea935040eae..c6fa235de77 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3876,3 +3876,5 @@ libhidrd_strm.so.0 hidrd-0.2.0_1
 libhidrd_fmt.so.0 hidrd-0.2.0_1
 libjcat.so.1 libjcat-0.1.2_1
 libmatio.so.9 matio-1.5.17_2
+libvips.so.42 vips-8.9.2_1
+libvips-cpp.so.42 vips-8.9.2_1
diff --git a/srcpkgs/vips-devel b/srcpkgs/vips-devel
new file mode 120000
index 00000000000..6faa116eb8a
--- /dev/null
+++ b/srcpkgs/vips-devel
@@ -0,0 +1 @@
+vips
\ No newline at end of file
diff --git a/srcpkgs/vips-doc b/srcpkgs/vips-doc
new file mode 120000
index 00000000000..6faa116eb8a
--- /dev/null
+++ b/srcpkgs/vips-doc
@@ -0,0 +1 @@
+vips
\ No newline at end of file
diff --git a/srcpkgs/vips/template b/srcpkgs/vips/template
new file mode 100644
index 00000000000..ba26406452b
--- /dev/null
+++ b/srcpkgs/vips/template
@@ -0,0 +1,54 @@
+# Template file for 'vips'
+pkgname=vips
+version=8.9.2
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkgconf"
+makedepends="
+cfitsio-devel
+expat-devel
+fftw-devel
+giflib-devel
+glib-devel
+hdf5-devel
+lcms2-devel
+libexif-devel
+libgsf-devel
+libheif-devel
+libimagequant-devel
+libjpeg-turbo-devel
+libopenexr-devel
+libpng-devel
+librsvg-devel
+libwebp-devel
+matio-devel
+orc-devel
+poppler-glib-devel
+tiff-devel
+"
+short_desc="Fast image processing library with low memory needs"
+maintainer="Isaac Freund <ifreund@ifreund.xyz>"
+license="LGPL-2.1-or-later"
+homepage="https://libvips.github.io/libvips/"
+distfiles="https://github.com/libvips/libvips/releases/download/v${version}/vips-${version}.tar.gz"
+checksum=ae8491b1156cd2eb9cbbaa2fd6caa1dc9ed3ded0b70443d28cd7fea798ab2a27
+python_version=3
+
+vips-devel_package() {
+	depends="${makedepends} ${sourcepkg}-${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/*.so"
+	}
+}
+
+vips-doc_package() {
+	archs=noarch
+	short_desc+=" - documentation"
+	pkg_install() {
+		vmove usr/share/gtk-doc
+	}
+}

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

* Re: New package: libvips-8.9.2
  2020-05-07  8:57 [PR PATCH] New package: libvips-8.9.2 ifreund
                   ` (4 preceding siblings ...)
  2020-05-08 19:02 ` [PR PATCH] [Updated] " ifreund
@ 2020-05-08 19:04 ` ifreund
  2020-05-08 19:16 ` Chocimier
                   ` (14 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: ifreund @ 2020-05-08 19:04 UTC (permalink / raw)
  To: ml

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

New comment by ifreund on void-packages repository

https://github.com/void-linux/void-packages/pull/21715#issuecomment-625969233

Comment:
@Chocimier Made the changes you suggested, don't have a way to test the other archs myself but I guess we can rely on travis for that.

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

* Re: New package: libvips-8.9.2
  2020-05-07  8:57 [PR PATCH] New package: libvips-8.9.2 ifreund
                   ` (5 preceding siblings ...)
  2020-05-08 19:04 ` ifreund
@ 2020-05-08 19:16 ` Chocimier
  2020-05-08 19:17 ` ifreund
                   ` (13 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: Chocimier @ 2020-05-08 19:16 UTC (permalink / raw)
  To: ml

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

New comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/21715#issuecomment-625974277

Comment:
Separated binaries and library was good, please add libvips and rename subpackages to libvips-*.

Build option for hdf5 is needed, see `srcpkgs/armadillo/template`.

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

* Re: New package: libvips-8.9.2
  2020-05-07  8:57 [PR PATCH] New package: libvips-8.9.2 ifreund
                   ` (6 preceding siblings ...)
  2020-05-08 19:16 ` Chocimier
@ 2020-05-08 19:17 ` ifreund
  2020-05-08 19:18 ` ifreund
                   ` (12 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: ifreund @ 2020-05-08 19:17 UTC (permalink / raw)
  To: ml

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

New comment by ifreund on void-packages repository

https://github.com/void-linux/void-packages/pull/21715#issuecomment-625974796

Comment:
Ah, I see what you mean now will do.

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

* Re: New package: libvips-8.9.2
  2020-05-07  8:57 [PR PATCH] New package: libvips-8.9.2 ifreund
                   ` (7 preceding siblings ...)
  2020-05-08 19:17 ` ifreund
@ 2020-05-08 19:18 ` ifreund
  2020-05-08 21:48 ` [PR PATCH] [Updated] " ifreund
                   ` (11 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: ifreund @ 2020-05-08 19:18 UTC (permalink / raw)
  To: ml

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

New comment by ifreund on void-packages repository

https://github.com/void-linux/void-packages/pull/21715#issuecomment-625974796

Comment:
Ah, I see what you mean now, will do.

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

* Re: [PR PATCH] [Updated] New package: libvips-8.9.2
  2020-05-07  8:57 [PR PATCH] New package: libvips-8.9.2 ifreund
                   ` (8 preceding siblings ...)
  2020-05-08 19:18 ` ifreund
@ 2020-05-08 21:48 ` ifreund
  2020-05-08 21:48 ` ifreund
                   ` (10 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: ifreund @ 2020-05-08 21:48 UTC (permalink / raw)
  To: ml

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

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

https://github.com/ifreund/void-packages libvips
https://github.com/void-linux/void-packages/pull/21715

New package: libvips-8.9.2
Also added `libmatio.so.9` to `commom/shlibs` as it was missing and
required for this package.

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

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

From 7a15728e18d4ea00dba81899d45cc4e470e44891 Mon Sep 17 00:00:00 2001
From: Isaac Freund <ifreund@ifreund.xyz>
Date: Thu, 7 May 2020 21:38:05 +0200
Subject: [PATCH 1/2] matio: add to common/shlibs

---
 common/shlibs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/shlibs b/common/shlibs
index 4bdc03e8b23..ea935040eae 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3875,3 +3875,4 @@ libhidrd_opt.so.0 hidrd-0.2.0_1
 libhidrd_strm.so.0 hidrd-0.2.0_1
 libhidrd_fmt.so.0 hidrd-0.2.0_1
 libjcat.so.1 libjcat-0.1.2_1
+libmatio.so.9 matio-1.5.17_2

From 59e2c7e4777094d86dd41eeb8627344d50c9a3f5 Mon Sep 17 00:00:00 2001
From: Isaac Freund <ifreund@ifreund.xyz>
Date: Fri, 8 May 2020 20:43:45 +0200
Subject: [PATCH 2/2] New package: vips-8.9.2

---
 common/shlibs         |  2 ++
 srcpkgs/libvips       |  1 +
 srcpkgs/libvips-devel |  1 +
 srcpkgs/libvips-doc   |  1 +
 srcpkgs/vips/template | 67 +++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 72 insertions(+)
 create mode 120000 srcpkgs/libvips
 create mode 120000 srcpkgs/libvips-devel
 create mode 120000 srcpkgs/libvips-doc
 create mode 100644 srcpkgs/vips/template

diff --git a/common/shlibs b/common/shlibs
index ea935040eae..58f456cca54 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3876,3 +3876,5 @@ libhidrd_strm.so.0 hidrd-0.2.0_1
 libhidrd_fmt.so.0 hidrd-0.2.0_1
 libjcat.so.1 libjcat-0.1.2_1
 libmatio.so.9 matio-1.5.17_2
+libvips.so.42 libvips-8.9.2_1
+libvips-cpp.so.42 libvips-8.9.2_1
diff --git a/srcpkgs/libvips b/srcpkgs/libvips
new file mode 120000
index 00000000000..6faa116eb8a
--- /dev/null
+++ b/srcpkgs/libvips
@@ -0,0 +1 @@
+vips
\ No newline at end of file
diff --git a/srcpkgs/libvips-devel b/srcpkgs/libvips-devel
new file mode 120000
index 00000000000..6faa116eb8a
--- /dev/null
+++ b/srcpkgs/libvips-devel
@@ -0,0 +1 @@
+vips
\ No newline at end of file
diff --git a/srcpkgs/libvips-doc b/srcpkgs/libvips-doc
new file mode 120000
index 00000000000..6faa116eb8a
--- /dev/null
+++ b/srcpkgs/libvips-doc
@@ -0,0 +1 @@
+vips
\ No newline at end of file
diff --git a/srcpkgs/vips/template b/srcpkgs/vips/template
new file mode 100644
index 00000000000..600a6828820
--- /dev/null
+++ b/srcpkgs/vips/template
@@ -0,0 +1,67 @@
+# Template file for 'vips'
+pkgname=vips
+version=8.9.2
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkgconf"
+makedepends="
+$(vopt_if hdf5 hdf5-devel)
+$(vopt_if hdf5 matio-devel)
+cfitsio-devel
+expat-devel
+fftw-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
+orc-devel
+poppler-glib-devel
+tiff-devel
+"
+short_desc="Fast image processing with low memory needs"
+maintainer="Isaac Freund <ifreund@ifreund.xyz>"
+license="LGPL-2.1-or-later"
+homepage="https://libvips.github.io/libvips/"
+distfiles="https://github.com/libvips/libvips/releases/download/v${version}/vips-${version}.tar.gz"
+checksum=ae8491b1156cd2eb9cbbaa2fd6caa1dc9ed3ded0b70443d28cd7fea798ab2a27
+python_version=3
+
+build_options="hdf5"
+desc_option_hdf5="HDF5 support"
+if [ -z "$CROSS_BUILD" ]; then
+	build_options_default="hdf5"
+fi
+
+libvips_package() {
+	short_desc+=" - library"
+	pkg_install() {
+		vmove "usr/lib/*.so.*"
+	}
+}
+
+libvips-devel_package() {
+	depends="${makedepends} ${sourcepkg}-${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/*.so"
+	}
+}
+
+libvips-doc_package() {
+	archs=noarch
+	short_desc+=" - documentation"
+	pkg_install() {
+		vmove usr/share/gtk-doc
+	}
+}

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

* Re: New package: libvips-8.9.2
  2020-05-07  8:57 [PR PATCH] New package: libvips-8.9.2 ifreund
                   ` (9 preceding siblings ...)
  2020-05-08 21:48 ` [PR PATCH] [Updated] " ifreund
@ 2020-05-08 21:48 ` ifreund
  2020-05-08 22:36 ` [PR PATCH] [Updated] " ifreund
                   ` (9 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: ifreund @ 2020-05-08 21:48 UTC (permalink / raw)
  To: ml

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

New comment by ifreund on void-packages repository

https://github.com/void-linux/void-packages/pull/21715#issuecomment-626035730

Comment:
Made the name changes and added the `hdf5` build option, but ran into an issue:

Are you sure that having `vips` be the template and `libvips` a subpackage is the right way to go? It seems to have messed up the `run_depends`/`shlib_requires` for the `vips` and `libvips` packages.

For `vips`:
```
run_depends:
	glib>=2.18.0_1
	glibc>=2.29_1
shlib-requires:
	libgobject-2.0.so.0
	libglib-2.0.so.0
	libc.so.6
	libpthread.so.0
```
For `libvips`:
```
run_depends:
	vips>=8.9.2_1
	libheif>=1.4.0_1
	...
shlib-provides:
	libvips-cpp.so.42
	libvips.so.42
shlib-requires:
	libvips.so.42
	libheif.so.1
	...
```

Which means that the produced `vips` package does not depend on `libvips` but fails to run unless `libvips` is installed. Maybe there's something I'm missing here, but adding `libvips` to `depends` failed to fix this.


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

* Re: [PR PATCH] [Updated] New package: libvips-8.9.2
  2020-05-07  8:57 [PR PATCH] New package: libvips-8.9.2 ifreund
                   ` (10 preceding siblings ...)
  2020-05-08 21:48 ` ifreund
@ 2020-05-08 22:36 ` ifreund
  2020-05-10 23:20 ` ifreund
                   ` (8 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: ifreund @ 2020-05-08 22:36 UTC (permalink / raw)
  To: ml

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

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

https://github.com/ifreund/void-packages libvips
https://github.com/void-linux/void-packages/pull/21715

New package: libvips-8.9.2
Also added `libmatio.so.9` to `commom/shlibs` as it was missing and
required for this package.

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

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

From 7a15728e18d4ea00dba81899d45cc4e470e44891 Mon Sep 17 00:00:00 2001
From: Isaac Freund <ifreund@ifreund.xyz>
Date: Thu, 7 May 2020 21:38:05 +0200
Subject: [PATCH 1/2] matio: add to common/shlibs

---
 common/shlibs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/shlibs b/common/shlibs
index 4bdc03e8b23..ea935040eae 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3875,3 +3875,4 @@ libhidrd_opt.so.0 hidrd-0.2.0_1
 libhidrd_strm.so.0 hidrd-0.2.0_1
 libhidrd_fmt.so.0 hidrd-0.2.0_1
 libjcat.so.1 libjcat-0.1.2_1
+libmatio.so.9 matio-1.5.17_2

From fdfa10a9193da490c15e7cad429ad1ecaa8e5d3e Mon Sep 17 00:00:00 2001
From: Isaac Freund <ifreund@ifreund.xyz>
Date: Fri, 8 May 2020 20:43:45 +0200
Subject: [PATCH 2/2] New package: vips-8.9.2

---
 common/shlibs         |  2 ++
 srcpkgs/libvips       |  1 +
 srcpkgs/libvips-devel |  1 +
 srcpkgs/libvips-doc   |  1 +
 srcpkgs/vips/template | 67 +++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 72 insertions(+)
 create mode 120000 srcpkgs/libvips
 create mode 120000 srcpkgs/libvips-devel
 create mode 120000 srcpkgs/libvips-doc
 create mode 100644 srcpkgs/vips/template

diff --git a/common/shlibs b/common/shlibs
index ea935040eae..58f456cca54 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3876,3 +3876,5 @@ libhidrd_strm.so.0 hidrd-0.2.0_1
 libhidrd_fmt.so.0 hidrd-0.2.0_1
 libjcat.so.1 libjcat-0.1.2_1
 libmatio.so.9 matio-1.5.17_2
+libvips.so.42 libvips-8.9.2_1
+libvips-cpp.so.42 libvips-8.9.2_1
diff --git a/srcpkgs/libvips b/srcpkgs/libvips
new file mode 120000
index 00000000000..6faa116eb8a
--- /dev/null
+++ b/srcpkgs/libvips
@@ -0,0 +1 @@
+vips
\ No newline at end of file
diff --git a/srcpkgs/libvips-devel b/srcpkgs/libvips-devel
new file mode 120000
index 00000000000..6faa116eb8a
--- /dev/null
+++ b/srcpkgs/libvips-devel
@@ -0,0 +1 @@
+vips
\ No newline at end of file
diff --git a/srcpkgs/libvips-doc b/srcpkgs/libvips-doc
new file mode 120000
index 00000000000..6faa116eb8a
--- /dev/null
+++ b/srcpkgs/libvips-doc
@@ -0,0 +1 @@
+vips
\ No newline at end of file
diff --git a/srcpkgs/vips/template b/srcpkgs/vips/template
new file mode 100644
index 00000000000..125b4f406e8
--- /dev/null
+++ b/srcpkgs/vips/template
@@ -0,0 +1,67 @@
+# Template file for 'vips'
+pkgname=vips
+version=8.9.2
+revision=1
+build_style=gnu-configure
+hostmakedepends="gobject-introspection pkgconf"
+makedepends="
+$(vopt_if hdf5 hdf5-devel)
+$(vopt_if hdf5 matio-devel)
+cfitsio-devel
+expat-devel
+fftw-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
+orc-devel
+poppler-glib-devel
+tiff-devel
+"
+short_desc="Fast image processing with low memory needs"
+maintainer="Isaac Freund <ifreund@ifreund.xyz>"
+license="LGPL-2.1-or-later"
+homepage="https://libvips.github.io/libvips/"
+distfiles="https://github.com/libvips/libvips/releases/download/v${version}/vips-${version}.tar.gz"
+checksum=ae8491b1156cd2eb9cbbaa2fd6caa1dc9ed3ded0b70443d28cd7fea798ab2a27
+python_version=3
+
+build_options="hdf5"
+desc_option_hdf5="HDF5 support"
+if [ -z "$CROSS_BUILD" ]; then
+	build_options_default="hdf5"
+fi
+
+libvips_package() {
+	short_desc+=" - library"
+	pkg_install() {
+		vmove "usr/lib/*.so.*"
+	}
+}
+
+libvips-devel_package() {
+	depends="${makedepends} ${sourcepkg}-${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/*.so"
+	}
+}
+
+libvips-doc_package() {
+	archs=noarch
+	short_desc+=" - documentation"
+	pkg_install() {
+		vmove usr/share/gtk-doc
+	}
+}

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

* Re: [PR PATCH] [Updated] New package: libvips-8.9.2
  2020-05-07  8:57 [PR PATCH] New package: libvips-8.9.2 ifreund
                   ` (11 preceding siblings ...)
  2020-05-08 22:36 ` [PR PATCH] [Updated] " ifreund
@ 2020-05-10 23:20 ` ifreund
  2020-05-11  0:24 ` ifreund
                   ` (7 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: ifreund @ 2020-05-10 23:20 UTC (permalink / raw)
  To: ml

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

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

https://github.com/ifreund/void-packages libvips
https://github.com/void-linux/void-packages/pull/21715

New package: libvips-8.9.2
Also added `libmatio.so.9` to `commom/shlibs` as it was missing and
required for this package.

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

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

From 7a15728e18d4ea00dba81899d45cc4e470e44891 Mon Sep 17 00:00:00 2001
From: Isaac Freund <ifreund@ifreund.xyz>
Date: Thu, 7 May 2020 21:38:05 +0200
Subject: [PATCH 1/2] matio: add to common/shlibs

---
 common/shlibs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/shlibs b/common/shlibs
index 4bdc03e8b23..ea935040eae 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3875,3 +3875,4 @@ libhidrd_opt.so.0 hidrd-0.2.0_1
 libhidrd_strm.so.0 hidrd-0.2.0_1
 libhidrd_fmt.so.0 hidrd-0.2.0_1
 libjcat.so.1 libjcat-0.1.2_1
+libmatio.so.9 matio-1.5.17_2

From da3d6e190b8954fbb401f026e364bd9e6a35c282 Mon Sep 17 00:00:00 2001
From: Isaac Freund <ifreund@ifreund.xyz>
Date: Fri, 8 May 2020 20:43:45 +0200
Subject: [PATCH 2/2] New package: libvips-8.9.2

---
 common/shlibs            |  2 ++
 srcpkgs/libvips-devel    |  1 +
 srcpkgs/libvips-doc      |  1 +
 srcpkgs/libvips/template | 73 ++++++++++++++++++++++++++++++++++++++++
 srcpkgs/vips             |  1 +
 5 files changed, 78 insertions(+)
 create mode 120000 srcpkgs/libvips-devel
 create mode 120000 srcpkgs/libvips-doc
 create mode 100644 srcpkgs/libvips/template
 create mode 120000 srcpkgs/vips

diff --git a/common/shlibs b/common/shlibs
index ea935040eae..58f456cca54 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3876,3 +3876,5 @@ libhidrd_strm.so.0 hidrd-0.2.0_1
 libhidrd_fmt.so.0 hidrd-0.2.0_1
 libjcat.so.1 libjcat-0.1.2_1
 libmatio.so.9 matio-1.5.17_2
+libvips.so.42 libvips-8.9.2_1
+libvips-cpp.so.42 libvips-8.9.2_1
diff --git a/srcpkgs/libvips-devel b/srcpkgs/libvips-devel
new file mode 120000
index 00000000000..73561db1f19
--- /dev/null
+++ b/srcpkgs/libvips-devel
@@ -0,0 +1 @@
+libvips
\ No newline at end of file
diff --git a/srcpkgs/libvips-doc b/srcpkgs/libvips-doc
new file mode 120000
index 00000000000..73561db1f19
--- /dev/null
+++ b/srcpkgs/libvips-doc
@@ -0,0 +1 @@
+libvips
\ No newline at end of file
diff --git a/srcpkgs/libvips/template b/srcpkgs/libvips/template
new file mode 100644
index 00000000000..085ad9ab0fe
--- /dev/null
+++ b/srcpkgs/libvips/template
@@ -0,0 +1,73 @@
+# Template file for 'libvips'
+pkgname=libvips
+version=8.9.2
+revision=1
+wrksrc=vips-${version}
+build_style=gnu-configure
+hostmakedepends="pkgconf"
+makedepends="
+$(vopt_if hdf5 hdf5-devel)
+$(vopt_if hdf5 matio-devel)
+cfitsio-devel
+expat-devel
+fftw-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
+orc-devel
+poppler-glib-devel
+tiff-devel
+"
+short_desc="Fast image processing library with low memory needs"
+maintainer="Isaac Freund <ifreund@ifreund.xyz>"
+license="LGPL-2.1-or-later"
+homepage="https://libvips.github.io/libvips/"
+distfiles="https://github.com/libvips/libvips/releases/download/v${version}/vips-${version}.tar.gz"
+checksum=ae8491b1156cd2eb9cbbaa2fd6caa1dc9ed3ded0b70443d28cd7fea798ab2a27
+python_version=3
+
+build_options="hdf5"
+desc_option_hdf5="HDF5 support"
+if [ -z "$CROSS_BUILD" ]; then
+	build_options_default="hdf5"
+fi
+
+case "$XBPS_TARGET_MACHINE" in
+	aarch64*|arm*) hostmakedepends+=" gobject-introspection qemu-user-static";;
+esac
+
+libvips-devel_package() {
+	depends="${makedepends} ${sourcepkg}-${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/*.so"
+	}
+}
+
+libvips-doc_package() {
+	archs=noarch
+	short_desc+=" - documentation"
+	pkg_install() {
+		vmove usr/share/gtk-doc
+	}
+}
+
+vips_package() {
+	short_desc+=" - tools"
+	pkg_install() {
+		vmove usr/bin
+		vmove usr/share/man
+	}
+}
diff --git a/srcpkgs/vips b/srcpkgs/vips
new file mode 120000
index 00000000000..73561db1f19
--- /dev/null
+++ b/srcpkgs/vips
@@ -0,0 +1 @@
+libvips
\ No newline at end of file

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

* Re: New package: libvips-8.9.2
  2020-05-07  8:57 [PR PATCH] New package: libvips-8.9.2 ifreund
                   ` (12 preceding siblings ...)
  2020-05-10 23:20 ` ifreund
@ 2020-05-11  0:24 ` ifreund
  2020-05-11 21:19 ` Chocimier
                   ` (6 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: ifreund @ 2020-05-11  0:24 UTC (permalink / raw)
  To: ml

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

New comment by ifreund on void-packages repository

https://github.com/void-linux/void-packages/pull/21715#issuecomment-626413724

Comment:
@Chocimier I believe I've fixed all the issues and the template now passes travis on all targets.  I went back to having `libvips` as the template, but with the subpackage containing the command line tools called`vips` instead of `libvips-tools` as I was unable to figure out a solution to the problem mentioned in the previous comment. Hopefully that is acceptable.

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

* Re: New package: libvips-8.9.2
  2020-05-07  8:57 [PR PATCH] New package: libvips-8.9.2 ifreund
                   ` (13 preceding siblings ...)
  2020-05-11  0:24 ` ifreund
@ 2020-05-11 21:19 ` Chocimier
  2020-05-11 22:39 ` [PR PATCH] [Updated] " ifreund
                   ` (5 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: Chocimier @ 2020-05-11 21:19 UTC (permalink / raw)
  To: ml

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

New comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/21715#issuecomment-626970768

Comment:
shlib-provides built correct with pkgname=vips and libvips in shlibs.

`case` block should be replaced with gir build helper, see `srcpkgs/atk/template`.

Please also indent contents of `makedepends=` by one space.

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

* Re: [PR PATCH] [Updated] New package: libvips-8.9.2
  2020-05-07  8:57 [PR PATCH] New package: libvips-8.9.2 ifreund
                   ` (14 preceding siblings ...)
  2020-05-11 21:19 ` Chocimier
@ 2020-05-11 22:39 ` ifreund
  2020-05-11 22:42 ` ifreund
                   ` (4 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: ifreund @ 2020-05-11 22:39 UTC (permalink / raw)
  To: ml

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

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

https://github.com/ifreund/void-packages libvips
https://github.com/void-linux/void-packages/pull/21715

New package: libvips-8.9.2
Also added `libmatio.so.9` to `commom/shlibs` as it was missing and
required for this package.

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

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

From 7a15728e18d4ea00dba81899d45cc4e470e44891 Mon Sep 17 00:00:00 2001
From: Isaac Freund <ifreund@ifreund.xyz>
Date: Thu, 7 May 2020 21:38:05 +0200
Subject: [PATCH 1/2] matio: add to common/shlibs

---
 common/shlibs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/shlibs b/common/shlibs
index 4bdc03e8b23..ea935040eae 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3875,3 +3875,4 @@ libhidrd_opt.so.0 hidrd-0.2.0_1
 libhidrd_strm.so.0 hidrd-0.2.0_1
 libhidrd_fmt.so.0 hidrd-0.2.0_1
 libjcat.so.1 libjcat-0.1.2_1
+libmatio.so.9 matio-1.5.17_2

From 10a16b93fcc48517709b7cd9d7ba11440a5dec34 Mon Sep 17 00:00:00 2001
From: Isaac Freund <ifreund@ifreund.xyz>
Date: Fri, 8 May 2020 20:43:45 +0200
Subject: [PATCH 2/2] New package: libvips-8.9.2

---
 common/shlibs         |  2 ++
 srcpkgs/libvips       |  1 +
 srcpkgs/libvips-devel |  1 +
 srcpkgs/libvips-doc   |  1 +
 srcpkgs/vips/template | 72 +++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 77 insertions(+)
 create mode 120000 srcpkgs/libvips
 create mode 120000 srcpkgs/libvips-devel
 create mode 120000 srcpkgs/libvips-doc
 create mode 100644 srcpkgs/vips/template

diff --git a/common/shlibs b/common/shlibs
index ea935040eae..58f456cca54 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3876,3 +3876,5 @@ libhidrd_strm.so.0 hidrd-0.2.0_1
 libhidrd_fmt.so.0 hidrd-0.2.0_1
 libjcat.so.1 libjcat-0.1.2_1
 libmatio.so.9 matio-1.5.17_2
+libvips.so.42 libvips-8.9.2_1
+libvips-cpp.so.42 libvips-8.9.2_1
diff --git a/srcpkgs/libvips b/srcpkgs/libvips
new file mode 120000
index 00000000000..6faa116eb8a
--- /dev/null
+++ b/srcpkgs/libvips
@@ -0,0 +1 @@
+vips
\ No newline at end of file
diff --git a/srcpkgs/libvips-devel b/srcpkgs/libvips-devel
new file mode 120000
index 00000000000..6faa116eb8a
--- /dev/null
+++ b/srcpkgs/libvips-devel
@@ -0,0 +1 @@
+vips
\ No newline at end of file
diff --git a/srcpkgs/libvips-doc b/srcpkgs/libvips-doc
new file mode 120000
index 00000000000..6faa116eb8a
--- /dev/null
+++ b/srcpkgs/libvips-doc
@@ -0,0 +1 @@
+vips
\ No newline at end of file
diff --git a/srcpkgs/vips/template b/srcpkgs/vips/template
new file mode 100644
index 00000000000..edadb458730
--- /dev/null
+++ b/srcpkgs/vips/template
@@ -0,0 +1,72 @@
+# Template file for 'vips'
+pkgname=vips
+version=8.9.2
+revision=1
+build_style=gnu-configure
+build_helper=gir
+configure_args="--enable-introspection=$(vopt_if gir yes no)"
+hostmakedepends="pkgconf"
+makedepends="
+ $(vopt_if hdf5 hdf5-devel)
+ $(vopt_if hdf5 matio-devel)
+ cfitsio-devel
+ expat-devel
+ fftw-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
+ orc-devel
+ poppler-glib-devel
+ tiff-devel
+"
+short_desc="Fast image processing with low memory needs"
+maintainer="Isaac Freund <ifreund@ifreund.xyz>"
+license="LGPL-2.1-or-later"
+homepage="https://libvips.github.io/libvips/"
+distfiles="https://github.com/libvips/libvips/releases/download/v${version}/vips-${version}.tar.gz"
+checksum=ae8491b1156cd2eb9cbbaa2fd6caa1dc9ed3ded0b70443d28cd7fea798ab2a27
+python_version=3
+
+build_options="gir hdf5"
+build_options_default="gir"
+desc_option_gir="GObject introspection"
+desc_option_hdf5="HDF5 support"
+
+if [ -z "$CROSS_BUILD" ]; then
+	build_options_default+="hdf5"
+fi
+
+libvips_package() {
+	short_desc+=" - library"
+	pkg_install() {
+		vmove "usr/lib/*.so.*"
+	}
+}
+
+libvips-devel_package() {
+	depends="${makedepends} ${sourcepkg}-${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/*.so"
+	}
+}
+
+libvips-doc_package() {
+	archs=noarch
+	short_desc+=" - documentation"
+	pkg_install() {
+		vmove usr/share/gtk-doc
+	}
+}

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

* Re: New package: libvips-8.9.2
  2020-05-07  8:57 [PR PATCH] New package: libvips-8.9.2 ifreund
                   ` (15 preceding siblings ...)
  2020-05-11 22:39 ` [PR PATCH] [Updated] " ifreund
@ 2020-05-11 22:42 ` ifreund
  2020-05-12 20:38 ` [PR PATCH] [Updated] " ifreund
                   ` (3 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: ifreund @ 2020-05-11 22:42 UTC (permalink / raw)
  To: ml

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

New comment by ifreund on void-packages repository

https://github.com/void-linux/void-packages/pull/21715#issuecomment-627004264

Comment:
Yeah, i think my environment must have been messy. I zapped everything and it worked fine with vips as the template as you said it would. Was not aware of the `gir` build helper, that's super handy!

Hopefully this is good to go now, I've certainly learned a lot about `xbps-src` working on it.

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

* Re: [PR PATCH] [Updated] New package: libvips-8.9.2
  2020-05-07  8:57 [PR PATCH] New package: libvips-8.9.2 ifreund
                   ` (16 preceding siblings ...)
  2020-05-11 22:42 ` ifreund
@ 2020-05-12 20:38 ` ifreund
  2020-05-14 20:46 ` [PR PATCH] [Closed]: " Chocimier
                   ` (2 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: ifreund @ 2020-05-12 20:38 UTC (permalink / raw)
  To: ml

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

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

https://github.com/ifreund/void-packages libvips
https://github.com/void-linux/void-packages/pull/21715

New package: libvips-8.9.2
Also added `libmatio.so.9` to `commom/shlibs` as it was missing and
required for this package.

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

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

From 7a15728e18d4ea00dba81899d45cc4e470e44891 Mon Sep 17 00:00:00 2001
From: Isaac Freund <ifreund@ifreund.xyz>
Date: Thu, 7 May 2020 21:38:05 +0200
Subject: [PATCH 1/2] matio: add to common/shlibs

---
 common/shlibs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/shlibs b/common/shlibs
index 4bdc03e8b23..ea935040eae 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3875,3 +3875,4 @@ libhidrd_opt.so.0 hidrd-0.2.0_1
 libhidrd_strm.so.0 hidrd-0.2.0_1
 libhidrd_fmt.so.0 hidrd-0.2.0_1
 libjcat.so.1 libjcat-0.1.2_1
+libmatio.so.9 matio-1.5.17_2

From 302c716dd33c9e748ebaf71e7d031152ef26762d Mon Sep 17 00:00:00 2001
From: Isaac Freund <ifreund@ifreund.xyz>
Date: Fri, 8 May 2020 20:43:45 +0200
Subject: [PATCH 2/2] New package: libvips-8.9.2

---
 common/shlibs         |  2 ++
 srcpkgs/libvips       |  1 +
 srcpkgs/libvips-devel |  1 +
 srcpkgs/libvips-doc   |  1 +
 srcpkgs/vips/template | 72 +++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 77 insertions(+)
 create mode 120000 srcpkgs/libvips
 create mode 120000 srcpkgs/libvips-devel
 create mode 120000 srcpkgs/libvips-doc
 create mode 100644 srcpkgs/vips/template

diff --git a/common/shlibs b/common/shlibs
index ea935040eae..58f456cca54 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3876,3 +3876,5 @@ libhidrd_strm.so.0 hidrd-0.2.0_1
 libhidrd_fmt.so.0 hidrd-0.2.0_1
 libjcat.so.1 libjcat-0.1.2_1
 libmatio.so.9 matio-1.5.17_2
+libvips.so.42 libvips-8.9.2_1
+libvips-cpp.so.42 libvips-8.9.2_1
diff --git a/srcpkgs/libvips b/srcpkgs/libvips
new file mode 120000
index 00000000000..6faa116eb8a
--- /dev/null
+++ b/srcpkgs/libvips
@@ -0,0 +1 @@
+vips
\ No newline at end of file
diff --git a/srcpkgs/libvips-devel b/srcpkgs/libvips-devel
new file mode 120000
index 00000000000..6faa116eb8a
--- /dev/null
+++ b/srcpkgs/libvips-devel
@@ -0,0 +1 @@
+vips
\ No newline at end of file
diff --git a/srcpkgs/libvips-doc b/srcpkgs/libvips-doc
new file mode 120000
index 00000000000..6faa116eb8a
--- /dev/null
+++ b/srcpkgs/libvips-doc
@@ -0,0 +1 @@
+vips
\ No newline at end of file
diff --git a/srcpkgs/vips/template b/srcpkgs/vips/template
new file mode 100644
index 00000000000..adc4e7588ab
--- /dev/null
+++ b/srcpkgs/vips/template
@@ -0,0 +1,72 @@
+# Template file for 'vips'
+pkgname=vips
+version=8.9.2
+revision=1
+build_style=gnu-configure
+build_helper=gir
+configure_args="--enable-introspection=$(vopt_if gir yes no)"
+hostmakedepends="pkgconf"
+makedepends="
+ $(vopt_if hdf5 hdf5-devel)
+ $(vopt_if hdf5 matio-devel)
+ cfitsio-devel
+ expat-devel
+ fftw-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
+ orc-devel
+ poppler-glib-devel
+ tiff-devel
+"
+short_desc="Fast image processing with low memory needs"
+maintainer="Isaac Freund <ifreund@ifreund.xyz>"
+license="LGPL-2.1-or-later"
+homepage="https://libvips.github.io/libvips/"
+distfiles="https://github.com/libvips/libvips/releases/download/v${version}/vips-${version}.tar.gz"
+checksum=ae8491b1156cd2eb9cbbaa2fd6caa1dc9ed3ded0b70443d28cd7fea798ab2a27
+python_version=3
+
+build_options="gir hdf5"
+build_options_default="gir"
+desc_option_gir="GObject introspection"
+desc_option_hdf5="HDF5 support"
+
+if [ -z "$CROSS_BUILD" ]; then
+	build_options_default+=" hdf5"
+fi
+
+libvips_package() {
+	short_desc+=" - library"
+	pkg_install() {
+		vmove "usr/lib/*.so.*"
+	}
+}
+
+libvips-devel_package() {
+	depends="${makedepends} ${sourcepkg}-${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/*.so"
+	}
+}
+
+libvips-doc_package() {
+	archs=noarch
+	short_desc+=" - documentation"
+	pkg_install() {
+		vmove usr/share/gtk-doc
+	}
+}

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

* Re: New package: libvips-8.9.2
  2020-05-07  8:57 [PR PATCH] New package: libvips-8.9.2 ifreund
                   ` (18 preceding siblings ...)
  2020-05-14 20:46 ` [PR PATCH] [Closed]: " Chocimier
@ 2020-05-14 20:46 ` Chocimier
  2020-05-14 20:53 ` ifreund
  20 siblings, 0 replies; 22+ messages in thread
From: Chocimier @ 2020-05-14 20:46 UTC (permalink / raw)
  To: ml

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

New comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/21715#issuecomment-628877706

Comment:
Pushed with gir files moved to appropriate packages and removed gir option description, as this has default. Thanks!

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

* Re: [PR PATCH] [Closed]: New package: libvips-8.9.2
  2020-05-07  8:57 [PR PATCH] New package: libvips-8.9.2 ifreund
                   ` (17 preceding siblings ...)
  2020-05-12 20:38 ` [PR PATCH] [Updated] " ifreund
@ 2020-05-14 20:46 ` Chocimier
  2020-05-14 20:46 ` Chocimier
  2020-05-14 20:53 ` ifreund
  20 siblings, 0 replies; 22+ messages in thread
From: Chocimier @ 2020-05-14 20:46 UTC (permalink / raw)
  To: ml

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

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

New package: libvips-8.9.2
https://github.com/void-linux/void-packages/pull/21715

Description:
Also added `libmatio.so.9` to `commom/shlibs` as it was missing and
required for this package.

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

* Re: New package: libvips-8.9.2
  2020-05-07  8:57 [PR PATCH] New package: libvips-8.9.2 ifreund
                   ` (19 preceding siblings ...)
  2020-05-14 20:46 ` Chocimier
@ 2020-05-14 20:53 ` ifreund
  20 siblings, 0 replies; 22+ messages in thread
From: ifreund @ 2020-05-14 20:53 UTC (permalink / raw)
  To: ml

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

New comment by ifreund on void-packages repository

https://github.com/void-linux/void-packages/pull/21715#issuecomment-628881150

Comment:
Wonderful, thanks!

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

end of thread, other threads:[~2020-05-14 20:53 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-07  8:57 [PR PATCH] New package: libvips-8.9.2 ifreund
2020-05-07 19:41 ` [PR PATCH] [Updated] " ifreund
2020-05-07 19:45 ` ifreund
2020-05-08  9:04 ` ifreund
2020-05-08 17:55 ` Chocimier
2020-05-08 19:02 ` [PR PATCH] [Updated] " ifreund
2020-05-08 19:04 ` ifreund
2020-05-08 19:16 ` Chocimier
2020-05-08 19:17 ` ifreund
2020-05-08 19:18 ` ifreund
2020-05-08 21:48 ` [PR PATCH] [Updated] " ifreund
2020-05-08 21:48 ` ifreund
2020-05-08 22:36 ` [PR PATCH] [Updated] " ifreund
2020-05-10 23:20 ` ifreund
2020-05-11  0:24 ` ifreund
2020-05-11 21:19 ` Chocimier
2020-05-11 22:39 ` [PR PATCH] [Updated] " ifreund
2020-05-11 22:42 ` ifreund
2020-05-12 20:38 ` [PR PATCH] [Updated] " ifreund
2020-05-14 20:46 ` [PR PATCH] [Closed]: " Chocimier
2020-05-14 20:46 ` Chocimier
2020-05-14 20:53 ` ifreund

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