Index: head/graphics/luxrender/Makefile =================================================================== --- head/graphics/luxrender/Makefile (revision 416446) +++ head/graphics/luxrender/Makefile (revision 416447) @@ -1,75 +1,80 @@ # Created by: Alexey Dokuchaev # $FreeBSD$ PORTNAME= luxrender -DISTVERSION?= 1.5.1 +DISTVERSION?= 1.6 CATEGORIES= graphics MASTER_SITES= https://bitbucket.org/luxrender/lux/get/ \ https://bitbucket.org/luxrender/luxrays/get/:lr -DISTFILES?= ${PORTNAME}_v${DISTVERSION}.tar.gz \ +DISTFILES= v${DISTVERSION:C/[.-]//g}${EXTRACT_SUFX} \ ${PORTNAME}_v${DISTVERSION:S/-//}${EXTRACT_SUFX}:lr DIST_SUBDIR= ${PORTNAME} MAINTAINER= danfe@FreeBSD.org COMMENT= Physically based and unbiased rendering system LICENSE= GPLv3 LIB_DEPENDS= libboost_python.so:devel/boost-python-libs \ libfftw3.so:math/fftw3 \ - libfreeimage.so:graphics/freeimage \ libOpenImageIO.so:graphics/openimageio .if ${DISTVERSION} != 1.4 LIB_DEPENDS+= libembree.so:graphics/embree .endif +CONFLICTS_INSTALL?= ${PORTNAME}14-1.4* + ONLY_FOR_ARCHS= i386 amd64 ONLY_FOR_ARCHS_REASON= uses SSE instructions -USES= bison cmake execinfo python:build tar:bzip2 -USE_GL= glut glew +USES+= bison cmake python:build tar:bzip2 +USE_GL= glu + WRKSRC= ${WRKDIR}/${PORTNAME}-lux-${LUX_REV} LUXRAYS_WRKSRC= ${WRKDIR}/${PORTNAME}-luxrays-${LUXRAYS_REV} CMAKE_ARGS= -DLUXCORE_INCLUDE_DIRS:PATH="${LUXRAYS_WRKSRC}/include" \ -DLUXCORE_LIBRARY:STRING="${LUXRAYS_WRKSRC}/lib/libluxcore.a" \ -DLUXRAYS_INCLUDE_DIRS:PATH="${LUXRAYS_WRKSRC}/include" \ -DLUXRAYS_LIBRARY:STRING="${LUXRAYS_WRKSRC}/lib/libluxrays.a" \ -DSLG_INCLUDE_DIRS:PATH="${LUXRAYS_WRKSRC}/include" \ -DSLG_LIBRARY:PATH="${LUXRAYS_WRKSRC}/lib/libsmallluxgpu.a" \ -DLUXRAYS_DISABLE_OPENCL:BOOL=ON -LUX_REV?= 8dabcd6b7016 -LUXRAYS_REV?= 8577ff287efb +LUX_REV?= b3f85cf7742f +LUXRAYS_REV?= 61352e6aae3f -OPTIONS_DEFINE= X11 +OPTIONS_DEFINE= FREEIMAGE X11 OPTIONS_DEFAULT= X11 +FREEIMAGE_DESC= Build with FreeImage (otherwise use OIIO only) +FREEIMAGE_CMAKE_ON= -DLUX_USE_FREEIMAGE:BOOL=ON +FREEIMAGE_LIB_DEPENDS= libfreeimage.so:graphics/freeimage + X11_DESC= Build GUI executable (requires Qt 4) X11_USE= QT4=moc_build,qmake_build,rcc_build,uic_build,corelib,gui X11_PLIST_FILES= bin/luxrender -pre-patch: +post-extract: @${LN} -sf ${PORTNAME}-luxrays-${LUXRAYS_REV} ${WRKDIR}/luxrays post-patch: @${REINPLACE_CMD} -e 's/__APPLE__/__FreeBSD__/' \ - ${LUXRAYS_WRKSRC}/samples/smallluxgpu4/smallluxgpu.h \ ${WRKSRC}/core/osfunc.h \ ${WRKSRC}/shapes/mikktspace/weldmesh.c # Avoid infamous "local symbol discarded in section `.text...' errors @${REINPLACE_CMD} -e '/^set(Boost_USE_STATIC_LIBS/s,ON,OFF,' \ ${LUXRAYS_WRKSRC}/cmake/Dependencies.cmake # Avoid picking up Python 3.x bits if they're installed @${REINPLACE_CMD} -e 's,PythonLibs,& ${PYTHON_VER} EXACT REQUIRED,' \ ${LUXRAYS_WRKSRC}/cmake/Dependencies.cmake \ ${WRKSRC}/cmake/pylux.cmake pre-configure: -${PYTHON_CMD} ${WRKSRC}/makeBuildNumber.py ${WRKSRC}/core/version.h cd ${LUXRAYS_WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} \ ${CMAKE_ARGS} . ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} \ ${_MAKE_JOBS} ${MAKE_ARGS} -C ${LUXRAYS_WRKSRC} .include Index: head/graphics/luxrender/distinfo =================================================================== --- head/graphics/luxrender/distinfo (revision 416446) +++ head/graphics/luxrender/distinfo (revision 416447) @@ -1,4 +1,4 @@ -SHA256 (luxrender/luxrender_v1.5.1.tar.gz) = 6f55594759c7580bc9b08d517fc23a4e7c2e2195e8ad367e87ba1a3a2216f3e2 -SIZE (luxrender/luxrender_v1.5.1.tar.gz) = 3267994 -SHA256 (luxrender/luxrender_v1.5.1.tar.bz2) = 551ce7506f04a51f59c262cb47dd03db5db1d4a0d3cd7f43d7b4dbb10ddd94cc -SIZE (luxrender/luxrender_v1.5.1.tar.bz2) = 29613457 +SHA256 (luxrender/v16.tar.bz2) = 29144f657087644086928a66421df5d25fc4dccd05970200932f5693650ddecf +SIZE (luxrender/v16.tar.bz2) = 2421141 +SHA256 (luxrender/luxrender_v1.6.tar.bz2) = eb38489e4bcb1336027efc8fa991f506bf78e8cb9edc7b73794e0cdcf998b15a +SIZE (luxrender/luxrender_v1.6.tar.bz2) = 36615450 Index: head/graphics/luxrender/files/patch-luxrays-samples-luxcorescenedemo-CMakeLists.txt =================================================================== --- head/graphics/luxrender/files/patch-luxrays-samples-luxcorescenedemo-CMakeLists.txt (revision 416446) +++ head/graphics/luxrender/files/patch-luxrays-samples-luxcorescenedemo-CMakeLists.txt (nonexistent) @@ -1,16 +0,0 @@ ---- ../luxrays/samples/luxcorescenedemo/CMakeLists.txt.orig -+++ ../luxrays/samples/luxcorescenedemo/CMakeLists.txt -@@ -22,10 +22,12 @@ - # - ################################################################################ - -+find_package(Threads) -+ - set(LUXCORESCENEDEMO_SRCS - luxcorescenedemo.cpp - ) - - add_executable(luxcorescenedemo ${LUXCORESCENEDEMO_SRCS}) - --TARGET_LINK_LIBRARIES(luxcorescenedemo luxcore smallluxgpu luxrays ${TIFF_LIBRARIES} ${OPENEXR_LIBRARIES} ${PNG_LIBRARIES} ${JPEG_LIBRARIES}) -+TARGET_LINK_LIBRARIES(luxcorescenedemo luxcore smallluxgpu luxrays ${TIFF_LIBRARIES} ${OPENEXR_LIBRARIES} ${PNG_LIBRARIES} ${JPEG_LIBRARIES} ${PYTHON_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT}) Property changes on: head/graphics/luxrender/files/patch-luxrays-samples-luxcorescenedemo-CMakeLists.txt ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/graphics/luxrender/files/patch-luxrays-samples-benchsimple-CMakeLists.txt =================================================================== --- head/graphics/luxrender/files/patch-luxrays-samples-benchsimple-CMakeLists.txt (revision 416446) +++ head/graphics/luxrender/files/patch-luxrays-samples-benchsimple-CMakeLists.txt (nonexistent) @@ -1,14 +0,0 @@ ---- ../luxrays/samples/benchsimple/CMakeLists.txt.orig -+++ ../luxrays/samples/benchsimple/CMakeLists.txt -@@ -19,8 +19,10 @@ - # LuxRays website: http://www.luxrender.net # - ########################################################################### - -+find_package(Threads) -+ - include_directories(${LuxRays_INCLUDE_DIR}) - link_directories (${LuxRays_LIB_DIR}) - - add_executable(benchsimple benchsimple.cpp) --target_link_libraries(benchsimple luxrays) -+target_link_libraries(benchsimple luxrays ${PYTHON_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT}) Property changes on: head/graphics/luxrender/files/patch-luxrays-samples-benchsimple-CMakeLists.txt ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/graphics/luxrender/files/patch-luxrays-samples-smallluxgpu4-CMakeLists.txt =================================================================== --- head/graphics/luxrender/files/patch-luxrays-samples-smallluxgpu4-CMakeLists.txt (revision 416446) +++ head/graphics/luxrender/files/patch-luxrays-samples-smallluxgpu4-CMakeLists.txt (nonexistent) @@ -1,24 +0,0 @@ ---- ../luxrays/samples/smallluxgpu4/CMakeLists.txt.orig -+++ ../luxrays/samples/smallluxgpu4/CMakeLists.txt -@@ -22,6 +22,8 @@ - # - ############################################################################# - -+find_package(Threads) -+ - set(SMALLLUXGPU_SRCS - smallluxgpu.cpp - displayfunc.cpp -@@ -29,11 +31,7 @@ - - add_executable(slg4 ${SMALLLUXGPU_SRCS}) - --if(APPLE) -- TARGET_LINK_LIBRARIES(slg4 luxcore smallluxgpu luxrays ${EMBREE_LIBRARY} ${OPENGL_LIBRARIES} ${GLEW_LIBRARY} ${GLUT_LIBRARY} ${TIFF_LIBRARIES} ${OPENEXR_LIBRARIES} ${PNG_LIBRARIES} ${JPEG_LIBRARIES}) --else(APPLE) -- TARGET_LINK_LIBRARIES(slg4 luxcore smallluxgpu luxrays ${EMBREE_LIBRARY} ${OPENGL_LIBRARIES} ${GLEW_LIBRARY} ${GLUT_LIBRARY} ${TIFF_LIBRARIES} ${OPENEXR_LIBRARIES} ${PNG_LIBRARIES} ${JPEG_LIBRARIES}) --endif(APPLE) -+TARGET_LINK_LIBRARIES(slg4 luxcore smallluxgpu luxrays ${EMBREE_LIBRARY} ${OPENGL_LIBRARIES} ${GLEW_LIBRARY} ${GLUT_LIBRARY} ${TIFF_LIBRARIES} ${OPENEXR_LIBRARIES} ${PNG_LIBRARIES} ${JPEG_LIBRARIES} ${PYTHON_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} -lexecinfo) - - # This instructs FREEGLUT to emit a pragma for the static version - SET_TARGET_PROPERTIES(slg4 PROPERTIES COMPILE_DEFINITIONS FREEGLUT_STATIC) Property changes on: head/graphics/luxrender/files/patch-luxrays-samples-smallluxgpu4-CMakeLists.txt ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/graphics/luxrender/files/patch-luxrays-samples-luxcoredemo-CMakeLists.txt =================================================================== --- head/graphics/luxrender/files/patch-luxrays-samples-luxcoredemo-CMakeLists.txt (revision 416446) +++ head/graphics/luxrender/files/patch-luxrays-samples-luxcoredemo-CMakeLists.txt (nonexistent) @@ -1,16 +0,0 @@ ---- ../luxrays/samples/luxcoredemo/CMakeLists.txt.orig -+++ ../luxrays/samples/luxcoredemo/CMakeLists.txt -@@ -22,10 +22,12 @@ - # - ################################################################################ - -+find_package(Threads) -+ - set(LUXCORELIBDEMO_SRCS - luxcoredemo.cpp - ) - - add_executable(luxcoredemo ${LUXCORELIBDEMO_SRCS}) - --TARGET_LINK_LIBRARIES(luxcoredemo luxcore smallluxgpu luxrays ${TIFF_LIBRARIES} ${OPENEXR_LIBRARIES} ${PNG_LIBRARIES} ${JPEG_LIBRARIES}) -+TARGET_LINK_LIBRARIES(luxcoredemo luxcore smallluxgpu luxrays ${TIFF_LIBRARIES} ${OPENEXR_LIBRARIES} ${PNG_LIBRARIES} ${JPEG_LIBRARIES} ${PYTHON_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT}) Property changes on: head/graphics/luxrender/files/patch-luxrays-samples-luxcoredemo-CMakeLists.txt ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/graphics/luxrender/files/patch-luxrays-samples-luxcoreimplserializationdemo-CMakeLists.txt =================================================================== --- head/graphics/luxrender/files/patch-luxrays-samples-luxcoreimplserializationdemo-CMakeLists.txt (revision 416446) +++ head/graphics/luxrender/files/patch-luxrays-samples-luxcoreimplserializationdemo-CMakeLists.txt (nonexistent) @@ -1,16 +0,0 @@ ---- ../luxrays/samples/luxcoreimplserializationdemo/CMakeLists.txt.orig 2015-08-29 17:04:08 UTC -+++ ../luxrays/samples/luxcoreimplserializationdemo/CMakeLists.txt -@@ -22,10 +22,12 @@ - # - ################################################################################ - -+find_package(Threads) -+ - set(LUXCOREIMPL_SERIALIZATIONDEMO_SRCS - luxcoreimplserializationdemo.cpp - ) - - add_executable(luxcoreimplserializationdemo ${LUXCOREIMPL_SERIALIZATIONDEMO_SRCS}) - --TARGET_LINK_LIBRARIES(luxcoreimplserializationdemo luxcore smallluxgpu luxrays ${EMBREE_LIBRARY} ${TIFF_LIBRARIES} ${OPENEXR_LIBRARIES} ${PNG_LIBRARIES} ${JPEG_LIBRARIES}) -+TARGET_LINK_LIBRARIES(luxcoreimplserializationdemo luxcore smallluxgpu luxrays ${EMBREE_LIBRARY} ${TIFF_LIBRARIES} ${OPENEXR_LIBRARIES} ${PNG_LIBRARIES} ${JPEG_LIBRARIES} ${PYTHON_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT}) Property changes on: head/graphics/luxrender/files/patch-luxrays-samples-luxcoreimplserializationdemo-CMakeLists.txt ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/graphics/luxrender/files/patch-luxrays-CMakeLists.txt =================================================================== --- head/graphics/luxrender/files/patch-luxrays-CMakeLists.txt (revision 416446) +++ head/graphics/luxrender/files/patch-luxrays-CMakeLists.txt (revision 416447) @@ -1,19 +1,47 @@ ---- ../luxrays/CMakeLists.txt.orig 2015-10-06 08:56:47 UTC +--- ../luxrays/CMakeLists.txt.orig +++ ../luxrays/CMakeLists.txt -@@ -128,16 +128,6 @@ add_subdirectory(src/luxcore) - # - ################################################################################ +@@ -91,14 +91,6 @@ if (NOT OPENGL_FOUND AND NOT LUXRAYS_DIS + SET(LUXRAYS_DISABLE_OPENCL 1) + endif() +-if (NOT GLEW_FOUND) +- MESSAGE(FATAL_ERROR "--> Could not locate required GLEW files, disabling samples build - Please check ${GLEW_SEARCH_PATH}") +-endif() +- +-if (NOT GLUT_FOUND) +- MESSAGE(FATAL_ERROR "--> Could not locate required GLUT files, disabling samples build - Please check ${GLUT_SEARCH_PATH}") +-endif() +- + if (NOT EMBREE_FOUND) + MESSAGE(FATAL_ERROR "--> Could not locate required Intel Embree files - Please check ${EMBREE_SEARCH_PATH}") + endif() +@@ -124,29 +116,6 @@ add_subdirectory(src/luxcore) + + ################################################################################ + # +-# Samples +-# +-################################################################################ +- -if(NOT APPLE OR OSX_BUILD_DEMOS) - add_subdirectory(samples/benchsimple) - add_subdirectory(samples/luxcoredemo) - add_subdirectory(samples/luxcorescenedemo) - add_subdirectory(samples/luxcoreimplserializationdemo) -endif() +- -if(OPENGL_FOUND AND GLUT_FOUND AND GLEW_FOUND) - add_subdirectory(samples/smallluxgpu4) -endif(OPENGL_FOUND AND GLUT_FOUND AND GLEW_FOUND) - - - ################################################################################ +-add_subdirectory(samples/luxcoreconsole) +-if(OPENGL_FOUND) +- add_subdirectory(samples/luxcoreui) +-endif(OPENGL_FOUND) +- +- +-################################################################################ +-# + # For non win32 we'll have to copy everything to a single dir # + ################################################################################ Index: head/graphics/luxrender14/Makefile =================================================================== --- head/graphics/luxrender14/Makefile (revision 416446) +++ head/graphics/luxrender14/Makefile (revision 416447) @@ -1,17 +1,22 @@ # Created by: Alexey Dokuchaev # $FreeBSD$ DISTVERSION= 1.4 -DISTFILES= v${DISTVERSION:C/[.-]//g}${EXTRACT_SUFX} \ - ${PORTNAME}_v${DISTVERSION:S/-//}${EXTRACT_SUFX}:lr LUX_REV= dfd211d6faa0 LUXRAYS_REV= 7c7127ee1fa4 MASTERDIR= ${.CURDIR}/../luxrender PKGNAMESUFFIX= 14 DISTINFO_FILE= ${.CURDIR}/distinfo PATCHDIR= ${.CURDIR}/files + +CONFLICTS_INSTALL= ${PORTNAME}-* + +USES= dos2unix +DOS2UNIX_FILES= ../luxrays/CMakeLists.txt + +OPTIONS_SLAVE= FREEIMAGE .include "${MASTERDIR}/Makefile" Index: head/graphics/luxrender14/files/patch-luxrays-samples-luxcorescenedemo-CMakeLists.txt =================================================================== --- head/graphics/luxrender14/files/patch-luxrays-samples-luxcorescenedemo-CMakeLists.txt (revision 416446) +++ head/graphics/luxrender14/files/patch-luxrays-samples-luxcorescenedemo-CMakeLists.txt (nonexistent) @@ -1,16 +0,0 @@ ---- ../luxrays/samples/luxcorescenedemo/CMakeLists.txt.orig -+++ ../luxrays/samples/luxcorescenedemo/CMakeLists.txt -@@ -22,10 +22,12 @@ - # - ################################################################################ - -+find_package(Threads) -+ - set(LUXCORESCENEDEMO_SRCS - luxcorescenedemo.cpp - ) - - add_executable(luxcorescenedemo ${LUXCORESCENEDEMO_SRCS}) - --TARGET_LINK_LIBRARIES(luxcorescenedemo luxcore smallluxgpu luxrays ${TIFF_LIBRARIES} ${OPENEXR_LIBRARIES} ${PNG_LIBRARIES} ${JPEG_LIBRARIES}) -+TARGET_LINK_LIBRARIES(luxcorescenedemo luxcore smallluxgpu luxrays ${TIFF_LIBRARIES} ${OPENEXR_LIBRARIES} ${PNG_LIBRARIES} ${JPEG_LIBRARIES} ${PYTHON_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT}) Property changes on: head/graphics/luxrender14/files/patch-luxrays-samples-luxcorescenedemo-CMakeLists.txt ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/graphics/luxrender14/files/patch-luxrays-samples-benchsimple-CMakeLists.txt =================================================================== --- head/graphics/luxrender14/files/patch-luxrays-samples-benchsimple-CMakeLists.txt (revision 416446) +++ head/graphics/luxrender14/files/patch-luxrays-samples-benchsimple-CMakeLists.txt (nonexistent) @@ -1,14 +0,0 @@ ---- ../luxrays/samples/benchsimple/CMakeLists.txt.orig -+++ ../luxrays/samples/benchsimple/CMakeLists.txt -@@ -19,8 +19,10 @@ - # LuxRays website: http://www.luxrender.net # - ########################################################################### - -+find_package(Threads) -+ - include_directories(${LuxRays_INCLUDE_DIR}) - link_directories (${LuxRays_LIB_DIR}) - - add_executable(benchsimple benchsimple.cpp) --target_link_libraries(benchsimple luxrays) -+target_link_libraries(benchsimple luxrays ${PYTHON_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT}) Property changes on: head/graphics/luxrender14/files/patch-luxrays-samples-benchsimple-CMakeLists.txt ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/graphics/luxrender14/files/patch-luxrays-samples-smallluxgpu4-CMakeLists.txt =================================================================== --- head/graphics/luxrender14/files/patch-luxrays-samples-smallluxgpu4-CMakeLists.txt (revision 416446) +++ head/graphics/luxrender14/files/patch-luxrays-samples-smallluxgpu4-CMakeLists.txt (nonexistent) @@ -1,20 +0,0 @@ ---- ../luxrays/samples/smallluxgpu4/CMakeLists.txt.orig -+++ ../luxrays/samples/smallluxgpu4/CMakeLists.txt -@@ -25,6 +25,8 @@ - # - ############################################################################# - -+find_package(Threads) -+ - set(SMALLLUXGPU_SRCS - smallluxgpu.cpp - displayfunc.cpp -@@ -32,7 +34,7 @@ set(SMALLLUXGPU_SRCS - - add_executable(slg4 ${SMALLLUXGPU_SRCS}) - --TARGET_LINK_LIBRARIES(slg4 luxcore smallluxgpu luxrays ${OPENGL_LIBRARIES} ${GLEW_LIBRARY} ${GLUT_LIBRARY} ${TIFF_LIBRARIES} ${OPENEXR_LIBRARIES} ${PNG_LIBRARIES} ${JPEG_LIBRARIES}) -+TARGET_LINK_LIBRARIES(slg4 luxcore smallluxgpu luxrays ${OPENGL_LIBRARIES} ${GLEW_LIBRARY} ${GLUT_LIBRARY} ${TIFF_LIBRARIES} ${OPENEXR_LIBRARIES} ${PNG_LIBRARIES} ${JPEG_LIBRARIES} ${PYTHON_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} -lexecinfo) - - # This instructs FREEGLUT to emit a pragma for the static version - SET_TARGET_PROPERTIES(slg4 PROPERTIES COMPILE_DEFINITIONS FREEGLUT_STATIC) Property changes on: head/graphics/luxrender14/files/patch-luxrays-samples-smallluxgpu4-CMakeLists.txt ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/graphics/luxrender14/files/patch-luxrays-samples-luxcoredemo-CMakeLists.txt =================================================================== --- head/graphics/luxrender14/files/patch-luxrays-samples-luxcoredemo-CMakeLists.txt (revision 416446) +++ head/graphics/luxrender14/files/patch-luxrays-samples-luxcoredemo-CMakeLists.txt (nonexistent) @@ -1,16 +0,0 @@ ---- ../luxrays/samples/luxcoredemo/CMakeLists.txt.orig -+++ ../luxrays/samples/luxcoredemo/CMakeLists.txt -@@ -22,10 +22,12 @@ - # - ################################################################################ - -+find_package(Threads) -+ - set(LUXCORELIBDEMO_SRCS - luxcoredemo.cpp - ) - - add_executable(luxcoredemo ${LUXCORELIBDEMO_SRCS}) - --TARGET_LINK_LIBRARIES(luxcoredemo luxcore smallluxgpu luxrays ${TIFF_LIBRARIES} ${OPENEXR_LIBRARIES} ${PNG_LIBRARIES} ${JPEG_LIBRARIES}) -+TARGET_LINK_LIBRARIES(luxcoredemo luxcore smallluxgpu luxrays ${TIFF_LIBRARIES} ${OPENEXR_LIBRARIES} ${PNG_LIBRARIES} ${JPEG_LIBRARIES} ${PYTHON_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT}) Property changes on: head/graphics/luxrender14/files/patch-luxrays-samples-luxcoredemo-CMakeLists.txt ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/graphics/luxrender14/files/patch-luxrays-CMakeLists.txt =================================================================== --- head/graphics/luxrender14/files/patch-luxrays-CMakeLists.txt (nonexistent) +++ head/graphics/luxrender14/files/patch-luxrays-CMakeLists.txt (revision 416447) @@ -0,0 +1,38 @@ +--- ../luxrays/CMakeLists.txt.orig ++++ ../luxrays/CMakeLists.txt +@@ -91,14 +91,6 @@ if (NOT OPENGL_FOUND AND NOT LUXRAYS_DIS + SET(LUXRAYS_DISABLE_OPENCL 1) + endif() + +-if (NOT GLEW_FOUND) +- MESSAGE(FATAL_ERROR "--> Could not locate required GLEW files, disabling samples build - Please check ${GLEW_SEARCH_PATH}") +-endif() +- +-if (NOT GLUT_FOUND) +- MESSAGE(FATAL_ERROR "--> Could not locate required GLUT files, disabling samples build - Please check ${GLUT_SEARCH_PATH}") +-endif() +- + if (LUXRAYS_DISABLE_OPENCL) + ADD_DEFINITIONS("-DLUXRAYS_DISABLE_OPENCL") + endif() +@@ -120,20 +112,6 @@ add_subdirectory(src/luxcore) + + ################################################################################ + # +-# Samples +-# +-################################################################################ +- +-add_subdirectory(samples/benchsimple) +-add_subdirectory(samples/luxcoredemo) +-add_subdirectory(samples/luxcorescenedemo) +-if(OPENGL_FOUND AND GLUT_FOUND AND GLEW_FOUND) +- add_subdirectory(samples/smallluxgpu4) +-endif(OPENGL_FOUND AND GLUT_FOUND AND GLEW_FOUND) +- +- +-################################################################################ +-# + # For non win32 we'll have to copy everything to a single dir + # + ################################################################################ Property changes on: head/graphics/luxrender14/files/patch-luxrays-CMakeLists.txt ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property