re-fix font management, kauth_helper paths (#1208229, kde#353215)

epel9
Rex Dieter 9 years ago
parent 5d2a0c9f53
commit 6de607e912

@ -0,0 +1,31 @@
diff -up plasma-desktop-5.4.1/kcms/kfontinst/config-fontinst.h.cmake.kauth_helper plasma-desktop-5.4.1/kcms/kfontinst/config-fontinst.h.cmake
--- plasma-desktop-5.4.1/kcms/kfontinst/config-fontinst.h.cmake.kauth_helper 2015-09-03 05:48:44.000000000 -0500
+++ plasma-desktop-5.4.1/kcms/kfontinst/config-fontinst.h.cmake 2015-09-28 18:38:00.560763031 -0500
@@ -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_ABSOLUTE_DIR}"
/* Define to 1 if you have the <locale.h> header file. */
#cmakedefine HAVE_LOCALE_H 1
diff -up plasma-desktop-5.4.1/kcms/kfontinst/dbus/org.kde.fontinst.service.cmake.kauth_helper plasma-desktop-5.4.1/kcms/kfontinst/dbus/org.kde.fontinst.service.cmake
--- plasma-desktop-5.4.1/kcms/kfontinst/dbus/org.kde.fontinst.service.cmake.kauth_helper 2015-09-03 05:48:44.000000000 -0500
+++ plasma-desktop-5.4.1/kcms/kfontinst/dbus/org.kde.fontinst.service.cmake 2015-09-28 18:39:12.058195439 -0500
@@ -1,4 +1,4 @@
[D-BUS Service]
Name=org.kde.fontinst
-Exec=@CMAKE_INSTALL_PREFIX@/@KAUTH_HELPER_INSTALL_DIR@/fontinst
+Exec=@KAUTH_HELPER_INSTALL_ABSOLUTE_DIR@/fontinst
diff -up plasma-desktop-5.4.1/kcms/kfontinst/dbus/org.kde.fontinst.system-service.cmake.kauth_helper plasma-desktop-5.4.1/kcms/kfontinst/dbus/org.kde.fontinst.system-service.cmake
--- plasma-desktop-5.4.1/kcms/kfontinst/dbus/org.kde.fontinst.system-service.cmake.kauth_helper 2015-09-03 05:48:44.000000000 -0500
+++ plasma-desktop-5.4.1/kcms/kfontinst/dbus/org.kde.fontinst.system-service.cmake 2015-09-28 18:41:09.250906989 -0500
@@ -1,5 +1,5 @@
[D-BUS Service]
Name=org.kde.fontinst
-Exec=@CMAKE_INSTALL_PREFIX@/@KAUTH_HELPER_INSTALL_DIR@/fontinst
+Exec=@KAUTH_HELPER_INSTALL_ABSOLUTE_DIR@/fontinst
User=root

@ -3,7 +3,7 @@
Name: plasma-desktop
Version: 5.4.1
Release: 5%{?dist}
Release: 6%{?dist}
Summary: Plasma Desktop shell
License: GPLv2+ and (GPLv2 or GPLv3)
@ -32,6 +32,10 @@ Patch103: plasma-desktop-C_locale.patch
# master branch
## upstreamable patches
# consistently use KAUTH_HELPER_INSTALL_ABSOLUTE_DIR instead of CMAKE_INSTALL_PREFIX/KAUTH_HELPER_INSTALL_DIR
# FIXME: seems upstream expects KAUTH_HELPER_INSTALL_DIR to be relative, figure out why our default build flags
# set that to be absolute instead.
Patch50: plasma-desktop-5.4.1-kauth_helper.patch
BuildRequires: libusb-devel
BuildRequires: fontconfig-devel
@ -156,6 +160,8 @@ BuildArch: noarch
%prep
%setup -q
%patch50 -p1 -b .kauth_helper
%if 0%{?fedora} > 22
%patch100 -p1 -b .default_favorites
%else
@ -301,6 +307,9 @@ fi
%changelog
* Mon Sep 28 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4.1-6
- re-fix font management, kauth_helper paths (#1208229, kde#353215)
* Mon Sep 21 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4.1-5
- restore f22 default favorites

Loading…
Cancel
Save