Hello community, here is the log from the commit of package xdg-utils for openSUSE:Leap:15.2 checked in at 2020-02-16 18:26:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/xdg-utils (Old) and /work/SRC/openSUSE:Leap:15.2/.xdg-utils.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xdg-utils" Sun Feb 16 18:26:00 2020 rev:18 rq:772176 version:1.1.3+20190413 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/xdg-utils/xdg-utils.changes 2020-01-15 16:30:02.896808368 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.xdg-utils.new.26092/xdg-utils.changes 2020-02-16 18:26:07.430649001 +0100 @@ -2 +2 @@ -Wed May 23 09:58:23 UTC 2018 - [email protected] +Wed Oct 30 16:12:34 UTC 2019 - Christophe Giboudeaux <[email protected]> @@ -4,3 +4,49 @@ -- Add 0001-Avoid-argument-injection-vulnerability-in-open_envvar.patch from - upstream to fix an argument injection when BROWSER contains %s - (boo#1093086, CVE-2017-18266, fdo#103807). +- Add 0001-Don-t-run-kreadconfig-if-KDE_SESSION_VERSION-is-5.patch + to read the KDE Frameworks config file if necessary (boo#1155462) + +------------------------------------------------------------------- +Mon Sep 30 10:47:49 UTC 2019 - [email protected] + +- Update to version 1.1.3+20190413: + * xdg-mime: return correct exit code for GNOME + +------------------------------------------------------------------- +Tue Apr 23 04:44:28 UTC 2019 - [email protected] + +- Update to version 1.1.3+20190401: + * support digits in uri scheme regex + * Enable cinnamon screensaver for xdg aware desktop environments (eg lxqt) + * xdg-open: fix comment typo + * xdg-su: fix some easy TODOs + * xdg-screensaver: Sanitise window name before sending it over the bus + * Fixes -x argument, which is the default for {gnome,mate}-terminal + * Fix a bug when xdg-terminal needs gsettings to get the default terminal + * test-lib.sh: run: eat xdg-open's exit code + * xdg-open: handle file://localhost/ + * Restore matching of older deepin names + * xdg-email: Support for Deepin + * xdg-open: better pcmanfm check (BR106636,BR106161) + * open for post 1.1.3 development +- Removed (merged upstream): + * xdg-terminal-fix-gsettings.patch + * xdg-terminal-fix-terminal--x-arg.patch +- Fix URL + +------------------------------------------------------------------- +Wed May 23 09:17:31 UTC 2018 - [email protected] + +- Update to version 20180510 (1.1.3): + * bump version, prep for 1.1.3 release + * xdg-open: use pcmanfm only if it is available (BR106161) + * Add Deepin Desktop Environment support. + * Avoid argument injection vulnerability in open_envvar() (CVE-2017-18266, + boo#1093086) + * xdg-settings: check_browser is broken under kde when just the binary + is specified (BR106343) + * xdg-open: Fixes LXQt behavior + * xdg-mime awk script syntax error (BR104298) + * Spelling fixes (BR103255) + * xdg-mime.1: Add missing period + * Fix tests for 1f8e58d51e6fb3f50f59ed2d8265f2f346ac68e6 + +- Drop fix-kde-browser-check.patch which is already included upstream Old: ---- 0001-Avoid-argument-injection-vulnerability-in-open_envvar.patch fix-kde-browser-check.patch xdg-terminal-fix-gsettings.patch xdg-terminal-fix-terminal--x-arg.patch xdg-utils-20170508.tar.xz New: ---- 0001-Don-t-run-kreadconfig-if-KDE_SESSION_VERSION-is-5.patch xdg-utils-1.1.3+20190413.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xdg-utils.spec ++++++ --- /var/tmp/diff_new_pack.Ij7piQ/_old 2020-02-16 18:26:07.794649192 +0100 +++ /var/tmp/diff_new_pack.Ij7piQ/_new 2020-02-16 18:26:07.798649193 +0100 @@ -1,7 +1,7 @@ # # spec file for package xdg-utils # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,27 +12,23 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: xdg-utils -Version: 20170508 +Version: 1.1.3+20190413 Release: 0 Summary: Utilities to uniformly interface desktop environments License: MIT Group: System/GUI/Other -Url: http://portland.freedesktop.org/ +Url: https://www.freedesktop.org/wiki/Software/xdg-utils/ # http://portland.freedesktop.org/download/xdg-utils-%%{version}.tar.gz Source: xdg-utils-%{version}.tar.xz # PATCH-FEATURE-OPENSUSE install-some-more-scripts.diff [email protected] Patch0: install-some-more-scripts.diff -# PATCH-FIX-UPSTREAM xdg-terminal-fix-gsettings.patch fdo#93231 [email protected] -Patch1: xdg-terminal-fix-gsettings.patch -# PATCH-FIX-UPSTREAM xdg-terminal-fix-terminal--x-arg.patch fdo#93231 [email protected] -- https://bugs.freedesktop.org/show_bug.cgi?id=93231#c5 -Patch3: xdg-terminal-fix-terminal--x-arg.patch -Patch4: fix-kde-browser-check.patch -Patch5: 0001-Avoid-argument-injection-vulnerability-in-open_envvar.patch +# PATCH-FIX-UPSTREAM 0001-Don-t-run-kreadconfig-if-KDE_SESSION_VERSION-is-5.patch +Patch1: 0001-Don-t-run-kreadconfig-if-KDE_SESSION_VERSION-is-5.patch BuildRequires: make # for xmlto to be able to generate text from html BuildRequires: w3m @@ -41,12 +37,7 @@ Requires: perl-Net-DBus Requires: perl-X11-Protocol Requires: which -%if 0%{?suse_version} > 1110 BuildArch: noarch -%else -BuildRequires: xz -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%endif %description The xdg-utils package is a set of simple scripts that provide basic @@ -66,8 +57,7 @@ environment. %prep -%setup -q -%autopatch -p1 +%autosetup -p1 %build %configure @@ -78,7 +68,8 @@ %files %defattr(-,root,root) -%doc ChangeLog LICENSE README TODO +%doc ChangeLog README TODO +%license LICENSE %{_bindir}/xdg-desktop-icon %{_bindir}/xdg-desktop-menu %{_bindir}/xdg-email ++++++ 0001-Don-t-run-kreadconfig-if-KDE_SESSION_VERSION-is-5.patch ++++++ >From e47c61cb3c780cd091038c8b580eca6e10679a11 Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux <[email protected]> Date: Wed, 30 Oct 2019 17:11:08 +0100 Subject: [PATCH] Don't run 'kreadconfig' if KDE_SESSION_VERSION is >= 5. 'kreadconfig' is a KDE4 executable. The program is called 'kreadconfig5' in KDE Frameworks 5.xx. --- scripts/xdg-terminal.in | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/scripts/xdg-terminal.in b/scripts/xdg-terminal.in index 36a9833..05a3c44 100644 --- a/scripts/xdg-terminal.in +++ b/scripts/xdg-terminal.in @@ -30,7 +30,20 @@ _USAGE terminal_kde() { - terminal=`kreadconfig --file kdeglobals --group General --key TerminalApplication --default konsole` + if [ -n "$KDE_SESSION_VERSION" ] && [ "$KDE_SESSION_VERSION" -ge 5 ]; then + local kreadconfig=kreadconfig$KDE_SESSION_VERSION + else + local kreadconfig=kreadconfig + fi + + if which $kreadconfig >/dev/null 2>&1; then + local terminal=$($kreadconfig --file kdeglobals \ + --group General \ + --key TerminalApplication \ + --default konsole) + else + exit_failure_operation_impossible "'$kreadconfig' was not found or is not executable" + fi terminal_exec=`which $terminal 2>/dev/null` -- 2.23.0 ++++++ _service ++++++ --- /var/tmp/diff_new_pack.Ij7piQ/_old 2020-02-16 18:26:07.822649206 +0100 +++ /var/tmp/diff_new_pack.Ij7piQ/_new 2020-02-16 18:26:07.822649206 +0100 @@ -4,7 +4,9 @@ <param name="changesgenerate">enable</param> <param name="scm">git</param> <param name="filename">xdg-utils</param> - <param name="versionformat">%cd</param> + <param name="versionformat">@PARENT_TAG@+%cd</param> + <param name="versionrewrite-pattern">v(.*)</param> + <param name="versionrewrite-replacement">\1</param> </service> <service mode="disabled" name="recompress"> <param name="file">*.tar</param> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.Ij7piQ/_old 2020-02-16 18:26:07.834649213 +0100 +++ /var/tmp/diff_new_pack.Ij7piQ/_new 2020-02-16 18:26:07.834649213 +0100 @@ -1,4 +1,4 @@ <servicedata> <service name="tar_scm"> <param name="url">git://anongit.freedesktop.org/xdg/xdg-utils</param> - <param name="changesrevision">fb9ee8c69932feb716ad4db793a7941dd06b345c</param></service></servicedata> \ No newline at end of file + <param name="changesrevision">0547886c0a7ae79145998495a6e3af6a1450d0c7</param></service></servicedata> \ No newline at end of file
