GNOME Bugzilla – Bug 151845
.desktop file clean-up + MIME upgrade to fd.o std + general clean-up
Last modified: 2017-12-22 12:50:29 UTC
Distribution: Gentoo Base System version 1.5.3 Package: conglomerate Severity: normal Version: GNOME2.6.2 unspecified Gnome-Distributor: Gentoo Linux Synopsis: .desktop file clean-up + MimeType addition (for gnome 2.8) Bugzilla-Product: conglomerate Bugzilla-Component: general Bugzilla-Version: unspecified Description: Description of Problem: missing "Encoding" key use of deprecated booleans (0 instead of false) for 'Terminal' key no MimeType directive (for association between xml files and conglomerate under gnome 2.8) Steps to reproduce the problem: 1. install conglomerate 0.7.14 2. look at shared-mime-data+desktop file specs on fd.o 3. Actual Results: non compliant .desktop file lacks new MIME association support Expected Results: full featured .desktop file How often does this happen? everytime Additional Information: happy desktop-file-utils 0.7 on fd.o to check all .desktop files in a full distribution ------- Bug moved to this database by unknown@bugzilla.gnome.org 2004-09-04 14:10 ------- Unknown platform unknown. Setting to default platform "Other". Unknown milestone "unknown" in product "conglomerate". Setting to default milestone for this product, '---' Setting to default status "UNCONFIRMED". Setting qa contact to the default for this product. This bug either had no qa contact or an invalid one.
Created attachment 31260 [details] [review] patch for data/conglomerate.desktop.in looks like this file has not been updated for more than a year, so it should apply to CVS cleanly (diff against 0.7.14)
Created attachment 31261 [details] [review] new version that adds text/x-dtd and text/x-xds to the list of supported mime types this patch add the MIME bindings the gnome 2.8 way like patch in bug #108400 did it for the old system as a side note, someone has to register text/x-xds MIME type to the fd.o shared mime database (0.15 has no reference to this type)
Asked the developers mailinglist about compatibility and fd.o ( http://lists.copyleft.no/pipermail/conglomerate-devel/2004-September/003176.html )
fd.o is freedesktop.org - project to unify desktops under linux. It's specifications and software could be found in http:/www.freedesktop.org. Especially we are interested in mime-info standart http://freedesktop.org/Standards/shared-mime-info-spec To add suport for xds we should install file with such content: <?xml version="1.0" encoding="UTF-8"?> <mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info"> <mime-type type="text/x-xds"> <comment xml:lang="en">Display Specification of Conglomerate XML Editor </comment> <glob pattern="*.xds"/> </mime-type> </mime-info> With automake files like this: if ENABLE_XDGMIME # need to respect $XDG_DATA_DIR probably xdgmimedir = $(gnome_data)/mime/packages xdgmime_DATA = monodevelop.xml install-data-hook: update-mime-database $(gnome_data)/mime uninstall-hook: update-mime-database $(gnome_data)/mime else install-data-hook: uninstall-hook: Also it is possible to ask freedesktop.org to add this mime-type to common database, but I think that it is not needed, the x-xds is conglomerate-oriented file. mimeinfodir = $(gnome_data)/mime-info mimeinfo_DATA = monodevelop.mime monodevelop.keys applicationdir = $(gnome_data)/application-registry application_DATA = monodevelop.applications endif and add check for XDG_MIME in configure.in: AC_PATH_PROG(XDGMIME, update-mime-database, no)
i agree with comment #4, as this latest mime type is conglomerate specific, it would be better in a separate conglomerate specific file freedesktop.xml file should mainly contain types that could be opened by many apps (like text/plain, avi/wav files, text/xml, text/css) and types that are defacto standards.
Patch applied. The hints from comment #4 will be processed another time
Created attachment 31411 [details] [review] conglomerate-mime.patch Attaching another patch for incorrect syntax (and probably typo in extension) of MIME (and not opening new bug). Related to: http://freedesktop.org/bugzilla/show_bug.cgi?id=1304
*** Bug 108400 has been marked as a duplicate of this bug. ***
Changing status from ASSIGNED to NEW as it has been assigned for 3 years without news.
I'm actually making a clean patch from scratch that would : remove legacy .mime, .keys, .application files add fd.o shared-mime .xml file do any other needed clean-up expect it in a few days
Created attachment 96424 [details] [review] Fixes MIME system, .desktop file specs compliance, ... Also check for more things in configure.in
Conglomerate is not under active development anymore. It is currently unlikely that there will be any further Conglomerate development. Closing this report as WONTFIX as part of Bugzilla Housekeeping (bug 685689) to reflect reality. Please feel free to reopen this bug report in the future if anyone takes the responsibility for active development again.