From a530e0e5b6c07a193e37fb1bf8bb55ded3548a74 Mon Sep 17 00:00:00 2001 From: "coadde [Márcio Alexandre Silva Delgado]" Date: Thu, 28 Aug 2014 20:54:27 -0300 Subject: openshadinglanguage-parabola: downgrade --- libre/openshadinglanguage-parabola/PKGBUILD | 31 +++++++++++++++++++++++++---- 1 file changed, 27 insertions(+), 4 deletions(-) diff --git a/libre/openshadinglanguage-parabola/PKGBUILD b/libre/openshadinglanguage-parabola/PKGBUILD index 630a0573c..058f03118 100644 --- a/libre/openshadinglanguage-parabola/PKGBUILD +++ b/libre/openshadinglanguage-parabola/PKGBUILD @@ -3,7 +3,7 @@ _pkgname=openshadinglanguage pkgname=$_pkgname-parabola -pkgver=1.5.10 +pkgver=1.4.2 # 1.5.10 for blender 2.72 pkgrel=1 pkgdesc='Advanced shading language for production GI renderers (built for the blender-parabola package)' arch=('i686' 'x86_64' 'mips64el') @@ -14,8 +14,10 @@ makedepends=('boost' 'clang' 'cmake') provides=("$_pkgname=$pkgver") conflicts=("$_pkgname") replaces=("$_pkgname") -source=("https://github.com/imageworks/OpenShadingLanguage/archive/Release-$pkgver.tar.gz") -md5sums=('b828366f056e115b539ee1780883fc7d') +source=("https://github.com/imageworks/OpenShadingLanguage/archive/Release-$pkgver.tar.gz" + 'llvm-141.patch') +md5sums=('5aeb3c9502aedf62d0120b3523957e92' + 'b948e5df8710366b65027d1d8450f340') prepare() { cd OpenShadingLanguage-Release-$pkgver @@ -33,7 +35,28 @@ prepare() { ' src/cmake/platform.cmake sed -i 's|[{]uname[}][,]linux]|{uname -o},GNU/kFreeBSD|;\|platform| s|linux|GNU/kFreeBSD|i ' src/make/detectplatform.mk - sed -i 's|Linux/OSX|GNU/BSD|' src/include/OSL/export.h + + if [[ ${pkgver::3} == 1.4 ]]; then + # renaming wrong OS name + sed -i 's|Linux/OSX|GNU/BSD|' src/include/export.h + + # LLVM 3.4 build fix + # based of "https://github.com/imageworks/OpenShadingLanguage/pull/320.patch" + patch -Np1 < $srcdir/llvm-141.patch + + # fix include paths + sed -i 's|oslconfig.h|../include/oslconfig.h| + s|dual.h|../include/dual.h| + s|dual_vec.h|../include/dual_vec.h| + ' src/liboslexec/llvm_ops.cpp + sed -i 's|oslexec.h|../include/oslexec.h| + s|oslclosure.h|../include/oslclosure.h| + s|osl_pvt.h|../include/osl_pvt.h| + ' src/liboslexec/oslexec_pvt.h + else + # renaming wrong OS name + sed -i 's|Linux/OSX|GNU/BSD|' src/include/OSL/export.h + fi } build() { -- cgit v1.2.3 From 107d7c89f8a1ffac9860aa92f1141ffde42a1067 Mon Sep 17 00:00:00 2001 From: "coadde [Márcio Alexandre Silva Delgado]" Date: Thu, 28 Aug 2014 20:54:55 -0300 Subject: openimageio-parabola: add openjpeg deps --- libre/openimageio-parabola/PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libre/openimageio-parabola/PKGBUILD b/libre/openimageio-parabola/PKGBUILD index dff92555b..ad3b64c99 100644 --- a/libre/openimageio-parabola/PKGBUILD +++ b/libre/openimageio-parabola/PKGBUILD @@ -5,12 +5,12 @@ _pkgname=openimageio pkgname=$_pkgname-parabola pkgver=1.4.12 -pkgrel=3 +pkgrel=3.1 pkgdesc='A library for reading and writing images, including classes, utilities, and applications (built for the blender-parabola package)' arch=('i686' 'x86_64' 'mips64el') url="http://www.$_pkgname.org/" license=('custom') -depends=('boost-libs' 'glew' 'libtiff' 'libwebp' 'opencolorio' 'openexr' 'giflib-lts') # add giflib-lts to build pkg +depends=('boost-libs' 'glew' 'libtiff' 'libwebp' 'openjpeg' 'opencolorio' 'openexr' 'giflib-lts') # add giflib-lts to build pkg makedepends=('boost' 'cmake' 'git' 'python2' 'qt4') optdepends=('qt4: iv image viewer' 'python2: bindings support') -- cgit v1.2.3 From b19c684cfddf1d5ae8a4ab68ca1966022e8ddf15 Mon Sep 17 00:00:00 2001 From: "coadde [Márcio Alexandre Silva Delgado]" Date: Thu, 28 Aug 2014 22:47:12 -0300 Subject: opencolorio-parabola: rebuild pkg --- libre/opencolorio-parabola/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libre/opencolorio-parabola/PKGBUILD b/libre/opencolorio-parabola/PKGBUILD index bfe4da9fb..89452a802 100644 --- a/libre/opencolorio-parabola/PKGBUILD +++ b/libre/opencolorio-parabola/PKGBUILD @@ -5,7 +5,7 @@ _pkgname=opencolorio pkgname=$_pkgname-parabola pkgver=1.0.9 -pkgrel=6 +pkgrel=2.1 pkgdesc='A color management framework for visual effects and animation (built for the blender-parabola package)' arch=('i686' 'x86_64' 'mips64el') url="http://$pkgname.org" -- cgit v1.2.3 From c40bf8b911b884fa11db25500085f2e38bad2826 Mon Sep 17 00:00:00 2001 From: "coadde [Márcio Alexandre Silva Delgado]" Date: Thu, 28 Aug 2014 22:48:03 -0300 Subject: opencolorio-parabola: rebuild pkg --- libre/opencolorio-parabola/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libre/opencolorio-parabola/PKGBUILD b/libre/opencolorio-parabola/PKGBUILD index 89452a802..66e74a823 100644 --- a/libre/opencolorio-parabola/PKGBUILD +++ b/libre/opencolorio-parabola/PKGBUILD @@ -5,7 +5,7 @@ _pkgname=opencolorio pkgname=$_pkgname-parabola pkgver=1.0.9 -pkgrel=2.1 +pkgrel=2.6 pkgdesc='A color management framework for visual effects and animation (built for the blender-parabola package)' arch=('i686' 'x86_64' 'mips64el') url="http://$pkgname.org" -- cgit v1.2.3 From b486dcc702cefc51343332023774915087d06836 Mon Sep 17 00:00:00 2001 From: "coadde [Márcio Alexandre Silva Delgado]" Date: Fri, 29 Aug 2014 00:35:48 -0300 Subject: openimageio-parabola: add freetype2 deps --- libre/openimageio-parabola/PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libre/openimageio-parabola/PKGBUILD b/libre/openimageio-parabola/PKGBUILD index ad3b64c99..ad8104e89 100644 --- a/libre/openimageio-parabola/PKGBUILD +++ b/libre/openimageio-parabola/PKGBUILD @@ -5,12 +5,12 @@ _pkgname=openimageio pkgname=$_pkgname-parabola pkgver=1.4.12 -pkgrel=3.1 +pkgrel=3.2 pkgdesc='A library for reading and writing images, including classes, utilities, and applications (built for the blender-parabola package)' arch=('i686' 'x86_64' 'mips64el') url="http://www.$_pkgname.org/" license=('custom') -depends=('boost-libs' 'glew' 'libtiff' 'libwebp' 'openjpeg' 'opencolorio' 'openexr' 'giflib-lts') # add giflib-lts to build pkg +depends=('boost-libs' 'freetype2' 'glew' 'libtiff' 'libwebp' 'openjpeg' 'opencolorio' 'openexr' 'giflib-lts') # add giflib-lts to build pkg makedepends=('boost' 'cmake' 'git' 'python2' 'qt4') optdepends=('qt4: iv image viewer' 'python2: bindings support') -- cgit v1.2.3 From 7d5292673f74e3075ac8350f0537882258758b18 Mon Sep 17 00:00:00 2001 From: "coadde [Márcio Alexandre Silva Delgado]" Date: Fri, 29 Aug 2014 01:26:04 -0300 Subject: openshadinglanguage-parabola: remove testshade for 1.5 version --- libre/openshadinglanguage-parabola/PKGBUILD | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/libre/openshadinglanguage-parabola/PKGBUILD b/libre/openshadinglanguage-parabola/PKGBUILD index 058f03118..ce04f74c1 100644 --- a/libre/openshadinglanguage-parabola/PKGBUILD +++ b/libre/openshadinglanguage-parabola/PKGBUILD @@ -62,9 +62,11 @@ prepare() { build() { cd OpenShadingLanguage-Release-$pkgver - # Fails building this file on i686 - if [[ $CARCH == i686 ]]; then - sed -i "/src\/testshade/d" CMakeLists.txt + if [[ ${pkgver::3} == 1.5 ]]; then + # Fails building this file on i686 + if [[ $CARCH == i686 ]]; then + sed -i "/src\/testshade/d" CMakeLists.txt + fi fi cd src -- cgit v1.2.3 From 132e049696241ac9edff0fed126437e3c0279395 Mon Sep 17 00:00:00 2001 From: "coadde [Márcio Alexandre Silva Delgado]" Date: Fri, 29 Aug 2014 01:42:53 -0300 Subject: opencollada-parabola: fixing provides --- libre/opencollada-parabola/PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libre/opencollada-parabola/PKGBUILD b/libre/opencollada-parabola/PKGBUILD index 73afdc2b0..c22bf3a3e 100644 --- a/libre/opencollada-parabola/PKGBUILD +++ b/libre/opencollada-parabola/PKGBUILD @@ -4,14 +4,14 @@ _pkgname=opencollada pkgname=$_pkgname-parabola pkgver=20140214 -pkgrel=1 +pkgrel=1.1 pkgdesc="Stream based reader and writer library for COLLADA files (built for the blender-parabola package)" arch=('i686' 'x86_64' 'mips64el') url='https://github.com/KhronosGroup/OpenCOLLADA' license=('GPL') depends=('libxml2' 'pcre') makedepends=('git' 'cmake') -provides=("$_pkgname") +provides=("$_pkgname=$pkgver") conflicts=("$_pkgname") replaces=("$_pkgname") source=('git://github.com/KhronosGroup/OpenCOLLADA.git') -- cgit v1.2.3