[packages/kde4-kopete] - rel 9; build without libjingle as it's old/obsolete and doesn't even build with current openssl 1.

arekm arekm at pld-linux.org
Wed Sep 26 10:45:27 CEST 2018


commit 7735a6713ef883dc3175da1e0891bba002d135ab
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed Sep 26 10:45:19 2018 +0200

    - rel 9; build without libjingle as it's old/obsolete and doesn't even build with current openssl 1.1.1

 kde4-kopete.spec |  6 ++++--
 macros.patch     | 10 ++++++++++
 2 files changed, 14 insertions(+), 2 deletions(-)
---
diff --git a/kde4-kopete.spec b/kde4-kopete.spec
index f8d68cf..87ff56e 100644
--- a/kde4-kopete.spec
+++ b/kde4-kopete.spec
@@ -9,7 +9,7 @@ Summary:	Multi-protocol plugin-based instant messenger
 Summary(pl.UTF-8):	Komunikator obsługujący wiele protokołów
 Name:		kde4-kopete
 Version:	4.14.3
-Release:	8
+Release:	9
 License:	GPL v2+
 Group:		X11/Applications
 Source0:	http://download.kde.org/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz
@@ -18,6 +18,7 @@ Patch0:		%{name}-FindLibgadu.patch
 Patch1:		linphone-fix.patch
 Patch2:		mediastreamer.patch
 Patch3:		gcc6.patch
+Patch4:		macros.patch
 URL:		http://www.kde.org/
 BuildRequires:	cmake >= 2.8.0
 BuildRequires:	kde4-kdebase-devel >= %{version}
@@ -144,11 +145,13 @@ do kopete.
 #%patch1 -p2
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %build
 install -d build
 cd build
 %cmake \
+	-DWITH_libjingle=OFF \
 	-DMOZPLUGIN_INSTALL_DIR=%{_browserpluginsdir} \
 	../
 
@@ -178,7 +181,6 @@ fi
 
 %files -f kopete.lang
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/libjingle-call
 %attr(755,root,root) %{_bindir}/kopete
 %attr(755,root,root) %{_bindir}/kopete_latexconvert.sh
 %attr(755,root,root) %{_bindir}/winpopup-install
diff --git a/macros.patch b/macros.patch
new file mode 100644
index 0000000..c136d5e
--- /dev/null
+++ b/macros.patch
@@ -0,0 +1,10 @@
+--- kopete-4.14.3/protocols/jabber/libjingle/talk/session/phone/v4llookup.cc~	2014-11-02 12:16:53.000000000 +0100
++++ kopete-4.14.3/protocols/jabber/libjingle/talk/session/phone/v4llookup.cc	2018-09-26 10:32:09.901682133 +0200
+@@ -15,6 +15,7 @@
+ #include <sys/ioctl.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
++#include <sys/sysmacros.h>
+ #include <unistd.h>
+ 
+ #include <cstring>
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kde4-kopete.git/commitdiff/7735a6713ef883dc3175da1e0891bba002d135ab



More information about the pld-cvs-commit mailing list