Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package xdg-utils for openSUSE:Factory checked in at 2021-09-08 21:36:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xdg-utils (Old) and /work/SRC/openSUSE:Factory/.xdg-utils.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xdg-utils" Wed Sep 8 21:36:23 2021 rev:55 rq:917040 version:1.1.3+20201113 Changes: -------- --- /work/SRC/openSUSE:Factory/xdg-utils/xdg-utils.changes 2021-04-29 01:37:04.454465656 +0200 +++ /work/SRC/openSUSE:Factory/.xdg-utils.new.1899/xdg-utils.changes 2021-09-08 21:36:28.729878919 +0200 @@ -1,0 +2,6 @@ +Mon Aug 30 08:54:16 UTC 2021 - jsl...@suse.cz + +- Update to version 1.1.3+20201113: + * Fix xdg-settings support for default-web-browser for Plasma 5.19+ + +------------------------------------------------------------------- Old: ---- xdg-utils-1.1.3+20200220.tar.xz New: ---- xdg-utils-1.1.3+20201113.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xdg-utils.spec ++++++ --- /var/tmp/diff_new_pack.UTnK94/_old 2021-09-08 21:36:29.353879645 +0200 +++ /var/tmp/diff_new_pack.UTnK94/_new 2021-09-08 21:36:29.357879649 +0200 @@ -17,7 +17,7 @@ Name: xdg-utils -Version: 1.1.3+20200220 +Version: 1.1.3+20201113 Release: 0 Summary: Utilities to uniformly interface desktop environments License: MIT ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.UTnK94/_old 2021-09-08 21:36:29.425879729 +0200 +++ /var/tmp/diff_new_pack.UTnK94/_new 2021-09-08 21:36:29.429879733 +0200 @@ -1,4 +1,4 @@ <servicedata> <service name="tar_scm"> <param name="url">git://anongit.freedesktop.org/xdg/xdg-utils</param> - <param name="changesrevision">9816ebb3e6fd9f23e993b8b7fcbd56f92d9c9197</param></service></servicedata> \ No newline at end of file + <param name="changesrevision">d11b33ec7f24cfb1546f6b459611d440013bdc72</param></service></servicedata> \ No newline at end of file ++++++ xdg-utils-1.1.3+20200220.tar.xz -> xdg-utils-1.1.3+20201113.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xdg-utils-1.1.3+20200220/scripts/xdg-settings.in new/xdg-utils-1.1.3+20201113/scripts/xdg-settings.in --- old/xdg-utils-1.1.3+20200220/scripts/xdg-settings.in 2020-02-20 22:01:04.000000000 +0100 +++ new/xdg-utils-1.1.3+20201113/scripts/xdg-settings.in 2020-11-13 10:31:55.000000000 +0100 @@ -130,7 +130,7 @@ fix_local_desktop_file "$1" "$MIME" || return mkdir -p "${XDG_DATA_HOME:-$HOME/.local/share}/applications" xdg-mime default "$1" "$MIME" || return - if [ x"`get_browser_mime`" != x"$1" ]; then + if [ x"`get_browser_mime $MIME`" != x"$1" ]; then # Put back the original value xdg-mime default "$orig" "$MIME" exit_failure_operation_failed @@ -203,7 +203,13 @@ read_kde_browser() { - read_kde_config kdeglobals General BrowserApplication + ret=`read_kde_config kdeglobals General BrowserApplication` + if [ -z "$ret" ]; then + # since Plasma >= 5.19 + ret=`get_browser_mime "x-scheme-handler/http"` + fi + + echo $ret } get_browser_kde() @@ -252,7 +258,13 @@ set_browser_kde() { - set_browser_mime "$1" || return + # Set the default browser. + for protocol in http https; do + set_browser_mime "$1" "x-scheme-handler/$protocol" || return + done + + # Plasma < 5.19 + set_browser_mime "$1" "text/html" || return if [ x"${KDE_SESSION_VERSION}" = x"5" ]; then kwriteconfig5 --file kdeglobals --group General --key BrowserApplication "$1" else