]> git.pld-linux.org Git - packages/gtk-doc.git/commitdiff
- added gtk4 patch: fix scanning GTK+ 4 code; release 2 auto/th/gtk-doc-1.25-2
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 25 May 2017 17:23:42 +0000 (19:23 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Thu, 25 May 2017 17:23:42 +0000 (19:23 +0200)
gtk-doc-gtk4.patch [new file with mode: 0644]
gtk-doc.spec

diff --git a/gtk-doc-gtk4.patch b/gtk-doc-gtk4.patch
new file mode 100644 (file)
index 0000000..ad73bf4
--- /dev/null
@@ -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;
index 136abfb223aa941d22e53eb3369b8fcfe81569b4..8159f9ce6923f88afe1d9f9971425adfeff397c0 100644 (file)
@@ -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}}
This page took 0.101626 seconds and 4 git commands to generate.