Choose a template
Monday, May 26. 2008
Posted by Neil Williams in Debian
Defined tags for this entry: Debian
As well as choosing a licence, various other non-code or pseudo-code tasks are needed in all upstream projects and I have been working on some of these in my upstream project, estron.
Other tasks already covered:
I have actually been doing some code too - in QOF due to a bug identified by testing and developing estron and in estron itself to bring 64bit time handling to estron and prevent time overflows in 2038 should you use estron on 32bit machines.
Display comments as (Linear | Threaded)
The mime stuff you added is related to the mailcap system (used by e.g. mutt) and the very old GNOME 1 .applications system. What you probably want is support for the shared-mime-info database. You need a debian/foo.sharedmimeinfo (dh_installmime) file with the description of the MIME type following the shared-mime-info db format. And you want a .desktop file (dh_desktop) in /usr/share/applications following the freedesktop.org .desktop standard.
Here  is a collection of links, that can help. If you need further help, you can also mail me in private.
Thanks, Daniel - very handy - and thanks for taking the time to look at the changes in SVN. I do have a sharedmimeinfo file and a suitable desktop file but I'm probably not putting them in the right places. I'll dump the rest of the stuff from estron as well as existing projects like deb-gview and quicklist.
Sorry, I did not expect it to be in glade
Please check, what gnomevfs-info (with and without the -s option) thinks about a sample .estron file. A similar program is available for KDE (kmimetypefinder IIRC). It could be possible, that text/xml is not the correct top-class. Maybe you have to change it to be application/xml. But I'm not sure, if it makes a difference (never tested it).
The .desktop files misses a semicolon after the MIME type (mandatory). Icons are normally given without a path and without the extension.
Think I've fixed it now, thanks. Probably just a mismatch between an XPM file in the .desktop file and .PNG in the mime xml.