OK new version of luxrender works great but not because the bug has being fixed, its because luxrender no longer uses a wxgtk interface, they ported the gui to qt4.
So the problem is actually related to WxGtk which needs a rebuild adding the following options to the configure line:
Since the wxGTK 2.8.x is not compatible with the png_sig call we need to do a sed before the configure so that the compilation don't fail:
This need to come before configure line.
Only requiring for wxgtk to not use static libraries doesn't seem to do the trick so you need to add these the configure command. In fact wxGTK doesn't use static libraries but instead it uses it's own libraries for png (builtins) which is version 1.2.7 while all the rest of the system is version 1.4.1.
Now to have the new luxrender version which seems to be faster a better you need to add another package before called freeimage : http://freeimage.sourceforge.net/
so there you need to download the source code version 3.13.1 and save as FreeImage-3.13.1.tar.bz2. here is the spec file for freeimage
|Code||[In neuem Fenster öffnen]|
<description>Library project for developers who would like to support popular graphics image formats</description>
<!-- Contribution: Diogo Lima -->
<release version="3.13.1" revision="1" branch="testing">
<dep name="gcc" />
<!-- Source Code: http://downloads.sourceforge.net/freeimage/FreeImage3131.zip -->
<!-- Extra -->
<cmd>make -f Makefile.fip</cmd>
<cmd>make -f Makefile.fip install</cmd>
After making freeimage package you need to update luxrender to version 0.6.99. You'll need to grab the source code from http://src.luxrender.net/lux/archive/dd0a5b5acd79.tar.bz2
and save it as lux-0.6.99.tar.bz2 , as addition the blender export scripts needs to be download from http://src.luxrender.net/luxblend/archive/24cc23d2fa2e.tar.bz2
and then extract the files and put LuxBlend_0.1.py and Icon_gen.py together with the lux-0.6.99.tar.bz2 on $REPO/sources/lux/ now you need to rename LuxBlend_0.1.py to LuxBlend-0.6.99.py and Icon_gen.py to Icon_gen-0.6.99.py (this last step is to actually don't make file confusion since the script have changed and still are named the same way as the 0.6.1 version)
Now here is the spec for lux version 0.6.99:
|Code||[In neuem Fenster öffnen]|
<!-- http://www.luxrender.net/ -->
<!-- Maintainer: Richard Nespithal -->
<!-- Contribution#23/11/2009: Diogo Lima -->
<description>Unbiased Renderer for Blender</description>
<release version="0.6.99" revision="2" branch="testing">
<dep name="qt-4" />
<!-- Source Codes: http://src.luxrender.net/lux/archive/dd0a5b5acd79.tar.bz2
<!-- fix build with libpng 1.4 -->
<cmd>sed -i -e 's/int_p_NULL/NULL/g' -e 's/png_set_gray_1_2_4_to_8/png_set_expand_gray_1_2_4_to_8/' core/external/cimg.h</cmd>
<!-- do not use /usr/lib64 -->
<cmd>sed -i -e '/LIB_SUFFIX 64/d' CMakeLists.txt</cmd>
<cmd>cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr .</cmd>
<install name="Icon_gen-0.6.99.py" dest="/usr/lib/blender/scripts/Icon_gen.py"/>
<install name="LuxBlend-0.6.99.py" dest="/usr/lib/blender/scripts/LuxBlend_0.1.py"/>
Now the observations, since the version 0.7 hasn't dropped the Wxgtk interface yet (they use as fallback when qt doesn't work) then the wxgtk dependency is needed, also since I added the blender export scripts on the spec the dependency for blender is necessary. Qt-4 is needed as explained above.
This doesn't mean that wxgtk problem is gone (it is gone for luxrender since it dropped it). Please fix the wxgtk so that other distributions don't crash, like amule and others.
After the wxGTK upgrade luxrender 0.6.1 needs to be rebuilt against it and all the packages that require it needs rebuild as well
OSs: Paldo-testing x86_64 :: HP Pavilion dv9680ez