diff options
author | 2010-06-24 00:05:37 +0000 | |
---|---|---|
committer | 2010-06-24 00:05:37 +0000 | |
commit | 87884be34231aacd55928fdd7c85d11c12ed1b3b (patch) | |
tree | f6c64a81dde060a671584094cd2ae09a67584aff /sys-auth/polkit-kde/files | |
parent | Version bump (bug #323863). Set SUPPORT_PYTHON_ABIS. (diff) | |
download | historical-87884be34231aacd55928fdd7c85d11c12ed1b3b.tar.gz historical-87884be34231aacd55928fdd7c85d11c12ed1b3b.tar.bz2 historical-87884be34231aacd55928fdd7c85d11c12ed1b3b.zip |
Fix autostart location, see bug 310999
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'sys-auth/polkit-kde/files')
-rw-r--r-- | sys-auth/polkit-kde/files/polkit-kde-0.95.1-autostart-dir.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sys-auth/polkit-kde/files/polkit-kde-0.95.1-autostart-dir.patch b/sys-auth/polkit-kde/files/polkit-kde-0.95.1-autostart-dir.patch new file mode 100644 index 000000000000..7d15ec81d59b --- /dev/null +++ b/sys-auth/polkit-kde/files/polkit-kde-0.95.1-autostart-dir.patch @@ -0,0 +1,17 @@ +Index: agent/CMakeLists.txt +=================================================================== +--- agent/CMakeLists.txt (revision 1093193) ++++ agent/CMakeLists.txt (revision 1093194) +@@ -18,11 +18,4 @@ + + install(TARGETS polkit-kde-authentication-agent-1 DESTINATION ${LIBEXEC_INSTALL_DIR}) + +-# Install .desktop file to the XDG_CONFIG_DIRS if exists, to the /etc/xdg/autostart otherwise +-set (DESKTOP_INSTALL_DIR $ENV{XDG_CONFIG_DIRS}) +-if (DESKTOP_INSTALL_DIR) +-else (DESKTOP_INSTALL_DIR) +- set (DESKTOP_INSTALL_DIR /etc/xdg/autostart) +-endif (DESKTOP_INSTALL_DIR) +- +-install(FILES ${CMAKE_BINARY_DIR}/polkit-kde-authentication-agent-1.desktop DESTINATION ${DESKTOP_INSTALL_DIR}) ++install(FILES ${CMAKE_BINARY_DIR}/polkit-kde-authentication-agent-1.desktop DESTINATION ${KDE4_AUTOSTART_INSTALL_DIR}) |