Bug#367241: kdelibs-data: Patterns to match file extensions in .desktop files should match both lower and upper case
Package: kdelibs-data
Version: 4:3.5.2-2
Severity: normal
When you execute the command
grep -E "=\*\...." `dpkg --listfiles kdelibs-data | grep mimelnk`
you'll see that some .desktop-files define file name patterns to match
both upper case and lower case extensions while others only contain a
pattern to match lower case extensions. This seems to be completely
arbitrary. E.g. the pattern in x-python.desktop is *.py while the
pattern in x-ruby.desktop is *.rb;*.RB;*.ruby;*.RUBY.
I think this should be unified so all Patterns also match the upper
case form of the listed extensions. Files created on a Windows system
often have an upper case extension. With the current situation such
files are not associated with the appropriate programs in many
cases. Furthermore I think there is no rease to consider the file
program.py to be a Phython program and program.PY not to.
Cheers, Stefan Borggraefe!
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (9, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.16-1-k7
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)
Versions of packages kdelibs-data depends on:
ii hicolor-icon-theme 0.8-3 default fallback theme for FreeDes
kdelibs-data recommends no packages.
-- no debconf information
Reply to: