summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2018-01-15 09:07:44 +0100
committerAndreas Grapentin <andreas@grapentin.org>2018-01-15 09:07:44 +0100
commitac1f846127b923bb56b1c51207a8c0ac1a5d96c3 (patch)
tree1bc4a1c3869009ac3c8d4c049f4d646c98ab5c45 /libre
parent60d6447e482f4645bc11dcea0cbe5d93280f9f6c (diff)
downloadabslibre-ac1f846127b923bb56b1c51207a8c0ac1a5d96c3.tar.gz
abslibre-ac1f846127b923bb56b1c51207a8c0ac1a5d96c3.tar.bz2
abslibre-ac1f846127b923bb56b1c51207a8c0ac1a5d96c3.zip
libre/blendedr-addon-luxrender: removed - no build existed and it is covered by community/luxblend25
Diffstat (limited to 'libre')
-rw-r--r--libre/blender-addon-luxrender/PKGBUILD73
-rw-r--r--libre/blender-addon-luxrender/luxrender.cfg2
-rw-r--r--libre/blender-addon-luxrender/pyluxcore_path.diff187
3 files changed, 0 insertions, 262 deletions
diff --git a/libre/blender-addon-luxrender/PKGBUILD b/libre/blender-addon-luxrender/PKGBUILD
deleted file mode 100644
index 623007c91..000000000
--- a/libre/blender-addon-luxrender/PKGBUILD
+++ /dev/null
@@ -1,73 +0,0 @@
-# Maintainer: Márcio Silva <coadde@hyperbola.info>
-
-_pkgname=luxrender
-_pkgver=1.6.0
-_pkgverM=${_pkgver%.*}
-_bldname=blender
-_bldver=2.77
-_bldep=17
-_srcname=${_pkgname::3}${_bldname::5}25
-_srcver=885740dce55a
-
-pkgname=$_bldname-addon-$_pkgname
-if [[ ${_pkgver/*./} == 0 ]]; then
- pkgver=${_pkgver/.*/}.${_pkgverM#*.}.v$_bldver
- provides=("$_srcname=${_pkgver/.*/}.${_pkgverM#*.}")
-else
- pkgver=$_pkgver.v$_bldver
- provides=("$_srcname=$_pkgver")
-fi
-pkgrel=1
-pkgdesc="$_srcname: A addon for the ${_bldname^} which allows render and export with LuxRender (built for the $_bldname package)"
-arch=('x86_64')
-url="http://www.$_pkgname.net/"
-license=('GPL2')
-conflicts=("$_srcname")
-replaces=("$_srcname")
-if [[ ${_pkgver/*./} == 0 ]]; then
- source=("$pkgname-$pkgver.tar.bz2::https://bitbucket.org/$_pkgname/$_srcname/get/v${_pkgver/.*/}${_pkgverM#*.}.tar.bz2")
-else
- source=("$pkgname-$pkgver.tar.bz2::https://bitbucket.org/$_pkgname/$_srcname/get/v${_pkgver/.*/}${_pkgverM#*.}${_pkgver/*./}.tar.bz2")
-fi
-source+=('system_config.diff' 'pyluxcore_path.diff' "$_pkgname.cfg"
- 'http://www.gnu.org/licenses/gpl-2.0.txt')
-sha512sums=('b56bb8c14bb7cf03f7c0d2d13002acb42635cbe39acba192379cf1d1a9be650d505fb11417f205e149114e94e52eca05efe3d4ebc37cfbec32b113880f38309b'
- 'd34aeff49c1ca5406b5a3176efc2b31a319109dcb193248aec792f8b12755b6e76fb864394d0d459408135c67033e06d365a516171f56b4f874a7ee0c576fbc3'
- '56a10bc8ea27db1acaf866f8f79b969aeaa014e91511751b6cd3897cf52f275d0f9e2605be4dc3fa7b74c5f1d02aa2a8a85cbcc15d728ef335116435ba43eeef'
- '9d27216c8fe2457a36e6d23537cb46a6d1eb2981c2413980aa0a06c4017fc6eee9fa008266457f13d4119d77607b5d07c238c2e794e24b1c00f9da4577dcc4c5'
- 'aee80b1f9f7f4a8a00dcf6e6ce6c41988dcaedc4de19d9d04460cbfb05d99829ffe8f9d038468eabbfba4d65b38e8dbef5ecf5eb8a1b891d9839cda6c48ee957')
-
-prepare() {
- cd "$srcdir"/$_pkgname-$_srcname-$_srcver
-
- # enables loading of the configuration from a system-wide config file
- patch -Np1 < "$srcdir/system_config.diff"
- # change the search path for pylux* so the pylux* can be found in its new location
- #find "$pkgdir/usr/share/blender/$_blender/scripts/addons/luxrender" -name "*.py" \
- # -exec sed -i 's|from.*import pylux|import pylux|' '{}' ';'
- patch -Np1 < "$srcdir/pyluxcore_path.diff"
-}
-
-package() {
- _relver="${_bldver%%[.r][a-z]*}"
- _minver="${_relver#*.}"
- depends=("$_bldname>=$_bldep:${_bldver%%[.r][a-z]*}rc1" "$_bldname<$_bldep:${_bldver%%[.r]*}.$(($_minver+1))rc1" "$_pkgname")
-
- a=$srcdir/$_pkgname-$_srcname-$_srcver/src/$_pkgname
- b=$pkgdir/usr/share/$_bldname/$_bldver/scripts/addons
- c=$pkgdir/usr/share/licenses/$pkgname
-
- # install luxblend25 addon
- install -vd $b && cp -va $a $b
- # install luxblend25 license file
- install -vd $c && install -vm644 $startdir/gpl-2.0.txt $c/GPL-v2.0
-
- # install luxrender config file so the luxblend find luxrender automatically
- install -Dm644 $_pkgname.cfg $b/../$_pkgname.cfg
-
- # change the search path for pylux* so the pylux* can be found in its new location
- find "$b/$_pkgname" -name "*.py" \
- -exec sed -i 's|from.*import pylux|import pylux|' '{}' ';'
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/libre/blender-addon-luxrender/luxrender.cfg b/libre/blender-addon-luxrender/luxrender.cfg
deleted file mode 100644
index 8684ba391..000000000
--- a/libre/blender-addon-luxrender/luxrender.cfg
+++ /dev/null
@@ -1,2 +0,0 @@
-[defaults]
-install_path = /usr/bin
diff --git a/libre/blender-addon-luxrender/pyluxcore_path.diff b/libre/blender-addon-luxrender/pyluxcore_path.diff
deleted file mode 100644
index 221553eab..000000000
--- a/libre/blender-addon-luxrender/pyluxcore_path.diff
+++ /dev/null
@@ -1,187 +0,0 @@
-diff --git a/src/luxrender/core/__init__.py b/src/luxrender/core/__init__.py
---- a/src/luxrender/core/__init__.py
-+++ b/src/luxrender/core/__init__.py
-@@ -1212,7 +1212,7 @@
- """
- Convert AOVs to Blender images
- """
-- from ..outputs.luxcore_api import pyluxcore
-+ import pyluxcore
-
- # Structure: {channelType: [pyluxcoreType, is HDR, arrayDepth, optional matching Blender pass]}
- attributes = {
-@@ -1459,7 +1459,7 @@
- LuxLog('ERROR: LuxCore rendering requires pyluxcore')
- self.report({'ERROR'}, 'LuxCore rendering requires pyluxcore')
- return
-- from ..outputs.luxcore_api import pyluxcore
-+ import pyluxcore
-
- try:
- scene.luxcore_rendering_controls.pause_render = False
-@@ -1841,7 +1841,7 @@
- if not PYLUXCORE_AVAILABLE:
- LuxLog('ERROR: LuxCore preview rendering requires pyluxcore')
- return
-- from ..outputs.luxcore_api import pyluxcore
-+ import pyluxcore
- from ..export.luxcore.materialpreview import MaterialPreviewExporter
-
- try:
-diff --git a/src/luxrender/export/luxcore/__init__.py b/src/luxrender/export/luxcore/__init__.py
---- a/src/luxrender/export/luxcore/__init__.py
-+++ b/src/luxrender/export/luxcore/__init__.py
-@@ -28,7 +28,7 @@
- import bpy, time, os
-
- from ...outputs import LuxManager, LuxLog
--from ...outputs.luxcore_api import pyluxcore
-+import pyluxcore
- from ...outputs.luxcore_api import ToValidLuxCoreName
-
- from ...extensions_framework import util as efutil
-diff --git a/src/luxrender/export/luxcore/camera.py b/src/luxrender/export/luxcore/camera.py
---- a/src/luxrender/export/luxcore/camera.py
-+++ b/src/luxrender/export/luxcore/camera.py
-@@ -28,7 +28,8 @@
- import bpy, math, mathutils
- from mathutils import Vector
-
--from ...outputs.luxcore_api import pyluxcore, set_prop_cam
-+import pyluxcore
-+from ...outputs.luxcore_api import set_prop_cam
- from ...export import get_worldscale
- from ...export import object_anim_matrices
- from ...export import fix_matrix_order
-diff --git a/src/luxrender/export/luxcore/config.py b/src/luxrender/export/luxcore/config.py
---- a/src/luxrender/export/luxcore/config.py
-+++ b/src/luxrender/export/luxcore/config.py
-@@ -27,7 +27,7 @@
-
- import os
-
--from ...outputs.luxcore_api import pyluxcore
-+import pyluxcore
- from ...extensions_framework import util as efutil
- from ...export import get_output_filename
- from .utils import is_lightgroup_opencl_compatible
-diff --git a/src/luxrender/export/luxcore/duplis.py b/src/luxrender/export/luxcore/duplis.py
---- a/src/luxrender/export/luxcore/duplis.py
-+++ b/src/luxrender/export/luxcore/duplis.py
-@@ -26,7 +26,7 @@
- #
-
- import math, mathutils, time
--from ...outputs.luxcore_api import pyluxcore
-+import pyluxcore
- from ...outputs.luxcore_api import ToValidLuxCoreName
- from ...export import matrix_to_list, is_obj_visible
-
-diff --git a/src/luxrender/export/luxcore/lights.py b/src/luxrender/export/luxcore/lights.py
---- a/src/luxrender/export/luxcore/lights.py
-+++ b/src/luxrender/export/luxcore/lights.py
-@@ -27,7 +27,7 @@
-
- import bpy, mathutils, math, os
-
--from ...outputs.luxcore_api import pyluxcore
-+import pyluxcore
- from ...outputs.luxcore_api import ToValidLuxCoreName
- from ...export import is_obj_visible
- from ...export import get_worldscale
-diff --git a/src/luxrender/export/luxcore/materialpreview.py b/src/luxrender/export/luxcore/materialpreview.py
---- a/src/luxrender/export/luxcore/materialpreview.py
-+++ b/src/luxrender/export/luxcore/materialpreview.py
-@@ -27,7 +27,7 @@
-
- from mathutils import Matrix
-
--from ...outputs.luxcore_api import pyluxcore
-+import pyluxcore
- from ...export import matrix_to_list
-
- from . import LuxCoreExporter
-diff --git a/src/luxrender/export/luxcore/materials.py b/src/luxrender/export/luxcore/materials.py
---- a/src/luxrender/export/luxcore/materials.py
-+++ b/src/luxrender/export/luxcore/materials.py
-@@ -27,7 +27,7 @@
-
- import bpy
-
--from ...outputs.luxcore_api import pyluxcore
-+import pyluxcore
- from ...outputs.luxcore_api import ToValidLuxCoreName
- from ...export.materials import get_texture_from_scene
- from ...export import get_expanded_file_name
-diff --git a/src/luxrender/export/luxcore/meshes.py b/src/luxrender/export/luxcore/meshes.py
---- a/src/luxrender/export/luxcore/meshes.py
-+++ b/src/luxrender/export/luxcore/meshes.py
-@@ -29,7 +29,7 @@
-
- import bpy
-
--from ...outputs.luxcore_api import pyluxcore
-+import pyluxcore
- from ...outputs.luxcore_api import ToValidLuxCoreName
-
-
-diff --git a/src/luxrender/export/luxcore/objects.py b/src/luxrender/export/luxcore/objects.py
---- a/src/luxrender/export/luxcore/objects.py
-+++ b/src/luxrender/export/luxcore/objects.py
-@@ -28,7 +28,7 @@
- import os
-
- from ...extensions_framework import util as efutil
--from ...outputs.luxcore_api import pyluxcore
-+import pyluxcore
- from ...outputs.luxcore_api import ToValidLuxCoreName
- from ...export import is_obj_visible
- from ...export import object_anim_matrices
-diff --git a/src/luxrender/export/luxcore/textures.py b/src/luxrender/export/luxcore/textures.py
---- a/src/luxrender/export/luxcore/textures.py
-+++ b/src/luxrender/export/luxcore/textures.py
-@@ -28,7 +28,7 @@
- import bpy, math, mathutils, os, tempfile
-
- from ...extensions_framework import util as efutil
--from ...outputs.luxcore_api import pyluxcore
-+import pyluxcore
- from ...outputs.luxcore_api import ToValidLuxCoreName
- from ...export import matrix_to_list
- from ...export import get_expanded_file_name
-diff --git a/src/luxrender/export/luxcore/utils.py b/src/luxrender/export/luxcore/utils.py
---- a/src/luxrender/export/luxcore/utils.py
-+++ b/src/luxrender/export/luxcore/utils.py
-@@ -27,7 +27,7 @@
-
- from math import pi
-
--from ...outputs.luxcore_api import pyluxcore
-+import pyluxcore
- from ...outputs.luxcore_api import ToValidLuxCoreName
- from ...export.materials import get_texture_from_scene
- from ...export import get_worldscale
-diff --git a/src/luxrender/export/luxcore/volumes.py b/src/luxrender/export/luxcore/volumes.py
---- a/src/luxrender/export/luxcore/volumes.py
-+++ b/src/luxrender/export/luxcore/volumes.py
-@@ -27,7 +27,7 @@
-
- import math
-
--from ...outputs.luxcore_api import pyluxcore
-+import pyluxcore
- from ...properties import find_node_in_volume
-
- from .utils import convert_texture_channel, generate_volume_name
-diff --git a/src/luxrender/operators/__init__.py b/src/luxrender/operators/__init__.py
---- a/src/luxrender/operators/__init__.py
-+++ b/src/luxrender/operators/__init__.py
-@@ -279,7 +279,7 @@
- devs.remove(0)
-
- # Create the new list
-- from ..outputs.luxcore_api import pyluxcore
-+ import pyluxcore
-
- deviceList = pyluxcore.GetOpenCLDeviceList()
- for dev in deviceList: