Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package uwsm for openSUSE:Factory checked in at 2026-06-30 15:12:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/uwsm (Old) and /work/SRC/openSUSE:Factory/.uwsm.new.11887 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "uwsm" Tue Jun 30 15:12:09 2026 rev:7 rq:1362505 version:0.26.6 Changes: -------- --- /work/SRC/openSUSE:Factory/uwsm/uwsm.changes 2026-06-15 19:43:50.316406647 +0200 +++ /work/SRC/openSUSE:Factory/.uwsm.new.11887/uwsm.changes 2026-06-30 15:12:44.558638767 +0200 @@ -1,0 +2,6 @@ +Mon Jun 29 12:02:32 UTC 2026 - Alexey Kolos <[email protected]> + +- Update to version 0.26.6: + * fix(app): support compat /execarg_default: directives in xdg-terminals.list + +------------------------------------------------------------------- Old: ---- uwsm-0.26.5.obscpio New: ---- uwsm-0.26.6.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ uwsm.spec ++++++ --- /var/tmp/diff_new_pack.1Sog9B/_old 2026-06-30 15:12:45.226661373 +0200 +++ /var/tmp/diff_new_pack.1Sog9B/_new 2026-06-30 15:12:45.230661509 +0200 @@ -17,7 +17,7 @@ Name: uwsm -Version: 0.26.5 +Version: 0.26.6 Release: 0 Summary: Universal Wayland Session Manager License: MIT ++++++ _service ++++++ --- /var/tmp/diff_new_pack.1Sog9B/_old 2026-06-30 15:12:45.278663133 +0200 +++ /var/tmp/diff_new_pack.1Sog9B/_new 2026-06-30 15:12:45.282663268 +0200 @@ -2,7 +2,7 @@ <service name="obs_scm" mode="manual"> <param name="url">https://github.com/Vladimir-csp/uwsm.git</param> <param name="scm">git</param> - <param name="revision">v0.26.5</param> + <param name="revision">v0.26.6</param> <param name="versionformat">@PARENT_TAG@</param> <param name="versionrewrite-pattern">v(.*)</param> <param name="changesgenerate">enable</param> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.1Sog9B/_old 2026-06-30 15:12:45.302663945 +0200 +++ /var/tmp/diff_new_pack.1Sog9B/_new 2026-06-30 15:12:45.306664080 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/Vladimir-csp/uwsm.git</param> - <param name="changesrevision">7bdc515bd85c8c252b6d99111527a1c2da9cb60c</param></service></servicedata> + <param name="changesrevision">469a39a5436f6c1086b4904d42227c03aee2e394</param></service></servicedata> (No newline at EOF) ++++++ uwsm-0.26.5.obscpio -> uwsm-0.26.6.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/uwsm-0.26.5/debian/changelog new/uwsm-0.26.6/debian/changelog --- old/uwsm-0.26.5/debian/changelog 2026-06-13 15:44:19.000000000 +0200 +++ new/uwsm-0.26.6/debian/changelog 2026-06-28 20:39:25.000000000 +0200 @@ -1,5 +1,5 @@ -uwsm (0.26.5-1~local0) UNRELEASED; urgency=medium +uwsm (0.26.6-1~local0) UNRELEASED; urgency=medium * Upstream build. - -- Vladimir-csp <[email protected]> Sat, 13 Jun 2026 16:44:19 +0300 + -- Vladimir-csp <[email protected]> Sun, 28 Jun 2026 21:39:25 +0300 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/uwsm-0.26.5/uwsm/main.py new/uwsm-0.26.6/uwsm/main.py --- old/uwsm-0.26.5/uwsm/main.py 2026-06-13 15:44:19.000000000 +0200 +++ new/uwsm-0.26.6/uwsm/main.py 2026-06-28 20:39:25.000000000 +0200 @@ -102,6 +102,7 @@ neg_cache: dict = {} opts: List[str] = [] print_opts: List[str] = [] + default_execargs: dict = {} class UnitsState: @@ -3125,6 +3126,7 @@ terminal_entries = [] excluded_terminal_entries = [] unexcluded_terminal_entries = [] + valid_id_start = set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_") ## read configs, compose preferred terminal entry list # iterate config dirs and xdg-terminal-exec dirs in system part of data dirs @@ -3150,14 +3152,32 @@ for line in [line.strip() for line in terminal_list.readlines()]: if not line or line.startswith("#"): continue - if line.startswith("-"): + if line.startswith("-") and ".desktop" in line: fbcontrol = -1 line = line[1:] - elif line.startswith("+"): + elif line.startswith("+") and ".desktop" in line: fbcontrol = 1 line = line[1:] - else: + elif line[0] in valid_id_start and ".desktop" in line: fbcontrol = 0 + elif ( + line.startswith("/execarg_default:") and ".desktop:" in line + ): + # get non-standard /execarg_default directive + # no fancy validation here, just split and set + line = line.removeprefix("/execarg_default:") + entry, arg = line.split(".desktop:", maxsplit=1) + entry = entry + ".desktop" + if entry not in Terminal.default_execargs: + print_debug( + f"adding default exec arg for {entry}: {arg}" + ) + Terminal.default_execargs[entry] = arg + continue + else: + # drop unknown directives + print_debug("discarded config line", line) + continue # be relaxed about line parsing # only valid entry.desktop[:action] lines are of interest try: @@ -3508,6 +3528,8 @@ terminal_execarg = Terminal.entry.get("ExecArg") elif Terminal.entry.hasKey("X-ExecArg"): terminal_execarg = Terminal.entry.get("X-ExecArg") + elif Terminal.entry_id in Terminal.default_execargs: + terminal_execarg = Terminal.default_execargs[Terminal.entry_id] else: terminal_execarg = "-e" terminal_execarg = ( diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/uwsm-0.26.5/version.sh new/uwsm-0.26.6/version.sh --- old/uwsm-0.26.5/version.sh 2026-06-13 15:44:19.000000000 +0200 +++ new/uwsm-0.26.6/version.sh 2026-06-28 20:39:25.000000000 +0200 @@ -4,7 +4,7 @@ # or prints back UWSM_VERSION env if set, # or prints a fallback version if not in git repo. -VERSION=0.26.5 +VERSION=0.26.6 set -e ++++++ uwsm.obsinfo ++++++ --- /var/tmp/diff_new_pack.1Sog9B/_old 2026-06-30 15:12:45.534671797 +0200 +++ /var/tmp/diff_new_pack.1Sog9B/_new 2026-06-30 15:12:45.538671931 +0200 @@ -1,5 +1,5 @@ name: uwsm -version: 0.26.5 -mtime: 1781358259 -commit: 7bdc515bd85c8c252b6d99111527a1c2da9cb60c +version: 0.26.6 +mtime: 1782671965 +commit: 469a39a5436f6c1086b4904d42227c03aee2e394
