public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/luxcorerender] f45: Update BlendLuxCore to 2.11.1 and improve Fedora integration
@ 2026-10-27 2:54 Luya Tshimbalanga
0 siblings, 0 replies; only message in thread
From: Luya Tshimbalanga @ 2026-10-27 2:54 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/luxcorerender
Branch : f45
Commit : 6cb984ed7ea57482643e45985609ccccffd6d016
Author : Luya Tshimbalanga <luya@fedoraproject.org>
Date : 2026-10-26T19:52:57-07:00
Stats : +711/-142 in 10 file(s)
URL : https://src.fedoraproject.org/rpms/luxcorerender/c/6cb984ed7ea57482643e45985609ccccffd6d016?branch=f45
Log:
Update BlendLuxCore to 2.11.1 and improve Fedora integration
Replace inline source rewrites with patches for system dependencies,
CMake configuration, Python installation, and RPM-provided bindings.
Require Blender 4.5 or newer and check staged PyLuxCore imports inside
Blender.
Refresh AppStream metadata, add a luxcoreconsole manual page, remove
developer helpers and duplicate documentation, and update obsolete
FSF addresses.
Mock build and integration checks pass; rpmlint reports no errors
or warnings.
(cherry picked from commit cf02e6130e7a3389bf1d9fcb11b55da78019f6e5)
---
diff --git a/.gitignore b/.gitignore
index 01f22cc..e21a21f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@ blendluxcore_*.tar.gz
luxcorerender_*tar.gz
/BlendLuxCore-2.11.0.tar.gz
/LuxCore-2.11.2.tar.gz
+/BlendLuxCore-2.11.1.tar.gz
diff --git a/blendluxcore-license-url.patch b/blendluxcore-license-url.patch
new file mode 100644
index 0000000..344ad19
--- /dev/null
+++ b/blendluxcore-license-url.patch
@@ -0,0 +1,108 @@
+--- a/BlendLuxCore-2.11.1/draw/lol/viewport.py
++++ b/BlendLuxCore-2.11.1/draw/lol/viewport.py
+@@ -11,8 +11,7 @@
+ # GNU General Public License for more details.
+ #
+ # You should have received a copy of the GNU General Public License
+-# along with this program; if not, write to the Free Software Foundation,
+-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
++# along with this program. If not, see <https://www.gnu.org/licenses/>.
+ #
+ # ##### END GPL LICENSE BLOCK #####
+ #
+--- a/BlendLuxCore-2.11.1/operators/lol/add_local.py
++++ b/BlendLuxCore-2.11.1/operators/lol/add_local.py
+@@ -11,8 +11,7 @@
+ # GNU General Public License for more details.
+ #
+ # You should have received a copy of the GNU General Public License
+-# along with this program; if not, write to the Free Software Foundation,
+-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
++# along with this program. If not, see <https://www.gnu.org/licenses/>.
+ #
+ # ##### END GPL LICENSE BLOCK #####
+ #
+--- a/BlendLuxCore-2.11.1/operators/lol/assetbar.py
++++ b/BlendLuxCore-2.11.1/operators/lol/assetbar.py
+@@ -11,8 +11,7 @@
+ # GNU General Public License for more details.
+ #
+ # You should have received a copy of the GNU General Public License
+-# along with this program; if not, write to the Free Software Foundation,
+-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
++# along with this program. If not, see <https://www.gnu.org/licenses/>.
+ #
+ # ##### END GPL LICENSE BLOCK #####
+ #
+--- a/BlendLuxCore-2.11.1/operators/lol/update_ToC.py
++++ b/BlendLuxCore-2.11.1/operators/lol/update_ToC.py
+@@ -11,8 +11,7 @@
+ # GNU General Public License for more details.
+ #
+ # You should have received a copy of the GNU General Public License
+-# along with this program; if not, write to the Free Software Foundation,
+-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
++# along with this program. If not, see <https://www.gnu.org/licenses/>.
+ #
+ # ##### END GPL LICENSE BLOCK #####
+ #
+--- a/BlendLuxCore-2.11.1/properties/lol/LuxCoreOLScene.py
++++ b/BlendLuxCore-2.11.1/properties/lol/LuxCoreOLScene.py
+@@ -11,8 +11,7 @@
+ # GNU General Public License for more details.
+ #
+ # You should have received a copy of the GNU General Public License
+-# along with this program; if not, write to the Free Software Foundation,
+-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
++# along with this program. If not, see <https://www.gnu.org/licenses/>.
+ #
+ # ##### END GPL LICENSE BLOCK ####
+ #
+--- a/BlendLuxCore-2.11.1/ui/lol/assetmenu.py
++++ b/BlendLuxCore-2.11.1/ui/lol/assetmenu.py
+@@ -11,8 +11,7 @@
+ # GNU General Public License for more details.
+ #
+ # You should have received a copy of the GNU General Public License
+-# along with this program; if not, write to the Free Software Foundation,
+-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
++# along with this program. If not, see <https://www.gnu.org/licenses/>.
+ #
+ # ##### END GPL LICENSE BLOCK #####
+ #
+--- a/BlendLuxCore-2.11.1/ui/lol/panel.py
++++ b/BlendLuxCore-2.11.1/ui/lol/panel.py
+@@ -11,8 +11,7 @@
+ # GNU General Public License for more details.
+ #
+ # You should have received a copy of the GNU General Public License
+-# along with this program; if not, write to the Free Software Foundation,
+-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
++# along with this program. If not, see <https://www.gnu.org/licenses/>.
+ #
+ # ##### END GPL LICENSE BLOCK #####
+ #
+--- a/BlendLuxCore-2.11.1/utils/lol/timer.py
++++ b/BlendLuxCore-2.11.1/utils/lol/timer.py
+@@ -11,8 +11,7 @@
+ # GNU General Public License for more details.
+ #
+ # You should have received a copy of the GNU General Public License
+-# along with this program; if not, write to the Free Software Foundation,
+-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
++# along with this program. If not, see <https://www.gnu.org/licenses/>.
+ #
+ # ##### END GPL LICENSE BLOCK #####
+ #
+--- a/BlendLuxCore-2.11.1/utils/lol/utils.py
++++ b/BlendLuxCore-2.11.1/utils/lol/utils.py
+@@ -11,8 +11,7 @@
+ # GNU General Public License for more details.
+ #
+ # You should have received a copy of the GNU General Public License
+-# along with this program; if not, write to the Free Software Foundation,
+-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
++# along with this program. If not, see <https://www.gnu.org/licenses/>.
+ #
+ # ##### END GPL LICENSE BLOCK #####
+ #
diff --git a/blendluxcore-system-python.patch b/blendluxcore-system-python.patch
new file mode 100644
index 0000000..57ee0f3
--- /dev/null
+++ b/blendluxcore-system-python.patch
@@ -0,0 +1,11 @@
+--- a/BlendLuxCore-2.11.1/__init__.py
++++ b/BlendLuxCore-2.11.1/__init__.py
+@@ -37,7 +37,7 @@
+
+ luxloader = importlib.reload(luxloader)
+
+-luxloader.ensure_pyluxcore()
++# Fedora supplies pyluxcore and its distribution metadata through RPM.
+
+ # Import pyluxcore
+ try:
diff --git a/luxcore-python-install.patch b/luxcore-python-install.patch
new file mode 100644
index 0000000..52bae26
--- /dev/null
+++ b/luxcore-python-install.patch
@@ -0,0 +1,29 @@
+--- a/src/pyluxcore/CMakeLists.txt
++++ b/src/pyluxcore/CMakeLists.txt
+@@ -56,7 +56,7 @@
+ # Install
+ INSTALL(
+ TARGETS pyluxcore
+- DESTINATION pyluxcore
++ DESTINATION ${PYTHON_SITEARCH}
+ COMPONENT pyluxcore
+ PERMISSIONS
+ OWNER_WRITE OWNER_READ OWNER_EXECUTE
+@@ -67,7 +67,7 @@
+ # Install pdb file (if msvc and debug)
+ if(MSVC)
+ install(FILES "$<$<CONFIG:Debug>:$<TARGET_PDB_FILE:pyluxcore>>"
+- DESTINATION pyluxcore
++ DESTINATION ${PYTHON_SITEARCH}
+ COMPONENT pyluxcore
+ )
+ endif()
+@@ -83,7 +83,7 @@
+ endforeach()
+ endforeach()
+ install(FILES "$<$<CONFIG:Debug,RelWithDebInfo>:$<TARGET_FILE:pyluxcore>.dsym>"
+- DESTINATION pyluxcore
++ DESTINATION ${PYTHON_SITEARCH}
+ COMPONENT pyluxcore
+ )
+ endif()
diff --git a/luxcore-robin-map.patch b/luxcore-robin-map.patch
new file mode 100644
index 0000000..3b0f0f9
--- /dev/null
+++ b/luxcore-robin-map.patch
@@ -0,0 +1,104 @@
+--- a/include/slg/lights/lightsourcedefs.h
++++ b/include/slg/lights/lightsourcedefs.h
+@@ -20,7 +20,7 @@
+ #define _SLG_LIGHTSOURCEDEFINITIONS_H
+
+ #include <functional>
+-#include <robin_hood.h>
++#include <tsl/robin_map.h>
+
+ #include "luxrays/utils/properties.h"
+ #include "slg/lights/light.h"
+@@ -141,7 +141,7 @@
+ std::vector<u_int> lightTypeCount;
+
+ // Below, the actual owner of Light objects
+- robin_hood::unordered_flat_map<std::string, LightSourceUPtr> lightsByName;
++ tsl::robin_map<std::string, LightSourceUPtr> lightsByName;
+
+ // Following containers just store references to lights
+ std::vector<std::reference_wrapper<LightSource>> lights;
+--- a/src/slg/scene/scene.cpp
++++ b/src/slg/scene/scene.cpp
+@@ -16,6 +16,7 @@
+ * limitations under the License. *
+ ***************************************************************************/
+
++#include <functional>
+ #include <cstdlib>
+ #include <istream>
+ #include <stdexcept>
+@@ -849,7 +850,7 @@
+
+ const string prefix = objectName + "__triangle__light__";
+
+- return (boost::format("TL%0zx_") % robin_hood::hash_bytes(prefix.data(), sizeof(char) * prefix.size())).str();
++ return (boost::format("TL%0zx_") % std::hash<std::string>{}(prefix)).str();
+ }
+
+ ImageMapConstSPtr Scene::GetRandomImageMap() const { return randomImageMap; }
+--- a/src/slg/lights/lightsourcedefs.cpp
++++ b/src/slg/lights/lightsourcedefs.cpp
+@@ -57,7 +57,7 @@
+
+ if (e != lightsByName.end()) {
+ // Light source already exists
+- auto oldLight = std::move(e->second);
++ auto oldLight = std::move(e.value());
+
+ // Update name/LightSource definition
+ lightsByName.erase(e);
+@@ -81,7 +81,7 @@
+ if (e == lightsByName.end())
+ throw runtime_error("Reference to an undefined LightSource in LightSourceDefinitions::GetLightSource(): " + name);
+
+- return *e->second;
++ return *e.value();
+ }
+
+ LightSourceRef LightSourceDefinitions::GetLightSource(const string &name) {
+@@ -91,7 +91,7 @@
+ if (e == lightsByName.end())
+ throw runtime_error("Reference to an undefined LightSource in LightSourceDefinitions::GetLightSource(): " + name);
+
+- return *e->second;
++ return *e.value();
+ }
+
+ LightSourceConstPtr LightSourceDefinitions::GetLightSourcePtr(const string &name) const {
+@@ -101,7 +101,7 @@
+ if (e == lightsByName.end())
+ throw runtime_error("Reference to an undefined LightSource in LightSourceDefinitions::GetLightSource(): " + name);
+
+- return LightSourceConstPtr(e->second.get());
++ return LightSourceConstPtr(e.value().get());
+ }
+
+ LightSourcePtr LightSourceDefinitions::GetLightSourcePtr(const string &name) {
+@@ -111,7 +111,7 @@
+ if (e == lightsByName.end())
+ throw runtime_error("Reference to an undefined LightSource in LightSourceDefinitions::GetLightSource(): " + name);
+
+- return LightSourcePtr(e->second.get());
++ return LightSourcePtr(e.value().get());
+ }
+
+ TriangleLightConstRef LightSourceDefinitions::GetLightSourceByMeshAndTriIndex(const u_int meshIndex, const u_int triIndex) const {
+@@ -137,7 +137,7 @@
+ throw runtime_error("Reference to an undefined LightSource in LightSourceDefinitions::DeleteLightSource(): " + name);
+
+
+- auto oldLight = std::move(e->second);
++ auto oldLight = std::move(e.value());
+ lightsByName.erase(e);
+ return oldLight;
+ }
+@@ -231,7 +231,7 @@
+ envLightSources.clear();
+ fill(lightTypeCount.begin(), lightTypeCount.end(), 0);
+ // To accelerate the light pointer to light index lookup
+- robin_hood::unordered_flat_map<
++ tsl::robin_map<
+ const LightSource *,
+ u_int
+ > light2indexLookupAccel;
diff --git a/luxcore-system-build.patch b/luxcore-system-build.patch
new file mode 100644
index 0000000..39d7cec
--- /dev/null
+++ b/luxcore-system-build.patch
@@ -0,0 +1,214 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -195,7 +195,10 @@
+ find_package(Blosc2 REQUIRED)
+ find_package(OpenImageDenoise REQUIRED)
+ find_package(Boost REQUIRED COMPONENTS iostreams serialization)
+-find_package(OpenVDB REQUIRED)
++find_path(OPENVDB_INCLUDE_DIR openvdb/openvdb.h REQUIRED)
++find_library(OPENVDB_LIBRARY NAMES openvdb REQUIRED)
++add_library(OpenVDB::openvdb SHARED IMPORTED)
++set_target_properties(OpenVDB::openvdb PROPERTIES IMPORTED_LOCATION "${OPENVDB_LIBRARY}" INTERFACE_INCLUDE_DIRECTORIES "${OPENVDB_INCLUDE_DIR}")
+ find_package(Imath REQUIRED)
+ find_package(Eigen3 REQUIRED)
+ find_package(OpenSubdiv REQUIRED)
+@@ -223,7 +226,6 @@
+ find_package(OpenJPEG REQUIRED)
+ find_package(openjph REQUIRED)
+ if (WIN32 OR LINUX)
+- find_package(nvrtc REQUIRED)
+ endif()
+
+ # Bison/Flex
+@@ -235,9 +237,6 @@
+ find_package(pybind11 CONFIG REQUIRED)
+
+ # Additional dependencies for luxcoreui
+-find_package(imgui)
+-find_package(glfw3)
+-find_package(imguifiledialog)
+
+ # Documentation
+ find_package(Doxygen)
+@@ -368,7 +367,6 @@
+
+ add_subdirectory(samples/luxcoreconsole)
+
+-add_subdirectory(samples/luxcoreui)
+
+
+ ################################################################################
+--- a/include/luxcore/luxcoresink.h
++++ b/include/luxcore/luxcoresink.h
+@@ -41,7 +41,7 @@
+ memory_buf_t formatted;
+ base_sink<Mutex>::formatter_->format(msg, formatted);
+
+- logHandler(formatted.c_str());
++ logHandler(fmt::to_string(formatted).c_str());
+ }
+ }
+
+--- a/samples/luxcoreconsole/CMakeLists.txt
++++ b/samples/luxcoreconsole/CMakeLists.txt
+@@ -37,7 +37,6 @@
+
+ install(
+ TARGETS luxcoreconsole
+- RUNTIME_DEPENDENCY_SET LUXCONSOLE_DEPS
+ COMPONENT luxcoreconsole
+ FRAMEWORK
+ DESTINATION luxcore
+@@ -47,12 +46,3 @@
+ GROUP_READ GROUP_EXECUTE
+ WORLD_READ WORLD_EXECUTE
+ )
+-install(RUNTIME_DEPENDENCY_SET LUXCONSOLE_DEPS
+- PRE_EXCLUDE_REGEXES "api-ms-" "ext-ms-"
+- POST_EXCLUDE_REGEXES ${INSTALL_EXCLUDE_REGEXES}
+- DIRECTORIES "${CONAN_RUNTIME_LIB_DIRS}"
+- PERMISSIONS
+- OWNER_WRITE OWNER_READ OWNER_EXECUTE
+- GROUP_READ GROUP_EXECUTE
+- WORLD_READ WORLD_EXECUTE
+-)
+--- a/src/pyluxcore/CMakeLists.txt
++++ b/src/pyluxcore/CMakeLists.txt
+@@ -104,7 +104,7 @@
+ #set(OIDN_DESTINATION "pyluxcore.oidn")
+ #endif(WIN32)
+
+-if(LINUX)
++if(LINUX AND LUX_OIDN_DEVICE_CPU)
+ #set_property(
+ #TARGET oidn-denoise
+ #PROPERTY INSTALL_RPATH "\\\${ORIGIN}/../pyluxcore.libs"
+@@ -114,7 +114,7 @@
+ DESTINATION "pyluxcore.libs"
+ COMPONENT pyluxcore
+ )
+-endif(LINUX)
++endif()
+
+ #if(APPLE)
+ #set_target_properties(
+--- a/src/luxcore/luxcoreimpl.cpp
++++ b/src/luxcore/luxcoreimpl.cpp
+@@ -698,7 +698,7 @@
+
+ const CameraImpl::CameraType type = static_cast<Camera::CameraType>(scene.GetSlgScene().GetCamera().GetType());
+
+- API_RETURN("{}", type);
++ API_RETURN("{}", static_cast<int>(type));
+
+ return type;
+ }
+--- a/src/luxcore/CMakeLists.txt
++++ b/src/luxcore/CMakeLists.txt
+@@ -113,15 +113,12 @@
+ link_directories (${SLG_LIB_DIR} ${LuxRays_LIB_DIR})
+
+ set_target_properties(luxcore PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS ON)
++set_target_properties(luxcore PROPERTIES VERSION 2.11.2 SOVERSION 2)
+ set_target_properties(luxcore_static PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS ON)
+
+ message(status ${INSTALL_EXCLUDE_REGEXES})
+ install(
+ TARGETS luxcore
+- RUNTIME_DEPENDENCIES
+- PRE_EXCLUDE_REGEXES "api-ms-" "ext-ms-" "clang_rt"
+- POST_EXCLUDE_REGEXES ${INSTALL_EXCLUDE_REGEXES}
+- DIRECTORIES ${CONAN_RUNTIME_LIB_DIRS}
+ COMPONENT luxcore
+ FRAMEWORK
+ DESTINATION luxcore
+@@ -176,7 +173,7 @@
+ COMPONENT luxcore
+ )
+ endif()
+-if(LINUX)
++if(LINUX AND LUX_OIDN_DEVICE_CPU)
+ install(
+ PROGRAMS "${LUX_OIDN_DEVICE_CPU}"
+ TYPE LIB
+@@ -214,7 +211,7 @@
+ WORLD_READ WORLD_EXECUTE
+ )
+ endif()
+-if(LINUX)
++if(LINUX AND LUX_NVRTC)
+ set(LUX_NVRTC_LIST "${LUX_NVRTC}")
+ install(
+ PROGRAMS ${LUX_NVRTC_LIST}
+--- a/src/slg/film/imagepipeline/plugins/intel_oidn.cpp
++++ b/src/slg/film/imagepipeline/plugins/intel_oidn.cpp
+@@ -45,7 +45,7 @@
+
+ BOOST_CLASS_EXPORT_IMPLEMENT(slg::IntelOIDN)
+
+-void errorCallback(void* userPtr, lux::oidn::Error error, const char* message) {
++void errorCallback(void* userPtr, oidn::Error error, const char* message) {
+ throw std::runtime_error(message);
+ }
+
+@@ -73,11 +73,11 @@
+ const float *albedoBuffer, const float *normalBuffer,
+ const u_int width, const u_int height, const bool cleanAux) const {
+
+- lux::oidn::DeviceRef device = lux::oidn::newDevice(lux::oidn::DeviceType::CPU);
++ oidn::DeviceRef device = oidn::newDevice(oidn::DeviceType::CPU);
+
+ const char* errorMessage2;
+
+- if (device.getError(errorMessage2) != lux::oidn::Error::None) {
++ if (device.getError(errorMessage2) != oidn::Error::None) {
+ throw std::runtime_error(errorMessage2);
+ }
+
+@@ -86,27 +86,27 @@
+ device.set("setAffinity", false);
+ device.commit();
+
+- lux::oidn::FilterRef filter = device.newFilter(filterType.c_str());
+-
+- lux::oidn::BufferRef colorBuf = device.newBuffer((float*)srcBuffer, width * height * 3 * sizeof(float));
+- lux::oidn::BufferRef albedoBuf = device.newBuffer((float*)albedoBuffer, width * height * 3 * sizeof(float));
+- lux::oidn::BufferRef normalBuf = device.newBuffer((float*)normalBuffer, width * height * 3 * sizeof(float));
+- lux::oidn::BufferRef dstBuf = device.newBuffer((float*)dstBuffer, width * height * 3 * sizeof(float));
++ oidn::FilterRef filter = device.newFilter(filterType.c_str());
++
++ oidn::BufferRef colorBuf = device.newBuffer((float*)srcBuffer, width * height * 3 * sizeof(float));
++ oidn::BufferRef albedoBuf = device.newBuffer((float*)albedoBuffer, width * height * 3 * sizeof(float));
++ oidn::BufferRef normalBuf = device.newBuffer((float*)normalBuffer, width * height * 3 * sizeof(float));
++ oidn::BufferRef dstBuf = device.newBuffer((float*)dstBuffer, width * height * 3 * sizeof(float));
+
+
+ filter.set("hdr", true);
+ filter.set("cleanAux", cleanAux);
+ filter.set("maxMemoryMB", oidnMemLimit);
+- filter.setImage("color", colorBuf, lux::oidn::Format::Float3, width, height);
++ filter.setImage("color", colorBuf, oidn::Format::Float3, width, height);
+ if (albedoBuffer) {
+- filter.setImage("albedo", albedoBuf, lux::oidn::Format::Float3, width, height);
++ filter.setImage("albedo", albedoBuf, oidn::Format::Float3, width, height);
+
+ // Normals can only be used if albedo is supplied as well
+ if (normalBuffer)
+- filter.setImage("normal", normalBuf, lux::oidn::Format::Float3, width, height);
++ filter.setImage("normal", normalBuf, oidn::Format::Float3, width, height);
+ }
+
+- filter.setImage("output", dstBuf, lux::oidn::Format::Float3, width, height);
++ filter.setImage("output", dstBuf, oidn::Format::Float3, width, height);
+ filter.commit();
+
+ SLG_LOG("IntelOIDNPlugin executing " + imageName + " filter");
+@@ -115,7 +115,7 @@
+ SLG_LOG("IntelOIDNPlugin " + imageName + " filter took: " << (boost::format("%.1f") % (WallClockTime() - startTime)) << "secs");
+
+ const char *errorMessage;
+- if (device.getError(errorMessage) != lux::oidn::Error::None)
++ if (device.getError(errorMessage) != oidn::Error::None)
+ SLG_LOG("IntelOIDNPlugin " + imageName + " filtering error: " << errorMessage);
+ }
+
diff --git a/luxcore-system-dependencies.patch b/luxcore-system-dependencies.patch
new file mode 100644
index 0000000..11171e4
--- /dev/null
+++ b/luxcore-system-dependencies.patch
@@ -0,0 +1,147 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -188,16 +188,37 @@
+ find_package(PNG REQUIRED)
+ find_package(OpenColorIO REQUIRED)
+ find_package(OpenEXR REQUIRED)
+-find_package(embree REQUIRED)
+-find_package(c-blosc REQUIRED)
+-find_package(oidn REQUIRED)
+-find_package(Boost REQUIRED)
++find_path(EMBREE_INCLUDE_DIR embree4/rtcore.h REQUIRED)
++find_library(EMBREE_LIBRARY NAMES embree4 REQUIRED)
++add_library(embree::embree SHARED IMPORTED)
++set_target_properties(embree::embree PROPERTIES IMPORTED_LOCATION "${EMBREE_LIBRARY}" INTERFACE_INCLUDE_DIRECTORIES "${EMBREE_INCLUDE_DIR}")
++find_package(Blosc2 REQUIRED)
++find_package(OpenImageDenoise REQUIRED)
++find_package(Boost REQUIRED COMPONENTS iostreams serialization)
+ find_package(OpenVDB REQUIRED)
+ find_package(Imath REQUIRED)
+ find_package(Eigen3 REQUIRED)
+ find_package(OpenSubdiv REQUIRED)
+ find_package(nlohmann_json REQUIRED)
+-find_package(robin_hood REQUIRED)
++find_package(tsl-robin-map REQUIRED)
++add_library(onetbb::onetbb INTERFACE IMPORTED)
++set_target_properties(onetbb::onetbb PROPERTIES INTERFACE_LINK_LIBRARIES "TBB::tbb;TBB::tbbmalloc")
++add_library(robin_hood::robin_hood INTERFACE IMPORTED)
++set_target_properties(robin_hood::robin_hood PROPERTIES INTERFACE_LINK_LIBRARIES tsl::robin_map)
++add_library(openexr::openexr INTERFACE IMPORTED)
++set_target_properties(openexr::openexr PROPERTIES INTERFACE_LINK_LIBRARIES OpenEXR::OpenEXR)
++add_library(opensubdiv::opensubdiv INTERFACE IMPORTED)
++set_target_properties(opensubdiv::opensubdiv PROPERTIES INTERFACE_LINK_LIBRARIES OpenSubdiv::osdCPU)
++add_library(openimageio::openimageio INTERFACE IMPORTED)
++set_target_properties(openimageio::openimageio PROPERTIES INTERFACE_LINK_LIBRARIES "OpenImageIO::OpenImageIO;OpenImageIO::OpenImageIO_Util")
++find_path(OIDN_INCLUDE_DIR OpenImageDenoise/oidn.hpp REQUIRED)
++find_library(OIDN_LIBRARY NAMES OpenImageDenoise REQUIRED)
++add_library(oidn::oidn SHARED IMPORTED)
++set_target_properties(oidn::oidn PROPERTIES IMPORTED_LOCATION "${OIDN_LIBRARY}" INTERFACE_INCLUDE_DIRECTORIES "${OIDN_INCLUDE_DIR}")
++find_path(OPENJPH_INCLUDE_DIR openjph/ojph_codestream.h REQUIRED)
++find_library(OPENJPH_LIBRARY NAMES openjph REQUIRED)
++add_library(openjph::openjph SHARED IMPORTED)
++set_target_properties(openjph::openjph PROPERTIES IMPORTED_LOCATION "${OPENJPH_LIBRARY}" INTERFACE_INCLUDE_DIRECTORIES "${OPENJPH_INCLUDE_DIR}")
+ find_package(OpenMP REQUIRED)
+ find_package(OpenJPEG REQUIRED)
+ find_package(openjph REQUIRED)
+--- a/samples/luxcoreconsole/CMakeLists.txt
++++ b/samples/luxcoreconsole/CMakeLists.txt
+@@ -25,7 +25,7 @@
+ set(LUXCORECONSOLE_SRCS luxcoreconsole.cpp)
+
+ add_executable(luxcoreconsole ${LUXCORECONSOLE_SRCS})
+-TARGET_LINK_LIBRARIES(luxcoreconsole PRIVATE luxrays luxcore_static boost::boost)
++TARGET_LINK_LIBRARIES(luxcoreconsole PRIVATE luxrays luxcore_static Boost::iostreams Boost::serialization TBB::tbbmalloc)
+
+ if(APPLE)
+ TARGET_LINK_LIBRARIES(luxcoreconsole PRIVATE expat "-framework Carbon" "-framework IOKit")
+--- a/samples/luxcoreui/CMakeLists.txt
++++ b/samples/luxcoreui/CMakeLists.txt
+@@ -55,7 +55,7 @@
+
+ add_executable(luxcoreui ${LUXCOREUI_SRCS})
+ target_link_libraries(luxcoreui PRIVATE
+- boost::boost
++ Boost::iostreams Boost::serialization
+ luxrays
+ luxcore_static
+ imgui::imgui
+--- a/src/slg/CMakeLists.txt
++++ b/src/slg/CMakeLists.txt
+@@ -68,7 +68,7 @@
+
+ add_library(bcd STATIC ${BCD_SRCS})
+
+-target_link_libraries(bcd PRIVATE boost::boost Eigen3::Eigen)
++target_link_libraries(bcd PRIVATE Boost::iostreams Boost::serialization Eigen3::Eigen)
+
+ if(APPLE)
+ target_link_libraries(bcd PRIVATE OpenMP::OpenMP)
+@@ -498,7 +498,7 @@
+
+ target_link_libraries(slg-core PRIVATE
+ luxrays
+- boost::boost
++ Boost::iostreams Boost::serialization
+ OpenColorIO::OpenColorIO
+ OpenVDB::openvdb
+ openexr::openexr
+@@ -655,7 +655,7 @@
+ SOURCE_GROUP("Source Files\\SLG Kernels\\Generated" FILES ${SLG_KERNEL_SRCS})
+
+ add_library(slg-kernels STATIC ${SLG_KERNELS} ${SLG_KERNEL_SRCS})
+-target_link_libraries(slg-kernels PRIVATE boost::boost OpenMP::OpenMP_CXX)
++target_link_libraries(slg-kernels PRIVATE Boost::iostreams Boost::serialization OpenMP::OpenMP_CXX)
+
+ #############################################################################
+ #
+@@ -727,7 +727,7 @@
+
+ add_library(slg-film STATIC ${SLG_FILM_SRCS})
+ target_link_libraries(slg-film PRIVATE
+- boost::boost
++ Boost::iostreams Boost::serialization
+ OpenColorIO::OpenColorIO
+ embree::embree
+ oidn::oidn
+--- a/src/luxcore/CMakeLists.txt
++++ b/src/luxcore/CMakeLists.txt
+@@ -86,7 +86,7 @@
+ luxrays
+ bcd
+ robin_hood::robin_hood
+- boost::boost
++ Boost::iostreams Boost::serialization
+ spdlog::spdlog_header_only
+ openjph::openjph
+ openimageio::openimageio
+@@ -101,7 +101,7 @@
+ luxrays
+ bcd
+ robin_hood::robin_hood
+- boost::boost
++ Boost::iostreams Boost::serialization
+ spdlog::spdlog_header_only
+ openjph::openjph
+ openimageio::openimageio
+--- a/src/luxrays/CMakeLists.txt
++++ b/src/luxrays/CMakeLists.txt
+@@ -241,7 +241,7 @@
+ target_link_libraries(luxrays PRIVATE
+ embree::embree
+ openimageio::openimageio
+- boost::boost
++ Boost::iostreams Boost::serialization
+ OpenMP::OpenMP_CXX
+ )
+
+--- a/src/luxcore/luxparser/CMakeLists.txt
++++ b/src/luxcore/luxparser/CMakeLists.txt
+@@ -42,7 +42,7 @@
+ add_library(luxparser STATIC ${BISON_luxbison_OUTPUTS} ${FLEX_luxflex_OUTPUTS})
+ target_link_libraries(luxparser PRIVATE
+ robin_hood::robin_hood
+- boost::boost
++ Boost::iostreams Boost::serialization
+ embree::embree
+ Imath::Imath
+ OpenColorIO::OpenColorIO
diff --git a/luxcoreconsole.1 b/luxcoreconsole.1
new file mode 100644
index 0000000..695cee9
--- /dev/null
+++ b/luxcoreconsole.1
@@ -0,0 +1,45 @@
+.TH LUXCORECONSOLE 1 "October 2026" "LuxCoreRender 2.11.2" "User Commands"
+.SH NAME
+luxcoreconsole \- render LuxCore scenes from the command line
+.SH SYNOPSIS
+.B luxcoreconsole
+.RI [ options ] " [configuration-file]"
+.SH DESCRIPTION
+Render a scene using a LuxCoreRender configuration file.
+The configuration selects the rendering engine, scene, stopping conditions,
+and output files. Command-line properties override configuration properties.
+.SH OPTIONS
+.TP
+.BI "\-o " file
+Read the specified rendering configuration file.
+Only one configuration file may be supplied.
+.TP
+.BI "\-f " file
+Set the scene file.
+.TP
+.BI "\-w " pixels
+Set the film width.
+.TP
+.BI "\-e " pixels
+Set the film height.
+.TP
+.BI "\-D " "name value"
+Set a rendering property. This option may be repeated.
+.TP
+.BI "\-d " directory
+Change the working directory when this option is processed.
+.TP
+.B \-c
+Remove unused meshes, materials, textures, and image maps.
+.TP
+.B \-s
+Display rendering device statistics.
+.TP
+.B \-h
+Display usage information and exit.
+.SH EXAMPLE
+.nf
+luxcoreconsole \-D batch.halttime 60 scene.cfg
+.fi
+.SH SEE ALSO
+https://luxcorerender.org/
diff --git a/luxcorerender.spec b/luxcorerender.spec
index 04fb8cd..8885df1 100644
--- a/luxcorerender.spec
+++ b/luxcorerender.spec
@@ -1,6 +1,7 @@
-%bcond_without opencl
+%bcond opencl 1
-%global blend_version 2.11.0
+%global blend_version 2.11.1
+%global blender_min_version 4.5.0
# Use the manifest ID as the directory name in the system extension repository.
%global blendluxcore_dir %{blender_extensions}/blendluxcore
@@ -15,13 +16,22 @@ Source0: https://github.com/LuxCoreRender/LuxCore/archive/wheels-v%{versi
# BlendLuxCore has an independent release cadence.
Source1: https://github.com/LuxCoreRender/BlendLuxCore/archive/v%{blend_version}/BlendLuxCore-%{blend_version}.tar.gz
Source3: org.%{name}.blendluxcore.metainfo.xml
+Source4: luxcoreconsole.1
+
+Patch0: luxcore-system-dependencies.patch
+Patch1: luxcore-robin-map.patch
+Patch2: luxcore-system-build.patch
+Patch3: luxcore-python-install.patch
+Patch4: blendluxcore-system-python.patch
+# Replace obsolete postal addresses with the GNU license URL; preserve terms.
+Patch5: blendluxcore-license-url.patch
ExclusiveArch: x86_64
BuildRequires: cmake >= 3.29
BuildRequires: gcc-c++
BuildRequires: appstream
-BuildRequires: blender
+BuildRequires: blender >= %{blender_min_version}
BuildRequires: blender-rpm-macros
BuildRequires: bison
BuildRequires: flex
@@ -80,14 +90,14 @@ Provides: %{name}-core = %{version}-%{release}
%description
LuxCoreRender implements state-of-the-art light transport algorithms for
-photorealistic rendering. Features hybrid CPU/GPU acceleration,
-spectral rendering, and advanced material modeling.
+photorealistic rendering, with CPU rendering, optional OpenCL GPU
+acceleration, and advanced material modeling.
%package -n blender-%{name}
-Summary: Blender 4.2+ integration extension
+Summary: Blender integration for LuxCoreRender
License: GPL-3.0-or-later
BuildArch: noarch
-Requires: blender >= 4.2
+Requires: blender >= %{blender_min_version}
Requires: %{name} = %{version}-%{release}
Obsoletes: %{name}-blender < %{blend_version}
Provides: %{name}-blender = %{blend_version}-%{release}
@@ -97,15 +107,16 @@ Blender extension for exporting scenes and materials to LuxCore Renderer.
Supports Cycles material conversion and interactive rendering.
The extension is installed in Blender's system extension repository and is
-available to all users. Enable BlendLuxCore in Blender's Add-ons preferences.
+available to all users. Enable BlendLuxCore in the Blender preferences.
It uses the system-provided LuxCore Python bindings.
+# libluxcore.so.2 is a downstream SONAME: audit ABI compatibility on upgrades.
%package devel
Summary: Development headers and libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
-Header files and build configuration for developing LuxCore-based applications.
+Header files and libraries for developing LuxCore-based applications.
%prep
# Require the corrected blender-rpm-macros path; older macros use addons_core.
@@ -115,11 +126,6 @@ if [ "%{blender_extensions}" != "%{blender_datadir}/extensions/system" ]; then
fi
%autosetup -p1 -a1 -n LuxCore-wheels-v%{version}
-# Fedora provides the Python bindings as part of the main package. Do not let
-# the Blender extension download and install a second copy from PyPI at runtime.
-sed -i 's/luxloader\.ensure_pyluxcore()/# Use the system-provided Python bindings./' \
- BlendLuxCore-%{blend_version}/__init__.py
-
# Match the Python distribution metadata to Fedora's CMake installation.
# CUDA is disabled and the wheel-only Python tools are not installed here.
# Use the RPM version rather than upstream's SKVERSION file.
@@ -147,135 +153,11 @@ project.pop("gui-scripts", None)
path.write_text(tomli_w.dumps(data))
PYTHON
-# Fix detection for Blosc2 and OIDN (upstream naming mismatches)
-sed -i 's/c-blosc/Blosc2/g' CMakeLists.txt
-sed -i 's/oidn/OpenImageDenoise/g' CMakeLists.txt
-sed -i 's/find_package(robin_hood REQUIRED)/find_package(tsl-robin-map REQUIRED)/' \
- CMakeLists.txt
-sed -i 's/find_package(Boost REQUIRED)/find_package(Boost REQUIRED COMPONENTS iostreams serialization)/' \
- CMakeLists.txt
-
-# Map Fedora's system-library targets to the Conan-style names used upstream.
-sed -i '/find_package(embree REQUIRED)/c\
-find_path(EMBREE_INCLUDE_DIR embree4/rtcore.h REQUIRED)\
-find_library(EMBREE_LIBRARY NAMES embree4 REQUIRED)\
-add_library(embree::embree SHARED IMPORTED)\
-set_target_properties(embree::embree PROPERTIES IMPORTED_LOCATION "${EMBREE_LIBRARY}" INTERFACE_INCLUDE_DIRECTORIES "${EMBREE_INCLUDE_DIR}")' \
- CMakeLists.txt
-sed -i '/find_package(tsl-robin-map REQUIRED)/a\
-add_library(onetbb::onetbb INTERFACE IMPORTED)\
-set_target_properties(onetbb::onetbb PROPERTIES INTERFACE_LINK_LIBRARIES "TBB::tbb;TBB::tbbmalloc")\
-add_library(robin_hood::robin_hood INTERFACE IMPORTED)\
-set_target_properties(robin_hood::robin_hood PROPERTIES INTERFACE_LINK_LIBRARIES tsl::robin_map)\
-add_library(openexr::openexr INTERFACE IMPORTED)\
-set_target_properties(openexr::openexr PROPERTIES INTERFACE_LINK_LIBRARIES OpenEXR::OpenEXR)\
-add_library(opensubdiv::opensubdiv INTERFACE IMPORTED)\
-set_target_properties(opensubdiv::opensubdiv PROPERTIES INTERFACE_LINK_LIBRARIES OpenSubdiv::osdCPU)\
-add_library(openimageio::openimageio INTERFACE IMPORTED)\
-set_target_properties(openimageio::openimageio PROPERTIES INTERFACE_LINK_LIBRARIES "OpenImageIO::OpenImageIO;OpenImageIO::OpenImageIO_Util")\
-find_path(OIDN_INCLUDE_DIR OpenImageDenoise/oidn.hpp REQUIRED)\
-find_library(OIDN_LIBRARY NAMES OpenImageDenoise REQUIRED)\
-add_library(oidn::oidn SHARED IMPORTED)\
-set_target_properties(oidn::oidn PROPERTIES IMPORTED_LOCATION "${OIDN_LIBRARY}" INTERFACE_INCLUDE_DIRECTORIES "${OIDN_INCLUDE_DIR}")\
-find_path(OPENJPH_INCLUDE_DIR openjph/ojph_codestream.h REQUIRED)\
-find_library(OPENJPH_LIBRARY NAMES openjph REQUIRED)\
-add_library(openjph::openjph SHARED IMPORTED)\
-set_target_properties(openjph::openjph PROPERTIES IMPORTED_LOCATION "${OPENJPH_LIBRARY}" INTERFACE_INCLUDE_DIRECTORIES "${OPENJPH_INCLUDE_DIR}")' \
- CMakeLists.txt
-
-# Upstream's Conan target hides compiled Boost dependencies behind an
-# interface-only compatibility target. Link Fedora's imported Iostreams and
-# Serialization targets directly so they survive static-library composition.
-find . -name CMakeLists.txt -exec \
- sed -i 's/boost::boost/Boost::iostreams Boost::serialization/g' {} +
-
-# luxcore_static uses the scalable allocator, but its private link dependencies
-# do not propagate to the console executable. Keep tbbmalloc after the static
-# archive on the final link line so Fedora's --as-needed does not discard it.
-sed -i 's/Boost::serialization)/Boost::serialization TBB::tbbmalloc)/' \
- samples/luxcoreconsole/CMakeLists.txt
-
-# Adapt the robin_hood-specific API to Fedora's tsl-robin-map implementation.
-sed -i \
- -e 's|<robin_hood.h>|<tsl/robin_map.h>|' \
- -e 's/robin_hood::unordered_flat_map/tsl::robin_map/g' \
- include/slg/lights/lightsourcedefs.h
-sed -i \
- -e 's/robin_hood::unordered_flat_map/tsl::robin_map/g' \
- -e 's/e->second/e.value()/g' \
- src/slg/lights/lightsourcedefs.cpp
-sed -i \
- -e '/#include <cstdlib>/i#include <functional>' \
- -e 's/robin_hood::hash_bytes(prefix.data(), sizeof(char) \* prefix.size())/std::hash<std::string>{}(prefix)/' \
- src/slg/scene/scene.cpp
-
-# Fedora's OIDN uses the standard oidn namespace. The lux::oidn namespace is
-# specific to upstream's private OIDN build configured with OIDN_API_NAMESPACE.
-sed -i 's/lux::oidn::/oidn::/g' \
- src/slg/film/imagepipeline/plugins/intel_oidn.cpp
-
-# fmt 12 removed basic_memory_buffer::c_str(); convert the formatted buffer to
-# a string before passing it to LuxCore's C-style logging callback.
-sed -i 's/formatted\.c_str()/fmt::to_string(formatted).c_str()/' \
- include/luxcore/luxcoresink.h
-
-# fmt 12 no longer formats arbitrary enums implicitly.
-sed -i 's/API_RETURN("{}", type);/API_RETURN("{}", static_cast<int>(type));/' \
- src/luxcore/luxcoreimpl.cpp
-
-# Fedora's OpenVDB package does not consistently export a discoverable CMake
-# target across releases. Define the target from the system headers/library.
-sed -i '/find_package(OpenVDB REQUIRED)/c\
-find_path(OPENVDB_INCLUDE_DIR openvdb/openvdb.h REQUIRED)\
-find_library(OPENVDB_LIBRARY NAMES openvdb REQUIRED)\
-add_library(OpenVDB::openvdb SHARED IMPORTED)\
-set_target_properties(OpenVDB::openvdb PROPERTIES IMPORTED_LOCATION "${OPENVDB_LIBRARY}" INTERFACE_INCLUDE_DIRECTORIES "${OPENVDB_INCLUDE_DIR}")' \
- CMakeLists.txt
-
-# CUDA/OptiX and the standalone ImGui frontend are disabled. Avoid probing
-# their unavailable SDKs and omit the frontend target.
-sed -i \
- -e '/find_package(nvrtc REQUIRED)/d' \
- -e '/find_package(imgui)/d' \
- -e '/find_package(glfw3)/d' \
- -e '/find_package(imguifiledialog)/d' \
- -e '/add_subdirectory(samples\/luxcoreui)/d' \
- CMakeLists.txt
-
-# With system OIDN and CUDA disabled, these upstream bundle paths are empty.
-# Guard their install rules so CMake is not passed an empty PROGRAMS argument.
-sed -i \
- -e '179s/^if(LINUX)$/if(LINUX AND LUX_OIDN_DEVICE_CPU)/' \
- -e '217s/^if(LINUX)$/if(LINUX AND LUX_NVRTC)/' \
- src/luxcore/CMakeLists.txt
-sed -i '107s/^if(LINUX)$/if(LINUX AND LUX_OIDN_DEVICE_CPU)/' \
- src/pyluxcore/CMakeLists.txt
-sed -i '117s/^endif(LINUX)$/endif()/' src/pyluxcore/CMakeLists.txt
-
-# Never copy system runtime dependencies into the package buildroot. Fedora's
-# dependency generator records the required shared libraries from their owning
-# packages; bundling CMake's resolved dependency set would duplicate them.
-sed -i \
- '/^[[:space:]]*RUNTIME_DEPENDENCIES$/,/^[[:space:]]*DIRECTORIES .*CONAN_RUNTIME_LIB_DIRS/d' \
- src/luxcore/CMakeLists.txt
-sed -i '/^install(RUNTIME_DEPENDENCY_SET LUXCONSOLE_DEPS$/,/^)/d' \
- samples/luxcoreconsole/CMakeLists.txt
-sed -i '/^[[:space:]]*RUNTIME_DEPENDENCY_SET LUXCONSOLE_DEPS$/d' \
- samples/luxcoreconsole/CMakeLists.txt
-
-# Give the public library a proper ABI-versioned SONAME.
-sed -i '/set_target_properties(luxcore PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS ON)/a\
-set_target_properties(luxcore PROPERTIES VERSION %{version} SOVERSION 2)' \
- src/luxcore/CMakeLists.txt
-
-# Install the Python extension in Fedora's architecture-specific site directory.
-sed -i 's|DESTINATION pyluxcore|DESTINATION %{python3_sitearch}|' \
- src/pyluxcore/CMakeLists.txt
-
%build
# Build the main LuxCore library
%cmake \
-DCMAKE_SKIP_INSTALL_RPATH=ON \
+ -DPYTHON_SITEARCH=%{python3_sitearch} \
-DLUXCORE_VERSION=%{version} \
-DLUXCOREDEPS_VERSION=2.2.3 \
%{opencl_flags} \
@@ -323,10 +205,20 @@ install -Dpm 0644 %{__cmake_builddir}/generated/include/luxrays/cfg.h \
install -d %{buildroot}%{blendluxcore_dir}
%{python3} -m zipfile -e BlendLuxCore-%{blend_version}/BlendLuxCore.zip \
%{buildroot}%{blendluxcore_dir}
+# Developer helpers are not runtime tools. Documentation and license copies
+# are installed separately by the doc and license directives below.
+rm -rf %{buildroot}%{blendluxcore_dir}/debug-helpers
+rm -f %{buildroot}%{blendluxcore_dir}/wf-debug.sh \
+ %{buildroot}%{blendluxcore_dir}/AUTHORS.txt \
+ %{buildroot}%{blendluxcore_dir}/readme.md \
+ %{buildroot}%{blendluxcore_dir}/LICENSE
+
# The repository is managed by RPM and remains read-only for ordinary users.
find %{buildroot}%{blendluxcore_dir} -type d -exec chmod 0755 {} +
find %{buildroot}%{blendluxcore_dir} -type f -exec chmod 0644 {} +
+install -Dpm 0644 %{SOURCE4} %{buildroot}%{_mandir}/man1/luxcoreconsole.1
+
# Install the AppStream metadata
install -Dpm 644 %{SOURCE3} %{buildroot}%{_metainfodir}/org.%{name}.blendluxcore.metainfo.xml
@@ -355,6 +247,22 @@ print("PyLuxCore:", pyluxcore.__file__)
print("PyLuxCore distribution version:", dist.version)
PYTHON
+# Exercise the bindings in Blender's embedded Python as well as system Python.
+cat > blender-pyluxcore-smoke.py <<'PYTHON'
+from pathlib import Path
+import sys
+from importlib.metadata import version
+sitearch = Path("%{buildroot}%{python3_sitearch}").resolve()
+sys.path.insert(0, str(sitearch))
+import pyluxcore
+assert Path(pyluxcore.__file__).resolve().parent == sitearch
+assert version("pyluxcore") == "%{version}"
+print("Blender staged PyLuxCore import: OK")
+PYTHON
+LD_LIBRARY_PATH=%{buildroot}%{_libdir}${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} \
+%{_bindir}/blender --background --factory-startup --python-exit-code 1 \
+ --python blender-pyluxcore-smoke.py
+
# Check the installed extension layout and manifest, not just the build ZIP.
%{python3} - <<'PYTHON'
from pathlib import Path
@@ -365,18 +273,20 @@ manifest = tomllib.loads((extension_dir / "blender_manifest.toml").read_text())
assert manifest["id"] == extension_dir.name == "blendluxcore"
assert manifest["version"] == "%{blend_version}"
assert manifest["type"] == "add-on"
+assert manifest["blender_version_min"] == "%{blender_min_version}"
assert not manifest.get("wheels")
assert (extension_dir / "__init__.py").is_file()
assert "luxloader.ensure_pyluxcore()" not in (extension_dir / "__init__.py").read_text()
PYTHON
%{_bindir}/blender --command extension validate %{buildroot}%{blendluxcore_dir}
-appstreamcli validate --no-net %{buildroot}%{_metainfodir}/*.xml
+appstreamcli validate --no-net %{buildroot}%{_metainfodir}/org.%{name}.blendluxcore.metainfo.xml
%files
%license COPYING.txt
%doc README.md AUTHORS.txt
%{_bindir}/luxcore*
+%{_mandir}/man1/luxcoreconsole.1*
%{_libdir}/liblux*.so.*
%{python3_sitearch}/pyluxcore*.so
%{python3_sitearch}/pyluxcore-%{version}.dist-info/
@@ -384,7 +294,7 @@ appstreamcli validate --no-net %{buildroot}%{_metainfodir}/*.xml
%files -n blender-%{name}
%license BlendLuxCore-%{blend_version}/LICENSE
%doc BlendLuxCore-%{blend_version}/{AUTHORS.txt,readme.md}
-%{_metainfodir}/org.%{name}.*.xml
+%{_metainfodir}/org.%{name}.blendluxcore.metainfo.xml
%{blendluxcore_dir}/
%files devel
diff --git a/sources b/sources
index b36f616..422e9b7 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (BlendLuxCore-2.11.0.tar.gz) = 812662d0c3c180ded9c55ba8c5b13cceebec8979aaf50ce478cf252d727a09241996e361bfd08b19a3a3e440f910ee4080def195ef9a501bb64bca6d487a02aa
SHA512 (LuxCore-2.11.2.tar.gz) = eb3073e7a174dd65bc18c57c2e71089a349c87fa8a46ce5097d58208d19abe7b8668a6d5ebad58427780fbcf28cf47fb6fd2eceb26f10a3d01fc185f1043b6ef
+SHA512 (BlendLuxCore-2.11.1.tar.gz) = 40339b1bd89e7ce14b19b3fca53055dd11dc491ac7af4e2131823393bc1b0d812957462d834a3a3f876c716fd117e7f1074546c55f5cfb295dc0a3d50c0e3e20
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-27 2:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-27 2:54 [rpms/luxcorerender] f45: Update BlendLuxCore to 2.11.1 and improve Fedora integration Luya Tshimbalanga
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox