[packages/kde4-calligra] - fix name of cmake package (Exiv2 -> exiv2) - rel 25

adwol adwol at pld-linux.org
Fri Mar 1 13:37:40 CET 2019


commit ef39772cde34cdbba1ca8967b82f2761ffb988aa
Author: Adam Osuchowski <adwol at pld-linux.org>
Date:   Fri Mar 1 13:34:54 2019 +0100

    - fix name of cmake package (Exiv2 -> exiv2)
    - rel 25

 calligra-exiv2.patch | 14 ++++++++++++++
 kde4-calligra.spec   |  4 +++-
 2 files changed, 17 insertions(+), 1 deletion(-)
---
diff --git a/kde4-calligra.spec b/kde4-calligra.spec
index e3d9600..b741517 100644
--- a/kde4-calligra.spec
+++ b/kde4-calligra.spec
@@ -27,12 +27,13 @@ Summary:	Calligra - powerful office suite for KDE
 Summary(pl.UTF-8):	Calligra - potężny pakiet biurowy dla KDE
 Name:		kde4-calligra
 Version:	2.8.7
-Release:	24
+Release:	25
 License:	GPL/LGPL
 Group:		X11/Applications
 Source0:	ftp://ftp.kde.org/pub/kde/%{_state}/%{orgname}-%{version}/%{orgname}-%{version}.tar.xz
 # Source0-md5:	5ba4b76e3f81daffb28d3ed545908736
 Patch0:		moc.patch
+Patch1:		%{orgname}-exiv2.patch
 URL:		http://www.calligra-suite.org/
 BuildRequires:	GraphicsMagick-devel
 BuildRequires:	OpenEXR-devel
@@ -348,6 +349,7 @@ finalną publikację.
 %prep
 %setup -q -n %{orgname}-%{version}
 %patch0 -p1
+%patch1 -p1
 
 %build
 install -d build
diff --git a/calligra-exiv2.patch b/calligra-exiv2.patch
new file mode 100644
index 0000000..2d6558d
--- /dev/null
+++ b/calligra-exiv2.patch
@@ -0,0 +1,14 @@
+diff -ruNp calligra-2.8.7.orig/CMakeLists.txt calligra-2.8.7/CMakeLists.txt
+--- calligra-2.8.7.orig/CMakeLists.txt	2014-11-30 15:02:18.000000000 +0100
++++ calligra-2.8.7/CMakeLists.txt	2019-03-01 13:32:40.627835371 +0100
+@@ -438,8 +438,8 @@ macro_log_feature(QCA2_FOUND "QCA" "Qt C
+ ## Test for exiv2
+ ##
+ set(EXIV2_MIN_VERSION "0.16")
+-macro_optional_find_package(Exiv2)
+-macro_log_feature(EXIV2_FOUND "Exiv2" "Image metadata library and tools" "http://www.exiv2.org" FALSE "0.16" "Required by Krita")
++macro_optional_find_package(exiv2)
++macro_log_feature(EXIV2_FOUND "exiv2" "Image metadata library and tools" "http://www.exiv2.org" FALSE "0.16" "Required by Krita")
+ 
+ ##
+ ## Test for soprano
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kde4-calligra.git/commitdiff/ef39772cde34cdbba1ca8967b82f2761ffb988aa



More information about the pld-cvs-commit mailing list