From bc586a0c475b51604fbaa62bc1cf79dea624e757 Mon Sep 17 00:00:00 2001 From: Rmys Date: Wed, 14 Sep 2022 13:10:07 +0300 Subject: [PATCH] gtk-doc ver. bump --- desktop/toolkit/gtk/gtk-doc/actions.py | 10 +++---- ...-a-gtk-doc-1.31-change-that-broke-e-.patch | 29 +++++++++++++++++++ desktop/toolkit/gtk/gtk-doc/pspec.xml | 13 ++++++++- 3 files changed, 46 insertions(+), 6 deletions(-) create mode 100644 desktop/toolkit/gtk/gtk-doc/files/0001-Partially-revert-a-gtk-doc-1.31-change-that-broke-e-.patch diff --git a/desktop/toolkit/gtk/gtk-doc/actions.py b/desktop/toolkit/gtk/gtk-doc/actions.py index bc7ee2d616..f8fe80bfdd 100644 --- a/desktop/toolkit/gtk/gtk-doc/actions.py +++ b/desktop/toolkit/gtk/gtk-doc/actions.py @@ -2,18 +2,18 @@ # -*- coding: utf-8 -*- # # Licensed under the GNU General Public License, version 3. -# See the file http://www.gnu.org/licences/old-licenses/gpl-2.0.txt +# See the file http://www.gnu.org/licenses/gpl.txt -from pisi.actionsapi import autotools +from pisi.actionsapi import mesontools from pisi.actionsapi import pisitools def setup(): - autotools.configure("--disable-static --disable-scrollkeeper") + mesontools.configure() def build(): - autotools.make() + mesontools.build() def install(): - autotools.install() + mesontools.install() pisitools.dodoc("AUTHORS", "MAINTAINERS", "ChangeLog", "README", "NEWS", "TODO") diff --git a/desktop/toolkit/gtk/gtk-doc/files/0001-Partially-revert-a-gtk-doc-1.31-change-that-broke-e-.patch b/desktop/toolkit/gtk/gtk-doc/files/0001-Partially-revert-a-gtk-doc-1.31-change-that-broke-e-.patch new file mode 100644 index 0000000000..ca27d5e7db --- /dev/null +++ b/desktop/toolkit/gtk/gtk-doc/files/0001-Partially-revert-a-gtk-doc-1.31-change-that-broke-e-.patch @@ -0,0 +1,29 @@ +From 0535ffb16de159c42f413f4d1b4e9f2f77395986 Mon Sep 17 00:00:00 2001 +From: Kalev Lember +Date: Thu, 28 Nov 2019 14:38:59 +0100 +Subject: [PATCH] Partially revert a gtk-doc 1.31 change that broke e-d-s and + NM builds + +https://bugzilla.redhat.com/show_bug.cgi?id=1775560 +--- + gtkdoc/scan.py | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/gtkdoc/scan.py b/gtkdoc/scan.py +index d04d4d4..2103d02 100644 +--- a/gtkdoc/scan.py ++++ b/gtkdoc/scan.py +@@ -961,8 +961,8 @@ def ScanHeaderContent(input_lines, decl_list, get_types, options): + logging.info('struct/union level : %d', level) + + # here we want in_declaration=='', otherwise we have a partial declaration +- if in_declaration != '': +- raise RuntimeError('partial declaration (%s) : %s ' % (in_declaration, decl)) ++ #if in_declaration != '': ++ # raise RuntimeError('partial declaration (%s) : %s ' % (in_declaration, decl)) + + # print remaining forward declarations + for symbol in sorted(forward_decls.keys()): +-- +2.23.0 + diff --git a/desktop/toolkit/gtk/gtk-doc/pspec.xml b/desktop/toolkit/gtk/gtk-doc/pspec.xml index 875a621940..b35f97e717 100644 --- a/desktop/toolkit/gtk/gtk-doc/pspec.xml +++ b/desktop/toolkit/gtk/gtk-doc/pspec.xml @@ -13,9 +13,10 @@ app:console GTK+ API documentation generator Gtk-Doc is typically used to document the public API of GTK+ and GNOME libraries, but it can also be used to document application code. - mirrors://gnome/gtk-doc/1.32/gtk-doc-1.32.tar.xz + mirrors://gnome/gtk-doc/1.33/gtk-doc-1.33.2.tar.xz + meson itstool python3-devel @@ -24,6 +25,9 @@ docbook-xsl libxslt-devel + + 0001-Partially-revert-a-gtk-doc-1.31-change-that-broke-e-.patch + @@ -48,6 +52,13 @@ + + 2022-09-13 + 1.33.2 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + 2021-01-24 1.32