After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 151845 - .desktop file clean-up + MIME upgrade to fd.o std + general clean-up
.desktop file clean-up + MIME upgrade to fd.o std + general clean-up
Status: RESOLVED WONTFIX
Product: conglomerate
Classification: Other
Component: general
CVS
Other All
: Normal normal
: ---
Assigned To: conglomerate list
conglomerate list
gnome[unmaintained]
: 108400 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-09-04 18:10 UTC by Stephane Loeuillet
Modified: 2017-12-22 12:50 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch for data/conglomerate.desktop.in (601 bytes, patch)
2004-09-04 18:13 UTC, Stephane Loeuillet
none Details | Review
new version that adds text/x-dtd and text/x-xds to the list of supported mime types (623 bytes, patch)
2004-09-04 18:29 UTC, Stephane Loeuillet
committed Details | Review
conglomerate-mime.patch (1.24 KB, patch)
2004-09-08 11:48 UTC, Stanislav Brabec
none Details | Review
Fixes MIME system, .desktop file specs compliance, ... (11.28 KB, patch)
2007-09-30 16:35 UTC, Stephane Loeuillet
none Details | Review

Description Stephane Loeuillet 2004-09-04 18:10:33 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.

Comment 1 Stephane Loeuillet 2004-09-04 18:13:02 UTC
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)
Comment 2 Stephane Loeuillet 2004-09-04 18:29:35 UTC
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)
Comment 3 Geert Stappers 2004-09-05 08:35:28 UTC
Asked the developers mailinglist about compatibility and fd.o
( http://lists.copyleft.no/pipermail/conglomerate-devel/2004-September/003176.html )
Comment 4 Nickolay V. Shmyrev 2004-09-05 09:25:43 UTC
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)
Comment 5 Stephane Loeuillet 2004-09-06 13:22:12 UTC
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.
Comment 6 Geert Stappers 2004-09-07 21:38:03 UTC
Patch applied.

The hints from comment #4 will be processed another time
Comment 7 Stanislav Brabec 2004-09-08 11:48:25 UTC
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
Comment 8 André Klapper 2006-09-29 15:54:30 UTC
*** Bug 108400 has been marked as a duplicate of this bug. ***
Comment 9 Stephane Loeuillet 2007-09-30 14:46:01 UTC
Changing status from ASSIGNED to NEW as it has been assigned for 3 years without news.
Comment 10 Stephane Loeuillet 2007-09-30 15:58:40 UTC
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
Comment 11 Stephane Loeuillet 2007-09-30 16:35:23 UTC
Created attachment 96424 [details] [review]
Fixes MIME system, .desktop file specs compliance, ...

Also check for more things in configure.in
Comment 12 André Klapper 2017-12-22 12:50:29 UTC
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.