Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 69840 - imagemagick never uses graphviz USE flag
Summary: imagemagick never uses graphviz USE flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Karol Wojtaszek (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-02 07:27 UTC by Bernd Waibel
Modified: 2004-11-06 03:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernd Waibel 2004-11-02 07:27:48 UTC
imagemagick-6.1.0.1 contains the graphviz USE flag, but actually never uses it.

in the src_compile function there's a line:

           use graphviz || myconf="${myconf} --without-dot"

meaning, that if graphviz is not in USE, it will disabled. Later on in this
function, econf will be called with an explicit --without-dot, so there will
be no graphviz functionality within imagemagick at all:

           econf \
                --enable-shared \
                --enable-lzw \
                --with-fpx \
                --without-hdf \
                --with-threads \
                --with-bzlib \
                --without-dot \
                ^^^^^^^^^
                --with-modules \
                ${myconf} || die


Is there a reason for having graphviz disabled?


Reproducible: Always
Steps to Reproduce:
1. emerge -u imagemagick
2. 
3.

Actual Results:  
imagemagick will never have any graphviz support, whether the graphviz USE flag
is set or not.

Expected Results:  
imagemagick should have graphviz support if the USE flag is set, else it should
have no graphviz support.

gwenhwyfar imagemagick # emerge info
Portage 2.0.51-r2 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.9-gentoo-r1 i686)
=================================================================
System uname: 2.6.9-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -fforce-addr -mfpmath=sse -mmmx -msse -msse2 -Wall"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -fforce-addr -mfpmath=sse -mmmx -msse -msse2 -Wall"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache collision-protect distlocks fixpackages
nostrip sandbox userpriv usersandbox"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo
ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://ftp.gentoo.mesh-solutions.com/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/mnt/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aalib accessibility acl acpi aim alsa apache2 arts audiofile avi bcmath
berkdb bindist bitmap-fonts bonobo bzlib caps cdr cjk crypt cscope ctype cups
curl curlwrappers dbase dbx dedicated dga directfb divx4linux doc dvd dvdr emacs
encode esd ethereal evo exif f77 fam fbcon fdftk fftw flac flash foomaticdb ftp
gb gd gdbm ggi gif ginac gmp gnome gnutls gpm gps gstreamer gtk gtk2 gtkhtml
guile iconv icq imagemagick imlib jabber jack java jikes joystick jpeg junit kde
ladcca lcms libgda libwww mad maildir mcal mhash mikmod mime ming mmap mmx mng
motif mozilla mpeg mpi msn mysql nas ncurses netcdf nls nptl odbc offensive
oggvorbis openal opengl oscar oss pam pcntl pcre pdflib perl pic pie plotutils
png posix ppds python qhull qt quicktime readline samba sdl session shared slang
slp soap sockets speex spell sqlite sse ssl svg svga sysvipc tcltk tcpd tetex
theora threads tiff truetype unicode usb videos wddx wmf wxwindows x86 xine xml2
xmlrpc xmms xosd xpm xsl xv xvid yahoo zlib"
Comment 1 Karol Wojtaszek (RETIRED) gentoo-dev 2004-11-06 03:29:51 UTC
Fixed in 6.1.3.4