diff options
Diffstat (limited to 'kde-base/pykde4/files')
| -rw-r--r-- | kde-base/pykde4/files/pykde4-installation-fix.patch | 10 | ||||
| -rw-r--r-- | kde-base/pykde4/files/pykde4-installation.patch | 11 |
2 files changed, 21 insertions, 0 deletions
diff --git a/kde-base/pykde4/files/pykde4-installation-fix.patch b/kde-base/pykde4/files/pykde4-installation-fix.patch new file mode 100644 index 00000000000..a0a3e642d49 --- /dev/null +++ b/kde-base/pykde4/files/pykde4-installation-fix.patch @@ -0,0 +1,10 @@ +Index: python/pykde4/tools/pykdeuic4/CMakeLists.txt +=================================================================== +--- python/pykde4/tools/pykdeuic4/CMakeLists.txt (revision 1001414) ++++ python/pykde4/tools/pykdeuic4/CMakeLists.txt (working copy) +@@ -1,2 +1,4 @@ + PYTHON_INSTALL(kde4.py ${PYTHON_SITE_PACKAGES_DIR}/PyQt4/uic/widget-plugins/) +-PYTHON_INSTALL(pykdeuic4.py ${BIN_INSTALL_DIR}/pykdeuic4) ++PYTHON_INSTALL(pykdeuic4.py ${PYTHON_SITE_PACKAGES_DIR}/PyQt4/uic/) ++find_path(cmake_module_dir create_exe_symlink.cmake ${CMAKE_MODULE_PATH}) ++INSTALL(CODE "EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -DTARGET=${PYTHON_SITE_PACKAGES_DIR}/PyQt4/uic/pykdeuic4.py -DLINK_NAME=${BIN_INSTALL_DIR}/pykdeuic4 -P ${cmake_module_dir}/create_exe_symlink.cmake)" ) diff --git a/kde-base/pykde4/files/pykde4-installation.patch b/kde-base/pykde4/files/pykde4-installation.patch new file mode 100644 index 00000000000..f452a0799a5 --- /dev/null +++ b/kde-base/pykde4/files/pykde4-installation.patch @@ -0,0 +1,11 @@ +diff -up python/pykde4/tools/pykdeuic4/CMakeLists.txt.kdebug#198632 python/pykde4/tools/pykdeuic4/CMakeLists.txt +--- python/pykde4/tools/pykdeuic4/CMakeLists.txt.kdebug#198632 2009-03-27 09:46:05.000000000 -0500 ++++ python/pykde4/tools/pykdeuic4/CMakeLists.txt 2009-07-16 12:39:38.457647506 -0500 +@@ -1,3 +1,5 @@ + +-PYTHON_INSTALL(kde4.py ${DATA_INSTALL_DIR}/${PROJECT_NAME}) +-PYTHON_INSTALL(pykdeuic4.py ${DATA_INSTALL_DIR}/${PROJECT_NAME}) ++PYTHON_INSTALL(kde4.py ${PYTHON_SITE_PACKAGES_DIR}/PyQt4/uic/widget-plugins/) ++PYTHON_INSTALL(pykdeuic4.py ${PYTHON_SITE_PACKAGES_DIR}/PyQt4/uic/) ++find_path(cmake_module_dir create_exe_symlink.cmake ${CMAKE_MODULE_PATH}) ++INSTALL(CODE "EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -DTARGET=${PYTHON_SITE_PACKAGES_DIR}/PyQt4/uic/pykdeuic4.py -DLINK_NAME=${BIN_INSTALL_DIR}/pykdeuic4 -P ${cmake_module_dir}/create_exe_symlink.cmake)" ) |
