mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
Remove old patch, add new one
Let other KDE modules install polkit policy files to $out, not $kdelibs svn path=/nixpkgs/trunk/; revision=23147
This commit is contained in:
parent
63ce55d859
commit
ca1914fa1a
@ -18,6 +18,8 @@ kdePackage {
|
||||
|
||||
propagatedBuildInputs = [ shared_desktop_ontologies gcc.libc ];
|
||||
|
||||
patches = [ ./polkit-install.patch ];
|
||||
|
||||
# cmake fails to find acl.h because of C++-style comment
|
||||
cmakeFlags = [
|
||||
"-DHAVE_ACL_LIBACL_H=ON" "-DHAVE_SYS_ACL_H=ON"
|
||||
|
11
pkgs/desktops/kde-4.5/libs/polkit-install.patch
Normal file
11
pkgs/desktops/kde-4.5/libs/polkit-install.patch
Normal file
@ -0,0 +1,11 @@
|
||||
Author: Yury Kudryashov
|
||||
Reason: other KDE modules try to install polkit action files into
|
||||
$kdelibs/share/polkit-1/actions
|
||||
--- a/cmake/modules/FindPolkitQt-1.cmake.old 2010-08-12 16:13:45.000000000 +0400
|
||||
+++ b/cmake/modules/FindPolkitQt-1.cmake 2010-08-12 16:13:56.000000000 +0400
|
||||
@@ -101,4 +101,4 @@
|
||||
endif (NOT PC_POLKITQT-1_PREFIX STREQUAL CMAKE_INSTALL_PREFIX)
|
||||
endif (POLKITQT-1_FOUND)
|
||||
|
||||
-set(POLKITQT-1_POLICY_FILES_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/share/polkit-1/actions)
|
||||
+set(POLKITQT-1_POLICY_FILES_INSTALL_DIR share/polkit-1/actions)
|
@ -1,13 +0,0 @@
|
||||
Source: upstream r1153602
|
||||
Index: a/cmake/modules/SIPMacros.cmake
|
||||
===================================================================
|
||||
--- a/cmake/modules/SIPMacros.cmake (revision 1153601)
|
||||
+++ b/cmake/modules/SIPMacros.cmake (revision 1153602)
|
||||
@@ -119,6 +119,6 @@
|
||||
TARGET_LINK_LIBRARIES(${_logical_name} ${EXTRA_LINK_LIBRARIES})
|
||||
SET_TARGET_PROPERTIES(${_logical_name} PROPERTIES PREFIX "" OUTPUT_NAME ${_child_module_name})
|
||||
|
||||
- INSTALL(TARGETS ${_logical_name} DESTINATION "${PYTHON_SITE_PACKAGES_DIR}/${_parent_module_path}")
|
||||
+ INSTALL(TARGETS ${_logical_name} DESTINATION "${PYTHON_SITE_PACKAGES_INSTALL_DIR}/${_parent_module_path}")
|
||||
|
||||
ENDMACRO(ADD_SIP_PYTHON_MODULE)
|
Loading…
Reference in New Issue
Block a user