recommendations for install of applications and update of MIME cache
adys.wh at gmail.com
Mon Mar 2 11:24:48 PST 2015
This is something that is handled by the downstream packagers and you
should not worry about it.
On 2 March 2015 at 20:18, Carnë Draug <carandraug+dev at gmail.com> wrote:
> I have an application that as part of its install target (using make),
> installs a desktop entry file with "desktop-file-install". This
> application handles files of specific MIME types (listed on the desktop
> file) and so it uses the "--rebuild-mime-info-cache" option.
> The problem with this is that during uninstall, the file
> "share/applications/mimeinfo.cache" is left behind and distcheck
> complains about it.
> I was wondering if this tool is really to be used as part of the
> installation of the application. Or is it meant for downstream packagers
> with package managers running them after the installation? What is
> the recommendation for applications? Should they leave it up for
> downstream packagers? Expect that users building from source will
> update the mime database themselves? Is there some other cleaner way
> to do this (I saw some changes on other projects where they replace the
> "--rebuild-mime-info-cache" with a separate call to "update-desktop-database",
> but why is that?).
> If it makes any difference, the application I am asking is GNU Octave,
> which has a bug about it .
> Thank you,
>  https://savannah.gnu.org/bugs/?44404
> xdg mailing list
> xdg at lists.freedesktop.org
More information about the xdg