[packages/gtk-doc] - added cmake patch (fix missing internal CMAKE_FIND_LIBRARY_PREFIXES variable issue); release 3

qboosh qboosh at pld-linux.org
Sat Apr 17 21:50:41 CEST 2021


commit d5827bf8ee1a5347257f8883eaa04a652919aeed
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Apr 17 21:50:27 2021 +0200

    - added cmake patch (fix missing internal CMAKE_FIND_LIBRARY_PREFIXES variable issue); release 3

 gtk-doc-cmake.patch | 10 ++++++++++
 gtk-doc.spec        |  4 +++-
 2 files changed, 13 insertions(+), 1 deletion(-)
---
diff --git a/gtk-doc.spec b/gtk-doc.spec
index 07ed24f..258ffcf 100644
--- a/gtk-doc.spec
+++ b/gtk-doc.spec
@@ -9,12 +9,13 @@ Summary(pl.UTF-8):	Narzędzie do generowania dokumentacji API do GTK+ i GNOME
 Summary(pt_BR.UTF-8):	O gerador de documentação do GTK
 Name:		gtk-doc
 Version:	1.33.2
-Release:	2
+Release:	3
 License:	GPL v2+
 Group:		Development/Tools
 Source0:	https://download.gnome.org/sources/gtk-doc/1.33/%{name}-%{version}.tar.xz
 # Source0-md5:	ea6563421abe964d02135ca0d5b8dd8e
 Patch0:		%{name}-noarch.patch
+Patch1:		%{name}-cmake.patch
 URL:		https://wiki.gnome.org/DocumentationProject/GtkDoc
 BuildRequires:	autoconf >= 2.63
 BuildRequires:	automake >= 1:1.11
@@ -84,6 +85,7 @@ pomocą gtk-doc.
 %prep
 %setup -q
 %{!?with_tests:%patch0 -p1}
+%patch1 -p1
 
 %{__mv} doc/README doc/README.docs
 
diff --git a/gtk-doc-cmake.patch b/gtk-doc-cmake.patch
new file mode 100644
index 0000000..c83b149
--- /dev/null
+++ b/gtk-doc-cmake.patch
@@ -0,0 +1,10 @@
+--- gtk-doc-1.33.2/buildsystems/cmake/GtkDocScanGObjWrapper.cmake.orig	2021-01-19 18:08:26.489552300 +0100
++++ gtk-doc-1.33.2/buildsystems/cmake/GtkDocScanGObjWrapper.cmake	2021-04-17 18:03:56.254096313 +0200
+@@ -21,6 +21,7 @@
+ # This is needed for find_package(PkgConfig) to work correctly --
+ # CMAKE_MINIMUM_REQUIRED_VERSION needs to be defined.
+ cmake_minimum_required(VERSION 3.2)
++include(CMakeGenericSystem)
+ 
+ if(NOT APPLE)
+     # We use pkg-config to find glib et al
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gtk-doc.git/commitdiff/d5827bf8ee1a5347257f8883eaa04a652919aeed



More information about the pld-cvs-commit mailing list