From 0793b300f1080c5d90dafafbf18082396a5d3897 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Sun, 3 May 2015 12:59:30 -0500 Subject: [PATCH] (re)fix fontinst service paths (#1208229) --- ...ma-desktop-fix-fontinst-service-path.patch | 34 +++++++++++++++++++ plasma-desktop.spec | 7 +++- 2 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 plasma-desktop-fix-fontinst-service-path.patch diff --git a/plasma-desktop-fix-fontinst-service-path.patch b/plasma-desktop-fix-fontinst-service-path.patch new file mode 100644 index 0000000..c2dc466 --- /dev/null +++ b/plasma-desktop-fix-fontinst-service-path.patch @@ -0,0 +1,34 @@ +diff --git a/kcms/kfontinst/config-fontinst.h.cmake b/kcms/kfontinst/config-fontinst.h.cmake +index f2e6014..b44e8de 100644 +--- a/kcms/kfontinst/config-fontinst.h.cmake ++++ b/kcms/kfontinst/config-fontinst.h.cmake +@@ -1,7 +1,7 @@ + #ifndef __CONFIG_FONTINST_H__ + #define __CONFIG_FONTINST_H__ + +-#define KFONTINST_LIB_EXEC_DIR "${CMAKE_INSTALL_PREFIX}/${KAUTH_HELPER_INSTALL_DIR}" ++#define KFONTINST_LIB_EXEC_DIR "${KAUTH_HELPER_INSTALL_DIR}" + + /* Define to 1 if you have the header file. */ + #cmakedefine HAVE_LOCALE_H 1 +diff --git a/kcms/kfontinst/dbus/org.kde.fontinst.service.cmake b/kcms/kfontinst/dbus/org.kde.fontinst.service.cmake +index e212a88..a2915b5 100644 +--- a/kcms/kfontinst/dbus/org.kde.fontinst.service.cmake ++++ b/kcms/kfontinst/dbus/org.kde.fontinst.service.cmake +@@ -1,4 +1,4 @@ + [D-BUS Service] + Name=org.kde.fontinst +-Exec=@CMAKE_INSTALL_PREFIX@/@KAUTH_HELPER_INSTALL_DIR@/fontinst ++Exec=@KAUTH_HELPER_INSTALL_DIR@/fontinst + +diff --git a/kcms/kfontinst/dbus/org.kde.fontinst.system-service.cmake b/kcms/kfontinst/dbus/org.kde.fontinst.system-service.cmake +index be6927f..c8b540f 100644 +--- a/kcms/kfontinst/dbus/org.kde.fontinst.system-service.cmake ++++ b/kcms/kfontinst/dbus/org.kde.fontinst.system-service.cmake +@@ -1,5 +1,5 @@ + [D-BUS Service] + Name=org.kde.fontinst +-Exec=@CMAKE_INSTALL_PREFIX@/@KAUTH_HELPER_INSTALL_DIR@/fontinst ++Exec=@KAUTH_HELPER_INSTALL_DIR/fontinst + User=root + diff --git a/plasma-desktop.spec b/plasma-desktop.spec index 84d7092..637ac44 100644 --- a/plasma-desktop.spec +++ b/plasma-desktop.spec @@ -1,6 +1,6 @@ Name: plasma-desktop Version: 5.3.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Plasma Desktop shell License: GPLv2+ and (GPLv2 or GPLv3) @@ -17,6 +17,8 @@ Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{name}-%{ve ## downstream patches # adjust default kickoff favorites: -preferred_browser(buggy) +konqueror +konsole +apper Patch100: plasma-desktop-5.2.1-default_favorites.patch +# FIXME: make upstreamable, fix dup'd PREFIX KAUTH_HELPER_INSTALL_DIR when using absolute paths +Patch101: plasma-desktop-fix-fontinst-service-path.patch ## upstream patches @@ -246,6 +248,9 @@ fi %changelog +* Sun May 03 2015 Rex Dieter 5.3.0-4 +- (re)fix fontinst service paths (#1208229) + * Wed Apr 29 2015 Daniel Vrátil - 5.3.0-3 - Provides plasmashell(desktop) (#1215691)