Re: Patch to GraphicsMagick.spec

Bob Friesenhahn <[email protected]> Wed, 21 Jan 2009 12:50:01 -0600 (CST)
Newsgroups gmane.comp.video.graphicsmagick.core
Message-ID <[email protected]>
On Wed, 21 Jan 2009, Nguyen Vu Hung wrote:

> Hi, If we build GM RPM with the spec file provided in GM 
> *1.3.4.src.rpmand disable Magick++ support by commenting out the 
> following line (4th line)

Are you sure that this approach is right?  I am not convinced that 
there is an actual bug with the RPM SPEC file.

It seems that '%files c++-devel' already depends on '%if %{cplus}'. 
It appears that the existing user option 'cplus' should be sufficient 
for blocking use of the C++ shared library and Magick++ headers.

If the cplus option is 0, then --without-magick-plus-plus is added to 
the configure command options, so no C++ code should be compiled.

The user was surprised because the defaults did not work due to no 
usable C++ compiler being installed (quite unusual on a GNU Linux 
system).

Bob
======================================
Bob Friesenhahn
[email protected], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword