Script 'mail_helper' called by obssrc
Hello community,

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

Package is "OpenImageIO"

Tue Feb 11 21:30:16 2025 rev:60 rq:1245070 version:2.5.18.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/OpenImageIO/OpenImageIO.changes  2025-01-07 
20:52:42.531149414 +0100
+++ /work/SRC/openSUSE:Factory/.OpenImageIO.new.19470/OpenImageIO.changes       
2025-02-11 21:30:54.097794146 +0100
@@ -1,0 +2,16 @@
+Sun Feb  2 21:25:39 UTC 2025 - Marcus Rueckert <mrueck...@suse.de>
+
+- Port the fonts handling solution from the OpenImageIO-3 package
+  to this package and also use OPENIMAGEIO_FONTS here:
+  
https://github.com/AcademySoftwareFoundation/OpenImageIO/issues/4615#issuecomment-2629490500
+
+-------------------------------------------------------------------
+Sun Feb  2 02:10:42 UTC 2025 - Marcus Rueckert <mrueck...@suse.de>
+
+- cleanup the %check section after the the discussion in
+  https://github.com/AcademySoftwareFoundation/OpenImageIO/issues/4615
+  - symlink all fonts to ~abuild/fonts
+  - minimize disabled tests list and document why they are filtered
+    out
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ OpenImageIO.spec ++++++
--- /var/tmp/diff_new_pack.MGMge3/_old  2025-02-11 21:30:55.629857343 +0100
+++ /var/tmp/diff_new_pack.MGMge3/_new  2025-02-11 21:30:55.633857508 +0100
@@ -233,28 +233,28 @@
 %fdupes -s %{buildroot}
 
 %check
-# Make sure testsuite can find required fonts
-mkdir -p ~/fonts
-ln -sf $(pwd)/src/fonts/Droid_Serif/DroidSerif.ttf ~/fonts/DroidSerif.ttf
-ln -sf $(pwd)/src/fonts/Droid_Sans/DroidSans.ttf ~/fonts/DroidSans.ttf
+# Make sure testsuite can find required fonts. Especially `DroidSerif.ttf` 
which is not part of our google-droid-fonts package
+# we need
+export OPENIMAGEIO_FONTS="$(dirname $(find ${PWD}/src/fonts/ -type f -name 
\*.ttf) | sort -u | tr '\n' ':' | sed -e 's|:$||g')"
+./build/bin/oiiotool --echo "{getattribute(font_dir_list)}"
+# without this the python tests can not link the library
 export LD_LIBRARY_PATH=%{buildroot}%{_libdir}
 # used as suffix for python binary
 export PYTHON_VERSION=3
 export PYTHONPATH=%{buildroot}%{python3_sitearch}
 export PYTHONDONTWRITEBYTECODE=1
-# Exclude known broken tests
-# timer tests won't do reliably in OBS
-%define disabled_tests 
'cmake-consumer|docs-examples-cpp|oiiotool|oiiotool-copy|oiiotool-subimage|oiiotool-text|texture-udim|texture-udim2|texture-udim.batch|texture-udim2.batch|docs-examples-python|python-texturesys|python-imagebufalgo|heif|ptex-broken|oiiotool|oiiotool-copy|oiiotool-subimage|texture-udim|texture-udim2|texture-udim.batch|texture-udim2.batch|python-texturesys'
-%define texture_tests  'texture-icwrite'
+#
+# https://github.com/AcademySoftwareFoundation/OpenImageIO/issues/4615
+#
+# heif -> our libheif does not support h265
+# ptex -> fileformat which we do not support
+# cmake-consumer docs-examples-cpp -> currently failing tests as they assume 
normal cmake search paths will work to find the OIIO devel files in the final 
location
+export disabled_tests="heif|ptex|cmake-consumer|docs-examples-cpp"
 %ifarch x86_64
-%ctest '-E' %{disabled_tests}
-%ctest '-R' %{texture_tests} || true
-#%%ctest '-j1' '-R' 'unit_timer'
+%ctest '-E' ${disabled_tests}
 %else
 # Many test cases are failing on PPC, ARM, ix64 ... ignore for now
-%ctest '-E' %{disabled_tests} || true
-%ctest '-R' %{texture_tests} || true
-#%%ctest '-j1' '-R' 'unit_timer'
+%ctest '-E' ${disabled_tests} || true
 %endif
 
 %ldconfig_scriptlets -n libOpenImageIO%{so_ver}

Reply via email to