Your message dated Mon, 31 Mar 2014 22:25:18 +0200
with message-id <[email protected]>
and subject line Re: Bug#690344: Patch for libfile-mimeinfo-perl
has caused the Debian Bug report #690334,
regarding libfile-mimeinfo-perl: Fail to match a mimetype with regexp character 
in its name
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
690334: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=690334
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libfile-mimeinfo-perl
Version: 0.16-1
Severity: important

Dear Maintainer,
Trying mimeopen somefile.svg (associated to the mimetype image/svg+xml), I did 
not succeed in having the association to my default svg editor done.
My XDG_DATA_DIRS points to a directory with a applications/mimeinfo.cache file 
in with the following content:

[MIME Cache]
image/svg+xml=mirage.desktop;

Debugging the mimeinfo call with perl -d, I found out that when parsing the 
mimeinfo lines to get the association mime -> desktop file, it uses the
following regexp /^$mimetype=(.*)$/ with mimetype=image/svg+xml.
This does not match the line image/svg+xml=mirage.desktop;, I guess because the 
+ is interpreted like the regexp special character.

The expecation with such use case would be to find the match and return the 
associated mirage.desktop entry.

The problematic line is at line 123 of the 
/usr/share/perl5/File/MimeInfo/Applications.pm file (line 5 of the _read_list 
subroutine).

-- System Information:
Debian Release: wheezy/sid
  APT prefers stable
  APT policy: (650, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to fr_FR.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libfile-mimeinfo-perl depends on:
ii  libfile-basedir-perl          0.03-1     Perl module to use the freedesktop
ii  libfile-desktopentry-perl     0.04-3     Perl module to handle freedesktop 
ii  perl                          5.14.2-13  Larry Wall's Practical Extraction 
ii  shared-mime-info              1.0-1+b1   FreeDesktop.org shared MIME databa

libfile-mimeinfo-perl recommends no packages.

libfile-mimeinfo-perl suggests no packages.

-- no debconf information

Attachment: pgptDhTaWBdPC.pgp
Description: PGP signature


--- End Message ---
--- Begin Message ---
Version: 0.22-2

On Mon, 31 Mar 2014 21:31:18 +0200, gregor herrmann wrote:

> > tags 690334 + patch
> > kthxbye
> 
> The tag looks better than the bug# in the To :)
> 
> I guess this doesn't affect 6903_4_4, or does it?

And closing the right bug now ...


Cheers,
gregor


-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Andrew Lloyd Webber & Tim Rice: Could We Start Again Please

Attachment: signature.asc
Description: Digital Signature


--- End Message ---

Reply via email to