[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: How to process/update "Mimetype=" entries in .desktop files on install?
From: "Friedrich W. H. Kossebau" <kossebau () kde ! org>
Date: 2012-10-21 16:15:49
Message-ID: 22897267.4otDrPS39k () klux ! site
[Download RAW message or body]
Hi,
(follow-ups please only to kde-devel)
I am looking for a way to deal with the issue that the list of supported
mimetypes for some programs depends on the installed i/o plugins. E,g, Marble
and most Calligra programs have this problem.
Simply hardcoding all possibly supported mimetypes only leaves bad
impressions if a program is started for a file after e.g. a click on the file
in the file manager, but then gives an error message after starting that it
cannot read the file.
It is not only about the i/o plugins created at build time. But some
distributions also tend to put single i/o plugins in different packages, so
just updating the "Mimetype=" entry in the .desktop file on build-time (by
generating another .desktop file) before it is installed will not work for
these.
So how can this problem be solved?
Is it possible to update the installed desktop file of a programs on install
of another package, like another input plugin?
How would this need to be noted in our sources, so it would happen
automatically, or that packagers know they have to add something to the post-
install part of the input plugin package?
Cheers
Friedrich
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic