commit d98bfe37223a8ef81e75faf4707c712b35660c62
Author: Jakub Bogusz <[email protected]>
Date:   Thu May 25 19:23:42 2017 +0200

    - added gtk4 patch: fix scanning GTK+ 4 code; release 2

 gtk-doc-gtk4.patch | 11 +++++++++++
 gtk-doc.spec       |  6 ++++--
 2 files changed, 15 insertions(+), 2 deletions(-)
---
diff --git a/gtk-doc.spec b/gtk-doc.spec
index 136abfb..8159f9c 100644
--- a/gtk-doc.spec
+++ b/gtk-doc.spec
@@ -11,12 +11,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.25
-Release:       1
+Release:       2
 License:       GPL v2+
 Group:         Development/Tools
 Source0:       
http://ftp.gnome.org/pub/GNOME/sources/gtk-doc/%{version}/%{name}-%{version}.tar.xz
 # Source0-md5: 0dc6570953112a464a409fb99258ccbc
 Patch0:                %{name}-noarch.patch
+Patch1:                %{name}-gtk4.patch
 URL:           http://www.gtk.org/gtk-doc/
 BuildRequires: autoconf >= 2.63
 BuildRequires: automake >= 1:1.11
@@ -90,7 +91,8 @@ pomocą gtk-doc.
 %prep
 %setup -q
 %{!?with_tests:%patch0 -p1}
-mv -f doc/README doc/README.docs
+%patch1 -p1
+%{__mv} doc/README doc/README.docs
 
 %build
 %{?with_tests:%{__libtoolize}}
diff --git a/gtk-doc-gtk4.patch b/gtk-doc-gtk4.patch
new file mode 100644
index 0000000..ad73bf4
--- /dev/null
+++ b/gtk-doc-gtk4.patch
@@ -0,0 +1,11 @@
+--- gtk-doc-1.25/gtkdoc-scangobj.in.orig       2015-06-17 10:23:31.000000000 
+0200
++++ gtk-doc-1.25/gtkdoc-scangobj.in    2017-05-25 19:00:21.900251236 +0200
+@@ -1269,7 +1269,7 @@
+ #endif
+ 
+ #ifdef GTK_IS_WIDGET_CLASS
+-#if GTK_CHECK_VERSION(2,1,0)
++#if GTK_CHECK_VERSION(2,1,0) && !GTK_CHECK_VERSION(3,89,2)
+     if (!style_prop && GTK_IS_WIDGET_CLASS (class)) {
+       properties = gtk_widget_class_list_style_properties (GTK_WIDGET_CLASS 
(class), &n_properties);
+       style_prop = TRUE;
================================================================

---- gitweb:

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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to