]> git.pld-linux.org Git - packages/cura.git/blame_incremental - plugins-path.patch
Release 4 (by relup.sh)
[packages/cura.git] / plugins-path.patch
... / ...
CommitLineData
1--- Cura-2.5.0/cura/CuraApplication.py.orig 2017-04-21 13:30:29.000000000 +0200
2+++ Cura-2.5.0/cura/CuraApplication.py 2017-05-14 11:14:40.735151508 +0200
3@@ -454,7 +454,7 @@
4 def _loadPlugins(self):
5 self._plugin_registry.addType("profile_reader", self._addProfileReader)
6 self._plugin_registry.addType("profile_writer", self._addProfileWriter)
7- self._plugin_registry.addPluginLocation(os.path.join(QtApplication.getInstallPrefix(), "lib", "cura"))
8+ self._plugin_registry.addPluginLocation(os.path.join(QtApplication.getInstallPrefix(), "share", "cura"))
9 if not hasattr(sys, "frozen"):
10 self._plugin_registry.addPluginLocation(os.path.join(os.path.abspath(os.path.dirname(__file__)), "..", "plugins"))
11 self._plugin_registry.loadPlugin("ConsoleLogger")
12--- Cura-2.5.0/CMakeLists.txt~ 2017-05-14 00:42:31.000000000 +0200
13+++ Cura-2.5.0/CMakeLists.txt 2017-05-14 11:18:14.335558709 +0200
14@@ -36,7 +36,7 @@
15 install(DIRECTORY resources
16 DESTINATION ${CMAKE_INSTALL_DATADIR}/cura)
17 install(DIRECTORY plugins
18- DESTINATION lib/cura)
19+ DESTINATION ${CMAKE_INSTALL_DATADIR}/cura)
20 if(NOT APPLE AND NOT WIN32)
21 install(FILES cura_app.py
22 DESTINATION ${CMAKE_INSTALL_BINDIR}
This page took 1.229635 seconds and 4 git commands to generate.