[packages/kde4-kdepim-runtime] - ignore constant number size warnings as errors - disable tests that don't build because of new cma

baggins baggins at pld-linux.org
Sun Sep 29 21:54:15 CEST 2019


commit 50c5271b0b0204058b608953a6c1e0fc46e20fd7
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Sep 29 21:52:36 2019 +0200

    - ignore constant number size warnings as errors
    - disable tests that don't build because of new cmake
    - rel 4

 kde4-kdepim-runtime.spec |  5 ++++-
 no-tests.patch           | 11 +++++++++++
 2 files changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/kde4-kdepim-runtime.spec b/kde4-kdepim-runtime.spec
index 25a862f..7c690c6 100644
--- a/kde4-kdepim-runtime.spec
+++ b/kde4-kdepim-runtime.spec
@@ -13,11 +13,12 @@ Summary:	Runtime Personal Information Management (PIM) for KDE
 Summary(pl.UTF-8):	Zarządca informacji osobistej (PIM) dla KDE
 Name:		kde4-kdepim-runtime
 Version:	4.14.10
-Release:	3
+Release:	4
 License:	GPL
 Group:		X11/Applications
 Source0:	http://download.kde.org/Attic/applications/15.04.3/src/%{orgname}-%{version}.tar.xz
 # Source0-md5:	7dd2063acf9b6920920d0118f5576db6
+Patch0:		no-tests.patch
 Patch100:	%{name}-branch.diff
 URL:		http://www.kde.org/
 BuildRequires:	Qt3Support-devel >= %{qtver}
@@ -97,9 +98,11 @@ bazujących na kdepim-runtime.
 
 %prep
 %setup -q -n %{orgname}-%{version}
+%patch0 -p1
 #%patch100 -p1
 
 %build
+export CXXFLAGS="%{rpmcxxflags} -Wno-narrowing"
 install -d build
 cd build
 %cmake \
diff --git a/no-tests.patch b/no-tests.patch
new file mode 100644
index 0000000..0cf7931
--- /dev/null
+++ b/no-tests.patch
@@ -0,0 +1,11 @@
+--- kdepim-runtime-4.14.10/plugins/CMakeLists.txt.orig	2015-06-25 22:42:43.000000000 +0200
++++ kdepim-runtime-4.14.10/plugins/CMakeLists.txt	2019-09-29 21:16:23.000000000 +0200
+@@ -1,7 +1,7 @@
+ add_definitions( -DQT_NO_CAST_FROM_ASCII )
+ add_definitions( -DQT_NO_CAST_TO_ASCII )
+ 
+-add_subdirectory( tests )
++#add_subdirectory( tests )
+ 
+ include_directories(
+         ${Boost_INCLUDE_DIR}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kde4-kdepim-runtime.git/commitdiff/50c5271b0b0204058b608953a6c1e0fc46e20fd7



More information about the pld-cvs-commit mailing list