Portage 2.1.1_pre1-r5 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo i686) ================================================================= System uname: 2.6.17-gentoo i686 AMD Athlon(tm) XP 1900+ Gentoo Base System version 1.12.1 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: [Not Present] sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -mtune=athlon-xp -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/mail/dspam /var/run/dspam" CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -march=athlon-xp -mtune=athlon-xp -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sfperms strict" GENTOO_MIRRORS="ftp://mirrors.tds.net/gentoo http://mirror.datapipe.net/gentoo http://mirrors.tds.net/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="x86 acl acpi aim alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts bzip2 cdr chroot cli crypt cups curl dba dga directfb divx4linux dri dv dvb dvd dvdr eds emacs emboss encode esd expat fastcgi fbcon fftw flac flash foomaticdb fortran freetds freetype gcj gd gdbm geoip ggi gif glut gmp gpm gstreamer gtk2 icq idn imagemagick imap imlib imlib2 innodb isdnlog jabber jpeg ldap libclamav libg++ libwww lua mad maildir maildrop mailwrapper mbox md5sum mdb mikmod mmx mng mono mp3 mpeg mpeg4 msn mssql mysql ncurses nls nptl oav odbc ogg oscar oss pam pcre pdflib perl php plotutils png postgis postgres pppd procmail psyco python quicktime readline reflection samba sasl scanner sdl session speex spell spl sqlite sse ssl svg tcpd theora tiff transcode truetype truetype-fonts type1-fonts udev usb v4l v4l2 vda vhosts virus-scan vorbis xml xmms xorg xv yahoo zeo zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS --- http://lists.freedesktop.org/archives/cairo/2006-June/007059.html > Does the cairo-1.1.6 pdf backend require gtk+? No. > Is gtk+ necessary? Anything other than poppler, poppler-bindings and > pango? Thanks. None of gtk+, poppler, poppler-bindings, nor pango are needed for cairo's PDF backend. So it would appear there's a packaging bug there. The reason this false circular dependency appears is because the _tests_ for cairo's PDF backend do require poppler. But it's not essential to build or run the tests to build cairo with its PDF backend. If cairo's configure machinery isn't broken, then it will automatically detect the absence of poppler and not enable the PDF tests if it's not available, (though it should still enable the PDF backend). - Carl Worth --- pdf? ( >=app-text/poppler-bindings-0.4.1 x11-libs/pango >=x11-libs/gtk+-2 ) svg? ( dev-libs/libxml2 ) --- When emerging cairo with the 'pdf' use variable on a server (e.g. no X), the cairo ebuild(s) pull in pango, gtk+ etc.
Unfortunately you are asking for depends that break FEATURES="test". And since there's no way to customize depends based on FEATURES="test". We must support that functionality otherwise the ebuild is broken in a worse way. compnerd? steev? your two cents each?
You did not ask me, but until now I have 'test' in my USE-flags. As said by euses: test - Workaround to pull in packages needed to run with FEATURES=maketest / FEATURES=test This one should work so far. By the way cairo-1.2.0 fails some tests on my ~x86 so I can not emerge it.
Created attachment 90950 [details, diff] cairo-1.2.0.ebuild.patch (fixes gtk dependencies)
Actually... now that I think about it... test causes a circular dependancy... so it's entirely filtered now.