FS#53629 - [notmuch] provides /usr/share/applications/mimeinfo.cache

Attached to Project: Community Packages
Opened by Stefan Husmann (stefanhusmann) - Sunday, 09 April 2017, 21:11 GMT
Last edited by Lukas Fleischer (lfleischer) - Wednesday, 12 April 2017, 04:43 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Lukas Fleischer (lfleischer)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 10
Private No

Details

Description: According to https://wiki.archlinux.org/index.php/default_applications not package should own a file named /usr/share/applications/mimeinfo.cache, but the "notmuch" package does so.

Additional info:
* package version(s): 0.24.1
* config and/or log files etc. :


Steps to reproduce: Download the package and run
tar tf notmuch-0.24.1-1-x86_64.pkg.tar.xz|grep mimeinfo

Output is usr/share/applications/mimeinfo.cache
This task depends upon

Closed by  Lukas Fleischer (lfleischer)
Wednesday, 12 April 2017, 04:43 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 0.24.1-2.
Comment by Moabit (Moabit) - Sunday, 09 April 2017, 22:11 GMT
On my system this conflicts with an already-existing file that contains 623 lines. In comparison, the file provided by notmuch contains only the following two lines.

[MIME Cache]
x-scheme-handler/mailto=notmuch-emacs-mua.desktop;
Comment by George Rawlinson (rawlinsong) - Monday, 10 April 2017, 01:29 GMT
I'm also encountering this bug when updating notmuch (and notmuch-runtime) from 0.23.5 to 0.24.1.
Comment by Stefan Husmann (stefanhusmann) - Monday, 10 April 2017, 02:55 GMT
I added a rm to the PKGBUILD and could build the packages using that PKGBUILD in a clean chroot.

Two other problems:
- notmuch-vim and notmuch-mutt should be arch=('any')
- byte compilation does not work together with upcoming emacs 26 (upstream isue). with the emacs from the repos all is fine.
   PKGBUILD (3.3 KiB)
Comment by Stefan Husmann (stefanhusmann) - Monday, 10 April 2017, 06:21 GMT
sorry, double post
   PKGBUILD (3.3 KiB)
Comment by Jakub Klinkovský (lahwaacz) - Monday, 10 April 2017, 22:29 GMT
It doesn't matter what the mimeinfo.cache file in the notmuch package actually contains, it will be rebuilt right after installation with the update-desktop-database pacman hook. That is assuming you have the desktop-file-utils package installed as notmuch does not explicitly depend on it...
Comment by Moabit (Moabit) - Monday, 10 April 2017, 22:33 GMT
Ah good point. However, there's still the problem of the conflicting file in the first place.

Loading...