pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics ilmbase/openexr: updated to 2.3.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e6910480860a
branches:  trunk
changeset: 313540:e6910480860a
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Oct 02 12:05:35 2018 +0000

description:
ilmbase/openexr: updated to 2.3.0

OpenEXR v2.3.0 has been released and is available for download.

Features/Improvements:
ThreadPool overhead improvements, enable custom thread pool to be registered via ThreadPoolProvider class
Fixes to enable custom namespaces for Iex, Imf
Improve read performance for deep/zipped data, and SIMD-accelerated uncompress support
Added rawPixelDataToBuffer() function for access to compressed scanlines
Iex::BaseExc no longer derived from std::string.
Imath throw() specifiers removed
Initial Support for Python 3

Bugs:
25+ various bug fixes (see detailed Release Notes for the full list)

Build Fixes:
Various fixes to the cmake and autoconf build infrastructures
Various changes to support compiling for C++11 / C++14 / C++17 and GCC 6.3.1
Various fixes to address Windows build issues
60+ total build-related fixes (see detailed Release Notes for the full list)

diffstat:

 graphics/ilmbase/Makefile                                 |    8 +-
 graphics/ilmbase/distinfo                                 |   14 +-
 graphics/ilmbase/patches/patch-aa                         |   15 -
 graphics/ilmbase/patches/patch-ab                         |   70 --------
 graphics/ilmbase/patches/patch-bootstrap                  |   15 +
 graphics/ilmbase/patches/patch-configure                  |  121 ++++++++++++++
 graphics/openexr/Makefile                                 |    7 +-
 graphics/openexr/PLIST                                    |   47 ++--
 graphics/openexr/distinfo                                 |   18 +-
 graphics/openexr/patches/patch-IlmImf_ImfFastHuf.cpp      |   51 -----
 graphics/openexr/patches/patch-IlmImf_ImfSystemSpecific.h |   21 +-
 graphics/openexr/patches/patch-IlmImf_dwaLookups.cpp      |   12 -
 graphics/openexr/patches/patch-aa                         |  102 -----------
 graphics/openexr/patches/patch-ab                         |   15 -
 graphics/openexr/patches/patch-bootstrap                  |   15 +
 graphics/openexr/patches/patch-configure                  |  119 +++++++++++++
 16 files changed, 326 insertions(+), 324 deletions(-)

diffs (truncated from 751 to 300 lines):

diff -r 099d18ec2132 -r e6910480860a graphics/ilmbase/Makefile
--- a/graphics/ilmbase/Makefile Tue Oct 02 11:29:27 2018 +0000
+++ b/graphics/ilmbase/Makefile Tue Oct 02 12:05:35 2018 +0000
@@ -1,8 +1,10 @@
-# $NetBSD: Makefile,v 1.19 2018/01/10 10:10:10 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2018/10/02 12:05:35 adam Exp $
 
-DISTNAME=      ilmbase-2.2.1
+DISTNAME=      ilmbase-2.3.0
 CATEGORIES=    graphics
-MASTER_SITES=  http://download.savannah.nongnu.org/releases/openexr/
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=openexr/}
+GITHUB_PROJECT=        openexr
+GITHUB_RELEASE=        v${PKGVERSION_NOREV}
 
 MAINTAINER=    adam%NetBSD.org@localhost
 HOMEPAGE=      http://www.openexr.com/
diff -r 099d18ec2132 -r e6910480860a graphics/ilmbase/distinfo
--- a/graphics/ilmbase/distinfo Tue Oct 02 11:29:27 2018 +0000
+++ b/graphics/ilmbase/distinfo Tue Oct 02 12:05:35 2018 +0000
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.15 2018/01/10 10:10:10 wiz Exp $
+$NetBSD: distinfo,v 1.16 2018/10/02 12:05:35 adam Exp $
 
-SHA1 (ilmbase-2.2.1.tar.gz) = 87df9e235eff0d10e171f15ad0e63cba05e16bce
-RMD160 (ilmbase-2.2.1.tar.gz) = 0abe57b5c8a82e20be500a490d335816f654625c
-SHA512 (ilmbase-2.2.1.tar.gz) = a08ddd9069b34a93612445a445a2ddf80c0e22349bcf221a3cc6e9f5575180b08a8b597009dacabf072360e7162e15964988bc79e8ec82cf3da6507148a75320
-Size (ilmbase-2.2.1.tar.gz) = 573073 bytes
+SHA1 (ilmbase-2.3.0.tar.gz) = 1cddb28b14b60025b1e1604d5616540ed038cb16
+RMD160 (ilmbase-2.3.0.tar.gz) = bd60ebfdc114e186db87f8c8b92c4f031b17e0d9
+SHA512 (ilmbase-2.3.0.tar.gz) = db0804a7c37c2a97f9dbf81b20f40f7fdea73242baa2759d9dc3728e6849e7ecae0e178fa1c710add980d050499151650675e4b2cda6cbbaa61aca406a1f929a
+Size (ilmbase-2.3.0.tar.gz) = 595490 bytes
 SHA1 (patch-Iex_IexBaseExc.cpp) = 5bf551e1eacffa8dc3ec1c5643e5bfd5f8fc5701
 SHA1 (patch-Iex_IexThrowErrnoExc.cpp) = 1a4206619320a2a95378b7c2db14fde20b0ffd71
 SHA1 (patch-Imath_ImathFun.h) = 79ab60ada8cecd52e5b16fadbded82492d79a1df
-SHA1 (patch-aa) = 97e7c7347cc6b4f3e11e7d0692c78b7322e06a7f
-SHA1 (patch-ab) = 75ee78ef689728ad748fd873c7ef1882f95a4639
+SHA1 (patch-bootstrap) = 16e655c408fdb0d275d8da8f77b83cebca132637
+SHA1 (patch-configure) = 5f20c43310a099b3ce888db7f39cdc33127b4d24
diff -r 099d18ec2132 -r e6910480860a graphics/ilmbase/patches/patch-aa
--- a/graphics/ilmbase/patches/patch-aa Tue Oct 02 11:29:27 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-aa,v 1.3 2013/12/09 11:39:20 adam Exp $
-
-Shell portability fix: see https://savannah.nongnu.org/bugs/index.php?22222
-
---- bootstrap.orig     2013-11-12 17:26:32.000000000 +0000
-+++ bootstrap
-@@ -1,7 +1,7 @@
- #! /bin/sh
- # If we're on OS X, use glibtoolize instead of toolize when available
- HOSTTYPE=`uname`
--if [ "$HOSTTYPE" == "Darwin" ] && $(which glibtoolize > /dev/null 2>&1) ; then
-+if [ "$HOSTTYPE" = "Darwin" ] && $(which glibtoolize > /dev/null 2>&1) ; then
-         LIBTOOLIZE=glibtoolize
- else
-         LIBTOOLIZE=libtoolize
diff -r 099d18ec2132 -r e6910480860a graphics/ilmbase/patches/patch-ab
--- a/graphics/ilmbase/patches/patch-ab Tue Oct 02 11:29:27 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,70 +0,0 @@
-$NetBSD: patch-ab,v 1.6 2018/01/10 10:10:10 wiz Exp $
-
-Disable ucontext.h detection, which leads to problems on some platforms.
-Disable univeral binary build on Mac OS X.
-
---- configure.orig     2017-11-17 23:05:28.000000000 +0000
-+++ configure
-@@ -15851,7 +15851,7 @@ $as_echo "#define STDC_HEADERS 1" >>conf
- 
- fi
- 
--for ac_header in limits.h unistd.h ucontext.h
-+for ac_header in limits.h unistd.h
- do :
-   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
- ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
-@@ -16172,7 +16172,7 @@ LIB_SUFFIX=""
- lib_suffix_valid="no"
- 
- lib_namespace=""
--if test "x${library_namespace_versioning}" == xyes ; then
-+if test "x${library_namespace_versioning}" = xyes ; then
-     cat >>confdefs.h <<_ACEOF
- #define IMATH_INTERNAL_NAMESPACE Imath_${ILMBASE_VERSION_API}
- _ACEOF
-@@ -16191,7 +16191,7 @@ _ACEOF
-     lib_namespace="${ILMBASE_VERSION_API}"
-     LIB_SUFFIX="${ILMBASE_VERSION_API}"
-     lib_suffix_valid="yes"
--elif test "x${library_namespace_versioning}" == xno ; then
-+elif test "x${library_namespace_versioning}" = xno ; then
-     cat >>confdefs.h <<_ACEOF
- #define IMATH_INTERNAL_NAMESPACE Imath
- _ACEOF
-@@ -16227,7 +16227,7 @@ _ACEOF
- fi
- 
- 
--if test "x${lib_suffix_valid}" == xyes ; then
-+if test "x${lib_suffix_valid}" = xyes ; then
- LIB_SUFFIX_DASH="-${LIB_SUFFIX}"
- 
-  if true; then
-@@ -16262,7 +16262,7 @@ else
- fi
- 
- 
--if test "x${custom_public_namespace}" == xyes ; then
-+if test "x${custom_public_namespace}" = xyes ; then
-     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enabling 'custom user namespace' requires an additional argument, reverting to default" >&5
- $as_echo "$as_me: WARNING: Enabling 'custom user namespace' requires an additional argument, reverting to default" >&2;}
-     $as_echo "#define IMATH_NAMESPACE Imath" >>confdefs.h
-@@ -16274,7 +16274,7 @@ $as_echo "$as_me: WARNING: Enabling 'cus
- 
-     public_namespace=""
-     custom_public_namespace=no
--elif test "x${custom_public_namespace}" == xno ; then
-+elif test "x${custom_public_namespace}" = xno ; then
-     $as_echo "#define IMATH_NAMESPACE Imath" >>confdefs.h
- 
-     $as_echo "#define IEX_NAMESPACE Iex" >>confdefs.h
-@@ -16315,7 +16315,7 @@ else
- fi
- 
- 
--  if test "${osx_arch}" != default ; then
-+  if false ; then
-           osx_arch_flags="-arch ${osx_arch// / -arch }"
-      CXXFLAGS="$CXXFLAGS $osx_arch_flags"
- 
diff -r 099d18ec2132 -r e6910480860a graphics/ilmbase/patches/patch-bootstrap
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/ilmbase/patches/patch-bootstrap  Tue Oct 02 12:05:35 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-bootstrap,v 1.1 2018/10/02 12:05:35 adam Exp $
+
+Portability fix.
+
+--- bootstrap.orig     2018-08-10 01:34:57.000000000 +0000
++++ bootstrap
+@@ -1,7 +1,7 @@
+ #!/bin/bash
+ # If we're on OS X, use glibtoolize instead of toolize when available
+ HOSTTYPE=`uname`
+-if [ "$HOSTTYPE" == "Darwin" ] && $(which glibtoolize > /dev/null 2>&1) ; then
++if [ "$HOSTTYPE" = "Darwin" ] && $(which glibtoolize > /dev/null 2>&1) ; then
+         LIBTOOLIZE=glibtoolize
+ else
+         LIBTOOLIZE=libtoolize
diff -r 099d18ec2132 -r e6910480860a graphics/ilmbase/patches/patch-configure
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/ilmbase/patches/patch-configure  Tue Oct 02 12:05:35 2018 +0000
@@ -0,0 +1,121 @@
+$NetBSD: patch-configure,v 1.1 2018/10/02 12:05:35 adam Exp $
+
+Portablity fixes.
+Disable ucontext.h detection, which leads to problems on some platforms.
+Disable univeral binary build on Mac OS X.
+
+--- configure.orig     2018-08-10 01:35:09.000000000 +0000
++++ configure
+@@ -15253,7 +15253,7 @@ else
+ fi
+ 
+ 
+-if test "${cxxstd}" == 17 ; then
++if test "${cxxstd}" = 17 ; then
+       ax_cxx_compile_alternatives="17 1z"    ax_cxx_compile_cxx17_required=true
+   ac_ext=cpp
+ ac_cpp='$CXXCPP $CPPFLAGS'
+@@ -16966,7 +16966,7 @@ $as_echo "$as_me: WARNING: C++17 is not 
+ 
+       CXXFLAGS="$CXXFLAGS -std=c++17"
+ else
+-  if test "${cxxstd}" == 14 ; then
++  if test "${cxxstd}" = 14 ; then
+         ax_cxx_compile_alternatives="14 1y"    ax_cxx_compile_cxx14_required=true
+   ac_ext=cpp
+ ac_cpp='$CXXCPP $CPPFLAGS'
+@@ -17874,7 +17874,7 @@ $as_echo "#define HAVE_CXX14 1" >>confde
+ 
+       CXXFLAGS="$CXXFLAGS -std=c++14"
+   else
+-    if test "${cxxstd}" == 11 ; then
++    if test "${cxxstd}" = 11 ; then
+         ax_cxx_compile_alternatives="11 0x"    ax_cxx_compile_cxx11_required=true
+   ac_ext=cpp
+ ac_cpp='$CXXCPP $CPPFLAGS'
+@@ -18542,7 +18542,7 @@ $as_echo "#define HAVE_CXX11 1" >>confde
+ 
+       CXXFLAGS="$CXXFLAGS -std=c++11"
+     else
+-      if test "${cxxstd}" == 03 ; then
++      if test "${cxxstd}" = 03 ; then
+         $as_echo "#define ILMBASE_FORCE_CXX03 1" >>confdefs.h
+ 
+         CXXFLAGS="$CXXFLAGS -std=c++03"
+@@ -21827,11 +21827,11 @@ $as_echo "#define HAVE_CXX17 1" >>confde
+   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C++17 is not yet standardized, so the checks may change in incompatible ways anytime" >&5
+ $as_echo "$as_me: WARNING: C++17 is not yet standardized, so the checks may change in incompatible ways anytime" >&2;}
+ 
+-        if test "$HAVE_CXX14" == 1 ; then
++        if test "$HAVE_CXX14" = 1 ; then
+             CXXFLAGS="$CXXFLAGS -std=c++14"
+           cxxstd = 14
+         else
+-          if test "$HAVE_CXX11" == 1 ; then
++          if test "$HAVE_CXX11" = 1 ; then
+               CXXFLAGS="$CXXFLAGS -std=c++11"
+             cxxstd = 11
+           fi
+@@ -22447,7 +22447,7 @@ $as_echo "#define STDC_HEADERS 1" >>conf
+ 
+ fi
+ 
+-for ac_header in limits.h unistd.h ucontext.h
++for ac_header in limits.h unistd.h
+ do :
+   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
+@@ -22768,7 +22768,7 @@ LIB_SUFFIX=""
+ lib_suffix_valid="no"
+ 
+ lib_namespace=""
+-if test "x${library_namespace_versioning}" == xyes ; then
++if test "x${library_namespace_versioning}" = xyes ; then
+     cat >>confdefs.h <<_ACEOF
+ #define IMATH_INTERNAL_NAMESPACE Imath_${ILMBASE_VERSION_API}
+ _ACEOF
+@@ -22787,7 +22787,7 @@ _ACEOF
+     lib_namespace="${ILMBASE_VERSION_API}"
+     LIB_SUFFIX="${ILMBASE_VERSION_API}"
+     lib_suffix_valid="yes"
+-elif test "x${library_namespace_versioning}" == xno ; then
++elif test "x${library_namespace_versioning}" = xno ; then
+     cat >>confdefs.h <<_ACEOF
+ #define IMATH_INTERNAL_NAMESPACE Imath
+ _ACEOF
+@@ -22823,7 +22823,7 @@ _ACEOF
+ fi
+ 
+ 
+-if test "x${lib_suffix_valid}" == xyes ; then
++if test "x${lib_suffix_valid}" = xyes ; then
+ LIB_SUFFIX_DASH="-${LIB_SUFFIX}"
+ 
+  if true; then
+@@ -22858,7 +22858,7 @@ else
+ fi
+ 
+ 
+-if test "x${custom_public_namespace}" == xyes ; then
++if test "x${custom_public_namespace}" = xyes ; then
+     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enabling 'custom user namespace' requires an additional argument, reverting to default" >&5
+ $as_echo "$as_me: WARNING: Enabling 'custom user namespace' requires an additional argument, reverting to default" >&2;}
+     $as_echo "#define IMATH_NAMESPACE Imath" >>confdefs.h
+@@ -22870,7 +22870,7 @@ $as_echo "$as_me: WARNING: Enabling 'cus
+ 
+     public_namespace=""
+     custom_public_namespace=no
+-elif test "x${custom_public_namespace}" == xno ; then
++elif test "x${custom_public_namespace}" = xno ; then
+     $as_echo "#define IMATH_NAMESPACE Imath" >>confdefs.h
+ 
+     $as_echo "#define IEX_NAMESPACE Iex" >>confdefs.h
+@@ -22911,7 +22911,7 @@ else
+ fi
+ 
+ 
+-  if test "${osx_arch}" != default ; then
++  if false ; then
+           osx_arch_flags="-arch ${osx_arch// / -arch }"
+      CXXFLAGS="$CXXFLAGS $osx_arch_flags"
+ 
diff -r 099d18ec2132 -r e6910480860a graphics/openexr/Makefile
--- a/graphics/openexr/Makefile Tue Oct 02 11:29:27 2018 +0000
+++ b/graphics/openexr/Makefile Tue Oct 02 12:05:35 2018 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.37 2018/01/28 19:58:17 wiz Exp $
+# $NetBSD: Makefile,v 1.38 2018/10/02 12:05:35 adam Exp $
 
-DISTNAME=      openexr-2.2.1
+DISTNAME=      openexr-2.3.0
 CATEGORIES=    graphics
-MASTER_SITES=  http://download.savannah.nongnu.org/releases/openexr/
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=openexr/}
+GITHUB_RELEASE=        v${PKGVERSION_NOREV}
 
 MAINTAINER=    adam%NetBSD.org@localhost
 HOMEPAGE=      http://www.openexr.com/
diff -r 099d18ec2132 -r e6910480860a graphics/openexr/PLIST
--- a/graphics/openexr/PLIST    Tue Oct 02 11:29:27 2018 +0000
+++ b/graphics/openexr/PLIST    Tue Oct 02 12:05:35 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.11 2014/08/11 19:42:46 adam Exp $
+@comment $NetBSD: PLIST,v 1.12 2018/10/02 12:05:35 adam Exp $
 bin/exrenvmap
 bin/exrheader



Home | Main Index | Thread Index | Old Index