generic mimetypes on windows
Christian Ehrlicher
Ch.Ehrlicher at gmx.de
Fri Apr 20 05:51:33 BST 2007
Pino Toscano schrieb:
> Alle 21:24, giovedì 19 aprile 2007, Christian Ehrlicher ha scritto:
>> Anyone knows how we can create the 'default' mimetypes like text/plain
>> on windows? kde.xml only creates the kde specific ones and I can't find
>> a generic.xml somewhere...
>
> I think you misunderstood something about the freedesktop.org MIME system: the
> common archive with the most common MIME types (and the main MIME type
> utility) is available under the name of shared-mime-info[1]. You need to have
> that, since 6 weeks or so (otherwise you would not even start compiling
> kdelibs).
> You need also to point to the XDG data directory with the mime stuff using the
> XDG_DATA_DIRS envvar. On Unix it could be eg:
> XDG_DATA_DIRS=$KDEDIR/share:${shared-mime-info-prefix}/share:$XDG_DATA_DIRS
> On Windows, try to make sure ${shared-mime-info-prefix}/share is in it.
> Then run kbuildsycoca4.
>
> [1] http://freedesktop.org/wiki/Software/shared-mime-info
Thx, as Andreas Pakulat pointed out, I forgot to install
freedesktop.org.xml. It was a pain compiling update-mime-database on
windows so I did not notice this file once the executable linked fine ;)
Thx,
Christian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070420/0a74990d/attachment.sig>
More information about the kde-core-devel
mailing list