GNOME Bugzilla – Bug 489662
CHM support
Last modified: 2021-05-26 22:25:54 UTC
I've written a simple patch to add support for the CHM file format (proprietary Microsoft junk used for help files and ebooks). It requires the `extract_chmLib` utility from 'chmlib` (http://www.jedrea.com/chmlib/). The obvious bug is that the path to the HTML filter is hardcoded, thus will break if the user installs with a different prefix. Presumably this just requires a Makefile patch, but my make-fu is weak...
Created attachment 97765 [details] [review] CHM support
The patch is obsolete and the filter uses a hardcoded path as Ben explained. Marking patch as obsolete and renaming the bug to CHM support.
Can the reporter of this bug set the _version_ so we can target bugs to work on more easily please. We can also have an idea about if these bugs are likely to be obsolete too. If you don't set the version, we are less likely to look at them. Sorry for the spam, but I don't want to say this 88 times on each bug :)
As a first pass, it might be easiest to copy/paste the 2 C files required from chmlib, but longer-term rewriting it using modern technologies would be better. https://git.gnome.org/browse/gcab supports the same compression that's used in the CHM files.
See also: http://www.russotto.net/chm/chmformat.html
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new enhancement request ticket at https://gitlab.gnome.org/GNOME/tracker/-/issues/ Thank you for your understanding and your help.