Bug#1016607: xdg-utils: KDE detection is obsolete / buggy

Vincent Lefevre vincent at vinc17.net
Wed Aug 3 23:40:55 BST 2022


Package: xdg-utils
Version: 1.1.3-4.1
Severity: normal

I've noticed the following code in xdg-open:

    version=`LC_ALL=C.UTF-8 kde-config --version 2>/dev/null | grep '^KDE'`

However, kde-config no longer seems to exist, even since stretch:

  https://lists.debian.org/debian-user/2022/08/msg00075.html

Moreover, I doubt that this code ever worked correctly since
$LANGUAGE has the precedence over $LC_ALL when set to C.UTF-8:

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=719590
  https://sourceware.org/bugzilla/show_bug.cgi?id=16621

This code should be updated or removed.

But in the source package, all kde-config occurrences should be
considered.

-- Package-specific info:
Desktop environment: XDG_CURRENT_DESKTOP=

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'stable-security'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.18.0-3-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=POSIX, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

xdg-utils depends on no packages.

Versions of packages xdg-utils recommends:
ii  libfile-mimeinfo-perl  0.33-1
ii  libnet-dbus-perl       1.2.0-1+b2
ii  libx11-protocol-perl   0.56-8
ii  x11-utils              7.7+5
ii  x11-xserver-utils      7.7+9

xdg-utils suggests no packages.

-- no debconf information

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



More information about the Pkg-freedesktop-maintainers mailing list