[packages/kde4-kdelibs] - added hunspell patch (adjust cmake file to support hunspell 1.7); release 3

qboosh qboosh at pld-linux.org
Tue Apr 23 06:31:29 CEST 2019


commit 7df176ef079f56adb321604dd60e621f88fbb20f
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Apr 23 06:31:43 2019 +0200

    - added hunspell patch (adjust cmake file to support hunspell 1.7); release 3

 kde4-kdelibs-hunspell.patch |  11 +++++
 kde4-kdelibs.spec           | 101 +++++++++++++++++++++++++-------------------
 2 files changed, 68 insertions(+), 44 deletions(-)
---
diff --git a/kde4-kdelibs.spec b/kde4-kdelibs.spec
index 35bf87e..b710474 100644
--- a/kde4-kdelibs.spec
+++ b/kde4-kdelibs.spec
@@ -1,6 +1,3 @@
-#
-# Conditional build:
-#
 %define		_state		stable
 %define		orgname		kdelibs
 %define		qtver		4.8.5
@@ -17,7 +14,7 @@ Summary(ru.UTF-8):	K Desktop Environment - Библиотеки
 Summary(uk.UTF-8):	K Desktop Environment - Бібліотеки
 Name:		kde4-kdelibs
 Version:	4.14.37
-Release:	2
+Release:	3
 License:	LGPL
 Group:		X11/Libraries
 Source0:	http://download.kde.org/%{_state}/applications/17.08.2/src/%{orgname}-%{version}.tar.xz
@@ -33,6 +30,7 @@ Patch5:		kde4-kdelibs-sync.patch
 Patch6:		kde4-kdelibs-pld-flags.patch
 Patch7:		strigi-64bit.patch
 Patch8:		%{name}-exiv2.patch
+Patch9:		%{name}-hunspell.patch
 URL:		http://www.kde.org/
 BuildRequires:	OpenEXR-devel >= 1.2.2
 BuildRequires:	Qt3Support-devel >= %{qtver}
@@ -250,6 +248,7 @@ Цей пакет містить хедери, необхідні для ком
 %patch6 -p1
 %patch7 -p1
 %patch8 -p1
+%patch9 -p1
 
 %if "%{pld_release}" == "ti"
 sed -i -e 's#PLDLINUX_VERSION#PLD/Titanium#g' kio/kio/kprotocolmanager.cpp
@@ -296,13 +295,13 @@ install -d \
 	$RPM_BUILD_ROOT%{_desktopdir}/kde4 \
 	$RPM_BUILD_ROOT%{_datadir}/kde4/services/ServiceMenus \
 
-install %{SOURCE1} $RPM_BUILD_ROOT/%{_datadir}/apps/kdeui/pics/pld_box.png
+install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/apps/kdeui/pics/pld_box.png
 
 # DO NOT PACKAGE THIS FILE vvvv - use applnk
-rm -f $RPM_BUILD_ROOT%{_sysconfdir}/xdg/menus/applications.menu
+%{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/xdg/menus/applications.menu
 
 # USE ca-certificates
-rm -f $RPM_BUILD_ROOT%{_datadir}/apps/kssl/ca-bundle.crt
+%{__rm} $RPM_BUILD_ROOT%{_datadir}/apps/kssl/ca-bundle.crt
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -391,7 +390,28 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/kde4/services/qimageioplugins/*
 %dir %{_datadir}/kde4/services/ServiceMenus
 
-%{_datadir}/dbus-1/interfaces/*.xml
+%{_datadir}/dbus-1/interfaces/org.freedesktop.PowerManagement.Inhibit.xml
+%{_datadir}/dbus-1/interfaces/org.freedesktop.PowerManagement.xml
+%{_datadir}/dbus-1/interfaces/org.kde.JobView.xml
+%{_datadir}/dbus-1/interfaces/org.kde.JobViewServer.xml
+%{_datadir}/dbus-1/interfaces/org.kde.JobViewV2.xml
+%{_datadir}/dbus-1/interfaces/org.kde.KCookieServer.xml
+%{_datadir}/dbus-1/interfaces/org.kde.KDirNotify.xml
+%{_datadir}/dbus-1/interfaces/org.kde.KGlobalAccel.xml
+%{_datadir}/dbus-1/interfaces/org.kde.KHTMLPart.xml
+%{_datadir}/dbus-1/interfaces/org.kde.KIMIface.xml
+%{_datadir}/dbus-1/interfaces/org.kde.KLauncher.xml
+%{_datadir}/dbus-1/interfaces/org.kde.KMediaPlayer.xml
+%{_datadir}/dbus-1/interfaces/org.kde.KPasswdServer.xml
+%{_datadir}/dbus-1/interfaces/org.kde.KSpeech.xml
+%{_datadir}/dbus-1/interfaces/org.kde.KWallet.xml
+%{_datadir}/dbus-1/interfaces/org.kde.Solid.Networking.Client.xml
+%{_datadir}/dbus-1/interfaces/org.kde.Solid.PowerManagement.PolicyAgent.xml
+%{_datadir}/dbus-1/interfaces/org.kde.StatusNotifierItem.xml
+%{_datadir}/dbus-1/interfaces/org.kde.StatusNotifierWatcher.xml
+%{_datadir}/dbus-1/interfaces/org.kde.kded.xml
+%{_datadir}/dbus-1/interfaces/org.kde.kglobalaccel.Component.xml
+%{_datadir}/dbus-1/interfaces/org.kde.kio.FileUndoManager.xml
 
 # from kde4-kdebase.spec - old common subpackage
 %dir %{_desktopdir}/kde4
@@ -1120,44 +1140,37 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}/KDE/SuProcess
 %{_includedir}/KDE/ThreadWeaver
 %{_includedir}/KDE/ThumbCreator
-%dir %{_includedir}/plasma
-%{_includedir}/plasma/*
-%dir %{_includedir}/dnssd
-%{_includedir}/dnssd/*
-%dir %{_includedir}/dom
-%{_includedir}/dom/*
-%dir %{_includedir}/kdesu
-%{_includedir}/kdesu/*
-%dir %{_includedir}/khexedit
-%{_includedir}/khexedit/*
-%dir %{_includedir}/kio
-%{_includedir}/kio/*
-%dir %{_includedir}/kjs
-%{_includedir}/kjs/*
-%dir %{_includedir}/kmediaplayer
-%{_includedir}/kmediaplayer/*
+%{_includedir}/plasma
+%{_includedir}/dnssd
+%{_includedir}/dom
+%{_includedir}/kdesu
+%{_includedir}/khexedit
+%{_includedir}/kio
+%{_includedir}/kjs
+%{_includedir}/kmediaplayer
 %{_includedir}/knewstuff2
 %{_includedir}/knewstuff3
-%dir %{_includedir}/kparts
-%{_includedir}/kparts/*
+%{_includedir}/kparts
 %{_includedir}/kross
-%dir %{_includedir}/ktexteditor
-%{_includedir}/ktexteditor/*
-%dir %{_includedir}/nepomuk
-%{_includedir}/nepomuk/*
-%dir %{_includedir}/solid
-%{_includedir}/solid/*
-%dir %{_includedir}/sonnet
-%{_includedir}/sonnet/*
-%dir %{_includedir}/threadweaver
-%{_includedir}/threadweaver/*
-%{_includedir}/*.tcc
-%dir %{_includedir}/ksettings
-%{_includedir}/ksettings/*
-%dir %{_includedir}/kunitconversion
-%{_includedir}/kunitconversion/*
-%dir %{_includedir}/kunittest
-%{_includedir}/kunittest/*
-%{_includedir}/*.h
+%{_includedir}/ktexteditor
+%{_includedir}/nepomuk
+%{_includedir}/solid
+%{_includedir}/sonnet
+%{_includedir}/threadweaver
+%{_includedir}/ksettings
+%{_includedir}/kunitconversion
+%{_includedir}/kunittest
+%{_includedir}/config-nepomuk.h
+%{_includedir}/conversion_check.h
+%{_includedir}/dockmainwindow3.h
+%{_includedir}/fixx11h.h
+%{_includedir}/k*.h
+%{_includedir}/netwm.h
+%{_includedir}/netwm_def.h
+%{_includedir}/passdlg.h
+%{_includedir}/predicateproperties.h
+%{_includedir}/qtest_kde.h
+%{_includedir}/skipdlg.h
+%{_includedir}/kgenericfactory.tcc
 
 %{_mandir}/man1/kconfig_compiler.1*
diff --git a/kde4-kdelibs-hunspell.patch b/kde4-kdelibs-hunspell.patch
new file mode 100644
index 0000000..87cc52e
--- /dev/null
+++ b/kde4-kdelibs-hunspell.patch
@@ -0,0 +1,11 @@
+--- kdelibs-4.14.37/cmake/modules/FindHUNSPELL.cmake.orig	2017-10-08 04:44:24.000000000 +0200
++++ kdelibs-4.14.37/cmake/modules/FindHUNSPELL.cmake	2019-04-23 06:19:53.771811718 +0200
+@@ -14,7 +14,7 @@
+ 
+ FIND_PATH(HUNSPELL_INCLUDE_DIR hunspell/hunspell.hxx )
+ 
+-FIND_LIBRARY(HUNSPELL_LIBRARIES NAMES hunspell-2.0 hunspell-1.6 hunspell-1.5 hunspell-1.4 hunspell-1.3 hunspell-1.2)
++FIND_LIBRARY(HUNSPELL_LIBRARIES NAMES hunspell-2.0 hunspell-1.7 hunspell-1.6 hunspell-1.5 hunspell-1.4 hunspell-1.3 hunspell-1.2)
+ 
+ # handle the QUIETLY and REQUIRED arguments and set HUNSPELL_FOUND to TRUE if 
+ # all listed variables are TRUE
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kde4-kdelibs.git/commitdiff/7df176ef079f56adb321604dd60e621f88fbb20f



More information about the pld-cvs-commit mailing list