[arch-commits] Commit in povray/repos/community-testing-x86_64 (4 files)

Alexander Rødseth arodseth at gemini.archlinux.org
Thu Jul 15 19:39:36 UTC 2021


    Date: Thursday, July 15, 2021 @ 19:39:36
  Author: arodseth
Revision: 977449

archrelease: copy trunk to community-testing-x86_64

Added:
  povray/repos/community-testing-x86_64/PKGBUILD
    (from rev 977448, povray/trunk/PKGBUILD)
  povray/repos/community-testing-x86_64/povray-openexr3.patch
    (from rev 977448, povray/trunk/povray-openexr3.patch)
Deleted:
  povray/repos/community-testing-x86_64/PKGBUILD
  povray/repos/community-testing-x86_64/povray-openexr3.patch

-----------------------+
 PKGBUILD              |  121 +++++++++++++++++++++-----------------------
 povray-openexr3.patch |  130 ++++++++++++++++++++++++------------------------
 2 files changed, 123 insertions(+), 128 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-07-15 19:39:29 UTC (rev 977448)
+++ PKGBUILD	2021-07-15 19:39:36 UTC (rev 977449)
@@ -1,63 +0,0 @@
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
-# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
-# Contributor: tobias <tobias at archlinux.org>
-# Contributor: red_over_blue
-# Contributor: neri
-
-pkgname=povray
-pkgver=3.7.0.9
-_v=${pkgver%.*.*} # 3.7
-pkgrel=3
-epoch=2
-pkgdesc='Script based raytracer for creating 3D graphics'
-arch=('x86_64')
-license=('AGPL3')
-url='http://povray.org/' # bad https cert
-depends=('boost-libs' 'libpng' 'libtiff' 'openexr')
-makedepends=('boost' 'git' 'glu')
-backup=("etc/povray/$_v/povray.conf"
-        "etc/povray/$_v/povray.ini")
-source=("$pkgname-$pkgver.tar.gz::https://github.com/POV-Ray/povray/archive/v$pkgver.tar.gz"
-         povray-openexr3.patch)
-sha512sums=('14c5f6b477721afe14d0ee7c5b8945ade4e74eb1fcfc36e7113d1280b8bb71d08cc214a95377e98d00bacf74fb344a4756257c677c7a3cd943ad1f31c3bac6c4'
-            '1af541eea5e6371c5c9fb64b622be44b1f3eeb12c0a28280116da10eff50d1010bd3ea738f2d81c394e7aed7bc37fedb106bd70b435965c761ae50c2454eee6e')
-
-prepare() {
-  cd "$pkgname-$pkgver"
-  patch -p1 < "$srcdir"/povray-openexr3.patch # Fix build with OpenEXR 3
-
-  cd unix
-  sed 's/automake --w/automake --add-missing --w/g' -i prebuild.sh
-  sed 's/dist-bzip2/dist-bzip2 subdir-objects/g' -i configure.ac
-  ./prebuild.sh
-
-  cd ..
-  ./bootstrap
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-
-  ./configure \
-    LIBS="-lboost_system -lboost_thread" \
-    COMPILED_BY='Arch Linux' \
-    --sysconfdir=/etc \
-    --prefix=/usr
-
-  make CXXFLAGS+="-std=c++11 -lboost_system -lboost_thread -w"
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-
-  install -d "$pkgdir"/usr/share/{doc/,}"$pkgname-$_v"
-  cp -r icons include ini scenes scripts "$pkgdir/usr/share/$pkgname-$_v"
-  cp -r doc "$pkgdir/usr/share/doc/$pkgname-$_v"
-  install -Dm755 unix/povray "$pkgdir/usr/bin/povray"
-  install -Dm644 povray.conf "$pkgdir/etc/povray/$_v/povray.conf"
-  install -Dm644 povray.ini "$pkgdir/etc/povray/$_v/povray.ini"
-  install -Dm644 povray.1 "$pkgdir/usr/share/man/man1/povray.1"
-}
-
-# getver: povray.org/documentation
-# vim:set ts=2 sw=2 et:

Copied: povray/repos/community-testing-x86_64/PKGBUILD (from rev 977448, povray/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-07-15 19:39:36 UTC (rev 977449)
@@ -0,0 +1,58 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+# Contributor: tobias <tobias at archlinux.org>
+# Contributor: red_over_blue
+# Contributor: neri
+
+pkgname=povray
+epoch=2
+pkgver=3.7.0.9
+pkgrel=5
+_v=${pkgver%.*.*} # 3.7
+pkgdesc='Script based raytracer for creating 3D graphics'
+arch=(x86_64)
+license=(AGPL3)
+url='https://povray.org/'
+depends=(boost-libs 'imath=3.1.0' libpng libtiff 'openexr=3.0.5-2')
+makedepends=(boost git glu)
+backup=(etc/povray/$_v/povray.conf
+        etc/povray/$_v/povray.ini)
+source=("$pkgname-$pkgver.tar.gz::https://github.com/POV-Ray/povray/archive/v$pkgver.tar.gz"
+        povray-openexr3.patch)
+b2sums=('42772b8b055e77c3469312a8a1833c4ca79943ac49f59f6b18c2f8ad41e865d65f8ceb52f228628f26d4f653ec27f85264929cafdb753686e86c5f6fac4675cf'
+        '3c9623a12fff3c568e61f29685069a9c92197f13b7e30b8cbf33eb2591a9d28475f95b35089546f21c818d5f567b347c799fa9c04e667aa0512b8785f2070d03')
+
+prepare() {
+  cd $pkgname-$pkgver
+  rm -frv libraries/ilmbase/Imath
+  patch -p1 < "$srcdir/povray-openexr3.patch"
+  cd unix
+  sed 's/automake --w/automake --add-missing --w/g' -i prebuild.sh
+  sed 's/dist-bzip2/dist-bzip2 subdir-objects/g' -i configure.ac
+  ./prebuild.sh
+  cd ..
+  ./bootstrap
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure \
+    LIBS="-lboost_system -lboost_thread" \
+    COMPILED_BY='Arch Linux' \
+    --prefix=/usr \
+    --sysconfdir=/etc
+  make CXXFLAGS+='-std=c++11 -lboost_system -lboost_thread -w'
+}
+
+package() {
+  cd $pkgname-$pkgver
+  install -d "$pkgdir"/usr/share/{doc/,}"$pkgname-$_v"
+  cp -r icons include ini scenes scripts "$pkgdir/usr/share/$pkgname-$_v"
+  cp -r doc "$pkgdir/usr/share/doc/$pkgname-$_v"
+  install -Dm755 unix/povray "$pkgdir/usr/bin/povray"
+  install -Dm644 povray.conf "$pkgdir/etc/povray/$_v/povray.conf"
+  install -Dm644 povray.ini "$pkgdir/etc/povray/$_v/povray.ini"
+  install -Dm644 povray.1 "$pkgdir/usr/share/man/man1/povray.1"
+}
+
+# getver: povray.org/documentation

Deleted: povray-openexr3.patch
===================================================================
--- povray-openexr3.patch	2021-07-15 19:39:29 UTC (rev 977448)
+++ povray-openexr3.patch	2021-07-15 19:39:36 UTC (rev 977449)
@@ -1,65 +0,0 @@
-diff --git a/source/backend/povray.cpp b/source/backend/povray.cpp
-index 7692eff8..7b8bb463 100644
---- a/source/backend/povray.cpp
-+++ b/source/backend/povray.cpp
-@@ -68,7 +68,6 @@
- 		extern "C" const char* TIFFGetVersion(void);
- 	#endif
-     #ifndef OPENEXR_MISSING
--        #include <IlmBaseConfig.h>
-         #include <OpenEXRConfig.h>
-         // NOTE:
-         //  Versions of OpenEXR and IlmImf prior to 1.7.1 do not seem to have a way to get the version number,
-diff --git a/source/base/image/openexr.cpp b/source/base/image/openexr.cpp
-index 5050a897..40002b8f 100644
---- a/source/base/image/openexr.cpp
-+++ b/source/base/image/openexr.cpp
-@@ -105,7 +105,7 @@ class POV_EXR_OStream : public Imf::OStream
- 				throw POV_EXCEPTION(kFileDataErr, "Error while writing EXR output");
- 		}
- 
--		Int64 tellp()
-+		uint64_t tellp()
- 		{
- 			unsigned long pos = os.tellg();
- 			if((int) pos == -1)
-@@ -113,7 +113,7 @@ class POV_EXR_OStream : public Imf::OStream
- 			return(pos);
- 		}
- 
--		void seekp(Int64 pos)
-+		void seekp(uint64_t pos)
- 		{
- 			if(!os.seekg((unsigned long)pos))
- 				throw POV_EXCEPTION(kFileDataErr, "Error when writing EXR output");
-@@ -147,7 +147,7 @@ class POV_EXR_IStream : public Imf::IStream
- 			return (is.tellg() < fsize);
- 		}
- 
--		Int64 tellg()
-+		uint64_t tellg()
- 		{
- 			unsigned long pos = is.tellg();
- 			if((int)pos == -1)
-@@ -155,7 +155,7 @@ class POV_EXR_IStream : public Imf::IStream
- 			return pos;
- 		}
- 
--		void seekg(Int64 pos)
-+		void seekg(uint64_t pos)
- 		{
- 			if(!is.seekg((unsigned long)pos))
- 				throw POV_EXCEPTION(kFileDataErr, "Error while reading EXR file");
-diff --git a/unix/config/ax_check_openexr.m4 b/unix/config/ax_check_openexr.m4
-index 69a2cb64..40ce88bc 100644
---- a/unix/config/ax_check_openexr.m4
-+++ b/unix/config/ax_check_openexr.m4
-@@ -56,7 +56,7 @@ AC_DEFUN([AX_CHECK_OPENEXR],
-       # check include file
-       AC_CHECK_HEADER(
-         [OpenEXR/ImfCRgbaFile.h],
--        [AC_CHECK_LIB([IlmImf], [ImfInputReadPixels], [], [ax_check_openexr="not found"])],
-+        [AC_CHECK_LIB([OpenEXR], [ImfInputReadPixels], [], [ax_check_openexr="not found"])],
-         [ax_check_openexr="no headers"]
-       )
-     fi

Copied: povray/repos/community-testing-x86_64/povray-openexr3.patch (from rev 977448, povray/trunk/povray-openexr3.patch)
===================================================================
--- povray-openexr3.patch	                        (rev 0)
+++ povray-openexr3.patch	2021-07-15 19:39:36 UTC (rev 977449)
@@ -0,0 +1,65 @@
+diff --git a/source/backend/povray.cpp b/source/backend/povray.cpp
+index 7692eff8..7b8bb463 100644
+--- a/source/backend/povray.cpp
++++ b/source/backend/povray.cpp
+@@ -68,7 +68,6 @@
+ 		extern "C" const char* TIFFGetVersion(void);
+ 	#endif
+     #ifndef OPENEXR_MISSING
+-        #include <IlmBaseConfig.h>
+         #include <OpenEXRConfig.h>
+         // NOTE:
+         //  Versions of OpenEXR and IlmImf prior to 1.7.1 do not seem to have a way to get the version number,
+diff --git a/source/base/image/openexr.cpp b/source/base/image/openexr.cpp
+index 5050a897..40002b8f 100644
+--- a/source/base/image/openexr.cpp
++++ b/source/base/image/openexr.cpp
+@@ -105,7 +105,7 @@ class POV_EXR_OStream : public Imf::OStream
+ 				throw POV_EXCEPTION(kFileDataErr, "Error while writing EXR output");
+ 		}
+ 
+-		Int64 tellp()
++		uint64_t tellp()
+ 		{
+ 			unsigned long pos = os.tellg();
+ 			if((int) pos == -1)
+@@ -113,7 +113,7 @@ class POV_EXR_OStream : public Imf::OStream
+ 			return(pos);
+ 		}
+ 
+-		void seekp(Int64 pos)
++		void seekp(uint64_t pos)
+ 		{
+ 			if(!os.seekg((unsigned long)pos))
+ 				throw POV_EXCEPTION(kFileDataErr, "Error when writing EXR output");
+@@ -147,7 +147,7 @@ class POV_EXR_IStream : public Imf::IStream
+ 			return (is.tellg() < fsize);
+ 		}
+ 
+-		Int64 tellg()
++		uint64_t tellg()
+ 		{
+ 			unsigned long pos = is.tellg();
+ 			if((int)pos == -1)
+@@ -155,7 +155,7 @@ class POV_EXR_IStream : public Imf::IStream
+ 			return pos;
+ 		}
+ 
+-		void seekg(Int64 pos)
++		void seekg(uint64_t pos)
+ 		{
+ 			if(!is.seekg((unsigned long)pos))
+ 				throw POV_EXCEPTION(kFileDataErr, "Error while reading EXR file");
+diff --git a/unix/config/ax_check_openexr.m4 b/unix/config/ax_check_openexr.m4
+index 69a2cb64..40ce88bc 100644
+--- a/unix/config/ax_check_openexr.m4
++++ b/unix/config/ax_check_openexr.m4
+@@ -56,7 +56,7 @@ AC_DEFUN([AX_CHECK_OPENEXR],
+       # check include file
+       AC_CHECK_HEADER(
+         [OpenEXR/ImfCRgbaFile.h],
+-        [AC_CHECK_LIB([IlmImf], [ImfInputReadPixels], [], [ax_check_openexr="not found"])],
++        [AC_CHECK_LIB([OpenEXR], [ImfInputReadPixels], [], [ax_check_openexr="not found"])],
+         [ax_check_openexr="no headers"]
+       )
+     fi




More information about the arch-commits mailing list