[arch-commits] Commit in luxrays/repos (3 files)

2018-07-18 Thread Felix Yan via arch-commits
Date: Wednesday, July 18, 2018 @ 06:29:35
  Author: felixonmars
Revision: 361763

archrelease: copy trunk to community-staging-x86_64

Added:
  luxrays/repos/community-staging-x86_64/
  luxrays/repos/community-staging-x86_64/PKGBUILD
(from rev 361762, luxrays/trunk/PKGBUILD)
  luxrays/repos/community-staging-x86_64/force_python3.diff
(from rev 361762, luxrays/trunk/force_python3.diff)

+
 PKGBUILD   |   56 +++
 force_python3.diff |   12 ++
 2 files changed, 68 insertions(+)

Copied: luxrays/repos/community-staging-x86_64/PKGBUILD (from rev 361762, 
luxrays/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-18 06:29:35 UTC (rev 361763)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Lukas Jirkovsky 
+pkgname='luxrays'
+pkgver=1.6
+_pkgver=61352e6aae3f
+pkgrel=20
+pkgdesc="Accelerate the ray intersection process by using GPUs"
+arch=('x86_64')
+url="http://www.luxrender.net/;
+license=('GPL')
+depends=('embree2' 'opencl-icd-loader' 'libgl' 'openimageio')
+makedepends=('boost' 'cmake' 'freetype2' 'gtk3' 'libpng' 'mesa' 
'opencl-headers' 'glew' 'freeglut')
+optdepends=('glew: demos (SmallLuxGPU etc.)'
+'gtk3: luxcoreui'
+'freeglut: demos (SmallLuxGPU etc.)'
+'boost-libs: demos (SmallLuxGPU etc.)')
+options=('staticlibs')
+source=($pkgname-$pkgver.tar.bz2::https://bitbucket.org/luxrender/luxrays/get/luxrender_v$pkgver.tar.bz2
 \
+force_python3.diff)
+md5sums=('4c8df34d90dc04b50a180b945041cd92'
+ '36c9823246c2b575415c1709e065727c')
+
+prepare() {
+  cd "$srcdir"/luxrender-luxrays-$_pkgver
+
+  # force python3 for boost
+  patch -Np1 < "$srcdir/force_python3.diff" || true
+}
+
+build() {
+  cd "$srcdir/luxrender-luxrays-$_pkgver"
+
+  cmake . \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_SKIP_RPATH=ON \
+-DLUXRAYS_DISABLE_OPENCL=OFF
+  # this sucks, but luxrays doesn't seem to honor  CMAKE_*_LINKER_FLAGS
+  # thanks bartus from AUR for the fix
+  for file in `grep lboost_python -l -R ` ;do sed -i 's/$/ -lpython3/' $file ; 
done
+  make
+}
+
+package() {
+  cd "$srcdir/luxrender-luxrays-$_pkgver"
+
+  install -d -m755 "$pkgdir"/usr/{bin,include,lib}
+  install -m755 bin/* "$pkgdir"/usr/bin
+  install -m644 lib/* "$pkgdir"/usr/lib
+  cp -a include "$pkgdir"/usr
+
+  # install pyluxcore to the Python search path
+  install -d -m755 "$pkgdir"/usr/lib/python3.7/
+  mv "$pkgdir"/usr/lib/pyluxcore.so "$pkgdir"/usr/lib/python3.7/
+}
+
+# vim:set ts=2 sw=2 et:

Copied: luxrays/repos/community-staging-x86_64/force_python3.diff (from rev 
361762, luxrays/trunk/force_python3.diff)
===
--- community-staging-x86_64/force_python3.diff (rev 0)
+++ community-staging-x86_64/force_python3.diff 2018-07-18 06:29:35 UTC (rev 
361763)
@@ -0,0 +1,12 @@
+diff -rup luxrender-luxrays-61352e6aae3f.orig/cmake/Dependencies.cmake 
luxrender-luxrays-61352e6aae3f/cmake/Dependencies.cmake
+--- luxrender-luxrays-61352e6aae3f.orig/cmake/Dependencies.cmake   
2016-05-09 22:17:57.0 +0200
 luxrender-luxrays-61352e6aae3f/cmake/Dependencies.cmake2016-05-29 
09:04:30.913648230 +0200
+@@ -58,7 +58,7 @@ set(Boost_MINIMUM_VERSION   "1.44.0"
+ 
+ set(Boost_ADDITIONAL_VERSIONS "1.47.0" "1.46.1" "1.46" "1.46.0" "1.45" 
"1.45.0" "1.44" "1.44.0")
+ 
+-set(LUXRAYS_BOOST_COMPONENTS thread program_options filesystem serialization 
iostreams regex system python chrono)
++set(LUXRAYS_BOOST_COMPONENTS thread program_options filesystem serialization 
iostreams regex system python3 chrono)
+ find_package(Boost ${Boost_MINIMUM_VERSION} COMPONENTS 
${LUXRAYS_BOOST_COMPONENTS})
+ if (NOT Boost_FOUND)
+ # Try again with the other type of libs


[arch-commits] Commit in luxrays/repos (3 files)

2018-06-02 Thread Evangelos Foutras via arch-commits
Date: Sunday, June 3, 2018 @ 01:26:17
  Author: foutrelis
Revision: 338511

archrelease: copy trunk to community-staging-x86_64

Added:
  luxrays/repos/community-staging-x86_64/
  luxrays/repos/community-staging-x86_64/PKGBUILD
(from rev 338510, luxrays/trunk/PKGBUILD)
  luxrays/repos/community-staging-x86_64/force_python3.diff
(from rev 338510, luxrays/trunk/force_python3.diff)

+
 PKGBUILD   |   56 +++
 force_python3.diff |   12 ++
 2 files changed, 68 insertions(+)

Copied: luxrays/repos/community-staging-x86_64/PKGBUILD (from rev 338510, 
luxrays/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-06-03 01:26:17 UTC (rev 338511)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Lukas Jirkovsky 
+pkgname='luxrays'
+pkgver=1.6
+_pkgver=61352e6aae3f
+pkgrel=17
+pkgdesc="Accelerate the ray intersection process by using GPUs"
+arch=('x86_64')
+url="http://www.luxrender.net/;
+license=('GPL')
+depends=('embree' 'opencl-icd-loader' 'libgl' 'openimageio')
+makedepends=('boost' 'cmake' 'freetype2' 'gtk3' 'libpng' 'mesa' 
'opencl-headers' 'glew' 'freeglut')
+optdepends=('glew: demos (SmallLuxGPU etc.)'
+'gtk3: luxcoreui'
+'freeglut: demos (SmallLuxGPU etc.)'
+'boost-libs: demos (SmallLuxGPU etc.)')
+options=('staticlibs')
+source=($pkgname-$pkgver.tar.bz2::https://bitbucket.org/luxrender/luxrays/get/luxrender_v$pkgver.tar.bz2
 \
+force_python3.diff)
+md5sums=('4c8df34d90dc04b50a180b945041cd92'
+ '36c9823246c2b575415c1709e065727c')
+
+prepare() {
+  cd "$srcdir"/luxrender-luxrays-$_pkgver
+
+  # force python3 for boost
+  patch -Np1 < "$srcdir/force_python3.diff" || true
+}
+
+build() {
+  cd "$srcdir/luxrender-luxrays-$_pkgver"
+
+  cmake . \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_SKIP_RPATH=ON \
+-DLUXRAYS_DISABLE_OPENCL=OFF
+  # this sucks, but luxrays doesn't seem to honor  CMAKE_*_LINKER_FLAGS
+  # thanks bartus from AUR for the fix
+  for file in `grep lboost_python -l -R ` ;do sed -i 's/$/ -lpython3/' $file ; 
done
+  make
+}
+
+package() {
+  cd "$srcdir/luxrender-luxrays-$_pkgver"
+
+  install -d -m755 "$pkgdir"/usr/{bin,include,lib}
+  install -m755 bin/* "$pkgdir"/usr/bin
+  install -m644 lib/* "$pkgdir"/usr/lib
+  cp -a include "$pkgdir"/usr
+
+  # install pyluxcore to the Python search path
+  install -d -m755 "$pkgdir"/usr/lib/python3.6/
+  mv "$pkgdir"/usr/lib/pyluxcore.so "$pkgdir"/usr/lib/python3.6/
+}
+
+# vim:set ts=2 sw=2 et:

Copied: luxrays/repos/community-staging-x86_64/force_python3.diff (from rev 
338510, luxrays/trunk/force_python3.diff)
===
--- community-staging-x86_64/force_python3.diff (rev 0)
+++ community-staging-x86_64/force_python3.diff 2018-06-03 01:26:17 UTC (rev 
338511)
@@ -0,0 +1,12 @@
+diff -rup luxrender-luxrays-61352e6aae3f.orig/cmake/Dependencies.cmake 
luxrender-luxrays-61352e6aae3f/cmake/Dependencies.cmake
+--- luxrender-luxrays-61352e6aae3f.orig/cmake/Dependencies.cmake   
2016-05-09 22:17:57.0 +0200
 luxrender-luxrays-61352e6aae3f/cmake/Dependencies.cmake2016-05-29 
09:04:30.913648230 +0200
+@@ -58,7 +58,7 @@ set(Boost_MINIMUM_VERSION   "1.44.0"
+ 
+ set(Boost_ADDITIONAL_VERSIONS "1.47.0" "1.46.1" "1.46" "1.46.0" "1.45" 
"1.45.0" "1.44" "1.44.0")
+ 
+-set(LUXRAYS_BOOST_COMPONENTS thread program_options filesystem serialization 
iostreams regex system python chrono)
++set(LUXRAYS_BOOST_COMPONENTS thread program_options filesystem serialization 
iostreams regex system python3 chrono)
+ find_package(Boost ${Boost_MINIMUM_VERSION} COMPONENTS 
${LUXRAYS_BOOST_COMPONENTS})
+ if (NOT Boost_FOUND)
+ # Try again with the other type of libs


[arch-commits] Commit in luxrays/repos (3 files)

2018-02-27 Thread Antonio Rojas via arch-commits
Date: Tuesday, February 27, 2018 @ 08:45:33
  Author: arojas
Revision: 299012

archrelease: copy trunk to community-staging-x86_64

Added:
  luxrays/repos/community-staging-x86_64/
  luxrays/repos/community-staging-x86_64/PKGBUILD
(from rev 299011, luxrays/trunk/PKGBUILD)
  luxrays/repos/community-staging-x86_64/force_python3.diff
(from rev 299011, luxrays/trunk/force_python3.diff)

+
 PKGBUILD   |   58 +++
 force_python3.diff |   12 ++
 2 files changed, 70 insertions(+)

Copied: luxrays/repos/community-staging-x86_64/PKGBUILD (from rev 299011, 
luxrays/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-02-27 08:45:33 UTC (rev 299012)
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer: Lukas Jirkovsky 
+pkgname='luxrays'
+pkgver=1.6
+_pkgver=61352e6aae3f
+pkgrel=14
+pkgdesc="Accelerate the ray intersection process by using GPUs"
+arch=('x86_64')
+url="http://www.luxrender.net/;
+license=('GPL')
+depends=('embree' 'opencl-icd-loader' 'libgl' 'openimageio')
+makedepends=('boost' 'cmake' 'freetype2' 'gtk3' 'libpng' 'mesa' 
'opencl-headers' 'glew' 'freeglut')
+optdepends=('amdapp-sdk: OpenCL support for AMD GPUs' \
+'intel-opencl-runtime: OpenCL support for Intel CPUs' \
+'glew: demos (SmallLuxGPU etc.)' \
+'gtk3: luxcoreui'
+'freeglut: demos (SmallLuxGPU etc.)' \
+'boost-libs: demos (SmallLuxGPU etc.)')
+options=('staticlibs')
+source=($pkgname-$pkgver.tar.bz2::https://bitbucket.org/luxrender/luxrays/get/luxrender_v$pkgver.tar.bz2
 \
+force_python3.diff)
+md5sums=('4c8df34d90dc04b50a180b945041cd92'
+ '36c9823246c2b575415c1709e065727c')
+
+prepare() {
+  cd "$srcdir"/luxrender-luxrays-$_pkgver
+
+  # force python3 for boost
+  patch -Np1 < "$srcdir/force_python3.diff" || true
+}
+
+build() {
+  cd "$srcdir/luxrender-luxrays-$_pkgver"
+
+  cmake . \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_SKIP_RPATH=ON \
+-DLUXRAYS_DISABLE_OPENCL=OFF
+  # this sucks, but luxrays doesn't seem to honor  CMAKE_*_LINKER_FLAGS
+  # thanks bartus from AUR for the fix
+  for file in `grep lboost_python -l -R ` ;do sed -i 's/$/ -lpython3/' $file ; 
done
+  make
+}
+
+package() {
+  cd "$srcdir/luxrender-luxrays-$_pkgver"
+
+  install -d -m755 "$pkgdir"/usr/{bin,include,lib}
+  install -m755 bin/* "$pkgdir"/usr/bin
+  install -m644 lib/* "$pkgdir"/usr/lib
+  cp -a include "$pkgdir"/usr
+
+  # install pyluxcore to the Python search path
+  install -d -m755 "$pkgdir"/usr/lib/python3.6/
+  mv "$pkgdir"/usr/lib/pyluxcore.so "$pkgdir"/usr/lib/python3.6/
+}
+
+# vim:set ts=2 sw=2 et:

Copied: luxrays/repos/community-staging-x86_64/force_python3.diff (from rev 
299011, luxrays/trunk/force_python3.diff)
===
--- community-staging-x86_64/force_python3.diff (rev 0)
+++ community-staging-x86_64/force_python3.diff 2018-02-27 08:45:33 UTC (rev 
299012)
@@ -0,0 +1,12 @@
+diff -rup luxrender-luxrays-61352e6aae3f.orig/cmake/Dependencies.cmake 
luxrender-luxrays-61352e6aae3f/cmake/Dependencies.cmake
+--- luxrender-luxrays-61352e6aae3f.orig/cmake/Dependencies.cmake   
2016-05-09 22:17:57.0 +0200
 luxrender-luxrays-61352e6aae3f/cmake/Dependencies.cmake2016-05-29 
09:04:30.913648230 +0200
+@@ -58,7 +58,7 @@ set(Boost_MINIMUM_VERSION   "1.44.0"
+ 
+ set(Boost_ADDITIONAL_VERSIONS "1.47.0" "1.46.1" "1.46" "1.46.0" "1.45" 
"1.45.0" "1.44" "1.44.0")
+ 
+-set(LUXRAYS_BOOST_COMPONENTS thread program_options filesystem serialization 
iostreams regex system python chrono)
++set(LUXRAYS_BOOST_COMPONENTS thread program_options filesystem serialization 
iostreams regex system python3 chrono)
+ find_package(Boost ${Boost_MINIMUM_VERSION} COMPONENTS 
${LUXRAYS_BOOST_COMPONENTS})
+ if (NOT Boost_FOUND)
+ # Try again with the other type of libs


[arch-commits] Commit in luxrays/repos (3 files)

2017-12-29 Thread Lukas Jirkovsky via arch-commits
Date: Friday, December 29, 2017 @ 20:25:48
  Author: stativ
Revision: 276891

archrelease: copy trunk to community-staging-x86_64

Added:
  luxrays/repos/community-staging-x86_64/
  luxrays/repos/community-staging-x86_64/PKGBUILD
(from rev 276890, luxrays/trunk/PKGBUILD)
  luxrays/repos/community-staging-x86_64/force_python3.diff
(from rev 276890, luxrays/trunk/force_python3.diff)

+
 PKGBUILD   |   58 +++
 force_python3.diff |   12 ++
 2 files changed, 70 insertions(+)

Copied: luxrays/repos/community-staging-x86_64/PKGBUILD (from rev 276890, 
luxrays/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-12-29 20:25:48 UTC (rev 276891)
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer: Lukas Jirkovsky 
+pkgname='luxrays'
+pkgver=1.6
+_pkgver=61352e6aae3f
+pkgrel=13
+pkgdesc="Accelerate the ray intersection process by using GPUs"
+arch=('x86_64')
+url="http://www.luxrender.net/;
+license=('GPL')
+depends=('embree' 'opencl-icd-loader' 'libgl' 'openimageio')
+makedepends=('boost' 'cmake' 'freetype2' 'gtk3' 'libpng' 'mesa' 
'opencl-headers' 'glew' 'freeglut')
+optdepends=('amdapp-sdk: OpenCL support for AMD GPUs' \
+'intel-opencl-runtime: OpenCL support for Intel CPUs' \
+'glew: demos (SmallLuxGPU etc.)' \
+'gtk3: luxcoreui'
+'freeglut: demos (SmallLuxGPU etc.)' \
+'boost-libs: demos (SmallLuxGPU etc.)')
+options=('staticlibs')
+source=($pkgname-$pkgver.tar.bz2::https://bitbucket.org/luxrender/luxrays/get/luxrender_v$pkgver.tar.bz2
 \
+force_python3.diff)
+md5sums=('4c8df34d90dc04b50a180b945041cd92'
+ '36c9823246c2b575415c1709e065727c')
+
+prepare() {
+  cd "$srcdir"/luxrender-luxrays-$_pkgver
+
+  # force python3 for boost
+  patch -Np1 < "$srcdir/force_python3.diff" || true
+}
+
+build() {
+  cd "$srcdir/luxrender-luxrays-$_pkgver"
+
+  cmake . \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_SKIP_RPATH=ON \
+-DLUXRAYS_DISABLE_OPENCL=OFF
+  # this sucks, but luxrays doesn't seem to honor  CMAKE_*_LINKER_FLAGS
+  # thanks bartus from AUR for the fix
+  for file in `grep lboost_python -l -R ` ;do sed -i 's/$/ -lpython3/' $file ; 
done
+  make
+}
+
+package() {
+  cd "$srcdir/luxrender-luxrays-$_pkgver"
+
+  install -d -m755 "$pkgdir"/usr/{bin,include,lib}
+  install -m755 bin/* "$pkgdir"/usr/bin
+  install -m644 lib/* "$pkgdir"/usr/lib
+  cp -a include "$pkgdir"/usr
+
+  # install pyluxcore to the Python search path
+  install -d -m755 "$pkgdir"/usr/lib/python3.6/
+  mv "$pkgdir"/usr/lib/pyluxcore.so "$pkgdir"/usr/lib/python3.6/
+}
+
+# vim:set ts=2 sw=2 et:

Copied: luxrays/repos/community-staging-x86_64/force_python3.diff (from rev 
276890, luxrays/trunk/force_python3.diff)
===
--- community-staging-x86_64/force_python3.diff (rev 0)
+++ community-staging-x86_64/force_python3.diff 2017-12-29 20:25:48 UTC (rev 
276891)
@@ -0,0 +1,12 @@
+diff -rup luxrender-luxrays-61352e6aae3f.orig/cmake/Dependencies.cmake 
luxrender-luxrays-61352e6aae3f/cmake/Dependencies.cmake
+--- luxrender-luxrays-61352e6aae3f.orig/cmake/Dependencies.cmake   
2016-05-09 22:17:57.0 +0200
 luxrender-luxrays-61352e6aae3f/cmake/Dependencies.cmake2016-05-29 
09:04:30.913648230 +0200
+@@ -58,7 +58,7 @@ set(Boost_MINIMUM_VERSION   "1.44.0"
+ 
+ set(Boost_ADDITIONAL_VERSIONS "1.47.0" "1.46.1" "1.46" "1.46.0" "1.45" 
"1.45.0" "1.44" "1.44.0")
+ 
+-set(LUXRAYS_BOOST_COMPONENTS thread program_options filesystem serialization 
iostreams regex system python chrono)
++set(LUXRAYS_BOOST_COMPONENTS thread program_options filesystem serialization 
iostreams regex system python3 chrono)
+ find_package(Boost ${Boost_MINIMUM_VERSION} COMPONENTS 
${LUXRAYS_BOOST_COMPONENTS})
+ if (NOT Boost_FOUND)
+ # Try again with the other type of libs


[arch-commits] Commit in luxrays/repos (3 files)

2017-09-14 Thread Lukas Jirkovsky
Date: Thursday, September 14, 2017 @ 17:15:39
  Author: stativ
Revision: 257537

archrelease: copy trunk to community-staging-x86_64

Added:
  luxrays/repos/community-staging-x86_64/
  luxrays/repos/community-staging-x86_64/PKGBUILD
(from rev 257536, luxrays/trunk/PKGBUILD)
  luxrays/repos/community-staging-x86_64/force_python3.diff
(from rev 257536, luxrays/trunk/force_python3.diff)

+
 PKGBUILD   |   58 +++
 force_python3.diff |   12 ++
 2 files changed, 70 insertions(+)

Copied: luxrays/repos/community-staging-x86_64/PKGBUILD (from rev 257536, 
luxrays/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-09-14 17:15:39 UTC (rev 257537)
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer: Lukas Jirkovsky 
+pkgname='luxrays'
+pkgver=1.6
+_pkgver=61352e6aae3f
+pkgrel=12
+pkgdesc="Accelerate the ray intersection process by using GPUs"
+arch=('x86_64')
+url="http://www.luxrender.net/;
+license=('GPL')
+depends=('embree' 'opencl-icd-loader' 'libgl' 'openimageio')
+makedepends=('boost' 'cmake' 'freetype2' 'gtk3' 'libpng' 'mesa' 
'opencl-headers' 'glew' 'freeglut')
+optdepends=('amdapp-sdk: OpenCL support for AMD GPUs' \
+'intel-opencl-runtime: OpenCL support for Intel CPUs' \
+'glew: demos (SmallLuxGPU etc.)' \
+'gtk3: luxcoreui'
+'freeglut: demos (SmallLuxGPU etc.)' \
+'boost-libs: demos (SmallLuxGPU etc.)')
+options=('staticlibs')
+source=($pkgname-$pkgver.tar.bz2::https://bitbucket.org/luxrender/luxrays/get/luxrender_v$pkgver.tar.bz2
 \
+force_python3.diff)
+md5sums=('4c8df34d90dc04b50a180b945041cd92'
+ '36c9823246c2b575415c1709e065727c')
+
+prepare() {
+  cd "$srcdir"/luxrender-luxrays-$_pkgver
+
+  # force python3 for boost
+  patch -Np1 < "$srcdir/force_python3.diff" || true
+}
+
+build() {
+  cd "$srcdir/luxrender-luxrays-$_pkgver"
+
+  cmake . \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_SKIP_RPATH=ON \
+-DLUXRAYS_DISABLE_OPENCL=OFF
+  # this sucks, but luxrays doesn't seem to honor  CMAKE_*_LINKER_FLAGS
+  # thanks bartus from AUR for the fix
+  for file in `grep lboost_python -l -R ` ;do sed -i 's/$/ -lpython3/' $file ; 
done
+  make
+}
+
+package() {
+  cd "$srcdir/luxrender-luxrays-$_pkgver"
+
+  install -d -m755 "$pkgdir"/usr/{bin,include,lib}
+  install -m755 bin/* "$pkgdir"/usr/bin
+  install -m644 lib/* "$pkgdir"/usr/lib
+  cp -a include "$pkgdir"/usr
+
+  # install pyluxcore to the Python search path
+  install -d -m755 "$pkgdir"/usr/lib/python3.6/
+  mv "$pkgdir"/usr/lib/pyluxcore.so "$pkgdir"/usr/lib/python3.6/
+}
+
+# vim:set ts=2 sw=2 et:

Copied: luxrays/repos/community-staging-x86_64/force_python3.diff (from rev 
257536, luxrays/trunk/force_python3.diff)
===
--- community-staging-x86_64/force_python3.diff (rev 0)
+++ community-staging-x86_64/force_python3.diff 2017-09-14 17:15:39 UTC (rev 
257537)
@@ -0,0 +1,12 @@
+diff -rup luxrender-luxrays-61352e6aae3f.orig/cmake/Dependencies.cmake 
luxrender-luxrays-61352e6aae3f/cmake/Dependencies.cmake
+--- luxrender-luxrays-61352e6aae3f.orig/cmake/Dependencies.cmake   
2016-05-09 22:17:57.0 +0200
 luxrender-luxrays-61352e6aae3f/cmake/Dependencies.cmake2016-05-29 
09:04:30.913648230 +0200
+@@ -58,7 +58,7 @@ set(Boost_MINIMUM_VERSION   "1.44.0"
+ 
+ set(Boost_ADDITIONAL_VERSIONS "1.47.0" "1.46.1" "1.46" "1.46.0" "1.45" 
"1.45.0" "1.44" "1.44.0")
+ 
+-set(LUXRAYS_BOOST_COMPONENTS thread program_options filesystem serialization 
iostreams regex system python chrono)
++set(LUXRAYS_BOOST_COMPONENTS thread program_options filesystem serialization 
iostreams regex system python3 chrono)
+ find_package(Boost ${Boost_MINIMUM_VERSION} COMPONENTS 
${LUXRAYS_BOOST_COMPONENTS})
+ if (NOT Boost_FOUND)
+ # Try again with the other type of libs


[arch-commits] Commit in luxrays/repos (3 files)

2017-08-03 Thread Felix Yan
Date: Thursday, August 3, 2017 @ 21:42:50
  Author: felixonmars
Revision: 247983

archrelease: copy trunk to community-staging-x86_64

Added:
  luxrays/repos/community-staging-x86_64/
  luxrays/repos/community-staging-x86_64/PKGBUILD
(from rev 247982, luxrays/trunk/PKGBUILD)
  luxrays/repos/community-staging-x86_64/force_python3.diff
(from rev 247982, luxrays/trunk/force_python3.diff)

+
 PKGBUILD   |   58 +++
 force_python3.diff |   12 ++
 2 files changed, 70 insertions(+)

Copied: luxrays/repos/community-staging-x86_64/PKGBUILD (from rev 247982, 
luxrays/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-08-03 21:42:50 UTC (rev 247983)
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer: Lukas Jirkovsky 
+pkgname='luxrays'
+pkgver=1.6
+_pkgver=61352e6aae3f
+pkgrel=11
+pkgdesc="Accelerate the ray intersection process by using GPUs"
+arch=('x86_64')
+url="http://www.luxrender.net/;
+license=('GPL')
+depends=('embree' 'opencl-icd-loader' 'libgl' 'openimageio')
+makedepends=('boost' 'cmake' 'freetype2' 'gtk3' 'libpng' 'mesa' 
'opencl-headers' 'glew' 'freeglut')
+optdepends=('amdapp-sdk: OpenCL support for AMD GPUs' \
+'intel-opencl-runtime: OpenCL support for Intel CPUs' \
+'glew: demos (SmallLuxGPU etc.)' \
+'gtk3: luxcoreui'
+'freeglut: demos (SmallLuxGPU etc.)' \
+'boost-libs: demos (SmallLuxGPU etc.)')
+options=('staticlibs')
+source=($pkgname-$pkgver.tar.bz2::https://bitbucket.org/luxrender/luxrays/get/luxrender_v$pkgver.tar.bz2
 \
+force_python3.diff)
+md5sums=('4c8df34d90dc04b50a180b945041cd92'
+ '36c9823246c2b575415c1709e065727c')
+
+prepare() {
+  cd "$srcdir"/luxrender-luxrays-$_pkgver
+
+  # force python3 for boost
+  patch -Np1 < "$srcdir/force_python3.diff" || true
+}
+
+build() {
+  cd "$srcdir/luxrender-luxrays-$_pkgver"
+
+  cmake . \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_SKIP_RPATH=ON \
+-DLUXRAYS_DISABLE_OPENCL=OFF
+  # this sucks, but luxrays doesn't seem to honor  CMAKE_*_LINKER_FLAGS
+  # thanks bartus from AUR for the fix
+  for file in `grep lboost_python -l -R ` ;do sed -i 's/$/ -lpython3/' $file ; 
done
+  make
+}
+
+package() {
+  cd "$srcdir/luxrender-luxrays-$_pkgver"
+
+  install -d -m755 "$pkgdir"/usr/{bin,include,lib}
+  install -m755 bin/* "$pkgdir"/usr/bin
+  install -m644 lib/* "$pkgdir"/usr/lib
+  cp -a include "$pkgdir"/usr
+
+  # install pyluxcore to the Python search path
+  install -d -m755 "$pkgdir"/usr/lib/python3.6/
+  mv "$pkgdir"/usr/lib/pyluxcore.so "$pkgdir"/usr/lib/python3.6/
+}
+
+# vim:set ts=2 sw=2 et:

Copied: luxrays/repos/community-staging-x86_64/force_python3.diff (from rev 
247982, luxrays/trunk/force_python3.diff)
===
--- community-staging-x86_64/force_python3.diff (rev 0)
+++ community-staging-x86_64/force_python3.diff 2017-08-03 21:42:50 UTC (rev 
247983)
@@ -0,0 +1,12 @@
+diff -rup luxrender-luxrays-61352e6aae3f.orig/cmake/Dependencies.cmake 
luxrender-luxrays-61352e6aae3f/cmake/Dependencies.cmake
+--- luxrender-luxrays-61352e6aae3f.orig/cmake/Dependencies.cmake   
2016-05-09 22:17:57.0 +0200
 luxrender-luxrays-61352e6aae3f/cmake/Dependencies.cmake2016-05-29 
09:04:30.913648230 +0200
+@@ -58,7 +58,7 @@ set(Boost_MINIMUM_VERSION   "1.44.0"
+ 
+ set(Boost_ADDITIONAL_VERSIONS "1.47.0" "1.46.1" "1.46" "1.46.0" "1.45" 
"1.45.0" "1.44" "1.44.0")
+ 
+-set(LUXRAYS_BOOST_COMPONENTS thread program_options filesystem serialization 
iostreams regex system python chrono)
++set(LUXRAYS_BOOST_COMPONENTS thread program_options filesystem serialization 
iostreams regex system python3 chrono)
+ find_package(Boost ${Boost_MINIMUM_VERSION} COMPONENTS 
${LUXRAYS_BOOST_COMPONENTS})
+ if (NOT Boost_FOUND)
+ # Try again with the other type of libs


[arch-commits] Commit in luxrays/repos (3 files)

2017-05-22 Thread Antonio Rojas
Date: Monday, May 22, 2017 @ 20:51:22
  Author: arojas
Revision: 229321

archrelease: copy trunk to community-staging-x86_64

Added:
  luxrays/repos/community-staging-x86_64/
  luxrays/repos/community-staging-x86_64/PKGBUILD
(from rev 229320, luxrays/trunk/PKGBUILD)
  luxrays/repos/community-staging-x86_64/force_python3.diff
(from rev 229320, luxrays/trunk/force_python3.diff)

+
 PKGBUILD   |   58 +++
 force_python3.diff |   12 ++
 2 files changed, 70 insertions(+)

Copied: luxrays/repos/community-staging-x86_64/PKGBUILD (from rev 229320, 
luxrays/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-05-22 20:51:22 UTC (rev 229321)
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer: Lukas Jirkovsky 
+pkgname='luxrays'
+pkgver=1.6
+_pkgver=61352e6aae3f
+pkgrel=9
+pkgdesc="Accelerate the ray intersection process by using GPUs"
+arch=('x86_64')
+url="http://www.luxrender.net/;
+license=('GPL')
+depends=('embree' 'opencl-icd-loader' 'libgl' 'openimageio')
+makedepends=('boost' 'cmake' 'freetype2' 'gtk3' 'libpng' 'mesa' 
'opencl-headers' 'glew' 'freeglut')
+optdepends=('amdapp-sdk: OpenCL support for AMD GPUs' \
+'intel-opencl-runtime: OpenCL support for Intel CPUs' \
+'glew: demos (SmallLuxGPU etc.)' \
+'gtk3: luxcoreui'
+'freeglut: demos (SmallLuxGPU etc.)' \
+'boost-libs: demos (SmallLuxGPU etc.)')
+options=('staticlibs')
+source=($pkgname-$pkgver.tar.bz2::https://bitbucket.org/luxrender/luxrays/get/luxrender_v$pkgver.tar.bz2
 \
+force_python3.diff)
+md5sums=('4c8df34d90dc04b50a180b945041cd92'
+ '36c9823246c2b575415c1709e065727c')
+
+prepare() {
+  cd "$srcdir"/luxrender-luxrays-$_pkgver
+
+  # force python3 for boost
+  patch -Np1 < "$srcdir/force_python3.diff" || true
+}
+
+build() {
+  cd "$srcdir/luxrender-luxrays-$_pkgver"
+
+  cmake . \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_SKIP_RPATH=ON \
+-DLUXRAYS_DISABLE_OPENCL=OFF
+  # this sucks, but luxrays doesn't seem to honor  CMAKE_*_LINKER_FLAGS
+  # thanks bartus from AUR for the fix
+  for file in `grep lboost_python -l -R ` ;do sed -i 's/$/ -lpython3/' $file ; 
done
+  make
+}
+
+package() {
+  cd "$srcdir/luxrender-luxrays-$_pkgver"
+
+  install -d -m755 "$pkgdir"/usr/{bin,include,lib}
+  install -m755 bin/* "$pkgdir"/usr/bin
+  install -m644 lib/* "$pkgdir"/usr/lib
+  cp -a include "$pkgdir"/usr
+
+  # install pyluxcore to the Python search path
+  install -d -m755 "$pkgdir"/usr/lib/python3.6/
+  mv "$pkgdir"/usr/lib/pyluxcore.so "$pkgdir"/usr/lib/python3.6/
+}
+
+# vim:set ts=2 sw=2 et:

Copied: luxrays/repos/community-staging-x86_64/force_python3.diff (from rev 
229320, luxrays/trunk/force_python3.diff)
===
--- community-staging-x86_64/force_python3.diff (rev 0)
+++ community-staging-x86_64/force_python3.diff 2017-05-22 20:51:22 UTC (rev 
229321)
@@ -0,0 +1,12 @@
+diff -rup luxrender-luxrays-61352e6aae3f.orig/cmake/Dependencies.cmake 
luxrender-luxrays-61352e6aae3f/cmake/Dependencies.cmake
+--- luxrender-luxrays-61352e6aae3f.orig/cmake/Dependencies.cmake   
2016-05-09 22:17:57.0 +0200
 luxrender-luxrays-61352e6aae3f/cmake/Dependencies.cmake2016-05-29 
09:04:30.913648230 +0200
+@@ -58,7 +58,7 @@ set(Boost_MINIMUM_VERSION   "1.44.0"
+ 
+ set(Boost_ADDITIONAL_VERSIONS "1.47.0" "1.46.1" "1.46" "1.46.0" "1.45" 
"1.45.0" "1.44" "1.44.0")
+ 
+-set(LUXRAYS_BOOST_COMPONENTS thread program_options filesystem serialization 
iostreams regex system python chrono)
++set(LUXRAYS_BOOST_COMPONENTS thread program_options filesystem serialization 
iostreams regex system python3 chrono)
+ find_package(Boost ${Boost_MINIMUM_VERSION} COMPONENTS 
${LUXRAYS_BOOST_COMPONENTS})
+ if (NOT Boost_FOUND)
+ # Try again with the other type of libs


[arch-commits] Commit in luxrays/repos (3 files)

2017-01-02 Thread Antonio Rojas
Date: Monday, January 2, 2017 @ 17:05:31
  Author: arojas
Revision: 204303

archrelease: copy trunk to community-staging-x86_64

Added:
  luxrays/repos/community-staging-x86_64/
  luxrays/repos/community-staging-x86_64/PKGBUILD
(from rev 204302, luxrays/trunk/PKGBUILD)
  luxrays/repos/community-staging-x86_64/force_python3.diff
(from rev 204302, luxrays/trunk/force_python3.diff)

+
 PKGBUILD   |   58 +++
 force_python3.diff |   12 ++
 2 files changed, 70 insertions(+)

Copied: luxrays/repos/community-staging-x86_64/PKGBUILD (from rev 204302, 
luxrays/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-01-02 17:05:31 UTC (rev 204303)
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer: Lukas Jirkovsky 
+pkgname='luxrays'
+pkgver=1.6
+_pkgver=61352e6aae3f
+pkgrel=7
+pkgdesc="Accelerate the ray intersection process by using GPUs"
+arch=('x86_64')
+url="http://www.luxrender.net/;
+license=('GPL')
+depends=('embree' 'opencl-icd-loader' 'libgl' 'openimageio')
+makedepends=('boost' 'cmake' 'freetype2' 'gtk3' 'libpng' 'mesa' 
'opencl-headers' 'glew' 'freeglut')
+optdepends=('amdapp-sdk: OpenCL support for AMD GPUs' \
+'intel-opencl-runtime: OpenCL support for Intel CPUs' \
+'glew: demos (SmallLuxGPU etc.)' \
+'gtk3: luxcoreui'
+'freeglut: demos (SmallLuxGPU etc.)' \
+'boost-libs: demos (SmallLuxGPU etc.)')
+options=('staticlibs')
+source=($pkgname-$pkgver.tar.bz2::https://bitbucket.org/luxrender/luxrays/get/luxrender_v$pkgver.tar.bz2
 \
+force_python3.diff)
+md5sums=('4c8df34d90dc04b50a180b945041cd92'
+ '36c9823246c2b575415c1709e065727c')
+
+prepare() {
+  cd "$srcdir"/luxrender-luxrays-$_pkgver
+
+  # force python3 for boost
+  patch -Np1 < "$srcdir/force_python3.diff" || true
+}
+
+build() {
+  cd "$srcdir/luxrender-luxrays-$_pkgver"
+
+  cmake . \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_SKIP_RPATH=ON \
+-DLUXRAYS_DISABLE_OPENCL=OFF
+  # this sucks, but luxrays doesn't seem to honor  CMAKE_*_LINKER_FLAGS
+  # thanks bartus from AUR for the fix
+  for file in `grep lboost_python -l -R ` ;do sed -i 's/$/ -lpython3/' $file ; 
done
+  make
+}
+
+package() {
+  cd "$srcdir/luxrender-luxrays-$_pkgver"
+
+  install -d -m755 "$pkgdir"/usr/{bin,include,lib}
+  install -m755 bin/* "$pkgdir"/usr/bin
+  install -m644 lib/* "$pkgdir"/usr/lib
+  cp -a include "$pkgdir"/usr
+
+  # install pyluxcore to the Python search path
+  install -d -m755 "$pkgdir"/usr/lib/python3.6/
+  mv "$pkgdir"/usr/lib/pyluxcore.so "$pkgdir"/usr/lib/python3.6/
+}
+
+# vim:set ts=2 sw=2 et:

Copied: luxrays/repos/community-staging-x86_64/force_python3.diff (from rev 
204302, luxrays/trunk/force_python3.diff)
===
--- community-staging-x86_64/force_python3.diff (rev 0)
+++ community-staging-x86_64/force_python3.diff 2017-01-02 17:05:31 UTC (rev 
204303)
@@ -0,0 +1,12 @@
+diff -rup luxrender-luxrays-61352e6aae3f.orig/cmake/Dependencies.cmake 
luxrender-luxrays-61352e6aae3f/cmake/Dependencies.cmake
+--- luxrender-luxrays-61352e6aae3f.orig/cmake/Dependencies.cmake   
2016-05-09 22:17:57.0 +0200
 luxrender-luxrays-61352e6aae3f/cmake/Dependencies.cmake2016-05-29 
09:04:30.913648230 +0200
+@@ -58,7 +58,7 @@ set(Boost_MINIMUM_VERSION   "1.44.0"
+ 
+ set(Boost_ADDITIONAL_VERSIONS "1.47.0" "1.46.1" "1.46" "1.46.0" "1.45" 
"1.45.0" "1.44" "1.44.0")
+ 
+-set(LUXRAYS_BOOST_COMPONENTS thread program_options filesystem serialization 
iostreams regex system python chrono)
++set(LUXRAYS_BOOST_COMPONENTS thread program_options filesystem serialization 
iostreams regex system python3 chrono)
+ find_package(Boost ${Boost_MINIMUM_VERSION} COMPONENTS 
${LUXRAYS_BOOST_COMPONENTS})
+ if (NOT Boost_FOUND)
+ # Try again with the other type of libs


[arch-commits] Commit in luxrays/repos (3 files)

2016-12-24 Thread Bartłomiej Piotrowski
Date: Saturday, December 24, 2016 @ 15:33:59
  Author: bpiotrowski
Revision: 201531

archrelease: copy trunk to community-staging-x86_64

Added:
  luxrays/repos/community-staging-x86_64/
  luxrays/repos/community-staging-x86_64/PKGBUILD
(from rev 201530, luxrays/trunk/PKGBUILD)
  luxrays/repos/community-staging-x86_64/force_python3.diff
(from rev 201530, luxrays/trunk/force_python3.diff)

+
 PKGBUILD   |   58 +++
 force_python3.diff |   12 ++
 2 files changed, 70 insertions(+)

Copied: luxrays/repos/community-staging-x86_64/PKGBUILD (from rev 201530, 
luxrays/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-12-24 15:33:59 UTC (rev 201531)
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer: Lukas Jirkovsky 
+pkgname='luxrays'
+pkgver=1.6
+_pkgver=61352e6aae3f
+pkgrel=6
+pkgdesc="Accelerate the ray intersection process by using GPUs"
+arch=('x86_64')
+url="http://www.luxrender.net/;
+license=('GPL')
+depends=('embree' 'opencl-icd-loader' 'libgl' 'openimageio')
+makedepends=('boost' 'cmake' 'freetype2' 'gtk3' 'libpng' 'mesa' 
'opencl-headers' 'glew' 'freeglut')
+optdepends=('amdapp-sdk: OpenCL support for AMD GPUs' \
+'intel-opencl-runtime: OpenCL support for Intel CPUs' \
+'glew: demos (SmallLuxGPU etc.)' \
+'gtk3: luxcoreui'
+'freeglut: demos (SmallLuxGPU etc.)' \
+'boost-libs: demos (SmallLuxGPU etc.)')
+options=('staticlibs')
+source=($pkgname-$pkgver.tar.bz2::https://bitbucket.org/luxrender/luxrays/get/luxrender_v$pkgver.tar.bz2
 \
+force_python3.diff)
+md5sums=('4c8df34d90dc04b50a180b945041cd92'
+ '36c9823246c2b575415c1709e065727c')
+
+prepare() {
+  cd "$srcdir"/luxrender-luxrays-$_pkgver
+
+  # force python3 for boost
+  patch -Np1 < "$srcdir/force_python3.diff" || true
+}
+
+build() {
+  cd "$srcdir/luxrender-luxrays-$_pkgver"
+
+  cmake . \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_SKIP_RPATH=ON \
+-DLUXRAYS_DISABLE_OPENCL=OFF
+  # this sucks, but luxrays doesn't seem to honor  CMAKE_*_LINKER_FLAGS
+  # thanks bartus from AUR for the fix
+  for file in `grep lboost_python -l -R ` ;do sed -i 's/$/ -lpython3/' $file ; 
done
+  make
+}
+
+package() {
+  cd "$srcdir/luxrender-luxrays-$_pkgver"
+
+  install -d -m755 "$pkgdir"/usr/{bin,include,lib}
+  install -m755 bin/* "$pkgdir"/usr/bin
+  install -m644 lib/* "$pkgdir"/usr/lib
+  cp -a include "$pkgdir"/usr
+
+  # install pyluxcore to the Python search path
+  install -d -m755 "$pkgdir"/usr/lib/python3.6/
+  mv "$pkgdir"/usr/lib/pyluxcore.so "$pkgdir"/usr/lib/python3.6/
+}
+
+# vim:set ts=2 sw=2 et:

Copied: luxrays/repos/community-staging-x86_64/force_python3.diff (from rev 
201530, luxrays/trunk/force_python3.diff)
===
--- community-staging-x86_64/force_python3.diff (rev 0)
+++ community-staging-x86_64/force_python3.diff 2016-12-24 15:33:59 UTC (rev 
201531)
@@ -0,0 +1,12 @@
+diff -rup luxrender-luxrays-61352e6aae3f.orig/cmake/Dependencies.cmake 
luxrender-luxrays-61352e6aae3f/cmake/Dependencies.cmake
+--- luxrender-luxrays-61352e6aae3f.orig/cmake/Dependencies.cmake   
2016-05-09 22:17:57.0 +0200
 luxrender-luxrays-61352e6aae3f/cmake/Dependencies.cmake2016-05-29 
09:04:30.913648230 +0200
+@@ -58,7 +58,7 @@ set(Boost_MINIMUM_VERSION   "1.44.0"
+ 
+ set(Boost_ADDITIONAL_VERSIONS "1.47.0" "1.46.1" "1.46" "1.46.0" "1.45" 
"1.45.0" "1.44" "1.44.0")
+ 
+-set(LUXRAYS_BOOST_COMPONENTS thread program_options filesystem serialization 
iostreams regex system python chrono)
++set(LUXRAYS_BOOST_COMPONENTS thread program_options filesystem serialization 
iostreams regex system python3 chrono)
+ find_package(Boost ${Boost_MINIMUM_VERSION} COMPONENTS 
${LUXRAYS_BOOST_COMPONENTS})
+ if (NOT Boost_FOUND)
+ # Try again with the other type of libs


[arch-commits] Commit in luxrays/repos (3 files)

2016-10-26 Thread Antonio Rojas
Date: Wednesday, October 26, 2016 @ 15:02:08
  Author: arojas
Revision: 193637

archrelease: copy trunk to community-staging-x86_64

Added:
  luxrays/repos/community-staging-x86_64/
  luxrays/repos/community-staging-x86_64/PKGBUILD
(from rev 193636, luxrays/trunk/PKGBUILD)
  luxrays/repos/community-staging-x86_64/force_python3.diff
(from rev 193636, luxrays/trunk/force_python3.diff)

+
 PKGBUILD   |   59 +++
 force_python3.diff |   12 ++
 2 files changed, 71 insertions(+)

Copied: luxrays/repos/community-staging-x86_64/PKGBUILD (from rev 193636, 
luxrays/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-10-26 15:02:08 UTC (rev 193637)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Lukas Jirkovsky 
+pkgname='luxrays'
+pkgver=1.6
+_pkgver=61352e6aae3f
+pkgrel=4
+pkgdesc="Accelerate the ray intersection process by using GPUs"
+arch=('x86_64')
+url="http://www.luxrender.net/;
+license=('GPL')
+depends=('embree' 'libcl' 'libgl' 'openimageio')
+makedepends=('boost' 'cmake' 'freetype2' 'gtk3' 'libpng' 'mesa' 
'opencl-headers' 'glew' 'freeglut')
+optdepends=('opencl-nvidia: OpenCL support for nVidia GPUs' \
+'amdapp-sdk: OpenCL support for AMD GPUs' \
+'intel-opencl-runtime: OpenCL support for Intel CPUs' \
+'glew: demos (SmallLuxGPU etc.)' \
+'gtk3: luxcoreui'
+'freeglut: demos (SmallLuxGPU etc.)' \
+'boost-libs: demos (SmallLuxGPU etc.)')
+options=('staticlibs')
+source=($pkgname-$pkgver.tar.bz2::https://bitbucket.org/luxrender/luxrays/get/luxrender_v$pkgver.tar.bz2
 \
+force_python3.diff)
+md5sums=('4c8df34d90dc04b50a180b945041cd92'
+ '36c9823246c2b575415c1709e065727c')
+
+prepare() {
+  cd "$srcdir"/luxrender-luxrays-$_pkgver
+
+  # force python3 for boost
+  patch -Np1 < "$srcdir/force_python3.diff" || true
+}
+
+build() {
+  cd "$srcdir/luxrender-luxrays-$_pkgver"
+
+  cmake . \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_SKIP_RPATH=ON \
+-DLUXRAYS_DISABLE_OPENCL=OFF
+  # this sucks, but luxrays doesn't seem to honor  CMAKE_*_LINKER_FLAGS
+  # thanks bartus from AUR for the fix
+  for file in `grep lboost_python -l -R ` ;do sed -i 's/$/ -lpython3/' $file ; 
done
+  make
+}
+
+package() {
+  cd "$srcdir/luxrender-luxrays-$_pkgver"
+
+  install -d -m755 "$pkgdir"/usr/{bin,include,lib}
+  install -m755 bin/* "$pkgdir"/usr/bin
+  install -m644 lib/* "$pkgdir"/usr/lib
+  cp -a include "$pkgdir"/usr
+
+  # install pyluxcore to the Python search path
+  install -d -m755 "$pkgdir"/usr/lib/python3.5/
+  mv "$pkgdir"/usr/lib/pyluxcore.so "$pkgdir"/usr/lib/python3.5/
+}
+
+# vim:set ts=2 sw=2 et:

Copied: luxrays/repos/community-staging-x86_64/force_python3.diff (from rev 
193636, luxrays/trunk/force_python3.diff)
===
--- community-staging-x86_64/force_python3.diff (rev 0)
+++ community-staging-x86_64/force_python3.diff 2016-10-26 15:02:08 UTC (rev 
193637)
@@ -0,0 +1,12 @@
+diff -rup luxrender-luxrays-61352e6aae3f.orig/cmake/Dependencies.cmake 
luxrender-luxrays-61352e6aae3f/cmake/Dependencies.cmake
+--- luxrender-luxrays-61352e6aae3f.orig/cmake/Dependencies.cmake   
2016-05-09 22:17:57.0 +0200
 luxrender-luxrays-61352e6aae3f/cmake/Dependencies.cmake2016-05-29 
09:04:30.913648230 +0200
+@@ -58,7 +58,7 @@ set(Boost_MINIMUM_VERSION   "1.44.0"
+ 
+ set(Boost_ADDITIONAL_VERSIONS "1.47.0" "1.46.1" "1.46" "1.46.0" "1.45" 
"1.45.0" "1.44" "1.44.0")
+ 
+-set(LUXRAYS_BOOST_COMPONENTS thread program_options filesystem serialization 
iostreams regex system python chrono)
++set(LUXRAYS_BOOST_COMPONENTS thread program_options filesystem serialization 
iostreams regex system python3 chrono)
+ find_package(Boost ${Boost_MINIMUM_VERSION} COMPONENTS 
${LUXRAYS_BOOST_COMPONENTS})
+ if (NOT Boost_FOUND)
+ # Try again with the other type of libs


[arch-commits] Commit in luxrays/repos (3 files)

2016-08-26 Thread Lukas Jirkovsky
Date: Friday, August 26, 2016 @ 18:34:50
  Author: stativ
Revision: 187723

archrelease: copy trunk to community-staging-x86_64

Added:
  luxrays/repos/community-staging-x86_64/
  luxrays/repos/community-staging-x86_64/PKGBUILD
(from rev 187722, luxrays/trunk/PKGBUILD)
  luxrays/repos/community-staging-x86_64/force_python3.diff
(from rev 187722, luxrays/trunk/force_python3.diff)

+
 PKGBUILD   |   59 +++
 force_python3.diff |   12 ++
 2 files changed, 71 insertions(+)

Copied: luxrays/repos/community-staging-x86_64/PKGBUILD (from rev 187722, 
luxrays/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-08-26 18:34:50 UTC (rev 187723)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Lukas Jirkovsky 
+pkgname='luxrays'
+pkgver=1.6
+_pkgver=61352e6aae3f
+pkgrel=3
+pkgdesc="Accelerate the ray intersection process by using GPUs"
+arch=('x86_64')
+url="http://www.luxrender.net/;
+license=('GPL')
+depends=('embree' 'libcl' 'libgl' 'openimageio')
+makedepends=('boost' 'cmake' 'freetype2' 'gtk3' 'libpng' 'mesa' 
'opencl-headers' 'glew' 'freeglut')
+optdepends=('opencl-nvidia: OpenCL support for nVidia GPUs' \
+'amdapp-sdk: OpenCL support for AMD GPUs' \
+'intel-opencl-runtime: OpenCL support for Intel CPUs' \
+'glew: demos (SmallLuxGPU etc.)' \
+'gtk3: luxcoreui'
+'freeglut: demos (SmallLuxGPU etc.)' \
+'boost-libs: demos (SmallLuxGPU etc.)')
+options=('staticlibs')
+source=($pkgname-$pkgver.tar.bz2::https://bitbucket.org/luxrender/luxrays/get/luxrender_v$pkgver.tar.bz2
 \
+force_python3.diff)
+md5sums=('4c8df34d90dc04b50a180b945041cd92'
+ '36c9823246c2b575415c1709e065727c')
+
+prepare() {
+  cd "$srcdir"/luxrender-luxrays-$_pkgver
+
+  # force python3 for boost
+  patch -Np1 < "$srcdir/force_python3.diff" || true
+}
+
+build() {
+  cd "$srcdir/luxrender-luxrays-$_pkgver"
+
+  cmake . \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_SKIP_RPATH=ON \
+-DLUXRAYS_DISABLE_OPENCL=OFF
+  # this sucks, but luxrays doesn't seem to honor  CMAKE_*_LINKER_FLAGS
+  # thanks bartus from AUR for the fix
+  for file in `grep lboost_python -l -R ` ;do sed -i 's/$/ -lpython3/' $file ; 
done
+  make
+}
+
+package() {
+  cd "$srcdir/luxrender-luxrays-$_pkgver"
+
+  install -d -m755 "$pkgdir"/usr/{bin,include,lib}
+  install -m755 bin/* "$pkgdir"/usr/bin
+  install -m644 lib/* "$pkgdir"/usr/lib
+  cp -a include "$pkgdir"/usr
+
+  # install pyluxcore to the Python search path
+  install -d -m755 "$pkgdir"/usr/lib/python3.5/
+  mv "$pkgdir"/usr/lib/pyluxcore.so "$pkgdir"/usr/lib/python3.5/
+}
+
+# vim:set ts=2 sw=2 et:

Copied: luxrays/repos/community-staging-x86_64/force_python3.diff (from rev 
187722, luxrays/trunk/force_python3.diff)
===
--- community-staging-x86_64/force_python3.diff (rev 0)
+++ community-staging-x86_64/force_python3.diff 2016-08-26 18:34:50 UTC (rev 
187723)
@@ -0,0 +1,12 @@
+diff -rup luxrender-luxrays-61352e6aae3f.orig/cmake/Dependencies.cmake 
luxrender-luxrays-61352e6aae3f/cmake/Dependencies.cmake
+--- luxrender-luxrays-61352e6aae3f.orig/cmake/Dependencies.cmake   
2016-05-09 22:17:57.0 +0200
 luxrender-luxrays-61352e6aae3f/cmake/Dependencies.cmake2016-05-29 
09:04:30.913648230 +0200
+@@ -58,7 +58,7 @@ set(Boost_MINIMUM_VERSION   "1.44.0"
+ 
+ set(Boost_ADDITIONAL_VERSIONS "1.47.0" "1.46.1" "1.46" "1.46.0" "1.45" 
"1.45.0" "1.44" "1.44.0")
+ 
+-set(LUXRAYS_BOOST_COMPONENTS thread program_options filesystem serialization 
iostreams regex system python chrono)
++set(LUXRAYS_BOOST_COMPONENTS thread program_options filesystem serialization 
iostreams regex system python3 chrono)
+ find_package(Boost ${Boost_MINIMUM_VERSION} COMPONENTS 
${LUXRAYS_BOOST_COMPONENTS})
+ if (NOT Boost_FOUND)
+ # Try again with the other type of libs


[arch-commits] Commit in luxrays/repos (3 files)

2016-08-04 Thread Andreas Radke
Date: Thursday, August 4, 2016 @ 15:57:27
  Author: andyrtr
Revision: 185070

archrelease: copy trunk to community-staging-x86_64

Added:
  luxrays/repos/community-staging-x86_64/
  luxrays/repos/community-staging-x86_64/PKGBUILD
(from rev 185069, luxrays/trunk/PKGBUILD)
  luxrays/repos/community-staging-x86_64/force_python3.diff
(from rev 185069, luxrays/trunk/force_python3.diff)

+
 PKGBUILD   |   59 +++
 force_python3.diff |   12 ++
 2 files changed, 71 insertions(+)

Copied: luxrays/repos/community-staging-x86_64/PKGBUILD (from rev 185069, 
luxrays/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-08-04 15:57:27 UTC (rev 185070)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Lukas Jirkovsky 
+pkgname='luxrays'
+pkgver=1.6
+_pkgver=61352e6aae3f
+pkgrel=2
+pkgdesc="Accelerate the ray intersection process by using GPUs"
+arch=('x86_64')
+url="http://www.luxrender.net/;
+license=('GPL')
+depends=('embree' 'libcl' 'libgl' 'openimageio')
+makedepends=('boost' 'cmake' 'freetype2' 'gtk3' 'libpng' 'mesa' 
'opencl-headers' 'glew' 'freeglut')
+optdepends=('opencl-nvidia: OpenCL support for nVidia GPUs' \
+'amdapp-sdk: OpenCL support for AMD GPUs' \
+'intel-opencl-runtime: OpenCL support for Intel CPUs' \
+'glew: demos (SmallLuxGPU etc.)' \
+'gtk3: luxcoreui'
+'freeglut: demos (SmallLuxGPU etc.)' \
+'boost-libs: demos (SmallLuxGPU etc.)')
+options=('staticlibs')
+source=($pkgname-$pkgver.tar.bz2::https://bitbucket.org/luxrender/luxrays/get/luxrender_v$pkgver.tar.bz2
 \
+force_python3.diff)
+md5sums=('4c8df34d90dc04b50a180b945041cd92'
+ '36c9823246c2b575415c1709e065727c')
+
+prepare() {
+  cd "$srcdir"/luxrender-luxrays-$_pkgver
+
+  # force python3 for boost
+  patch -Np1 < "$srcdir/force_python3.diff" || true
+}
+
+build() {
+  cd "$srcdir/luxrender-luxrays-$_pkgver"
+
+  cmake . \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_SKIP_RPATH=ON \
+-DLUXRAYS_DISABLE_OPENCL=OFF
+  # this sucks, but luxrays doesn't seem to honor  CMAKE_*_LINKER_FLAGS
+  # thanks bartus from AUR for the fix
+  for file in `grep lboost_python -l -R ` ;do sed -i 's/$/ -lpython3/' $file ; 
done
+  make
+}
+
+package() {
+  cd "$srcdir/luxrender-luxrays-$_pkgver"
+
+  install -d -m755 "$pkgdir"/usr/{bin,include,lib}
+  install -m755 bin/* "$pkgdir"/usr/bin
+  install -m644 lib/* "$pkgdir"/usr/lib
+  cp -a include "$pkgdir"/usr
+
+  # install pyluxcore to the Python search path
+  install -d -m755 "$pkgdir"/usr/lib/python3.5/
+  mv "$pkgdir"/usr/lib/pyluxcore.so "$pkgdir"/usr/lib/python3.5/
+}
+
+# vim:set ts=2 sw=2 et:

Copied: luxrays/repos/community-staging-x86_64/force_python3.diff (from rev 
185069, luxrays/trunk/force_python3.diff)
===
--- community-staging-x86_64/force_python3.diff (rev 0)
+++ community-staging-x86_64/force_python3.diff 2016-08-04 15:57:27 UTC (rev 
185070)
@@ -0,0 +1,12 @@
+diff -rup luxrender-luxrays-61352e6aae3f.orig/cmake/Dependencies.cmake 
luxrender-luxrays-61352e6aae3f/cmake/Dependencies.cmake
+--- luxrender-luxrays-61352e6aae3f.orig/cmake/Dependencies.cmake   
2016-05-09 22:17:57.0 +0200
 luxrender-luxrays-61352e6aae3f/cmake/Dependencies.cmake2016-05-29 
09:04:30.913648230 +0200
+@@ -58,7 +58,7 @@ set(Boost_MINIMUM_VERSION   "1.44.0"
+ 
+ set(Boost_ADDITIONAL_VERSIONS "1.47.0" "1.46.1" "1.46" "1.46.0" "1.45" 
"1.45.0" "1.44" "1.44.0")
+ 
+-set(LUXRAYS_BOOST_COMPONENTS thread program_options filesystem serialization 
iostreams regex system python chrono)
++set(LUXRAYS_BOOST_COMPONENTS thread program_options filesystem serialization 
iostreams regex system python3 chrono)
+ find_package(Boost ${Boost_MINIMUM_VERSION} COMPONENTS 
${LUXRAYS_BOOST_COMPONENTS})
+ if (NOT Boost_FOUND)
+ # Try again with the other type of libs


[arch-commits] Commit in luxrays/repos (3 files)

2016-05-13 Thread Bartłomiej Piotrowski
Date: Friday, May 13, 2016 @ 22:59:08
  Author: bpiotrowski
Revision: 175266

archrelease: copy trunk to community-staging-x86_64

Added:
  luxrays/repos/community-staging-x86_64/
  luxrays/repos/community-staging-x86_64/PKGBUILD
(from rev 175265, luxrays/trunk/PKGBUILD)
  luxrays/repos/community-staging-x86_64/force_python3.diff
(from rev 175265, luxrays/trunk/force_python3.diff)

+
 PKGBUILD   |   54 +++
 force_python3.diff |   12 +++
 2 files changed, 66 insertions(+)

Copied: luxrays/repos/community-staging-x86_64/PKGBUILD (from rev 175265, 
luxrays/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-05-13 20:59:08 UTC (rev 175266)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Lukas Jirkovsky 
+pkgname='luxrays'
+pkgver=1.5.1
+_pkgver=8577ff287efb
+pkgrel=2
+pkgdesc="Accelerate the ray intersection process by using GPUs"
+arch=('x86_64')
+url="http://www.luxrender.net/;
+license=('GPL')
+depends=('embree' 'libcl' 'libgl' 'openimageio')
+makedepends=('boost' 'cmake' 'freetype2' 'libpng' 'mesa' 'opencl-headers' 
'glew' 'freeglut')
+optdepends=('opencl-nvidia: OpenCL support for nVidia GPUs' \
+'amdapp-sdk: OpenCL support for AMD GPUs' \
+'intel-opencl-runtime: OpenCL support for Intel CPUs' \
+'glew: demos (SmallLuxGPU etc.)' \
+'freeglut: demos (SmallLuxGPU etc.)' \
+'boost-libs: demos (SmallLuxGPU etc.)')
+options=('staticlibs')
+source=($pkgname-$pkgver.tar.bz2::https://bitbucket.org/luxrender/luxrays/get/${_pkgver}.tar.bz2
 \
+force_python3.diff)
+md5sums=('2d6619e33fb4df237ba239b944e00e68'
+ '3bfb5594a709d1ea772866d66904b8fd')
+
+prepare() {
+  cd "$srcdir"/luxrender-luxrays-$_pkgver
+
+  patch -Np1 < "$srcdir/force_python3.diff" || true
+}
+
+build() {
+  cd "$srcdir/luxrender-luxrays-$_pkgver"
+
+  cmake . \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_SKIP_RPATH=ON \
+-DLUXRAYS_DISABLE_OPENCL=OFF
+  make
+}
+
+package() {
+  cd "$srcdir/luxrender-luxrays-$_pkgver"
+
+  install -d -m755 "$pkgdir"/usr/{bin,include,lib}
+  install -m755 bin/* "$pkgdir"/usr/bin
+  install -m644 lib/* "$pkgdir"/usr/lib
+  cp -a include "$pkgdir"/usr
+
+  # install pyluxcore to the Python search path
+  install -d -m755 "$pkgdir"/usr/lib/python3.5/
+  mv "$pkgdir"/usr/lib/pyluxcore.so "$pkgdir"/usr/lib/python3.5/
+}
+
+# vim:set ts=2 sw=2 et:

Copied: luxrays/repos/community-staging-x86_64/force_python3.diff (from rev 
175265, luxrays/trunk/force_python3.diff)
===
--- community-staging-x86_64/force_python3.diff (rev 0)
+++ community-staging-x86_64/force_python3.diff 2016-05-13 20:59:08 UTC (rev 
175266)
@@ -0,0 +1,12 @@
+diff -rup luxrender-luxrays-7c7127ee1fa4/cmake/Dependencies.cmake 
luxrender-luxrays-7c7127ee1fa4.new/cmake/Dependencies.cmake
+--- luxrender-luxrays-7c7127ee1fa4/cmake/Dependencies.cmake2015-01-20 
23:45:32.0 +0100
 luxrender-luxrays-7c7127ee1fa4.new/cmake/Dependencies.cmake
2015-02-15 22:19:40.775351414 +0100
+@@ -58,7 +58,7 @@ set(Boost_MINIMUM_VERSION   "1.44.0"
+ 
+ set(Boost_ADDITIONAL_VERSIONS "1.47.0" "1.46.1" "1.46" "1.46.0" "1.45" 
"1.45.0" "1.44" "1.44.0")
+ 
+-set(LUXRAYS_BOOST_COMPONENTS thread program_options filesystem serialization 
iostreams regex system python)
++set(LUXRAYS_BOOST_COMPONENTS thread program_options filesystem serialization 
iostreams regex system python3)
+ find_package(Boost ${Boost_MINIMUM_VERSION} COMPONENTS 
${LUXRAYS_BOOST_COMPONENTS})
+ if (NOT Boost_FOUND)
+ # Try again with the other type of libs


[arch-commits] Commit in luxrays/repos (3 files)

2015-12-21 Thread Sven-Hendrik Haase
Date: Tuesday, December 22, 2015 @ 08:50:42
  Author: svenstaro
Revision: 154145

archrelease: copy trunk to community-staging-x86_64

Added:
  luxrays/repos/community-staging-x86_64/
  luxrays/repos/community-staging-x86_64/PKGBUILD
(from rev 154144, luxrays/trunk/PKGBUILD)
  luxrays/repos/community-staging-x86_64/force_python3.diff
(from rev 154144, luxrays/trunk/force_python3.diff)

+
 PKGBUILD   |   54 +++
 force_python3.diff |   12 +++
 2 files changed, 66 insertions(+)

Copied: luxrays/repos/community-staging-x86_64/PKGBUILD (from rev 154144, 
luxrays/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2015-12-22 07:50:42 UTC (rev 154145)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Lukas Jirkovsky 
+pkgname='luxrays'
+pkgver=1.5
+_pkgver=53c0b9a41ea2
+pkgrel=5
+pkgdesc="Accelerate the ray intersection process by using GPUs"
+arch=('x86_64')
+url="http://www.luxrender.net/;
+license=('GPL')
+depends=('embree' 'libcl' 'libgl' 'openimageio')
+makedepends=('boost' 'cmake' 'freetype2' 'libpng' 'mesa' 'opencl-headers' 
'glew' 'freeglut')
+optdepends=('opencl-nvidia: OpenCL support for nVidia GPUs' \
+'amdapp-sdk: OpenCL support for AMD GPUs' \
+'intel-opencl-runtime: OpenCL support for Intel CPUs' \
+'glew: demos (SmallLuxGPU etc.)' \
+'freeglut: demos (SmallLuxGPU etc.)' \
+'boost-libs: demos (SmallLuxGPU etc.)')
+options=('staticlibs')
+source=($pkgname-$pkgver.tar.bz2::https://bitbucket.org/luxrender/luxrays/get/${_pkgver}.tar.bz2
 \
+force_python3.diff)
+md5sums=('92f96a13b5c0c337ae156a6851c98cad'
+ '3bfb5594a709d1ea772866d66904b8fd')
+
+prepare() {
+  cd "$srcdir"/luxrender-luxrays-$_pkgver
+
+  patch -Np1 < "$srcdir/force_python3.diff" || true
+}
+
+build() {
+  cd "$srcdir/luxrender-luxrays-$_pkgver"
+
+  cmake . \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_SKIP_RPATH=ON \
+-DLUXRAYS_DISABLE_OPENCL=OFF
+  make
+}
+
+package() {
+  cd "$srcdir/luxrender-luxrays-$_pkgver"
+
+  install -d -m755 "$pkgdir"/usr/{bin,include,lib}
+  install -m755 bin/* "$pkgdir"/usr/bin
+  install -m644 lib/* "$pkgdir"/usr/lib
+  cp -a include "$pkgdir"/usr
+
+  # install pyluxcore to the Python search path
+  install -d -m755 "$pkgdir"/usr/lib/python3.5/
+  mv "$pkgdir"/usr/lib/pyluxcore.so "$pkgdir"/usr/lib/python3.5/
+}
+
+# vim:set ts=2 sw=2 et:

Copied: luxrays/repos/community-staging-x86_64/force_python3.diff (from rev 
154144, luxrays/trunk/force_python3.diff)
===
--- community-staging-x86_64/force_python3.diff (rev 0)
+++ community-staging-x86_64/force_python3.diff 2015-12-22 07:50:42 UTC (rev 
154145)
@@ -0,0 +1,12 @@
+diff -rup luxrender-luxrays-7c7127ee1fa4/cmake/Dependencies.cmake 
luxrender-luxrays-7c7127ee1fa4.new/cmake/Dependencies.cmake
+--- luxrender-luxrays-7c7127ee1fa4/cmake/Dependencies.cmake2015-01-20 
23:45:32.0 +0100
 luxrender-luxrays-7c7127ee1fa4.new/cmake/Dependencies.cmake
2015-02-15 22:19:40.775351414 +0100
+@@ -58,7 +58,7 @@ set(Boost_MINIMUM_VERSION   "1.44.0"
+ 
+ set(Boost_ADDITIONAL_VERSIONS "1.47.0" "1.46.1" "1.46" "1.46.0" "1.45" 
"1.45.0" "1.44" "1.44.0")
+ 
+-set(LUXRAYS_BOOST_COMPONENTS thread program_options filesystem serialization 
iostreams regex system python)
++set(LUXRAYS_BOOST_COMPONENTS thread program_options filesystem serialization 
iostreams regex system python3)
+ find_package(Boost ${Boost_MINIMUM_VERSION} COMPONENTS 
${LUXRAYS_BOOST_COMPONENTS})
+ if (NOT Boost_FOUND)
+ # Try again with the other type of libs


[arch-commits] Commit in luxrays/repos (3 files)

2015-12-07 Thread Felix Yan
Date: Monday, December 7, 2015 @ 13:55:15
  Author: fyan
Revision: 149844

archrelease: copy trunk to community-staging-x86_64

Added:
  luxrays/repos/community-staging-x86_64/
  luxrays/repos/community-staging-x86_64/PKGBUILD
(from rev 149843, luxrays/trunk/PKGBUILD)
  luxrays/repos/community-staging-x86_64/force_python3.diff
(from rev 149843, luxrays/trunk/force_python3.diff)

+
 PKGBUILD   |   54 +++
 force_python3.diff |   12 +++
 2 files changed, 66 insertions(+)

Copied: luxrays/repos/community-staging-x86_64/PKGBUILD (from rev 149843, 
luxrays/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2015-12-07 12:55:15 UTC (rev 149844)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Lukas Jirkovsky 
+pkgname='luxrays'
+pkgver=1.5
+_pkgver=53c0b9a41ea2
+pkgrel=4
+pkgdesc="Accelerate the ray intersection process by using GPUs"
+arch=('x86_64')
+url="http://www.luxrender.net/;
+license=('GPL')
+depends=('embree' 'libcl' 'libgl' 'openimageio')
+makedepends=('boost' 'cmake' 'freetype2' 'libpng' 'mesa' 'opencl-headers' 
'glew' 'freeglut')
+optdepends=('opencl-nvidia: OpenCL support for nVidia GPUs' \
+'amdapp-sdk: OpenCL support for AMD GPUs' \
+'intel-opencl-runtime: OpenCL support for Intel CPUs' \
+'glew: demos (SmallLuxGPU etc.)' \
+'freeglut: demos (SmallLuxGPU etc.)' \
+'boost-libs: demos (SmallLuxGPU etc.)')
+options=('staticlibs')
+source=($pkgname-$pkgver.tar.bz2::https://bitbucket.org/luxrender/luxrays/get/${_pkgver}.tar.bz2
 \
+force_python3.diff)
+md5sums=('b432c48332a765791d27aaa25fee4783'
+ '3bfb5594a709d1ea772866d66904b8fd')
+
+prepare() {
+  cd "$srcdir"/luxrender-luxrays-$_pkgver
+
+  patch -Np1 < "$srcdir/force_python3.diff" || true
+}
+
+build() {
+  cd "$srcdir/luxrender-luxrays-$_pkgver"
+
+  cmake . \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_SKIP_RPATH=ON \
+-DLUXRAYS_DISABLE_OPENCL=OFF
+  make
+}
+
+package() {
+  cd "$srcdir/luxrender-luxrays-$_pkgver"
+
+  install -d -m755 "$pkgdir"/usr/{bin,include,lib}
+  install -m755 bin/* "$pkgdir"/usr/bin
+  install -m644 lib/* "$pkgdir"/usr/lib
+  cp -a include "$pkgdir"/usr
+
+  # install pyluxcore to the Python search path
+  install -d -m755 "$pkgdir"/usr/lib/python3.5/
+  mv "$pkgdir"/usr/lib/pyluxcore.so "$pkgdir"/usr/lib/python3.5/
+}
+
+# vim:set ts=2 sw=2 et:

Copied: luxrays/repos/community-staging-x86_64/force_python3.diff (from rev 
149843, luxrays/trunk/force_python3.diff)
===
--- community-staging-x86_64/force_python3.diff (rev 0)
+++ community-staging-x86_64/force_python3.diff 2015-12-07 12:55:15 UTC (rev 
149844)
@@ -0,0 +1,12 @@
+diff -rup luxrender-luxrays-7c7127ee1fa4/cmake/Dependencies.cmake 
luxrender-luxrays-7c7127ee1fa4.new/cmake/Dependencies.cmake
+--- luxrender-luxrays-7c7127ee1fa4/cmake/Dependencies.cmake2015-01-20 
23:45:32.0 +0100
 luxrender-luxrays-7c7127ee1fa4.new/cmake/Dependencies.cmake
2015-02-15 22:19:40.775351414 +0100
+@@ -58,7 +58,7 @@ set(Boost_MINIMUM_VERSION   "1.44.0"
+ 
+ set(Boost_ADDITIONAL_VERSIONS "1.47.0" "1.46.1" "1.46" "1.46.0" "1.45" 
"1.45.0" "1.44" "1.44.0")
+ 
+-set(LUXRAYS_BOOST_COMPONENTS thread program_options filesystem serialization 
iostreams regex system python)
++set(LUXRAYS_BOOST_COMPONENTS thread program_options filesystem serialization 
iostreams regex system python3)
+ find_package(Boost ${Boost_MINIMUM_VERSION} COMPONENTS 
${LUXRAYS_BOOST_COMPONENTS})
+ if (NOT Boost_FOUND)
+ # Try again with the other type of libs


[arch-commits] Commit in luxrays/repos (3 files)

2015-10-20 Thread Evangelos Foutras
Date: Tuesday, October 20, 2015 @ 08:28:13
  Author: foutrelis
Revision: 144406

archrelease: copy trunk to community-staging-x86_64

Added:
  luxrays/repos/community-staging-x86_64/
  luxrays/repos/community-staging-x86_64/PKGBUILD
(from rev 144405, luxrays/trunk/PKGBUILD)
  luxrays/repos/community-staging-x86_64/force_python3.diff
(from rev 144405, luxrays/trunk/force_python3.diff)

+
 PKGBUILD   |   54 +++
 force_python3.diff |   12 +++
 2 files changed, 66 insertions(+)

Copied: luxrays/repos/community-staging-x86_64/PKGBUILD (from rev 144405, 
luxrays/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2015-10-20 06:28:13 UTC (rev 144406)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Lukas Jirkovsky 
+pkgname='luxrays'
+pkgver=1.5
+_pkgver=53c0b9a41ea2
+pkgrel=3
+pkgdesc="Accelerate the ray intersection process by using GPUs"
+arch=('x86_64')
+url="http://www.luxrender.net/;
+license=('GPL')
+depends=('embree' 'libcl' 'libgl' 'openimageio')
+makedepends=('boost' 'cmake' 'freetype2' 'libpng' 'mesa' 'opencl-headers' 
'glew' 'freeglut')
+optdepends=('opencl-nvidia: OpenCL support for nVidia GPUs' \
+'amdapp-sdk: OpenCL support for AMD GPUs' \
+'intel-opencl-runtime: OpenCL support for Intel CPUs' \
+'glew: demos (SmallLuxGPU etc.)' \
+'freeglut: demos (SmallLuxGPU etc.)' \
+'boost-libs: demos (SmallLuxGPU etc.)')
+options=('staticlibs')
+source=($pkgname-$pkgver.tar.bz2::https://bitbucket.org/luxrender/luxrays/get/${_pkgver}.tar.bz2
 \
+force_python3.diff)
+md5sums=('b432c48332a765791d27aaa25fee4783'
+ '3bfb5594a709d1ea772866d66904b8fd')
+
+prepare() {
+  cd "$srcdir"/luxrender-luxrays-$_pkgver
+
+  patch -Np1 < "$srcdir/force_python3.diff" || true
+}
+
+build() {
+  cd "$srcdir/luxrender-luxrays-$_pkgver"
+
+  cmake . \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_SKIP_RPATH=ON \
+-DLUXRAYS_DISABLE_OPENCL=OFF
+  make
+}
+
+package() {
+  cd "$srcdir/luxrender-luxrays-$_pkgver"
+
+  install -d -m755 "$pkgdir"/usr/{bin,include,lib}
+  install -m755 bin/* "$pkgdir"/usr/bin
+  install -m644 lib/* "$pkgdir"/usr/lib
+  cp -a include "$pkgdir"/usr
+
+  # install pyluxcore to the Python search path
+  install -d -m755 "$pkgdir"/usr/lib/python3.5/
+  mv "$pkgdir"/usr/lib/pyluxcore.so "$pkgdir"/usr/lib/python3.5/
+}
+
+# vim:set ts=2 sw=2 et:

Copied: luxrays/repos/community-staging-x86_64/force_python3.diff (from rev 
144405, luxrays/trunk/force_python3.diff)
===
--- community-staging-x86_64/force_python3.diff (rev 0)
+++ community-staging-x86_64/force_python3.diff 2015-10-20 06:28:13 UTC (rev 
144406)
@@ -0,0 +1,12 @@
+diff -rup luxrender-luxrays-7c7127ee1fa4/cmake/Dependencies.cmake 
luxrender-luxrays-7c7127ee1fa4.new/cmake/Dependencies.cmake
+--- luxrender-luxrays-7c7127ee1fa4/cmake/Dependencies.cmake2015-01-20 
23:45:32.0 +0100
 luxrender-luxrays-7c7127ee1fa4.new/cmake/Dependencies.cmake
2015-02-15 22:19:40.775351414 +0100
+@@ -58,7 +58,7 @@ set(Boost_MINIMUM_VERSION   "1.44.0"
+ 
+ set(Boost_ADDITIONAL_VERSIONS "1.47.0" "1.46.1" "1.46" "1.46.0" "1.45" 
"1.45.0" "1.44" "1.44.0")
+ 
+-set(LUXRAYS_BOOST_COMPONENTS thread program_options filesystem serialization 
iostreams regex system python)
++set(LUXRAYS_BOOST_COMPONENTS thread program_options filesystem serialization 
iostreams regex system python3)
+ find_package(Boost ${Boost_MINIMUM_VERSION} COMPONENTS 
${LUXRAYS_BOOST_COMPONENTS})
+ if (NOT Boost_FOUND)
+ # Try again with the other type of libs


[arch-commits] Commit in luxrays/repos (3 files)

2015-09-21 Thread Lukas Jirkovsky
Date: Monday, September 21, 2015 @ 21:50:38
  Author: stativ
Revision: 141409

archrelease: copy trunk to community-staging-x86_64

Added:
  luxrays/repos/community-staging-x86_64/
  luxrays/repos/community-staging-x86_64/PKGBUILD
(from rev 141408, luxrays/trunk/PKGBUILD)
  luxrays/repos/community-staging-x86_64/force_python3.diff
(from rev 141408, luxrays/trunk/force_python3.diff)

+
 PKGBUILD   |   54 +++
 force_python3.diff |   12 +++
 2 files changed, 66 insertions(+)

Copied: luxrays/repos/community-staging-x86_64/PKGBUILD (from rev 141408, 
luxrays/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2015-09-21 19:50:38 UTC (rev 141409)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Lukas Jirkovsky 
+pkgname='luxrays'
+pkgver=1.5
+_pkgver=53c0b9a41ea2
+pkgrel=2
+pkgdesc="Accelerate the ray intersection process by using GPUs"
+arch=('x86_64')
+url="http://www.luxrender.net/;
+license=('GPL')
+depends=('embree' 'libcl' 'libgl' 'openimageio')
+makedepends=('boost' 'cmake' 'freetype2' 'libpng' 'mesa' 'opencl-headers' 
'glew' 'freeglut')
+optdepends=('opencl-nvidia: OpenCL support for nVidia GPUs' \
+'amdapp-sdk: OpenCL support for AMD GPUs' \
+'intel-opencl-runtime: OpenCL support for Intel CPUs' \
+'glew: demos (SmallLuxGPU etc.)' \
+'freeglut: demos (SmallLuxGPU etc.)' \
+'boost-libs: demos (SmallLuxGPU etc.)')
+options=('staticlibs')
+source=($pkgname-$pkgver.tar.bz2::https://bitbucket.org/luxrender/luxrays/get/${_pkgver}.tar.bz2
 \
+force_python3.diff)
+md5sums=('b432c48332a765791d27aaa25fee4783'
+ '3bfb5594a709d1ea772866d66904b8fd')
+
+prepare() {
+  cd "$srcdir"/luxrender-luxrays-$_pkgver
+
+  patch -Np1 < "$srcdir/force_python3.diff" || true
+}
+
+build() {
+  cd "$srcdir/luxrender-luxrays-$_pkgver"
+
+  cmake . \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_SKIP_RPATH=ON \
+-DLUXRAYS_DISABLE_OPENCL=OFF
+  make
+}
+
+package() {
+  cd "$srcdir/luxrender-luxrays-$_pkgver"
+
+  install -d -m755 "$pkgdir"/usr/{bin,include,lib}
+  install -m755 bin/* "$pkgdir"/usr/bin
+  install -m644 lib/* "$pkgdir"/usr/lib
+  cp -a include "$pkgdir"/usr
+
+  # install pyluxcore to the Python search path
+  install -d -m755 "$pkgdir"/usr/lib/python3.5/
+  mv "$pkgdir"/usr/lib/pyluxcore.so "$pkgdir"/usr/lib/python3.5/
+}
+
+# vim:set ts=2 sw=2 et:

Copied: luxrays/repos/community-staging-x86_64/force_python3.diff (from rev 
141408, luxrays/trunk/force_python3.diff)
===
--- community-staging-x86_64/force_python3.diff (rev 0)
+++ community-staging-x86_64/force_python3.diff 2015-09-21 19:50:38 UTC (rev 
141409)
@@ -0,0 +1,12 @@
+diff -rup luxrender-luxrays-7c7127ee1fa4/cmake/Dependencies.cmake 
luxrender-luxrays-7c7127ee1fa4.new/cmake/Dependencies.cmake
+--- luxrender-luxrays-7c7127ee1fa4/cmake/Dependencies.cmake2015-01-20 
23:45:32.0 +0100
 luxrender-luxrays-7c7127ee1fa4.new/cmake/Dependencies.cmake
2015-02-15 22:19:40.775351414 +0100
+@@ -58,7 +58,7 @@ set(Boost_MINIMUM_VERSION   "1.44.0"
+ 
+ set(Boost_ADDITIONAL_VERSIONS "1.47.0" "1.46.1" "1.46" "1.46.0" "1.45" 
"1.45.0" "1.44" "1.44.0")
+ 
+-set(LUXRAYS_BOOST_COMPONENTS thread program_options filesystem serialization 
iostreams regex system python)
++set(LUXRAYS_BOOST_COMPONENTS thread program_options filesystem serialization 
iostreams regex system python3)
+ find_package(Boost ${Boost_MINIMUM_VERSION} COMPONENTS 
${LUXRAYS_BOOST_COMPONENTS})
+ if (NOT Boost_FOUND)
+ # Try again with the other type of libs