aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorKlaatu <klaatu@member.fsf.org>2015-06-22 18:30:24 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-06-22 18:34:11 +0700
commit43c725ceb0f7aed19cf038dc60aa390a696cb929 (patch)
treedac5abdd46087fe7129278dbbefb21941f05f704 /graphics
parent4c67bdbc39f3e3d2aeef2cf7c5a0e86bd3c24ee3 (diff)
graphics/luxrender: Updated for version 1.4 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/luxrender/README45
-rw-r--r--graphics/luxrender/application-x-lux.svg306
-rw-r--r--graphics/luxrender/doinst.sh4
-rw-r--r--graphics/luxrender/luxrender.SlackBuild163
-rw-r--r--graphics/luxrender/luxrender.desktop9
-rw-r--r--graphics/luxrender/luxrender.info20
-rw-r--r--graphics/luxrender/luxrender.svg252
-rw-r--r--graphics/luxrender/mime-lux.xml12
8 files changed, 694 insertions, 117 deletions
diff --git a/graphics/luxrender/README b/graphics/luxrender/README
index cc6d31e58a22c..f6edc0cd74685 100644
--- a/graphics/luxrender/README
+++ b/graphics/luxrender/README
@@ -1,4 +1,43 @@
+LuxRender
+=========
+
LuxRender is a physically based and unbiased rendering engine.
-Based on state of the art algorithms, LuxRender simulates the flow
-of light according to physical equations, thus producing realistic
-images of photographic quality.
+Based on state of the art algorithms, LuxRender simulates the flow of light according
+to physical equations, thus producing realistic images of photographic quality.
+It is fully-featured, with a command line application as well as a GUI, widespread
+render farm support, instancing, volumetrics, motion blur, and more.
+
+This package supports 64-bit systems only, because it installs the pre-compiled LuxRender
+package. It is possible to install LuxRender on 32-bit system, but it requires building from source.
+
+
+Optional Depencencies:
+------------
+opencl-headers
+cudatoolkit
+nvidia-driver
+
+Install Options:
+----------------
+To install without OpenCL support, launch this script like this:
+
+$ OPENCL=no ./luxrender.SlackBuild
+
+Blender Plugin
+--------------
+By default, this SlackBuild:
+1. Attempts to auto-detect where your Blender install is by grepping /var/log/packages
+2. Attempts to install the Blender plugin to that location
+
+If you do not want it to attempt to do this, do:
+
+$ BLENDER=no ./luxrender.SlackBuild
+
+The Blender plugin will be copied to /usr/share/luxrender-VERSION
+
+If you do have Blender, but in a different path than the SlackBuild.org path,, or not
+listed in /var/log/packages for some reason, then you can hardcode the path:
+
+$ BLENDER=/path/to/blender/scripts ./luxrender.SlackBuild
+
+IMPORTANT: Point to your Blender **scripts** directory.
diff --git a/graphics/luxrender/application-x-lux.svg b/graphics/luxrender/application-x-lux.svg
new file mode 100644
index 0000000000000..2c1da03832643
--- /dev/null
+++ b/graphics/luxrender/application-x-lux.svg
@@ -0,0 +1,306 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--part of the matt icon theme by sixsixfive released under CC0 (https://creativecommons.org/publicdomain/zero/1.0/) on openclipart-->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ viewBox="0 0 128 128"
+ id="svg2"
+ version="1.1"
+ inkscape:version="0.91 r13725"
+ width="100%"
+ height="100%"
+ sodipodi:docname="application-x-lux.svg">
+ <metadata
+ id="metadata56">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title />
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <sodipodi:namedview
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1"
+ objecttolerance="10"
+ gridtolerance="10"
+ guidetolerance="10"
+ inkscape:pageopacity="0"
+ inkscape:pageshadow="2"
+ inkscape:window-width="1164"
+ inkscape:window-height="751"
+ id="namedview54"
+ showgrid="false"
+ inkscape:zoom="1.84375"
+ inkscape:cx="-26.033898"
+ inkscape:cy="48.542373"
+ inkscape:window-x="752"
+ inkscape:window-y="204"
+ inkscape:window-maximized="0"
+ inkscape:current-layer="svg2" />
+ <defs
+ id="0">
+ <linearGradient
+ id="8">
+ <stop
+ id="O"
+ stop-color="#323232" />
+ <stop
+ offset="1"
+ id="P"
+ stop-color="#474747" />
+ </linearGradient>
+ <linearGradient
+ id="9">
+ <stop
+ id="Q"
+ stop-opacity="0" />
+ <stop
+ offset="0.5"
+ id="R" />
+ <stop
+ id="S"
+ offset="1"
+ stop-opacity="0.169" />
+ </linearGradient>
+ <linearGradient
+ id="A">
+ <stop
+ id="T"
+ stop-opacity="0" />
+ <stop
+ id="U"
+ offset="0.5" />
+ <stop
+ offset="1"
+ id="V"
+ stop-opacity="0" />
+ </linearGradient>
+ <linearGradient
+ id="B">
+ <stop
+ id="W" />
+ <stop
+ offset="1"
+ id="X"
+ stop-opacity="0.579" />
+ </linearGradient>
+ <linearGradient
+ id="C">
+ <stop
+ id="Y"
+ stop-color="#8bb300" />
+ <stop
+ offset="1"
+ id="Z"
+ stop-color="#99c500" />
+ </linearGradient>
+ <linearGradient
+ id="D">
+ <stop
+ id="a"
+ stop-color="#eee" />
+ <stop
+ offset="1"
+ id="b"
+ stop-color="#d2d2d2" />
+ </linearGradient>
+ <linearGradient
+ id="E">
+ <stop
+ id="c" />
+ <stop
+ offset="1"
+ id="d"
+ stop-opacity="0.536" />
+ </linearGradient>
+ <linearGradient
+ id="F">
+ <stop
+ id="e" />
+ <stop
+ offset="1"
+ id="f"
+ stop-color="#ddd"
+ stop-opacity="0" />
+ </linearGradient>
+ <filter
+ id="G"
+ x="-0.147"
+ width="1.294"
+ y="-0.145"
+ height="1.29">
+ <feGaussianBlur
+ stdDeviation="1.81881"
+ id="g" />
+ </filter>
+ <filter
+ id="H">
+ <feGaussianBlur
+ stdDeviation="2.58594"
+ id="h" />
+ </filter>
+ <radialGradient
+ xlink:href="#E"
+ id="I"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1,0,0,0.97467889,0,0.43910718)"
+ cx="89.51"
+ cy="22.254"
+ r="18.279" />
+ <linearGradient
+ xlink:href="#F"
+ y2="25.1"
+ x2="86.82"
+ y1="14.793"
+ x1="98.33"
+ gradientTransform="matrix(0.96714879,0,0,0.96714879,-10.885895,4.3079418)"
+ gradientUnits="userSpaceOnUse"
+ id="J" />
+ <linearGradient
+ xlink:href="#8"
+ gradientUnits="userSpaceOnUse"
+ y2="119.98"
+ x2="49.39"
+ y1="27.699"
+ x1="87.28"
+ id="K"
+ gradientTransform="translate(-12.474575,1.0847458)" />
+ <linearGradient
+ id="L">
+ <stop
+ id="i"
+ stop-color="#da7a20" />
+ <stop
+ offset="1"
+ id="j"
+ stop-color="#da7a20"
+ stop-opacity="0" />
+ </linearGradient>
+ <linearGradient
+ id="M">
+ <stop
+ id="k"
+ stop-color="#62200c" />
+ <stop
+ id="l"
+ offset="0.256"
+ stop-color="#efce37"
+ stop-opacity="0.749" />
+ <stop
+ id="m"
+ offset="0.5"
+ stop-color="#aa7663"
+ stop-opacity="0.498" />
+ <stop
+ offset="1"
+ id="n"
+ stop-color="#9b9b9b"
+ stop-opacity="0" />
+ </linearGradient>
+ </defs>
+ <path
+ d="m 8.5628647,6.9373778 0,114.1235622 85.9251203,0 0,-83.325917 -29.92116,-30.7976452 -56.0039603,0 z"
+ id="2"
+ style="fill:url(#K)"
+ inkscape:connector-curvature="0" />
+ <path
+ id="4"
+ d="m 81.698039,28.309502 0.135161,-8.351 C 81.901124,13.359407 80.956142,8.4107397 77.785779,3.9471419 L 80.362343,3.9159389 107.86271,29.53084 c -4.06802,-2.645393 -9.621189,-0.791242 -16.861906,-1.025606 l -9.302765,-0.195732 z"
+ transform="matrix(1.016085,0,0,1.112241,-16.266815,4.0495038)"
+ style="opacity:0.50499998;fill:url(#I);filter:url(#G)"
+ inkscape:connector-curvature="0" />
+ <path
+ d="m 70.273745,30.206427 0.13072,-8.07666 c 0.0657,-6.382306 -2.69158,-10.83607 -5.75779,-15.1530332 l 29.86674,30.5881672 c -3.93438,-2.558489 -8.23966,-6.942507 -15.24251,-7.169171 l -8.99716,-0.189303 z"
+ id="5"
+ inkscape:connector-curvature="0"
+ style="fill:#323232" />
+ <path
+ id="6"
+ d="m 70.273745,30.206427 0.13072,-8.07666 c 0.0657,-6.382306 -2.69158,-10.83607 -5.75779,-15.1530332 l 29.86674,30.5881672 c -3.93438,-2.558489 -8.23966,-6.942507 -15.24251,-7.169171 l -8.99716,-0.189303 z"
+ style="fill:url(#J)"
+ inkscape:connector-curvature="0" />
+ <g
+ inkscape:label="objects"
+ id="layer1"
+ style="display:inline"
+ transform="translate(8.4048521,26.486768)">
+ <path
+ inkscape:connector-curvature="0"
+ style="fill:#f4ca1c;fill-opacity:1;stroke:#d88d44;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.74157302"
+ inkscape:transform-center-x="5.0734767"
+ d="m 34.619226,11.542378 c 1.87688,-1.8768896 5.09804,-1.8768896 6.97493,0 1.89119,1.8912 1.91846,5.09378 0.01869,6.99362 -1.89984,1.89977 -5.10243,1.8725 -6.99362,-0.0187 -1.87689,-1.87689 -1.87689,-5.09804 0,-6.97492 z m -13.96855,15.87077 c 1.34781,-1.34775 3.72947,-1.3805 5.09133,-0.01863 1.38855,1.38848 1.38855,3.72148 0,5.10996 -1.36186,1.36186 -3.74359,1.32912 -5.09133,-0.01863 -1.32048,-1.32054 -1.32054,-3.75216 0,-5.0727 z M 6.2532264,42.855018 c 1.02232,-1.02231 3.00602,-1.02231 4.0283396,0 1.06564,1.06564 1.10458,2.96103 0.01863,4.04697 -1.0859396,1.08588 -2.9813296,1.04695 -4.0469696,-0.0187 -1.02231,-1.02225 -1.02225,-3.00602 0,-4.02827 z m 40.8985396,-18.7801 c 3.21432,-3.21438 8.534838,-3.21438 11.749218,0 1.5663,1.56629 2.35131,3.62266 2.38715,5.74407 -0.0118,1.20237 0.64461,2.25008 1.39873,2.85336 0.65279,0.52225 1.76324,1.04869 3.20769,0.70869 3.69555,-0.70488 7.46545,0.37861 10.31321,3.22637 4.53827,4.53827 4.53827,11.98529 0,16.5235 -2.83996,2.84002 -6.76754,3.893804 -10.4624,3.18911 -1.44051,-0.3391 -2.45173,0.26051 -3.0585,0.745944 -0.78185,0.62553 -1.42929,1.74364 -1.41735,2.94666 -0.03586,2.12115 -0.79534,4.07765 -2.36853,5.65084 -3.21431,3.21432 -8.534898,3.21432 -11.749218,0 -3.21438,-3.21439 -3.21438,-8.5349 0,-11.749284 1.56629,-1.56629 3.62265,-2.3513 5.744078,-2.38714 1.20256,0.01192 2.25014,-0.64474 2.85336,-1.39867 0.52224,-0.65286 1.04869,-1.76324 0.70869,-3.20775 -0.28275,-1.4826 -0.24737,-2.7595 0.03732,-4.2521 0.33903,-1.44045 -0.26057,-2.45174 -0.74601,-3.0585 -0.62559,-0.78205 -1.74388,-1.42923 -2.94665,-1.41737 -2.121098,-0.03585 -4.077668,-0.79539 -5.650788,-2.36851 -3.21438,-3.21438 -3.21438,-8.5349 0,-11.74922 z m -12.53254,17.30678 c 1.87688,-1.87689 5.09804,-1.87689 6.97493,0 1.89119,1.89119 1.91846,5.09378 0.01869,6.99362 -1.89984,1.89977 -5.10243,1.8725 -6.99362,-0.0187 -1.87689,-1.87689 -1.87689,-5.09804 0,-6.97492 z m -13.96855,15.870774 c 1.34774,-1.347754 3.72947,-1.380494 5.09133,-0.01864 1.38855,1.38849 1.38855,3.72149 0,5.10997 -1.36186,1.36186 -3.74359,1.32912 -5.09133,-0.01863 -1.32054,-1.32054 -1.32054,-3.75216 0,-5.0727 z m 13.96855,13.96855 c 1.87688,-1.87689 5.09804,-1.87689 6.97493,0 1.89119,1.89119 1.91846,5.09378 0.01869,6.99355 -1.89984,1.89984 -5.10243,1.87258 -6.99362,-0.01863 -1.87689,-1.87688 -1.87689,-5.09803 0,-6.97492 z"
+ id="path4581" />
+ </g>
+ <g
+ id="layer3"
+ inkscape:label="shinyness"
+ style="display:inline"
+ transform="translate(8.4048521,26.486768)">
+ <path
+ inkscape:connector-curvature="0"
+ style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="m 46.226376,31.416148 c -0.11834,-2.66263 0.34786,-4.49407 1.91995,-6.11349 1.27377,-1.31211 3.523148,-2.17871 5.829358,-1.99415 -3.372668,0.76216 -4.353348,1.49823 -5.347558,2.8352 -1.11522,1.49971 -1.28598,3.37197 -1.10002,5.03575 l -1.30173,0.23669 z"
+ id="path3762"
+ sodipodi:nodetypes="cscscc" />
+ <path
+ inkscape:connector-curvature="0"
+ style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="m 46.226376,61.413162 c -0.11834,-2.66263 0.34786,-4.49407 1.91995,-6.113494 1.27377,-1.31211 3.523148,-2.17871 5.829358,-1.99415 -3.372668,0.76216 -4.353348,1.49823 -5.347558,2.8352 -1.11522,1.499714 -1.28598,3.371974 -1.10002,5.035754 l -1.30173,0.23669 z"
+ id="path4733"
+ sodipodi:nodetypes="cscscc" />
+ <path
+ inkscape:connector-curvature="0"
+ style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="m 57.982604,44.554748 c 0.18309,-3.87658 1.24375,-5.20941 3.2305,-7.03874 1.93989,-1.78618 3.89023,-2.6728 8.01899,-2.332 -5.47141,0.71978 -5.59167,1.5499 -7.25751,3.08332 -1.51951,1.39872 -2.91384,3.73363 -2.63547,6.04341 l -1.35651,0.24401 z"
+ id="path4735"
+ sodipodi:nodetypes="cscscc" />
+ <path
+ inkscape:connector-curvature="0"
+ style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="m 34.478776,15.666128 c -0.06282,-1.41321 0.18462,-2.38527 1.01901,-3.24478 0.67606,-0.69641 1.86993,-1.15636 3.09397,-1.0584 -1.79007,0.40451 -2.07929,0.91083 -2.60697,1.62044 -0.5919,0.79599 -0.74035,1.73187 -0.64165,2.61493 l -0.86436,0.06781 z"
+ id="path4737"
+ sodipodi:nodetypes="cscscc" />
+ <path
+ inkscape:connector-curvature="0"
+ style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="m 34.478776,45.732118 c -0.06282,-1.41321 0.18462,-2.38527 1.01901,-3.24478 0.67606,-0.69641 1.86993,-1.15636 3.09397,-1.0584 -1.79007,0.40451 -2.07929,0.91083 -2.60697,1.62044 -0.5919,0.79599 -0.74035,1.73187 -0.64165,2.61493 l -0.86436,0.06781 z"
+ id="path4739"
+ sodipodi:nodetypes="cscscc" />
+ <path
+ inkscape:connector-curvature="0"
+ style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="m 34.478776,75.335552 c -0.06282,-1.41321 0.18462,-2.38527 1.01901,-3.24478 0.67606,-0.69641 1.86993,-1.15636 3.09397,-1.0584 -1.79007,0.40451 -2.07929,0.91083 -2.60697,1.62044 -0.5919,0.79599 -0.74035,1.73187 -0.64165,2.61493 l -0.86436,0.06781 z"
+ id="path4741"
+ sodipodi:nodetypes="cscscc" />
+ <path
+ inkscape:connector-curvature="0"
+ style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="m 20.785736,30.384128 c -0.04261,-0.95857 0.12522,-1.6179 0.69118,-2.2009 0.45857,-0.47237 1.26836,-0.78435 2.09861,-0.7179 -1.21419,0.27437 -1.49879,0.75745 -1.76828,1.09913 -0.31088,0.39416 -0.50217,1.1747 -0.43523,1.77368 l -0.58628,0.04599 z"
+ id="path4743"
+ sodipodi:nodetypes="cscscc" />
+ <path
+ inkscape:connector-curvature="0"
+ style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="m 20.785736,60.339992 c -0.04261,-0.95857 0.12522,-1.6179 0.69118,-2.2009 0.45857,-0.47237 1.26836,-0.78435 2.09861,-0.7179 -1.21419,0.27437 -1.49879,0.75745 -1.76828,1.09913 -0.31088,0.39416 -0.50217,1.1747 -0.43523,1.77368 l -0.58628,0.04599 z"
+ id="path4745"
+ sodipodi:nodetypes="cscscc" />
+ <path
+ inkscape:connector-curvature="0"
+ style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="m 6.4394464,44.991948 c -0.0292,-0.65696 0.08582,-1.10883 0.4737,-1.50839 0.31429,-0.32374 0.86928,-0.53756 1.43829,-0.49202 -0.83215,0.18804 -1.0272,0.51912 -1.21189,0.7533 -0.21307,0.27013 -0.34417,0.80508 -0.29829,1.21559 l -0.40181,0.03152 z"
+ id="path4747"
+ sodipodi:nodetypes="cscscc" />
+ </g>
+</svg>
diff --git a/graphics/luxrender/doinst.sh b/graphics/luxrender/doinst.sh
index 7f740b456f351..de6fed18f6a50 100644
--- a/graphics/luxrender/doinst.sh
+++ b/graphics/luxrender/doinst.sh
@@ -1,3 +1,7 @@
+if [ -x /usr/bin/xdg-mime ]; then
+ /usr/bin/xdg-mime install /usr/doc/luxrender-1.4/mime-lux.xml
+fi
+
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
diff --git a/graphics/luxrender/luxrender.SlackBuild b/graphics/luxrender/luxrender.SlackBuild
index 8203283da24e4..504fce5cfdbc2 100644
--- a/graphics/luxrender/luxrender.SlackBuild
+++ b/graphics/luxrender/luxrender.SlackBuild
@@ -2,7 +2,9 @@
# Slackware build script for luxrender
-# Copyright 2013 Giorgio Peron Campodarsego, PD, Italy giorgio.peron@gmail.com
+# Copyright 2013 Giorgio Peron Campodarsego, PD, Italy
+# Copyright 2015 Klaatu Wellington, NZ
+#
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,17 +25,27 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=luxrender
-VERSION=${VERSION:-1.3.1}
+SHORT=lux
+VERSION=${VERSION:-1.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-SRCVERSION=lux-d0b0e20c47cc
-LUXRAYSRCVERSION=luxrays-7459cd8a9583
+
+if [ -z $OPENCL ]; then
+ OPENCL="-OpenCL"
+else
+ OPENCL=""
+fi
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
+ i?86) echo "32 bit builds not supported." && exit 1
+ ;;
+ arm*) ARCH=arm
+ LIBDIRSUFFIX=""
+ ;;
+ *) ARCH=$( uname -m )
+ LIBDIRSUFFIX="64"
+ ;;
esac
fi
@@ -56,18 +68,14 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-rm -rf $LUXRAYSRCVERSION
-rm -rf $SRCVERSION
-tar xvjf $CWD/$SRCVERSION.tar.bz2
-tar xvjf $CWD/$LUXRAYSRCVERSION.tar.bz2
-
-cd $TMP/$LUXRAYSRCVERSION
+rm -rf $SHORT-$VERSION
+tar xvjf $CWD/$SHORT-v"$VERSION"-x86_64-sse2"$OPENCL".tar.bz2
+cd $SHORT-v"$VERSION"-$(uname -m)-sse2"$OPENCL"
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -75,103 +83,50 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# fix some make files
-sed -i \
- -e "/project(LuxRays)/ a\
-SET(BUILD_LUXMARK on)" \
- -e "/project(LuxRays)/ a\
-set(OPENGL_INCLUDE_DIR /usr/include/GL)" \
- CMakeLists.txt
-sed -i \
- -e "/# Lookup user provide path first/ a\
-SET(OPENCL_ROOT /usr/share)" \
- -e "s:PATHS \$ENV{ATISTREAMSDKROOT}:PATHS \${OPENCL_ROOT} \$ENV{ATISTREAMSDKROOT}:" \
- cmake/Packages/FindOpenCL.cmake
-
-# luxmark moc files
-cd samples/luxmark
-moc aboutdialog.h -o moc_aboutdialog.cxx
-moc hardwaretree.h -o moc_hardwaretree.cxx
-moc luxmarkapp.h -o moc_luxmarkapp.cxx
-moc mainwindow.h -o moc_mainwindow.cxx
-moc resultdialog.h -o moc_resultdialog.cxx
-moc submitdialog.h -o moc_submitdialog.cxx
-cd -
-
-cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_BUILD_TYPE=Release .
-
-# compile luxrays
-make luxrays
-make slg4
-make luxmark
-
# manual installation
-mkdir -p $PKG/usr/share/$PRGNAM/resources $PKG/usr/share/$PRGNAM/scenes
-cp bin/* $PKG/usr/share/$PRGNAM
-cp -r samples/luxmark/resources $PKG/usr/share/$PRGNAM
-cp -r scenes $PKG/usr/share/$PRGNAM
-cp -r samples/luxmark/scenes $PKG/usr/share/$PRGNAM
-
-mkdir -p $PKG/usr/bin
-cat > $PKG/usr/bin/luxmark << EOF
-#!/bin/sh
-cd /usr/share/luxrender
-./luxmark >/dev/null 2>&1
-EOF
-chmod +x $PKG/usr/bin/luxmark
-cat > $PKG/usr/bin/slg4 << EOF
-#!/bin/sh
-cd /usr/share/luxrender
-./slg4 >/dev/null 2>&1
-EOF
+mkdir -p $PKG/usr/bin/
+cp luxconsole $PKG/usr/bin/
+cp lux*r $PKG/usr/bin/
+cp slg4 $PKG/usr/bin/
chmod +x $PKG/usr/bin/slg4
+mkdir -p $PKG/usr/lib"$LIBDIRSUFFIX"
+cp *.so $PKG/usr/lib"$LIBDIRSUFFIX"
-cd $TMP/$SRCVERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# # fix some make files
-sed -i \
- -e "/########################## Find LuxRays ##########################/ a\
-SET(LuxRays_HOME $TMP/$LUXRAYSRCVERSION)" \
- -e "s:PATHS ../luxrays/include:PATHS \${LuxRays_HOME}/include:" \
- -e "s:/usr/src/opencl-sdk:/usr/share/cuda:" \
- cmake/Dependencies.cmake
-sed -i \
- -e "s:-Wall -fPIC -DHAVE_PTHREAD_H:-Wall -fPIC -DHAVE_PTHREAD_H -l png14:" \
- -e "s:E} -fvisibility=hidden -fvisibility-inlines-hidden:E} -fvisibility=hidden -fvisibility-inlines-hidden -lpthread:" \
- -e "s:#SET(CMAKE_VERBOSE_MAKEFILE:SET(CMAKE_VERBOSE_MAKEFILE:g" \
- -e "/SET(CMAKE_VERBOSE_MAKEFILE true)/ a\
-SET(CMAKE_CXX_FLAGS_RELEASE \"-lpthread\")" \
- CMakeLists.txt
-
-cmake .
-
-# compile luxrender
-make luxrender
-make install DESTDIR=$PKG
-
-# /usr/local? no, thanks
-cp -r $PKG/usr/local/* $PKG/usr
-rm -rf $PKG/usr/local
-
-# copy pylux.so
-cp pylux.so $PKG/usr/lib$LIBDIRSUFFIX/
-
-# Strip binaries and libraries.
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+# are we using default SBo location of blender?
+if [ -z $BLENDER ]; then
+ BLENDER=$(egrep '^opt\/blender\/2\....?\/scripts\/$' /var/log/packages/blender-*_SBo 2> /dev/null) || BLENDER="no"
+fi
+
+if [ X"$BLENDER" != "Xno" ]; then
+ mkdir -p $PKG/$BLENDER
+ unzip luxblend/luxblend.zip -d $PKG/$BLENDER/addons/
+ unzip luxblend/luxblend-presets.zip -d $PKG/$BLENDER/presets/
+else
+ mkdir -p $PKG/usr/share/$PRGNAM-$VERSION/luxblend
+ cp luxblend/luxblend.zip $PKG/usr/share/$PRGNAM-$VERSION/luxblend
+ cp luxblend/luxblend-presets.zip $PKG/usr/share/$PRGNAM-$VERSION/luxblend
+fi
+
+mkdir -p $PKG/usr/share/applications
+mkdir -p $PKG/usr/share/$PRGNAM-$VERSION
+cp -r examples $PKG/usr/share/$PRGNAM-$VERSION
+cp $CWD/$PRGNAM.desktop $PKG/usr/share/applications
+
+#icons
+mkdir -p $PKG/usr/share/icons/hicolor/scalable/mimetypes
+cp $CWD/application-x-lux.svg $PKG/usr/share/icons/hicolor/scalable/mimetypes
+cp $CWD/luxrender.svg $PKG/usr/share/icons/hicolor/scalable/apps
+
+#mimetypes
+mkdir -p $PKG/usr/share/mime/application/
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS.txt COPYING.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+cat $CWD/mime-"$SHORT".xml > $PKG/usr/doc/$PRGNAM-$VERSION/mime-"$SHORT".xml
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/graphics/luxrender/luxrender.desktop b/graphics/luxrender/luxrender.desktop
new file mode 100644
index 0000000000000..d8a6bc053cdd4
--- /dev/null
+++ b/graphics/luxrender/luxrender.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Lux
+GenericName=Lux Renderer
+Comment=LuxRender unbiased rendering system
+Exec=luxrender
+Icon=/usr/share/pixmaps/luxrender.svg
+Terminal=false
+Type=Application
+Categories=Application;Graphics;3DGraphics
diff --git a/graphics/luxrender/luxrender.info b/graphics/luxrender/luxrender.info
index 6ca0ac80d7656..f8298447e3860 100644
--- a/graphics/luxrender/luxrender.info
+++ b/graphics/luxrender/luxrender.info
@@ -1,12 +1,12 @@
PRGNAM="luxrender"
-VERSION="1.3.1"
+VERSION="1.4"
HOMEPAGE="http://www.luxrender.net/"
-DOWNLOAD="http://src.luxrender.net/luxrays/archive/7459cd8a9583.tar.bz2 \
- http://src.luxrender.net/lux/archive/d0b0e20c47cc.tar.bz2"
-MD5SUM="4dc151e3cf6d1da8ce5d78146a60382a \
- 79eb38569540b6be7091aee5768c9d96"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="cudatoolkit nvidia-driver opencl-headers FreeImage"
-MAINTAINER="Giorgio Peron"
-EMAIL="giorgio.peron@gmail.com"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="http://www.luxrender.net/release/luxrender/1.4/linux/64/lux-v1.4-x86_64-sse2-OpenCL.tar.bz2 \
+ http://www.luxrender.net/release/luxrender/1.4/linux/64/lux-v1.4-x86_64-sse2.tar.bz2"
+MD5SUM_x86_64="6635929c033c55c4300c8fc928fa1647 \
+ ec37591dd3efca4c0ab2051bcc9e64e1"
+REQUIRES="FreeImage"
+MAINTAINER="Klaatu"
+EMAIL="klaatu@member.fsf.org"
diff --git a/graphics/luxrender/luxrender.svg b/graphics/luxrender/luxrender.svg
new file mode 100644
index 0000000000000..9d8cb65ba0549
--- /dev/null
+++ b/graphics/luxrender/luxrender.svg
@@ -0,0 +1,252 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://web.resource.org/cc/"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ width="88.582672"
+ height="88.582672"
+ id="svg16557"
+ sodipodi:version="0.32"
+ inkscape:version="0.45.1"
+ sodipodi:docbase="/home/abel/luxdoc/logo"
+ sodipodi:docname="luxlogo_shiny.svg"
+ inkscape:output_extension="org.inkscape.output.svg.inkscape"
+ version="1.0">
+ <defs
+ id="defs16559">
+ <filter
+ inkscape:collect="always"
+ x="-1.7561407"
+ width="4.5122814"
+ y="-1.7561359"
+ height="4.5122719"
+ id="filter7125">
+ <feGaussianBlur
+ inkscape:collect="always"
+ stdDeviation="7.1808582"
+ id="feGaussianBlur7127" />
+ </filter>
+ <filter
+ inkscape:collect="always"
+ x="-1.7561407"
+ width="4.5122814"
+ y="-1.7561406"
+ height="4.5122809"
+ id="filter7129">
+ <feGaussianBlur
+ inkscape:collect="always"
+ stdDeviation="7.1808582"
+ id="feGaussianBlur7131" />
+ </filter>
+ <filter
+ inkscape:collect="always"
+ x="-1.7561407"
+ width="4.5122814"
+ y="-1.7561433"
+ height="4.5122867"
+ id="filter7137">
+ <feGaussianBlur
+ inkscape:collect="always"
+ stdDeviation="7.1808582"
+ id="feGaussianBlur7139" />
+ </filter>
+ <filter
+ inkscape:collect="always"
+ x="-1.1999983"
+ width="3.3999965"
+ y="-1.2000017"
+ height="3.4000034"
+ id="filter8554">
+ <feGaussianBlur
+ inkscape:collect="always"
+ stdDeviation="2.8056737"
+ id="feGaussianBlur8556" />
+ </filter>
+ <filter
+ inkscape:collect="always"
+ x="-1.2000465"
+ width="3.4000931"
+ y="-1.1999536"
+ height="3.3999069"
+ id="filter8570">
+ <feGaussianBlur
+ inkscape:collect="always"
+ stdDeviation="3.5617226"
+ id="feGaussianBlur8572" />
+ </filter>
+ <filter
+ inkscape:collect="always"
+ x="-1.2000484"
+ width="3.4000969"
+ y="-1.1999516"
+ height="3.3999031"
+ id="filter8586">
+ <feGaussianBlur
+ inkscape:collect="always"
+ stdDeviation="3.5617182"
+ id="feGaussianBlur8588" />
+ </filter>
+ <filter
+ inkscape:collect="always"
+ x="-0.87915176"
+ width="2.7583034"
+ y="-0.66055602"
+ height="2.3211119"
+ id="filter8614">
+ <feGaussianBlur
+ inkscape:collect="always"
+ stdDeviation="12.77352"
+ id="feGaussianBlur8616" />
+ </filter>
+ </defs>
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ gridtolerance="10000"
+ guidetolerance="10"
+ objecttolerance="10"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="2.7821276"
+ inkscape:cx="103.86591"
+ inkscape:cy="27.788067"
+ inkscape:document-units="px"
+ inkscape:current-layer="layer2"
+ inkscape:window-width="1280"
+ inkscape:window-height="729"
+ inkscape:window-x="0"
+ inkscape:window-y="24"
+ width="25mm"
+ height="25mm"
+ units="mm" />
+ <metadata
+ id="metadata16562">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ inkscape:groupmode="layer"
+ id="layer2"
+ inkscape:label="shadow"
+ style="display:inline">
+ <path
+ style="opacity:0.4;fill:#6b3f3b;fill-opacity:1;stroke:none;stroke-width:0.1;stroke-miterlimit:4;display:inline;filter:url(#filter8554)"
+ inkscape:transform-center-x="5.0734767"
+ d="M 6.2532264,42.855018 C 7.2755464,41.832708 9.2592464,41.832708 10.281566,42.855018 C 11.347206,43.920658 11.386146,45.816048 10.300196,46.901988 C 9.2142564,47.987868 7.3188664,47.948938 6.2532264,46.883288 C 5.2309164,45.861038 5.2309764,43.877268 6.2532264,42.855018 z "
+ id="path2744"
+ sodipodi:nodetypes="csssc" />
+ <path
+ style="opacity:0.4;fill:#6b3f3b;fill-opacity:1;stroke:none;stroke-width:0.1;stroke-miterlimit:4;display:inline;filter:url(#filter8570)"
+ inkscape:transform-center-x="5.0734767"
+ d="M 20.650676,57.252472 C 21.998416,55.904718 24.380146,55.871978 25.742006,57.233832 C 27.130556,58.622322 27.130556,60.955322 25.742006,62.343802 C 24.380146,63.705662 21.998416,63.672922 20.650676,62.325172 C 19.330136,61.004632 19.330136,58.573012 20.650676,57.252472 z "
+ id="path5720"
+ sodipodi:nodetypes="csssc" />
+ <path
+ style="opacity:0.6;fill:#6b3f3b;fill-opacity:1;stroke:none;stroke-width:0.1;stroke-miterlimit:4;display:inline;filter:url(#filter8614)"
+ inkscape:transform-center-x="5.0734767"
+ d="M 47.151766,24.074918 C 50.366086,20.860538 55.686604,20.860538 58.900984,24.074918 C 60.467284,25.641208 61.252294,27.697578 61.288134,29.818988 C 61.276334,31.021358 61.932744,32.069068 62.686864,32.672348 C 63.339654,33.194598 64.450104,33.721038 65.894554,33.381038 C 69.590104,32.676158 73.360004,33.759648 76.207764,36.607408 C 80.746034,41.145678 80.746034,48.592698 76.207764,53.130908 C 73.367804,55.970928 69.440224,57.024712 65.745364,56.320018 C 64.304854,55.980918 63.293634,56.580528 62.686864,57.065962 C 61.905014,57.691492 61.257574,58.809602 61.269514,60.012622 C 61.233654,62.133772 60.474174,64.090272 58.900984,65.663462 C 55.686674,68.877782 50.366086,68.877782 47.151766,65.663462 C 43.937386,62.449072 43.937386,57.128562 47.151766,53.914178 C 48.718056,52.347888 50.774416,51.562878 52.895844,51.527038 C 54.098404,51.538958 55.145984,50.882298 55.749204,50.128368 C 56.271444,49.475508 56.797894,48.365128 56.457894,46.920618 C 56.175144,45.438018 56.210524,44.161118 56.495214,42.668518 C 56.834244,41.228068 56.234644,40.216778 55.749204,39.610018 C 55.123614,38.827968 54.005324,38.180788 52.802554,38.192648 C 50.681456,38.156798 48.724886,37.397258 47.151766,35.824138 C 43.937386,32.609758 43.937386,27.289238 47.151766,24.074918 z "
+ id="path5722"
+ sodipodi:nodetypes="cscscsscscssscsccscsc" />
+ <path
+ style="opacity:0.6;fill:#6b3f3b;fill-opacity:1;stroke:none;stroke-width:0.1;stroke-miterlimit:4;display:inline;filter:url(#filter7137)"
+ inkscape:transform-center-x="5.0734767"
+ d="M 34.619226,71.221022 C 36.496106,69.344132 39.717266,69.344132 41.594156,71.221022 C 43.485346,73.112212 43.512616,76.314802 41.612846,78.214572 C 39.713006,80.114412 36.510416,80.087152 34.619226,78.195942 C 32.742336,76.319062 32.742336,73.097912 34.619226,71.221022 z "
+ id="path5724"
+ sodipodi:nodetypes="csssc" />
+ <path
+ style="opacity:0.4;fill:#6b3f3b;fill-opacity:1;stroke:none;stroke-width:0.1;stroke-miterlimit:4;display:inline;filter:url(#filter8586)"
+ inkscape:transform-center-x="5.0734767"
+ d="M 20.650676,27.413148 C 21.998486,26.065398 24.380146,26.032648 25.742006,27.394518 C 27.130556,28.782998 27.130556,31.115998 25.742006,32.504478 C 24.380146,33.866338 21.998416,33.833598 20.650676,32.485848 C 19.330196,31.165308 19.330136,28.733688 20.650676,27.413148 z "
+ id="path5726"
+ sodipodi:nodetypes="csssc" />
+ <path
+ style="opacity:0.6;fill:#6b3f3b;fill-opacity:1;stroke:none;stroke-width:0.1;stroke-miterlimit:4;display:inline;filter:url(#filter7129)"
+ inkscape:transform-center-x="5.0734767"
+ d="M 34.619226,11.542378 C 36.496106,9.6654884 39.717266,9.6654884 41.594156,11.542378 C 43.485346,13.433578 43.512616,16.636158 41.612846,18.535998 C 39.713006,20.435768 36.510416,20.408498 34.619226,18.517298 C 32.742336,16.640408 32.742336,13.419258 34.619226,11.542378 z "
+ id="path5728"
+ sodipodi:nodetypes="csssc" />
+ <path
+ style="opacity:0.6;fill:#6b3f3b;fill-opacity:1;stroke:none;stroke-width:0.1;stroke-miterlimit:4;display:inline;filter:url(#filter7125)"
+ inkscape:transform-center-x="5.0734767"
+ d="M 34.619226,41.381698 C 36.496106,39.504808 39.717266,39.504808 41.594156,41.381698 C 43.485346,43.272888 43.512616,46.475478 41.612846,48.375318 C 39.713006,50.275088 36.510416,50.247818 34.619226,48.356618 C 32.742336,46.479728 32.742336,43.258578 34.619226,41.381698 z "
+ id="path5730"
+ sodipodi:nodetypes="csssc" />
+ </g>
+ <g
+ inkscape:label="objects"
+ inkscape:groupmode="layer"
+ id="layer1"
+ style="display:inline"
+ sodipodi:insensitive="true">
+ <path
+ style="fill:#f4ca1c;fill-opacity:1;stroke:#d88d44;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.74157302"
+ inkscape:transform-center-x="5.0734767"
+ d="M 34.619226,11.542378 C 36.496106,9.6654884 39.717266,9.6654884 41.594156,11.542378 C 43.485346,13.433578 43.512616,16.636158 41.612846,18.535998 C 39.713006,20.435768 36.510416,20.408498 34.619226,18.517298 C 32.742336,16.640408 32.742336,13.419258 34.619226,11.542378 z M 20.650676,27.413148 C 21.998486,26.065398 24.380146,26.032648 25.742006,27.394518 C 27.130556,28.782998 27.130556,31.115998 25.742006,32.504478 C 24.380146,33.866338 21.998416,33.833598 20.650676,32.485848 C 19.330196,31.165308 19.330136,28.733688 20.650676,27.413148 z M 6.2532264,42.855018 C 7.2755464,41.832708 9.2592464,41.832708 10.281566,42.855018 C 11.347206,43.920658 11.386146,45.816048 10.300196,46.901988 C 9.2142564,47.987868 7.3188664,47.948938 6.2532264,46.883288 C 5.2309164,45.861038 5.2309764,43.877268 6.2532264,42.855018 z M 47.151766,24.074918 C 50.366086,20.860538 55.686604,20.860538 58.900984,24.074918 C 60.467284,25.641208 61.252294,27.697578 61.288134,29.818988 C 61.276334,31.021358 61.932744,32.069068 62.686864,32.672348 C 63.339654,33.194598 64.450104,33.721038 65.894554,33.381038 C 69.590104,32.676158 73.360004,33.759648 76.207764,36.607408 C 80.746034,41.145678 80.746034,48.592698 76.207764,53.130908 C 73.367804,55.970928 69.440224,57.024712 65.745364,56.320018 C 64.304854,55.980918 63.293634,56.580528 62.686864,57.065962 C 61.905014,57.691492 61.257574,58.809602 61.269514,60.012622 C 61.233654,62.133772 60.474174,64.090272 58.900984,65.663462 C 55.686674,68.877782 50.366086,68.877782 47.151766,65.663462 C 43.937386,62.449072 43.937386,57.128562 47.151766,53.914178 C 48.718056,52.347888 50.774416,51.562878 52.895844,51.527038 C 54.098404,51.538958 55.145984,50.882298 55.749204,50.128368 C 56.271444,49.475508 56.797894,48.365128 56.457894,46.920618 C 56.175144,45.438018 56.210524,44.161118 56.495214,42.668518 C 56.834244,41.228068 56.234644,40.216778 55.749204,39.610018 C 55.123614,38.827968 54.005324,38.180788 52.802554,38.192648 C 50.681456,38.156798 48.724886,37.397258 47.151766,35.824138 C 43.937386,32.609758 43.937386,27.289238 47.151766,24.074918 z M 34.619226,41.381698 C 36.496106,39.504808 39.717266,39.504808 41.594156,41.381698 C 43.485346,43.272888 43.512616,46.475478 41.612846,48.375318 C 39.713006,50.275088 36.510416,50.247818 34.619226,48.356618 C 32.742336,46.479728 32.742336,43.258578 34.619226,41.381698 z M 20.650676,57.252472 C 21.998416,55.904718 24.380146,55.871978 25.742006,57.233832 C 27.130556,58.622322 27.130556,60.955322 25.742006,62.343802 C 24.380146,63.705662 21.998416,63.672922 20.650676,62.325172 C 19.330136,61.004632 19.330136,58.573012 20.650676,57.252472 z M 34.619226,71.221022 C 36.496106,69.344132 39.717266,69.344132 41.594156,71.221022 C 43.485346,73.112212 43.512616,76.314802 41.612846,78.214572 C 39.713006,80.114412 36.510416,80.087152 34.619226,78.195942 C 32.742336,76.319062 32.742336,73.097912 34.619226,71.221022 z "
+ id="path4581" />
+ </g>
+ <g
+ inkscape:groupmode="layer"
+ id="layer3"
+ inkscape:label="shinyness"
+ style="display:inline"
+ sodipodi:insensitive="true">
+ <path
+ style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="M 46.226376,31.416148 C 46.108036,28.753518 46.574236,26.922078 48.146326,25.302658 C 49.420096,23.990548 51.669474,23.123948 53.975684,23.308508 C 50.603016,24.070668 49.622336,24.806738 48.628126,26.143708 C 47.512906,27.643418 47.342146,29.515678 47.528106,31.179458 L 46.226376,31.416148 z "
+ id="path3762"
+ sodipodi:nodetypes="cscscc" />
+ <path
+ style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="M 46.226376,61.413162 C 46.108036,58.750532 46.574236,56.919092 48.146326,55.299668 C 49.420096,53.987558 51.669474,53.120958 53.975684,53.305518 C 50.603016,54.067678 49.622336,54.803748 48.628126,56.140718 C 47.512906,57.640432 47.342146,59.512692 47.528106,61.176472 L 46.226376,61.413162 z "
+ id="path4733"
+ sodipodi:nodetypes="cscscc" />
+ <path
+ style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="M 57.982604,44.554748 C 58.165694,40.678168 59.226354,39.345338 61.213104,37.516008 C 63.152994,35.729828 65.103334,34.843208 69.232094,35.184008 C 63.760684,35.903788 63.640424,36.733908 61.974584,38.267328 C 60.455074,39.666048 59.060744,42.000958 59.339114,44.310738 L 57.982604,44.554748 z "
+ id="path4735"
+ sodipodi:nodetypes="cscscc" />
+ <path
+ style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="M 34.478776,15.666128 C 34.415956,14.252918 34.663396,13.280858 35.497786,12.421348 C 36.173846,11.724938 37.367716,11.264988 38.591756,11.362948 C 36.801686,11.767458 36.512466,12.273778 35.984786,12.983388 C 35.392886,13.779378 35.244436,14.715258 35.343136,15.598318 L 34.478776,15.666128 z "
+ id="path4737"
+ sodipodi:nodetypes="cscscc" />
+ <path
+ style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="M 34.478776,45.732118 C 34.415956,44.318908 34.663396,43.346848 35.497786,42.487338 C 36.173846,41.790928 37.367716,41.330978 38.591756,41.428938 C 36.801686,41.833448 36.512466,42.339768 35.984786,43.049378 C 35.392886,43.845368 35.244436,44.781248 35.343136,45.664308 L 34.478776,45.732118 z "
+ id="path4739"
+ sodipodi:nodetypes="cscscc" />
+ <path
+ style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="M 34.478776,75.335552 C 34.415956,73.922342 34.663396,72.950282 35.497786,72.090772 C 36.173846,71.394362 37.367716,70.934412 38.591756,71.032372 C 36.801686,71.436882 36.512466,71.943202 35.984786,72.652812 C 35.392886,73.448802 35.244436,74.384682 35.343136,75.267742 L 34.478776,75.335552 z "
+ id="path4741"
+ sodipodi:nodetypes="cscscc" />
+ <path
+ style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="M 20.785736,30.384128 C 20.743126,29.425558 20.910956,28.766228 21.476916,28.183228 C 21.935486,27.710858 22.745276,27.398878 23.575526,27.465328 C 22.361336,27.739698 22.076736,28.222778 21.807246,28.564458 C 21.496366,28.958618 21.305076,29.739158 21.372016,30.338138 L 20.785736,30.384128 z "
+ id="path4743"
+ sodipodi:nodetypes="cscscc" />
+ <path
+ style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="M 20.785736,60.339992 C 20.743126,59.381422 20.910956,58.722092 21.476916,58.139092 C 21.935486,57.666722 22.745276,57.354742 23.575526,57.421192 C 22.361336,57.695562 22.076736,58.178642 21.807246,58.520322 C 21.496366,58.914482 21.305076,59.695022 21.372016,60.294002 L 20.785736,60.339992 z "
+ id="path4745"
+ sodipodi:nodetypes="cscscc" />
+ <path
+ style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="M 6.4394464,44.991948 C 6.4102464,44.334988 6.5252664,43.883118 6.9131464,43.483558 C 7.2274364,43.159818 7.7824264,42.945998 8.3514364,42.991538 C 7.5192864,43.179578 7.3242364,43.510658 7.1395464,43.744838 C 6.9264764,44.014968 6.7953764,44.549918 6.8412564,44.960428 L 6.4394464,44.991948 z "
+ id="path4747"
+ sodipodi:nodetypes="cscscc" />
+ </g>
+</svg>
diff --git a/graphics/luxrender/mime-lux.xml b/graphics/luxrender/mime-lux.xml
new file mode 100644
index 0000000000000..3843873ab877a
--- /dev/null
+++ b/graphics/luxrender/mime-lux.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<mime-info
+ xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
+<mime-type type="application/x-lux">
+<comment>LuxRender File</comment>
+<glob pattern="*.lxm"/>
+<glob pattern="*.lxo"/>
+<glob pattern="*.lxs"/>
+<glob pattern="*.lxv"/>
+<glob pattern="*.flm"/>
+</mime-type>
+</mime-info>