Hello community, here is the log from the commit of package gtk-doc for openSUSE:Leap:15.2 checked in at 2020-03-06 12:36:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/gtk-doc (Old) and /work/SRC/openSUSE:Leap:15.2/.gtk-doc.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gtk-doc" Fri Mar 6 12:36:56 2020 rev:28 rq:779589 version:1.32 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/gtk-doc/gtk-doc.changes 2020-01-30 14:50:40.714911340 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.gtk-doc.new.26092/gtk-doc.changes 2020-03-06 12:36:58.342600190 +0100 @@ -1,0 +2,30 @@ +Sat Jan 25 14:14:11 UTC 2020 - Dominique Leuenberger <[email protected]> + +- No longer recommend -lang: supplements are in use + +------------------------------------------------------------------- +Thu Dec 19 12:28:32 UTC 2019 - Dominique Leuenberger <[email protected]> + +- Revert building as noarch: + ./python/gtkdoc/config.py:pkg_config = '/usr/bin/i586-suse-linux-gnu-pkg-config' + +------------------------------------------------------------------- +Sun Dec 15 19:44:20 UTC 2019 - Stefan Brüns <[email protected]> + +- Make package noarch, no binary files included. +- Move manual to separate subpackage, and build it using _multibuild. + Removes python3-libxml2 build dependency (via yelp-tools/itstool) + from main package. +- Correct license for documentation, it is GFDL-1.1-or-later. +- Stop packaging obsolete docs, replaced by the manual. + +------------------------------------------------------------------- +Fri Nov 8 17:40:31 UTC 2019 - Stefan Brüns <[email protected]> + +- Move gtkdoc-mkpdf to a separate package, pulling in the required + dblatex. Set dblatex path so configure puts it into config.py. +- Drop ChangeLog from doc (not updated since 2009), NEWS is sufficient. +- Update description, gtk-doc no longer uses perl but python. +- Spec file cleanup + +------------------------------------------------------------------- @@ -5,0 +36,16 @@ + +------------------------------------------------------------------- +Wed Aug 21 10:51:52 CEST 2019 - [email protected] + +- Update to version 1.32: + + Hotfix release. +- changes from version 1.31: + + fix "Wrong permissions for style CSS file" (#84). +- Changes from version 1.30: + + GTK-Doc is now using python-pygments to do the syntax + highlighing. + + This version ships with a new expermiental gtkdoc-mkhtml2 + toolchain replacing gktdoc-mkhtml+gtkdoc-fixxref. +- Add python3-pygments Requires: new dependency. +- Drop source-highlight recommends: no longer the used highlighting + tool. Old: ---- gtk-doc-1.29.tar.xz New: ---- _multibuild gtk-doc-1.32.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gtk-doc.spec ++++++ --- /var/tmp/diff_new_pack.inaOGI/_old 2020-03-06 12:36:58.750600438 +0100 +++ /var/tmp/diff_new_pack.inaOGI/_new 2020-03-06 12:36:58.754600441 +0100 @@ -1,7 +1,7 @@ # # spec file for package gtk-doc # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,19 +12,33 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # -Name: gtk-doc -Version: 1.29 +%global flavor @BUILD_FLAVOR@%{nil} +%if "%{flavor}" == "doc" +%bcond_without doc +%define psuffix -manual +%else +%bcond_with doc +%endif + +Name: gtk-doc%{?psuffix} +Version: 1.32 Release: 0 -Summary: GTK+ DocBook Documentation Generator +%if "%{flavor}" == "" +Summary: GTK+ Documentation Generator License: GPL-2.0-or-later Group: Productivity/Publishing/SGML +%else +Summary: Manual for Gtkdoc +License: GFDL-1.1-or-later +Group: Documentation/HTML +%endif URL: http://www.gtk.org/gtk-doc/ # When updating this package, please don't forget to update the gtk-doc.m4 Source in glib2. -Source0: https://download.gnome.org/sources/gtk-doc/1.29/%{name}-%{version}.tar.xz +Source0: https://download.gnome.org/sources/gtk-doc/1.32/gtk-doc-%{version}.tar.xz BuildRequires: docbook-xsl-stylesheets BuildRequires: libtool @@ -32,53 +46,101 @@ BuildRequires: pkgconfig BuildRequires: python3-base BuildRequires: sgml-skel -BuildRequires: xsltproc +%if %{with doc} +BuildRequires: fdupes BuildRequires: yelp-tools +# gtk-doc-manual was split from the main package +Provides: gtk-doc:%{_datadir}/help/C/gtk-doc-manual/index.docbook +Conflicts: gtk-doc < %{version}-%{release} +Conflicts: gtk-doc-lang < %{version}-%{release} +%else +BuildRequires: xsltproc Requires: docbook-xsl-stylesheets Requires: docbook_4 Requires: glib2-devel Requires: libxml2-tools +Requires: python3-pygments Requires: xsltproc -Recommends: %{name}-lang -Recommends: source-highlight +Recommends: gtk-doc-manual # Old for <= 10.2 & CODE10 Provides: gtkdoc = %{version} Obsoletes: gtkdoc +%endif + +%if "%{flavor}" == "" +%description +Gtkdoc is a set of Python scripts that generates API reference +documentation in e.g DocBook, HTML or PDF format. It can extract +documentation from source code comments in a manner similar to +Java-doc. It is used to generate the documentation for GLib, +Gtk+, and GNOME. +%else %description -Gtkdoc is a set of Perl scripts that generate API reference -documentation in DocBook format. It can extract documentation from -source code comments in a manner similar to Java-doc. It is used to -generate the documentation for GLib, Gtk+, and GNOME. +User manual for Gtkdoc +%endif + +%package mkpdf +Summary: Gtkdoc PDF Generator +Supplements: packageand(gtk-doc:dblatex) +Requires: %{name} = %{version} +Requires: dblatex -%lang_package +%description mkpdf +PDF generator for Gtkdoc. + +%lang_package -n gtk-doc-manual %prep -%autosetup -p1 +%autosetup -p1 -n gtk-doc-%{version} %build -%configure PYTHON=%{_bindir}/python3 +autoreconf +%configure PYTHON=%{_bindir}/python3 \ + DBLATEX=%{_bindir}/dblatex make %{?_smp_mflags} %install +%if "%{flavor}" == "" %make_install -# Do not install the cmake files for now - they need more clarification (1.25) -rm -rf %{buildroot}%{_libdir}/cmake mkdir -p %{buildroot}%{_datadir}/gtk-doc/html -mv -v doc/README doc/doc.README -%find_lang %{name}-manual %{?no_lang_C} +%endif + +%if %{with doc} +%make_install -C help +%fdupes %{buildroot}%{_datadir}/help/[a-z]* +%find_lang gtk-doc-manual %{?no_lang_C} +%endif +%if "%{flavor}" == "" %files %license COPYING -%doc AUTHORS COPYING-DOCS ChangeLog NEWS README TODO doc/* +%doc AUTHORS NEWS README TODO %{_bindir}/gtkdoc-* %{_bindir}/gtkdocize +%exclude %{_bindir}/gtkdoc-mkpdf %dir %{_datadir}/aclocal %{_datadir}/aclocal/gtk-doc.m4 %{_datadir}/gtk-doc/ +%exclude %{_datadir}/gtk-doc/python/gtkdoc/mkpdf* %{_datadir}/pkgconfig/gtk-doc.pc -%doc %{_datadir}/help/C/gtk-doc-manual/ +%dir %{_datadir}/cmake +%dir %{_datadir}/cmake/GtkDoc +%{_datadir}/cmake/GtkDoc/GtkDocConfig.cmake +%{_datadir}/cmake/GtkDoc/GtkDocConfigVersion.cmake +%{_datadir}/cmake/GtkDoc/GtkDocScanGObjWrapper.cmake + +%files mkpdf +%{_bindir}/gtkdoc-mkpdf +%{_datadir}/gtk-doc/python/gtkdoc/mkpdf* +%endif + +%if %{with doc} +%files -n gtk-doc-manual +%license COPYING-DOCS +%doc %{_datadir}/help/C/gtk-doc-manual -%files lang -f %{name}-manual.lang +%files -n gtk-doc-manual-lang -f gtk-doc-manual.lang +%endif %changelog ++++++ _multibuild ++++++ <multibuild> <package>doc</package> </multibuild> ++++++ gtk-doc-1.29.tar.xz -> gtk-doc-1.32.tar.xz ++++++ ++++ 42255 lines of diff (skipped)
