Package: gcu-plugin Version: 0.14.2-1 Severity: important Tags: patch
While making a summary of the supported MIME types of various browser plugins for <URL: http://wiki.debian.org/DebianEdu/BrowserMultimedia >, I discovered a typo in the gcu-plugin package. The output from NPP_GetMIMEDescription() is missing a semicolon between application/x-gchempaint and chemical/x-cdx mime type entries. It is easy to see when filtering the output using sed "s/;/;\n/g", giving you this list: chemical/x-cif:cif:Crystallographic Information File; application/x-gchempaint:gchempaint:2D chemical structureschemical/x-cdx:cdx:ChemDraw binary CDX format; chemical/x-cdxml:cdxml:ChemDraw CDXML format; As you can see, there is no semicolon in front of the ChemDraw binary CDX MIME type. This patch solve the problem: diff -ur gnome-chemistry-utils-0.14.2/mozilla-plugin/moz-plugin.c gnome-chemistry-utils-0.14.2-pere/mozilla-plugin/moz-plugin.c --- gnome-chemistry-utils-0.14.2/mozilla-plugin/moz-plugin.c 2013-03-14 16:27:35.000000000 +0000 +++ gnome-chemistry-utils-0.14.2-pere/mozilla-plugin/moz-plugin.c 2013-07-15 10:32:16.863063355 +0000 @@ -272,7 +272,7 @@ "chemical/x-jcamp-dx:dx,jdx:JCAMP Spectroscopic Data Exchange Format;" "application/x-gcrystal:gcrystal:Crystalline structure model;" "chemical/x-cif:cif:Crystallographic Information File;" - "application/x-gchempaint:gchempaint:2D chemical structures" + "application/x-gchempaint:gchempaint:2D chemical structures;" "chemical/x-cdx:cdx:ChemDraw binary CDX format;" "chemical/x-cdxml:cdxml:ChemDraw CDXML format;"); } -- Happy hacking Petter Reinholdtsen -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

