xdgmime (CVS, portability)
j.g.karssenberg at student.utwente.nl
j.g.karssenberg at student.utwente.nl
Sun Sep 23 11:54:19 PDT 2007
Hi,
Maybe xdg is not the native way to do things on win32, still there are
cases where it might be usefull to port. My perl implementation
of the mimeinfo and desktop entry systems runs on win32 and I actually
use this in one of my apps. This app is a gtk app that also runs on windows.
In the app I want to be able to generate "open with" menus for external files.
At the moment I don't ship mimeinfo database with it, but I consider doing so
in the future. But the framework works and allows users to put in the filetypes
they care about. Main reason for using xdg code and not porting my app to
native win32 apis is that I don't want to spent time on porting stuff
to win32 apis. I figure that if more gtk (or qt) apps on win32 use xdg
they can at least share info with each other.
Regards,
Jaap <pardus at cpan.org>
-----Original Message-----
From: xdg-bounces at lists.freedesktop.org on behalf of Thiago Macieira
Sent: Sun 9/23/2007 5:21 PM
To: xdg at lists.freedesktop.org
Subject: Re: xdgmime (CVS, portability)
Klemens Friedl wrote:
>How portable is xdgmime? Has some tried to build xdgmime on Win32
>(mingw Win32 or VS 6, 7, 8)?
Why would you want to do that?
The File Association system on Windows is completely different and has
nothing to do with MIME types (I think, I don't really care). Therefore,
it doesn't have a MIME database as XDG expects it to. Even if you ship
the default DB from XDG with your application, newly installed programs
will not update it.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
More information about the xdg
mailing list