Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package gtksourceview4 for openSUSE:Factory checked in at 2026-08-22 21:33:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gtksourceview4 (Old) and /work/SRC/openSUSE:Factory/.gtksourceview4.new.1258 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gtksourceview4" Sat Aug 22 21:33:42 2026 rev:27 rq:1372148 version:4.8.4 Changes: -------- --- /work/SRC/openSUSE:Factory/gtksourceview4/gtksourceview4.changes 2025-01-09 15:05:04.170393445 +0100 +++ /work/SRC/openSUSE:Factory/.gtksourceview4.new.1258/gtksourceview4.changes 2026-08-22 21:33:48.230204237 +0200 @@ -1,0 +2,6 @@ +Mon Aug 17 10:11:41 UTC 2026 - Zoltan Balogh <[email protected]> + +- Add gtksourceview4-tests subpackage with installed + tests for gnome-desktop-testing-runner + +------------------------------------------------------------------- @@ -316 +321,0 @@ - New: ---- _scmsync.obsinfo build.specials.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gtksourceview4.spec ++++++ --- /var/tmp/diff_new_pack.sIwBqj/_old 2026-08-22 21:33:48.995231124 +0200 +++ /var/tmp/diff_new_pack.sIwBqj/_new 2026-08-22 21:33:48.996231160 +0200 @@ -1,7 +1,7 @@ # # spec file for package gtksourceview4 # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -116,11 +116,33 @@ %meson \ -Dglade_catalog=true \ -Dgtk_doc=true \ + -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-4 +find %{buildroot}%{_datadir}/installed-tests/gtksourceview-4 -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-4/${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-4/${tbase}.sh|" \ + "$testfile" +done + find %{buildroot} -type f -name "*.la" -delete -print %find_lang %{_name}-4 @@ -147,5 +169,25 @@ %dir %{_datadir}/vala/vapi %{_datadir}/vala/vapi/gtksourceview-4.* +%package tests +Summary: Installed tests for %{name} +Group: Development/Languages/C and C++ +Requires: gnome-desktop-testing +Requires: libgtksourceview-4-0 = %{version} + +%description tests +Installed tests for GtkSourceView 4, compatible with gnome-desktop-testing-runner. +Tests cover syntax highlighting, buffer operations, completion, and search. + +%files tests +%dir %{_libexecdir}/installed-tests +%{_libexecdir}/installed-tests/gtksourceview-4/ +%dir %{_datadir}/installed-tests +%{_datadir}/installed-tests/gtksourceview-4/ + +%dir %{_libexecdir}/installed-tests-wrappers +%dir %{_libexecdir}/installed-tests-wrappers/gtksourceview-4 +%{_libexecdir}/installed-tests-wrappers/gtksourceview-4/*.sh + %files lang -f %{_name}-4.lang ++++++ _scmsync.obsinfo ++++++ mtime: 1786975803 commit: 695aed196c786e44624a846e3611ea2938e213a745aedbccfbbd1a44e4683ef5 url: https://src.opensuse.org/GNOME/gtksourceview4 revision: 695aed196c786e44624a846e3611ea2938e213a745aedbccfbbd1a44e4683ef5 projectscmsync: https://src.opensuse.org/GNOME/_ObsPrj ++++++ 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:03.000000000 +0200 @@ -0,0 +1,4 @@ +*.obscpio +*.osc +_build.* +.pbuild
