Bug 437151 - Missing utilities due to chmlib configure pb
Summary: Missing utilities due to chmlib configure pb
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: chmlib
Version: 8
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Peter Lemenkov
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-03-12 17:15 UTC by Thierry Lelegard
Modified: 2008-05-10 13:56 UTC (History)
1 user (show)

Fixed In Version: 0.39-7.fc7
Clone Of:
Environment:
Last Closed: 2008-05-10 13:56:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Patch to chmlib.spec (418 bytes, patch)
2008-03-12 17:15 UTC, Thierry Lelegard
no flags Details | Diff

Description Thierry Lelegard 2008-03-12 17:15:32 UTC
This enhancement request relates to package chmlib-0.39-5.fc8

Context
-------
The package chmlib, as delivered with Fedora, does not contain a few
utilities which are present on other distributions. These chmlib utilities
are used by other utilities like chm2pdf (not yet included in Fedora).

The most commonly used missing tool is extract_chmLib.

As a result, software like chm2pdf are reported as broken on Fedora
(while OK on Debian or Ubuntu).

Solution
--------
The solution is quite simple: run chmlib's configure with
option --enable-examples

This option generates the following additional utilities, to be included
in chmlib package:

/usr/bin/chm_http
/usr/bin/enum_chmLib
/usr/bin/enumdir_chmLib
/usr/bin/extract_chmLib
/usr/bin/test_chmLib

Patch
-----
The attached patch against chmlib.spec includes the missing utilities:
- add option --enable-examples in configure
- add generated files from /usr/bin in package

Comment 1 Thierry Lelegard 2008-03-12 17:15:32 UTC
Created attachment 297807 [details]
Patch to chmlib.spec

Comment 2 Patrice Dumas 2008-03-18 13:16:42 UTC
looks good to me.

I'd prefer to have chm_http in a separate package, together with
one of the enum since both do the same.

I contacted the debian packager to ask him to avoid patching the 
sources such that it is easier to use his patch.

Comment 3 Peter Lemenkov 2008-03-18 13:29:04 UTC
Agree - we need to recompile it woth utilities support. Unfortunately my access
to Fedora's buildsystem is limited now so I can't do it by myself in the nearest
future.

Patrice, could you, please, fix spec-files and rebuild chmlib?

Comment 4 Fedora Update System 2008-03-29 12:37:43 UTC
chmlib-0.39-7.fc7 has been submitted as an update for Fedora 7

Comment 5 Fedora Update System 2008-03-29 12:39:08 UTC
chmlib-0.39-7.fc8 has been submitted as an update for Fedora 8

Comment 6 Fedora Update System 2008-04-01 21:36:13 UTC
chmlib-0.39-7.fc7 has been pushed to the Fedora 7 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update chmlib'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F7/FEDORA-2008-2858

Comment 7 Fedora Update System 2008-05-10 13:56:33 UTC
chmlib-0.39-7.fc7 has been pushed to the Fedora 7 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.