Commit c758b4f8 authored by Bastien Nocera's avatar Bastien Nocera
Browse files

2006-08-25 Bastien Nocera <hadess@hadess.net>

	* Makefile.am: add "check" to the default target when compiling from
	CVS
	* freedesktop.org.xml.in: Change application/x-jar to the SUN-
	recommended application/x-java-archive, add an alias for the former,
	Add better conditional magic to tell zip files and .jars apart,
	Thanks to Joseph Kowalski <jek3@eng.sun.com> for his detailed report
	(Closes: #7852)
parent c897364f
2006-08-25 Bastien Nocera <hadess@hadess.net>
* Makefile.am: add "check" to the default target when compiling from
CVS
* freedesktop.org.xml.in: Change application/x-jar to the SUN-
recommended application/x-java-archive, add an alias for the former,
Add better conditional magic to tell zip files and .jars apart,
Thanks to Joseph Kowalski <jek3@eng.sun.com> for his detailed report
(Closes: #7852)
2006-08-25 Bastien Nocera <hadess@hadess.net>
* freedesktop.org.xml.in: Patch from Wouter Bolsterlee
......
......@@ -56,6 +56,10 @@ uninstall-hook:
rm -f "$(DESTDIR)${mimedir}/subclasses"
rm -f "$(DESTDIR)${mimedir}/XMLnamespaces"
all: check
check:
xmllint --noout --valid $(srcdir)/freedesktop.org.xml
if [ -d CVS/ ]; then \
xmllint --noout --valid $(srcdir)/freedesktop.org.xml; \
fi
......@@ -1067,9 +1067,15 @@ command to generate the output files.
<match type="string" value="S T O P" offset="0"/>
</magic>
</mime-type>
<mime-type type="application/x-jar">
<mime-type type="application/x-java-archive">
<_comment>Java archive</_comment>
<alias type="application/x-jar"/>
<glob pattern="*.jar"/>
<magic priority="85">
<match type="string" value="PK\003\004" offset="0">
<match type="host16" value="0xcafe" offset="40" />
</match>
</magic>
</mime-type>
<mime-type type="application/x-java">
<_comment>Java class</_comment>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment