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 489662 - CHM support
CHM support
Status: RESOLVED OBSOLETE
Product: tracker
Classification: Core
Component: Supported Formats
git master
Other All
: Normal enhancement
: ---
Assigned To: tracker-extractor
Jamie McCracken
Depends on:
Blocks: 692592
 
 
Reported: 2007-10-24 03:28 UTC by Ben
Modified: 2021-05-26 22:25 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
CHM support (1.49 KB, patch)
2007-10-24 03:30 UTC, Ben
none Details | Review

Description Ben 2007-10-24 03:28:46 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...
Comment 1 Ben 2007-10-24 03:30:00 UTC
Created attachment 97765 [details] [review]
CHM support
Comment 2 Ivan Frade 2008-12-10 12:21:44 UTC
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.
Comment 3 Martyn Russell 2010-03-11 15:21:45 UTC
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 :)
Comment 4 Bastien Nocera 2015-03-13 14:14:17 UTC
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.
Comment 5 Bastien Nocera 2015-03-13 14:16:53 UTC
See also:
http://www.russotto.net/chm/chmformat.html
Comment 6 Sam Thursfield 2021-05-26 22:25:54 UTC
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.