[packages/libxml2] add patch to avoid doxygen 1.9.2+ "-q" switch

atler atler at pld-linux.org
Mon Dec 1 20:42:42 CET 2025


commit ca0235284f766385c33489517b2ff7c54f91d941
Author: Jan Palus <atler at pld-linux.org>
Date:   Mon Dec 1 20:28:09 2025 +0100

    add patch to avoid doxygen 1.9.2+ "-q" switch

 doxygen-quiet.patch | 18 ++++++++++++++++++
 libxml2.spec        |  4 +++-
 2 files changed, 21 insertions(+), 1 deletion(-)
---
diff --git a/libxml2.spec b/libxml2.spec
index c1e483b..f2ef503 100644
--- a/libxml2.spec
+++ b/libxml2.spec
@@ -28,6 +28,7 @@ Patch1:		%{name}-largefile.patch
 Patch2:		%{name}-libx32.patch
 Patch3:		%{name}-python-setup.patch
 Patch4:		%{name}-normalize.patch
+Patch5:		doxygen-quiet.patch
 # Fedora patches
 # https://bugzilla.gnome.org/show_bug.cgi?id=789714
 Patch11:	%{name}-python3-unicode-errors.patch
@@ -35,7 +36,7 @@ URL:		http://xmlsoft.org/
 BuildRequires:	autoconf >= 2.68
 BuildRequires:	automake >= 1:1.16.3
 %if %{with apidocs}
-BuildRequires:	doxygen >= 1.9.2
+BuildRequires:	doxygen
 BuildRequires:	libxslt-progs
 %endif
 BuildRequires:	libtool >= 2:2.0
@@ -166,6 +167,7 @@ do biblioteki libxml2.
 %patch -P2 -p1
 %patch -P3 -p1
 %patch -P4 -p1
+%patch -P5 -p1
 
 %patch -P11 -p1
 
diff --git a/doxygen-quiet.patch b/doxygen-quiet.patch
new file mode 100644
index 0000000..c7388a7
--- /dev/null
+++ b/doxygen-quiet.patch
@@ -0,0 +1,18 @@
+--- libxml2-2.15.1/doc/Doxyfile.orig	2025-10-16 17:49:18.000000000 +0200
++++ libxml2-2.15.1/doc/Doxyfile	2025-12-01 20:23:25.133991662 +0100
+@@ -108,3 +108,4 @@
+                          $(BUILD_ROOT)include
+ PREDEFINED             = XML_TREE_INTERNALS
+ HAVE_DOT               = NO
++QUIET                  = YES
+--- libxml2-2.15.1/doc/Makefile.am.orig	2025-10-16 17:49:18.000000000 +0200
++++ libxml2-2.15.1/doc/Makefile.am	2025-12-01 20:24:15.482525035 +0100
+@@ -13,7 +13,7 @@
+ 
+ html.stamp: Doxyfile
+ 	SOURCE_ROOT=$(top_srcdir)/ BUILD_ROOT=$(top_builddir)/ \
+-	    $(DOXYGEN) -q $<
++	    $(DOXYGEN) $<
+ 	@touch $@
+ 
+ CLEANFILES = html.stamp
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libxml2.git/commitdiff/d859536b143bd9a32fa472c4e36481c4ae1d62dd




More information about the pld-cvs-commit mailing list