[packages/kf5-ki18n] - we want absolute path; https://bugs.kde.org/show_bug.cgi?id=341719

arekm arekm at pld-linux.org
Tue Dec 9 22:55:04 CET 2014


commit 00010a0fbe4f032e74d48a84c053668e1c112990
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Dec 9 22:54:57 2014 +0100

    - we want absolute path; https://bugs.kde.org/show_bug.cgi?id=341719

 kf5-ki18n-absolute.patch | 10 ++++++++++
 kf5-ki18n.spec           |  2 ++
 2 files changed, 12 insertions(+)
---
diff --git a/kf5-ki18n.spec b/kf5-ki18n.spec
index e3da369..9bffe2b 100644
--- a/kf5-ki18n.spec
+++ b/kf5-ki18n.spec
@@ -14,6 +14,7 @@ License:	LGPL v2.1+
 Group:		X11/Libraries
 Source0:	http://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
 # Source0-md5:	b340728a206fc4529f93ff73d2168b41
+Patch0:		kf5-ki18n-absolute.patch
 URL:		http://www.kde.org/
 BuildRequires:	Qt5Concurrent-devel >= %{qtver}
 BuildRequires:	Qt5Core-devel >= %{qtver}
@@ -55,6 +56,7 @@ Pliki nagłówkowe dla programistów używających %{kfname}.
 
 %prep
 %setup -q -n %{kfname}-%{version}
+%patch0 -p1
 
 %build
 install -d build
diff --git a/kf5-ki18n-absolute.patch b/kf5-ki18n-absolute.patch
new file mode 100644
index 0000000..d01ba9c
--- /dev/null
+++ b/kf5-ki18n-absolute.patch
@@ -0,0 +1,10 @@
+--- ki18n-5.4.0/KF5I18nConfig.cmake.in~	2014-11-02 13:12:17.000000000 +0100
++++ ki18n-5.4.0/KF5I18nConfig.cmake.in	2014-12-09 22:52:23.157399839 +0100
+@@ -1,6 +1,6 @@
+ @PACKAGE_INIT@
+ 
+-set(KI18N_MODULE_DIR "${PACKAGE_PREFIX_DIR}/@CMAKECONFIG_INSTALL_DIR@")
++set(KI18N_MODULE_DIR "@CMAKECONFIG_INSTALL_DIR@")
+ 
+ include("${CMAKE_CURRENT_LIST_DIR}/KF5I18nTargets.cmake")
+ include("${CMAKE_CURRENT_LIST_DIR}/KF5I18NMacros.cmake")
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kf5-ki18n.git/commitdiff/00010a0fbe4f032e74d48a84c053668e1c112990



More information about the pld-cvs-commit mailing list