From f151687edbb654bf123f2c20206ee9f23e7a2d11 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 17 May 2022 06:51:02 -0400 Subject: [PATCH] import gtk-doc-1.33.2-5.el9 --- .gitignore | 1 + .gtk-doc.metadata | 1 + ...-a-gtk-doc-1.31-change-that-broke-e-.patch | 29 ++ SPECS/gtk-doc.spec | 422 ++++++++++++++++++ 4 files changed, 453 insertions(+) create mode 100644 .gitignore create mode 100644 .gtk-doc.metadata create mode 100644 SOURCES/0001-Partially-revert-a-gtk-doc-1.31-change-that-broke-e-.patch create mode 100644 SPECS/gtk-doc.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..063b5b9 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/gtk-doc-1.33.2.tar.xz diff --git a/.gtk-doc.metadata b/.gtk-doc.metadata new file mode 100644 index 0000000..95ad38e --- /dev/null +++ b/.gtk-doc.metadata @@ -0,0 +1 @@ +d48fc5e2ca19eef9420732625cfd53e40b331baf SOURCES/gtk-doc-1.33.2.tar.xz diff --git a/SOURCES/0001-Partially-revert-a-gtk-doc-1.31-change-that-broke-e-.patch b/SOURCES/0001-Partially-revert-a-gtk-doc-1.31-change-that-broke-e-.patch new file mode 100644 index 0000000..ca27d5e --- /dev/null +++ b/SOURCES/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/SPECS/gtk-doc.spec b/SPECS/gtk-doc.spec new file mode 100644 index 0000000..8c847cf --- /dev/null +++ b/SPECS/gtk-doc.spec @@ -0,0 +1,422 @@ +%global debug_package %{nil} + +Name: gtk-doc +Version: 1.33.2 +Release: 5%{?dist} +Summary: API documentation generation tool for GTK+ and GNOME + +License: GPLv2+ and GFDL +URL: https://gitlab.gnome.org/GNOME/gtk-doc/ +Source0: http://download.gnome.org/sources/%{name}/1.33/%{name}-%{version}.tar.xz + +# 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 +# https://gitlab.gnome.org/GNOME/gtk-doc/issues/98 +# https://gitlab.gnome.org/GNOME/gtk-doc/issues/110 +Patch0: 0001-Partially-revert-a-gtk-doc-1.31-change-that-broke-e-.patch + +BuildRequires: dblatex +BuildRequires: docbook-utils +BuildRequires: /usr/bin/xsltproc +BuildRequires: docbook-style-xsl +BuildRequires: gcc +BuildRequires: gettext +BuildRequires: glib2-devel +BuildRequires: meson +BuildRequires: python3-devel +BuildRequires: python3-pygments +%if 0%{?fedora} +BuildRequires: python3-parameterized +%endif +BuildRequires: python3-lxml +BuildRequires: yelp-tools + +# Following are not automatically installed +Requires: docbook-utils /usr/bin/xsltproc docbook-style-xsl +Requires: python3-pygments +Requires: python3-lxml + +%description +gtk-doc is a tool for generating API reference documentation. +It is used for generating the documentation for GTK+, GLib +and GNOME. + +%prep +%autosetup -p1 + +# Move this doc file to avoid name collisions +mv doc/README doc/README.docs + +%build +%meson +%meson_build + +%install +%meson_install + +%py_byte_compile %{__python3} %{buildroot}%{_datadir}/gtk-doc/ + +%if 0%{?fedora} +%check +%meson_test +%endif + +%files +%license COPYING COPYING-DOCS +%doc AUTHORS README doc/* examples +%{_bindir}/* +%{_datadir}/aclocal/gtk-doc.m4 +%{_datadir}/gtk-doc/ +%{_datadir}/pkgconfig/gtk-doc.pc +%{_datadir}/help/*/gtk-doc-manual/ +%{_libdir}/cmake/ + +%changelog +* Mon Aug 09 2021 Mohan Boddu - 1.33.2-5 +- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags + Related: rhbz#1991688 + +* Fri Apr 16 2021 Mohan Boddu - 1.33.2-4 +- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 + +* Tue Jan 26 2021 Fedora Release Engineering - 1.33.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jan 20 2021 Kalev Lember - 1.33.2-2 +- Drop no longer needed python3-anytree requires + +* Tue Jan 19 2021 Kalev Lember - 1.33.2-1 +- Update to 1.33.2 + +* Tue Jan 19 2021 David King - 1.33.1-3 +- Disable test suite on non-Fedora + +* Mon Jan 18 2021 David King - 1.33.1-2 +- Remove unused runtime dependency on python3-parameterized +- Update URL (#1905556) + +* Tue Nov 17 2020 Kalev Lember - 1.33.1-1 +- Update to 1.33.1 + +* Thu Oct 01 2020 Kalev Lember - 1.33-1 +- Update to 1.33 +- Switch to meson build system +- Explicitly byte-compile python files using py_byte_compile macro + +* Sat Aug 01 2020 Fedora Release Engineering - 1.32-5 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 1.32-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jan 29 2020 Fedora Release Engineering - 1.32-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Nov 28 2019 Kalev Lember - 1.32-2 +- Partially revert a gtk-doc 1.31 change that broke e-d-s and NM builds (#1775560) + +* Mon Nov 11 2019 Lubomir Rintel - 1.32-1 +- Update to 1.32 + +* Thu Jul 25 2019 Fedora Release Engineering - 1.29-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Mon Feb 04 2019 Kalev Lember - 1.29-3 +- Avoid owning /usr/share/aclocal dir as it's part of filesystem rpm now + (#1672131) + +* Fri Feb 01 2019 Fedora Release Engineering - 1.29-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Sep 07 2018 Kalev Lember - 1.29-1 +- Update to 1.29 + +* Fri Jul 13 2018 Fedora Release Engineering - 1.28-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jun 19 2018 Miro Hrončok - 1.28-3 +- Rebuilt for Python 3.7 + +* Thu May 10 2018 Adam Williamson - 1.28-2 +- Fix a couple of crasher bugs encountered by halfline (BGO#79601{1,2)) + +* Sat Mar 24 2018 Kalev Lember - 1.28-1 +- Update to 1.28 +- Switch to Python 3 (#1509660) + +* Wed Feb 07 2018 Fedora Release Engineering - 1.27-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Dec 07 2017 Kalev Lember - 1.27-1 +- Update to 1.27 + +* Fri Oct 06 2017 Kalev Lember - 1.26-2 +- Add missing pkgconfig(glib-2.0) dep + +* Tue Aug 15 2017 Kalev Lember - 1.26-1 +- Update to 1.26 +- Don't own /usr/share/gtk-doc/html/ -- packages that drop files in there need + to co-own the directory, instead of depending on gtk-doc + +* Mon Aug 07 2017 Björn Esser - 1.25-6 +- Rebuilt for AutoReq cmake-filesystem + +* Wed Aug 02 2017 Fedora Release Engineering - 1.25-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 1.25-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 1.25-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Tue Oct 18 2016 Kalev Lember - 1.25-2 +- Use make_install macro +- Don't set group tags +- Run self tests +- Drop unused build deps + +* Tue Mar 22 2016 Kalev Lember - 1.25-1 +- Update to 1.25 +- Make the package not noarch as it is now putting files in archful directories + +* Thu Feb 04 2016 David King - 1.24-4 +- Require xsltproc, not libxslt + +* Wed Feb 03 2016 Fedora Release Engineering - 1.24-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 1.24-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sun May 31 2015 Kalev Lember - 1.24-1 +- Update to 1.24 + +* Sun May 17 2015 Kalev Lember - 1.23-1 +- Update to 1.23 + +* Sun May 10 2015 Kalev Lember - 1.22-1 +- Update to 1.22 +- Use license macro for the COPYING files + +* Thu Jul 17 2014 Kalev Lember - 1.21-1 +- Update to 1.21 + +* Sat Jun 07 2014 Fedora Release Engineering - 1.20-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Mon Feb 17 2014 Richard Hughes - 1.20-1 +- Update to 1.20 + +* Tue Oct 29 2013 Matthias Clasen - 1.19-4 +- Fix sorting of the annotation glossary + +* Sat Aug 03 2013 Fedora Release Engineering - 1.19-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed Jul 17 2013 Petr Pisar - 1.19-2 +- Perl 5.18 rebuild + +* Wed Jun 5 2013 Matthias Clasen - 1.19-1 +- Update to 1.19 + +* Thu Apr 25 2013 Colin Walters - 1.18-5.20130425gitdf075f +- New git snapshot; attempting to fix for #910830 + +* Thu Feb 14 2013 Fedora Release Engineering - 1.18-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Jul 19 2012 Fedora Release Engineering - 1.18-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 1.18-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Mon Sep 19 2011 Matthias Clasen - 1.18-1 +- Update to 1.18 + +* Mon Mar 7 2011 Matthias Clasen - 1.17-1 +- Update to 1.17 + +* Wed Feb 09 2011 Fedora Release Engineering - 1.16-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Fri Jan 14 2011 Matthias Clasen - 1.16-1 +- Update to 1.16 + +* Fri Sep 24 2010 Parag Nemade - 1.15-2 +- Merge-review cleanup (#225870) + +* Sun May 23 2010 Matthias Clasen - 1.15-1 +- Update to 1.15 + +* Sun Mar 28 2010 Matthias Clasen - 1.14-1 +- Update to 1.14 + +* Wed Jan 6 2010 Matthias Clasen - 1.13-2 +- Fix issues with gtkdoc-fixxref + +* Tue Dec 22 2009 Matthias Clasen - 1.13-1 +- Update to 1.13 + +* Thu Dec 3 2009 Matthias Clasen - 1.11-6 +- Drop unnecessary BRs + +* Fri Jul 24 2009 Fedora Release Engineering - 1.11-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Tue Feb 24 2009 Fedora Release Engineering - 1.11-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Sun Nov 23 2008 Matthias Clasen - 1.11-3 +- Fix an index generation problem + +* Fri Nov 21 2008 Matthias Clasen - 1.11-2 +- Update to 1.11 + +* Fri Jul 25 2008 Tom "spot" Callaway - 1.10-2 +- fix license tag + +* Thu Apr 24 2008 Matthias Clasen - 1.10-1 +- Update to 1.10 + +* Tue Jan 8 2008 Matthias Clasen - 1.9-4 +- Try again + +* Mon Jan 7 2008 Matthias Clasen - 1.9-3 +- Improve the fix + +* Tue Dec 18 2007 Matthias Clasen - 1.9-2 +- Fix a problem in gtk-doc.make + +* Sun Nov 18 2007 Matthias Clasen - 1.9-1 +- Update to 1.9 + +* Tue Aug 7 2007 Matthias Clasen - 1.8-3 +- Update the license field + +* Thu Mar 29 2007 Matthias Clasen - 1.8-2 +- Drop a no longer needed patch + +* Wed Feb 21 2007 Matthias Clasen - 1.8-1 +- Update to 1.8 +- Fix some directory ownership issues + +* Fri Feb 2 2007 Matthias Clasen - 1.7-3 +- Fix the omf file (#223684) + +* Wed Dec 20 2006 Matthias Clasen - 1.7-2 +- Own the /usr/share/gtk-doc/html directory (#220230) + +* Wed Aug 2 2006 Matthias Clasen - 1.7-1.fc6 +- Update to 1.7 + +* Wed Jul 12 2006 Jesse Keating - 1.6-3.1 +- rebuild + +* Mon May 22 2006 Matthias Clasen 1.6-3 +- Make it build in mock + +* Mon Apr 10 2006 Matthias Clasen 1.6-2 +- Update to 1.6 + +* Fri Dec 09 2005 Jesse Keating +- rebuilt + +* Wed Jul 6 2005 Matthias Clasen 1.4-1 +- update to 1.4 + +* Thu May 5 2005 Matthias Clasen 1.3-1 +- accept ':' in ids + +* Wed Jan 26 2005 Matthias Clasen 1.3-1 +- update to 1.3 + +* Tue Sep 21 2004 Matthias Clasen 1.2-2 +- rebuild + +* Fri Mar 12 2004 Alex Larsson 1.2-1 +- update to 1.2 + +* Fri Feb 13 2004 Elliot Lee +- rebuilt + +* Thu Aug 28 2003 Owen Taylor 1.1-3.0 +- Move gtk-doc.pc file to %%{_datadir}/pkgconfig (#98595) +- Require: /usr/bin/cmp (#88763, Thomas Vander Stichele) +- Added libxslt docbook-style-xsl to Require: and BuildPrereq + (#99143, Ken MacFarlane) + +* Tue Jul 8 2003 Owen Taylor 1.1-2.0 +- Bump for rebuild + +* Thu Jun 12 2003 Owen Taylor 1.1-1 +- Version 1.1 + +* Wed Apr 30 2003 Elliot Lee 0.10-6 +- Patch to s/head -1/head -n 1/ for ppc64 etc. + +* Wed Feb 12 2003 Elliot Lee 0.10-5 +- BuildRequires: libxslt + +* Wed Jan 22 2003 Tim Powers +- rebuilt + +* Mon Jan 13 2003 Owen Taylor 0.10-3 +- Clean up some spec file mess + +* Mon Jan 13 2003 Tim Powers 0.10-2 +- fiter out the broken perl dep + +* Sun Jan 12 2003 Havoc Pennington +- 0.10 + +* Wed Dec 11 2002 Tim Powers 0.9-6 +- rebuild + +* Fri Jun 21 2002 Tim Powers +- automated rebuild + +* Thu May 30 2002 Chip Turner +- add dependency filter for bogus perl dependencies + +* Thu May 23 2002 Tim Powers +- automated rebuild + +* Thu Apr 25 2002 Havoc Pennington +- rebuild in different environment + +* Thu Apr 4 2002 Jeremy Katz +- update to 0.9 + +* Wed Jan 09 2002 Tim Powers +- automated rebuild + +* Wed Jan 2 2002 Havoc Pennington +- new cvs snap 0.7.90 + +* Mon Sep 17 2001 Matt Wilson +- version 0.7 + +* Thu May 17 2001 Havoc Pennington +- upgrade to a CVS snapshot +- remove patches applied upstream + +* Tue Jan 16 2001 Tim Waugh +- Replace docbook, sgml-common, and stylesheets requirements with + docbook-utils requirement. +- Use public identifier in custom stylesheets. + +* Thu Dec 14 2000 Bill Nottingham +- rebuild because of broken fileutils + +* Mon Nov 13 2000 Owen Taylor +- Version 0.4b1 (CVS snapshot) + +* Fri Apr 23 1999 Owen Taylor +- added Requires + +* Fri Apr 23 1999 Owen Taylor +- Initial RPM, version 0.2 +