Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package doxygen for openSUSE:Factory checked 
in at 2025-11-21 16:53:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/doxygen (Old)
 and      /work/SRC/openSUSE:Factory/.doxygen.new.2061 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "doxygen"

Fri Nov 21 16:53:46 2025 rev:109 rq:1318694 version:1.15.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/doxygen/doxygen.changes  2025-10-28 
14:45:23.379969625 +0100
+++ /work/SRC/openSUSE:Factory/.doxygen.new.2061/doxygen.changes        
2025-11-21 16:54:19.008389461 +0100
@@ -1,0 +2,9 @@
+Wed Nov 12 10:56:26 UTC 2025 - [email protected]
+
+- added patches
+  https://github.com/doxygen/doxygen/pull/11864
+  * doxygen-testsuite-failure-final-solution.patch
+- TEST_FLAGS="--xmlxsd" is no longer needed
+  
(https://github.com/doxygen/doxygen/commit/8e2dcb4b91a3e1788e8253ad0f0ca921d362717a)
+
+-------------------------------------------------------------------

New:
----
  doxygen-testsuite-failure-final-solution.patch

----------(New B)----------
  New:  https://github.com/doxygen/doxygen/pull/11864
  * doxygen-testsuite-failure-final-solution.patch
- TEST_FLAGS="--xmlxsd" is no longer needed
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ doxygen.spec ++++++
--- /var/tmp/diff_new_pack.qRmvAm/_old  2025-11-21 16:54:19.784422162 +0100
+++ /var/tmp/diff_new_pack.qRmvAm/_new  2025-11-21 16:54:19.784422162 +0100
@@ -29,6 +29,8 @@
 # suse specific
 Patch1:         %{name}-no-lowercase-man-names.patch
 Patch2:         reproducible.patch
+# https://github.com/doxygen/doxygen/pull/11864
+Patch3:         doxygen-testsuite-failure-final-solution.patch
 BuildRequires:  bison
 BuildRequires:  cmake >= 3.14
 BuildRequires:  flex

++++++ doxywizard.spec ++++++
--- /var/tmp/diff_new_pack.qRmvAm/_old  2025-11-21 16:54:19.836424354 +0100
+++ /var/tmp/diff_new_pack.qRmvAm/_new  2025-11-21 16:54:19.836424354 +0100
@@ -75,9 +75,6 @@
 export LANG=C.UTF-8
 # testing doxygen package here to avoid build
 # cycle between latex and doxygen
-#
-# TEST_FLAGS: otherwise 009_bug fails 
(https://github.com/doxygen/doxygen/issues/11772)
-export TEST_FLAGS="--xmlxsd"
 %ctest
 
 %install

++++++ doxygen-testsuite-failure-final-solution.patch ++++++
Index: doxygen-1.15.0/testing/CMakeLists.txt
===================================================================
--- doxygen-1.15.0.orig/testing/CMakeLists.txt
+++ doxygen-1.15.0/testing/CMakeLists.txt
@@ -1,7 +1,7 @@
 # run all tests sequentially (keep for backward compatibility)
 add_custom_target(tests
   COMMENT "Running doxygen tests..."
-  COMMAND ${Python_EXECUTABLE} ${PROJECT_SOURCE_DIR}/testing/runtests.py 
--xmlxsd --doxygen ${PROJECT_BINARY_DIR}/bin/doxygen --inputdir 
${PROJECT_SOURCE_DIR}/testing --outputdir ${PROJECT_BINARY_DIR}/testing
+  COMMAND ${Python_EXECUTABLE} ${PROJECT_SOURCE_DIR}/testing/runtests.py 
--doxygen ${PROJECT_BINARY_DIR}/bin/doxygen --inputdir 
${PROJECT_SOURCE_DIR}/testing --outputdir ${PROJECT_BINARY_DIR}/testing
   DEPENDS doxygen ${update_doxmlparser_dependency}
 )
 
@@ -15,6 +15,6 @@ foreach(TEST_FILE ${TEST_FILES})
   string(REGEX REPLACE "^.*/([0-9][0-9][0-9]*).*$" "\\1" TEST_ID 
"${TEST_FILE}")
   # add a test target for each test
   add_test(NAME ${TEST_NAME}
-    COMMAND ${Python_EXECUTABLE} ${PROJECT_SOURCE_DIR}/testing/runtests.py 
--id ${TEST_ID} --xmlxsd --doxygen $<TARGET_FILE:doxygen> --inputdir 
${PROJECT_SOURCE_DIR}/testing --outputdir ${PROJECT_BINARY_DIR}/testing
+    COMMAND ${Python_EXECUTABLE} ${PROJECT_SOURCE_DIR}/testing/runtests.py 
--id ${TEST_ID} --doxygen $<TARGET_FILE:doxygen> --inputdir 
${PROJECT_SOURCE_DIR}/testing --outputdir ${PROJECT_BINARY_DIR}/testing
   )
 endforeach()
Index: doxygen-1.15.0/testing/runtests.py
===================================================================
--- doxygen-1.15.0.orig/testing/runtests.py
+++ doxygen-1.15.0/testing/runtests.py
@@ -88,7 +88,21 @@ class Tester:
         elif not os.path.isfile(expected_file):
             return (True,'%s absent' % expected_file)
         else:
-            diff = xpopen('diff -b -w -u %s %s' % (got_file,expected_file))
+            got_file_tmp = got_file + "_tmp"
+            with xopen(got_file,'r') as f:
+                with xopen(got_file_tmp,"w") as out_file:
+                    lines = 
f.read().replace("<","\n<").replace(">",">\n").splitlines()
+                    filtered = [ line for line in lines if line.strip() ]
+                    out_file.write('\n'.join(filtered))
+            expected_file_tmp = got_file + "_tmp1"
+            with xopen(expected_file,'r') as f:
+                with xopen(expected_file_tmp,"w") as out_file:
+                    lines = 
f.read().replace("<","\n<").replace(">",">\n").splitlines()
+                    filtered = [ line for line in lines if line.strip() ]
+                    out_file.write('\n'.join(filtered))
+            diff = xpopen('diff -b -w -u %s %s' % 
(got_file_tmp,expected_file_tmp))
+            os.remove(got_file_tmp)
+            os.remove(expected_file_tmp)
             if diff and not diff.startswith("No differences"):
                 return (True,'Difference between generated output and 
reference:\n%s' % diff)
         return (False,'')

Reply via email to