Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package desktop-file-utils for openSUSE:Factory checked in at 2023-04-21 14:15:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/desktop-file-utils (Old) and /work/SRC/openSUSE:Factory/.desktop-file-utils.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "desktop-file-utils" Fri Apr 21 14:15:51 2023 rev:70 rq:1080823 version:0.26 Changes: -------- --- /work/SRC/openSUSE:Factory/desktop-file-utils/desktop-file-utils.changes 2022-06-29 16:01:38.968645961 +0200 +++ /work/SRC/openSUSE:Factory/.desktop-file-utils.new.1533/desktop-file-utils.changes 2023-04-21 14:16:04.522265743 +0200 @@ -1,0 +2,8 @@ +Thu Apr 20 09:04:41 UTC 2023 - Guido Berhoerster <[email protected]> + +- suse-update-mime-defaults: + * add support for MATE desktop + * ensure C locale is set for sorting order + * fix quoting of DESTDIR + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ desktop-file-utils.spec ++++++ --- /var/tmp/diff_new_pack.Oz4o26/_old 2023-04-21 14:16:05.066268793 +0200 +++ /var/tmp/diff_new_pack.Oz4o26/_new 2023-04-21 14:16:05.070268816 +0200 @@ -1,7 +1,7 @@ # # spec file for package desktop-file-utils # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed ++++++ suse-update-mime-defaults ++++++ --- /var/tmp/diff_new_pack.Oz4o26/_old 2023-04-21 14:16:05.178269421 +0200 +++ /var/tmp/diff_new_pack.Oz4o26/_new 2023-04-21 14:16:05.182269444 +0200 @@ -2,7 +2,7 @@ # # suse-update-mime-defaults - create default application ordering for MIME associations # -# Copyright (C) 2012 Guido Berhoerster <[email protected]> +# Copyright (C) 2023 Guido Berhoerster <[email protected]> # # Permission to use, copy, modify, and distribute this software for any # purpose with or without fee is hereby granted, provided that the above @@ -16,28 +16,25 @@ # TORTIOUS ACTION, ARISING OUT OF PERFORMANCE OF THIS SOFTWARE. # -export LC_ALL=C - r= case $1 in -DESTDIR=* ) - r=`echo "$1" | sed s/^DESTDIR=//` - shift - ;; +DESTDIR=*) + r="${1#DESTDIR=}" + ;; esac # reset XDG_DATA_DIRS so it can be trusted unset XDG_DATA_DIRS if [ "${PROFILEREAD}" != "true" ]; then - . $r/etc/profile + . "$r/etc/profile" fi -# ensue the cache directory structure is in order -if [ ! -d $r/var/cache/gio-2.0 ]; then - mkdir -m 755 -p $r/var/cache/gio-2.0 -fi +export LC_ALL=C + +# ensure the cache directory structure is in order +mkdir -m 755 -p "$r/var/cache/gio-2.0" -for desktop in gnome xfce lxde pantheon budgie; do +for desktop in gnome xfce lxde pantheon budgie mate; do awk -vdesktop=${desktop} ' # print a warning to stderr function warn(msg, cmd) { @@ -125,6 +122,8 @@ categories_list = "GTK" } else if (desktop == "budgie") { categories_list = "GTK" + } else if (desktop == "mate") { + categories_list = "MATE,GTK" } split(categories_list, categories, /,/) root = ENVIRON["r"] @@ -256,6 +255,6 @@ printf("%s=%s\n", mimetype, defaults_list[mimetype]) } } -' >$r/var/cache/gio-2.0/${desktop}-mimeapps.list +' >"$r/var/cache/gio-2.0/${desktop}-mimeapps.list" done
