On Sat, Oct 02, 2004, F. Even wrote:

> Is there any possibility of getting a version of the package that does
> not require X, or is there a way to pass the source RPM options to
> remove the X dependency and get it to compile with the flag not requiring X.
>
> I grabbed the source and tried to install it, but it doesn't appear to
> see a good portion of the stuff installed in my /cw hierarchy so it's
> not working right.  But it did install after passing the "without-x" flag:
>
>   * --without-x: By default, ImageMagick will use X11 libraries if
>     they are available. When --without-x is specified, use of X11 is
>     disabled. The display, animate, and import programs are not built or
>     installed. The remaining programs have reduced functionality such as no
>     access to X11 fonts (consider using Postscript or TrueType fonts
> instead).

You always have to check the package options:

| $ openpkg rpm -qpi /v/openpkg/SRC/imagemagick-6.1.0.1-20041002.src.rpm
| Name:     imagemagick               Source RPM:   (none)
| Version:  6.1.0.1                   Signature:    
md5:7126eba9cd74a5a049b2461c86db06af
| Release:  20041002                  Build Host:   dv1.dev.de.cw.net
| Group:    Graphics                  Build System: ix86-freebsd4.10
| Class:    BASE                      Build Time:   Sat Oct  2 19:09:23 2004
| Distrib:  OpenPKG                   Install Time: (not installed)
| License:  GPL                       Install Size: 5522009 bytes
| Packager: The OpenPKG Project       Relocations:  (not relocateable)
| Vendor:   John Cristy
| Summary:  Graphic Image Conversion Tool
| URL:      http://www.imagemagick.org/
| Description:
|     ImageMagick is a robust collection of tools and libraries to read,
|     write, and manipulate an image in many image formats (over 68 major
|     formats) including popular formats like TIFF, JPEG, PNG, PDF, Photo
|     CD, and GIF. With ImageMagick you can create images dynamically,
|     making it suitable for Web applications. You can also resize,
|     rotate, sharpen, color reduce, or add special effects to an image
|     and save your completed work in the same or differing image format.
|     Image processing operations are available from the command line, as
|     well as through C, C++, and PERL-based programming interfaces.
| Provides:
|     imagemagick::with_perl = no
|     imagemagick::with_x11 = yes

As you can see, it has a "with_x11" option which by default is set to
"yes". If you build the package with "openpkg rpm --rebuild --without
x11 ..." this option will be set to "no" and you no longer have any
dependencies to X11.
                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [EMAIL PROTECTED]

Reply via email to