Github messages for voidlinux
 help / color / mirror / Atom feed
From: tibequadorian <tibequadorian@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New packages: OpenEXR 3.1.5 + Imath 3.1.6
Date: Fri, 25 Nov 2022 11:24:10 +0100	[thread overview]
Message-ID: <20221125102410.3h8WeFVhS6rWKEpGmjE9QRNcB3o2r9mp1ez8YvmaQd4@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-40753@inbox.vuxu.org>

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

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

https://github.com/tibequadorian/void-packages openexr3
https://github.com/void-linux/void-packages/pull/40753

New packages: OpenEXR 3.1.5 + Imath 3.1.6
<!-- Uncomment relevant sections and delete options which are not applicable -->

Continuation of #36361. I thought maybe it's easier to add these as new packages first and update revdeps individually then remove old openexr/ilmbase packages.

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

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

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
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/40753.patch is attached

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

From 8245443c70618df7230237537377bd6eea6d6a88 Mon Sep 17 00:00:00 2001
From: tibequadorian <tibequadorian@posteo.de>
Date: Fri, 25 Nov 2022 10:50:17 +0100
Subject: [PATCH 1/2] New package: Imath-3.1.6

---
 common/shlibs          |  1 +
 srcpkgs/Imath-devel    |  1 +
 srcpkgs/Imath/template | 31 +++++++++++++++++++++++++++++++
 3 files changed, 33 insertions(+)
 create mode 120000 srcpkgs/Imath-devel
 create mode 100644 srcpkgs/Imath/template

diff --git a/common/shlibs b/common/shlibs
index 61f21bc3b94e..63698adcbe0f 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1699,6 +1699,7 @@ libIex-2_4.so.24 ilmbase-2.4.0_1
 libIexMath-2_4.so.24 ilmbase-2.4.0_1
 libImath-2_4.so.24 ilmbase-2.4.0_1
 libIlmThread-2_4.so.24 ilmbase-2.4.0_1
+libImath-3_1.so.29 Imath-3.1.6_1
 libIlmImf-2_4.so.24 libopenexr-2.4.0_1
 libIlmImfUtil-2_4.so.24 libopenexr-2.4.0_1
 libGraphicsMagick.so.3 libgraphicsmagick-1.3.19_1
diff --git a/srcpkgs/Imath-devel b/srcpkgs/Imath-devel
new file mode 120000
index 000000000000..5f0c79e78775
--- /dev/null
+++ b/srcpkgs/Imath-devel
@@ -0,0 +1 @@
+Imath
\ No newline at end of file
diff --git a/srcpkgs/Imath/template b/srcpkgs/Imath/template
new file mode 100644
index 000000000000..ab5968b3817f
--- /dev/null
+++ b/srcpkgs/Imath/template
@@ -0,0 +1,31 @@
+# Template file for 'Imath'
+pkgname=Imath
+version=3.1.6
+revision=1
+build_style=cmake
+short_desc="Library of vector, matrix, and math operations for computer graphics"
+maintainer="tibequadorian <tibequadorian@posteo.de>"
+license="BSD-3-Clause"
+homepage="https://github.com/AcademySoftwareFoundation/Imath"
+distfiles="https://github.com/AcademySoftwareFoundation/Imath/archive/refs/tags/v${version}.tar.gz"
+checksum=ea5592230f5ab917bea3ceab266cf38eb4aa4a523078d46eac0f5a89c52304db
+
+if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
+	# https://github.com/AcademySoftwareFoundation/Imath/issues/151
+	make_check=no
+fi
+
+post_install() {
+	vlicense LICENSE.md
+}
+
+Imath-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/cmake
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+	}
+}

From 7a865df03801ba82afc5fe27841cc531e452cd33 Mon Sep 17 00:00:00 2001
From: tibequadorian <tibequadorian@posteo.de>
Date: Fri, 25 Nov 2022 11:03:46 +0100
Subject: [PATCH 2/2] New package: openexr3-3.1.5

---
 common/shlibs             |  5 +++++
 srcpkgs/openexr3-devel    |  1 +
 srcpkgs/openexr3-tools    |  1 +
 srcpkgs/openexr3/template | 36 ++++++++++++++++++++++++++++++++++++
 4 files changed, 43 insertions(+)
 create mode 120000 srcpkgs/openexr3-devel
 create mode 120000 srcpkgs/openexr3-tools
 create mode 100644 srcpkgs/openexr3/template

diff --git a/common/shlibs b/common/shlibs
index 63698adcbe0f..4ded02175e47 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1702,6 +1702,11 @@ libIlmThread-2_4.so.24 ilmbase-2.4.0_1
 libImath-3_1.so.29 Imath-3.1.6_1
 libIlmImf-2_4.so.24 libopenexr-2.4.0_1
 libIlmImfUtil-2_4.so.24 libopenexr-2.4.0_1
+libOpenEXRUtil-3_1.so.30 openexr3-3.1.5_1
+libOpenEXRCore-3_1.so.30 openexr3-3.1.5_1
+libOpenEXR-3_1.so.30 openexr3-3.1.5_1
+libIlmThread-3_1.so.30 openexr3-3.1.5_1
+libIex-3_1.so.30 openexr3-3.1.5_1
 libGraphicsMagick.so.3 libgraphicsmagick-1.3.19_1
 libGraphicsMagick++.so.12 libgraphicsmagick-1.3.22_1
 libGraphicsMagickWand.so.2 libgraphicsmagick-1.3.19_1
diff --git a/srcpkgs/openexr3-devel b/srcpkgs/openexr3-devel
new file mode 120000
index 000000000000..eb731147eee8
--- /dev/null
+++ b/srcpkgs/openexr3-devel
@@ -0,0 +1 @@
+openexr3
\ No newline at end of file
diff --git a/srcpkgs/openexr3-tools b/srcpkgs/openexr3-tools
new file mode 120000
index 000000000000..eb731147eee8
--- /dev/null
+++ b/srcpkgs/openexr3-tools
@@ -0,0 +1 @@
+openexr3
\ No newline at end of file
diff --git a/srcpkgs/openexr3/template b/srcpkgs/openexr3/template
new file mode 100644
index 000000000000..61c70fc97080
--- /dev/null
+++ b/srcpkgs/openexr3/template
@@ -0,0 +1,36 @@
+# Template file for 'openexr3'
+pkgname=openexr3
+version=3.1.5
+revision=1
+build_style=cmake
+makedepends="zlib-devel Imath-devel"
+short_desc="Reference implementation of the EXR file format"
+maintainer="tibequadorian <tibequadorian@posteo.de>"
+license="BSD-3-Clause"
+homepage="https://github.com/AcademySoftwareFoundation/openexr"
+distfiles="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/v${version}.tar.gz"
+checksum=93925805c1fc4f8162b35f0ae109c4a75344e6decae5a240afdfce25f8a433ec
+
+post_install() {
+	vlicense LICENSE.md
+}
+
+openexr3-tools_package() {
+	short_desc+=" - tools"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/bin
+	}
+}
+
+openexr3-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision} $makedepends"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/cmake
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove usr/share/doc
+	}
+}

  reply	other threads:[~2022-11-25 10:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-25 10:16 [PR PATCH] " tibequadorian
2022-11-25 10:24 ` tibequadorian [this message]
2022-11-26 10:11 ` [PR PATCH] [Closed]: " tibequadorian

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221125102410.3h8WeFVhS6rWKEpGmjE9QRNcB3o2r9mp1ez8YvmaQd4@z \
    --to=tibequadorian@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).