Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=b3b548899f8710d916de02e50d20b16125932be1

commit b3b548899f8710d916de02e50d20b16125932be1
Author: Slown <[email protected]>
Date:   Fri Oct 21 22:21:55 2016 +0100

openimageio-1.7.7-1-x86_64

* version bump
* add i686 build patch

diff --git a/source/xlib-extra/openimageio/FrugalBuild 
b/source/xlib-extra/openimageio/FrugalBuild
index a6fbeb2..ef0247d 100644
--- a/source/xlib-extra/openimageio/FrugalBuild
+++ b/source/xlib-extra/openimageio/FrugalBuild
@@ -1,23 +1,27 @@
-# Compiling Time: 1.64 SBU
+# Compiling Time: 1.97 SBU
# Maintainer: Melko <[email protected]>

pkgname=openimageio
-pkgver=1.6.17
+pkgver=1.7.7
pkgrel=1
pkgdesc="A library for reading and writing images, including classes, 
utilities, and applications."
url="http://www.openimageio.org/";
-depends=('libboost>=1.61.0' 'opencv>=3.1.0-8' 'glew>=1.13.0-4' 
'ilmbase>=2.2.0-5')
-makedepends=('boost>=1.61.0')
+depends=('libboost>=1.61.0' 'opencv>=3.1.0-9' 'glew>=1.13.0-4' 
'ilmbase>=2.2.0-6' 'openssl')
+makedepends=('boost>=1.61.0' 'python>=2.7')
groups=('xlib-extra')
archs=('i686' 'x86_64')
+_F_cmake_confopts="    -DCMAKE_INSTALL_PREFIX=/usr -DUSE_OPENSSL=ON \
+-DUSE_PYTHON=ON -DPYLIB_INSTALL_DIR='lib/python2.7/site-packages' \
+-DOIIO_BUILD_TESTS=OFF -DOIIO_BUILD_TOOLS=ON"
Finclude cmake
_F_archive_name="Release"
_F_archive_grepv="beta\|RC\|dev"
up2date="Flasttar https://github.com/OpenImageIO/oiio/releases";
-source=("https://github.com/OpenImageIO/oiio/archive/$_F_archive_name-$pkgver.tar.gz";)
-sha1sums=('4d2ea6efbe6f74a39446507270ee92b367008fed')
-_F_cd_path=oiio-Release-$pkgver
-
+source=("https://github.com/OpenImageIO/oiio/archive/$_F_archive_name-$pkgver.tar.gz";
 \
+       openimageio-i686.patch)
+sha1sums=('61438bae3f35fc198a8b0e77ae85547a8b921b02' \
+          '41a3b92100e88974396335ebe3375c05cb991a3e')
+_F_cd_path="oiio-Release-$pkgver"

build() {
CMake_build
diff --git a/source/xlib-extra/openimageio/openimageio-i686.patch 
b/source/xlib-extra/openimageio/openimageio-i686.patch
new file mode 100644
index 0000000..b5478c7
--- /dev/null
+++ b/source/xlib-extra/openimageio/openimageio-i686.patch
@@ -0,0 +1,16 @@
+--- a/src/oiio-Release-1.7.7/src/libtexture/texturesys.cpp     2016-10-21 
21:09:37.966088932 +0100
++++ b/src/oiio-Release-1.7.7/src/libtexture/texturesys.cpp     2016-10-21 
21:19:40.340289951 +0100
+@@ -2477,6 +2477,13 @@
+         } else {
+             wx = evalBSplineWeights (float4(sfrac));
+             wy = evalBSplineWeights (float4(tfrac));
++#if defined(__i386__) && !defined(__x86_64__)
++            // gcc on some 32 bit platforms complains here about these being
++            // uninitialized, so initialize them. Don't waste the cycles
++            // for 64 bit platforms that don't seem to have that error.
++            dwx = float4::Zero();
++            dwy = float4::Zero();
++#endif
+         }
+
+         // figure out lerp weights so we can turn the filter into a sequence 
of lerp's
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to