GNU bug report logs - #29472
[patch 0/4] Add perl-file-mimeinfo and dependencies; add it as an input to xdg-utils

Previous Next

Package: guix-patches;

Reported by: brendan.tildesley <at> openmailbox.org

Date: Mon, 27 Nov 2017 12:52:02 UTC

Severity: normal

Tags: patch

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: tracker <at> debbugs.gnu.org
Subject: bug#29472: closed ([patch 0/4] Add perl-file-mimeinfo and
 dependencies; add it as an input to xdg-utils)
Date: Tue, 28 Nov 2017 09:45:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 28 Nov 2017 10:44:56 +0100
with message-id <87fu8y3ffr.fsf <at> gnu.org>
and subject line Re: [bug#29472] [PATCH 1/4] gnu: Add perl-file-basedir.
has caused the debbugs.gnu.org bug report #29472,
regarding [patch 0/4] Add perl-file-mimeinfo and dependencies; add it as an input to xdg-utils
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
29472: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=29472
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: brendan.tildesley <at> openmailbox.org
To: guix-patches <at> gnu.org
Subject: [patch 0/4] Add perl-file-mimeinfo and dependencies;
 add it as an input to xdg-utils
Date: Mon, 27 Nov 2017 12:50:53 -0000
I was wondering why my pdf documents were getting opened in Gimp by default instead of Evince, so I investigated xdg-open and found it uses mimeopen as a fallback, and packaged it. Turns out it didn't make a difference and the issue was simply that the generated mimedata.cache in xdg-mime-database had Gimp listed before Evince.

I was also I little confused that xdg-mime-database produces so many conflicts with shared-mime-info. It's role appears to be to update the data in shared-mime-data and have it overshadow the original data when  conflicts are resolved during profile generation. Looks ugly seeing all those conflicts though.

I had a look at Fedora's version. They just have a single shared-mime-data package that runs update-mime-database, but also they add a few changes to make Evince open pdf's instead of Gimp, among other changes.

This makes me feel that it's desirable for us to also tweak mimedata to make it more sensible -- Pdf's should open in a pdf reader before it opens in an image editor. It seems unrealistic to only tweak upstream projects to make all this mimedata mesh together perfectly to produce ideal default behaviour.

I rambled on a bit too much... Here are some patches that add perl-file-mimeinfo
[Message part 3 (message/rfc822, inline)]
From: ludo <at> gnu.org (Ludovic Courtès)
To: Brendan Tildesley <brendan.tildesley <at> openmailbox.org>
Cc: 29472-done <at> debbugs.gnu.org
Subject: Re: [bug#29472] [PATCH 1/4] gnu: Add perl-file-basedir.
Date: Tue, 28 Nov 2017 10:44:56 +0100
Hi Brendan,

I applied all 4 patches.  However I took the liberty (1) to add a bit of
@code etc. markup in descriptions, and (2) to move them to
freedesktop.scm so that perl.scm doesn’t pull in all of
freedesktop/gnome.

Thanks!

Ludo’.


This bug report was last modified 7 years and 258 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.