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 166671 - XML file wrong determined to be a Makefile
XML file wrong determined to be a Makefile
Status: RESOLVED NOTGNOME
Product: gnome-vfs
Classification: Deprecated
Component: MIME data
cvs (head)
Other All
: Normal normal
: ---
Assigned To: gnome-vfs maintainers
gnome-vfs maintainers
Depends on:
Blocks:
 
 
Reported: 2005-02-08 14:19 UTC by Nicolas Trangez
Modified: 2005-05-10 09:50 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10



Description Nicolas Trangez 2005-02-08 14:19:46 UTC
Distribution/Version: Gentoo

I got a Docbook XML file on the subject of makefiles, called
makefile-autotools.dbk. I found out (by trying to open it with Yelp) GnomeVFS
seems to determine the MIME type of the file wrongly ("file" works fine). The
file is tagged as text/x-makefile. If I rename it to makefile-autotools.xml, it
is tagged as text/xml, which is correct. Also if I rename it to
writing-makefiles-autotools.dbk, GnomeVFS figures out its a text/xml file.
I suspect (just suspect, didnt check) GnomeVFS tags all files starting with
"makefile" or something as text/x-make?

The file that was tagged wrongly is here:
http://code.eikke.com/index.php?dir=misc/&file=makefile-autotools.dbk
Comment 1 Christian Neumair 2005-05-10 09:50:19 UTC
Thanks for your bug report! GNOME-VFS gets its MIME information from
shared-mime-info [1], which is not a GNOME project. I've files a bug report [2]
against it.

[1] http://freedesktop.org/Software/shared-mime-info
[2] https://bugs.freedesktop.org/show_bug.cgi?id=3256