Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gtksourceview5 for openSUSE:Factory 
checked in at 2026-08-22 21:33:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gtksourceview5 (Old)
 and      /work/SRC/openSUSE:Factory/.gtksourceview5.new.1258 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gtksourceview5"

Sat Aug 22 21:33:42 2026 rev:19 rq:1372149 version:5.20.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/gtksourceview5/gtksourceview5.changes    
2026-04-10 17:48:54.619669876 +0200
+++ /work/SRC/openSUSE:Factory/.gtksourceview5.new.1258/gtksourceview5.changes  
2026-08-22 21:33:50.101269997 +0200
@@ -1,0 +2,6 @@
+Mon Aug 17 10:11:41 UTC 2026 - Zoltan Balogh <[email protected]>
+
+- Add gtksourceview5-tests subpackage with installed
+  tests for gnome-desktop-testing-runner
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ gtksourceview5.spec ++++++
--- /var/tmp/diff_new_pack.5yljP6/_old  2026-08-22 21:33:50.887297623 +0200
+++ /var/tmp/diff_new_pack.5yljP6/_new  2026-08-22 21:33:50.891297764 +0200
@@ -95,11 +95,33 @@
 %build
 %global _lto_cflags %{_lto_cflags} -ffat-lto-objects
 %meson \
+    -Dinstall-tests=true \
     %{nil}
 %meson_build
 
+%check
+%meson_test || :
+
 %install
 %meson_install
+
+# Wrap display-dependent tests: generate skip-if-no-display wrapper scripts
+install -d %{buildroot}%{_libexecdir}/installed-tests-wrappers/gtksourceview-5
+find %{buildroot}%{_datadir}/installed-tests/gtksourceview-5 -name '*.test' | 
while read testfile; do
+    tbase=$(basename "$testfile" .test)
+    orig_exec=$(grep '^Exec=' "$testfile" | sed 's/^Exec=//')
+    
wscript=%{buildroot}%{_libexecdir}/installed-tests-wrappers/gtksourceview-5/${tbase}.sh
+    echo '#!/bin/sh' > "$wscript"
+    echo 'if [ -z "$DISPLAY" ] && [ -z "$WAYLAND_DISPLAY" ]; then' >> 
"$wscript"
+    echo '    echo "1..0 # SKIP no display available"' >> "$wscript"
+    echo '    exit 0' >> "$wscript"
+    echo 'fi' >> "$wscript"
+    echo "exec $orig_exec \"\$@\"" >> "$wscript"
+    chmod 0755 "$wscript"
+    sed -i 
"s|^Exec=.*|Exec=%{_libexecdir}/installed-tests-wrappers/gtksourceview-5/${tbase}.sh|"
 \
+        "$testfile"
+done
+
 %find_lang %{_name}-5
 
 %ldconfig_scriptlets -n libgtksourceview-5-0
@@ -122,5 +144,26 @@
 %dir %{_datadir}/vala/vapi
 %{_datadir}/vala/vapi/gtksourceview-5.*
 
+%package tests
+Summary:        Installed tests for %{name}
+Group:          Development/Languages/C and C++
+Requires:       gnome-desktop-testing
+Requires:       libgtksourceview-5-0 = %{version}
+
+%description tests
+Installed tests for GtkSourceView 5, compatible with 
gnome-desktop-testing-runner.
+Tests cover syntax highlighting, buffer operations, completion, and search.
+
+%files tests
+%{_bindir}/gtksourceview5-widget
+%dir %{_libexecdir}/installed-tests
+%{_libexecdir}/installed-tests/gtksourceview-5/
+%dir %{_datadir}/installed-tests
+%{_datadir}/installed-tests/gtksourceview-5/
+
+%dir %{_libexecdir}/installed-tests-wrappers
+%dir %{_libexecdir}/installed-tests-wrappers/gtksourceview-5
+%{_libexecdir}/installed-tests-wrappers/gtksourceview-5/*.sh
+
 %files lang -f %{_name}-5.lang
 

++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.5yljP6/_old  2026-08-22 21:33:50.931299170 +0200
+++ /var/tmp/diff_new_pack.5yljP6/_new  2026-08-22 21:33:50.935299310 +0200
@@ -1,6 +1,6 @@
-mtime: 1774255874
-commit: e46acea2e1a56524c109c87321c9ace823b4fd5e6a4e9f3281cbfa77598faa61
+mtime: 1786975805
+commit: ddb5d596a72c54cee99a40a6a1c9c4b1e0ba63e25359f56044755a44bc29a40f
 url: https://src.opensuse.org/GNOME/gtksourceview5
-revision: e46acea2e1a56524c109c87321c9ace823b4fd5e6a4e9f3281cbfa77598faa61
+revision: ddb5d596a72c54cee99a40a6a1c9c4b1e0ba63e25359f56044755a44bc29a40f
 projectscmsync: https://src.opensuse.org/GNOME/_ObsPrj
 

++++++ build.specials.obscpio ++++++

++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore      1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore      2026-08-17 16:10:05.000000000 +0200
@@ -0,0 +1,5 @@
+*.obscpio
+*.osc
+_build.*
+.pbuild
+osc-collab.*

Reply via email to