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 | 5 |
2 files changed, 13 insertions, 2 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 index 177aa449d9f..1e1a5ff40ab 100644 --- a/kde-base/pykde4/files/pykde4-installation.patch +++ b/kde-base/pykde4/files/pykde4-installation.patch @@ -1,9 +1,10 @@ diff -up python/pykde4/tools/pykdeuic4/CMakeLists.txt.kdebug#198632 python/pykde4/tools/pykdeuic4/CMakeLists.txt --- kdebindings-4.2.96/python/pykde4/tools/pykdeuic4/CMakeLists.txt.kdebug#198632 2009-03-27 09:46:05.000000000 -0500 +++ kdebindings-4.2.96/python/pykde4/tools/pykdeuic4/CMakeLists.txt 2009-07-16 12:39:38.457647506 -0500 -@@ -1,3 +1,3 @@ +@@ -1,3 +1,4 @@ -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 ${BIN_INSTALL_DIR}/pykdeuic4) ++PYTHON_INSTALL(pykdeuic4.py ${PYTHON_SITE_PACKAGES_DIR}/PyQt4/uic/) ++PYKDE4_ADD_EXECUTABLE(pykdeuic4.py pykdeuic4) |
