I have added the +pdf USE flag to sci-visualization/gnuplot, but in a recent version bump, pdf support was removed. Please put it back. Thanks. Reproducible: Always $ emerge --info Portage 2.2.01.18252-prefix (prefix/darwin/macos/10.6/x64, gcc-4.2.1, unavailable, 10.7.3 x86_64) ================================================================= System uname: Darwin-10.7.3-x86_64-i386-64bit Timestamp of tree: Thu, 12 May 2011 03:11:06 +0000 distcc 3.1-toolwhip.1 i386-apple-darwin10.0 [disabled] app-shells/bash: 4.2_p8 dev-lang/python: 2.7.1-r1 sys-devel/autoconf: 2.68 sys-devel/automake: 1.11.1 sys-devel/gcc-config: 1.4.1-r00.2 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82 virtual/os-headers: 0 Repositories: gentoo_prefix Installed sets: ACCEPT_KEYWORDS="~x64-macos" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-apple-darwin10" CFLAGS="-O2 -pipe -ggdb -march=core2 -ggdb" CHOST="x86_64-apple-darwin10" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/portage /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -pipe -ggdb -march=core2 -ggdb" DISTDIR="/Users/millerti/Gentoo/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--jobs=3" FEATURES="assume-digests binpkg-logs collision-protect distlocks fixlafiles fixpackages news nostrip parallel-fetch preserve-libs protect-owned sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" LDFLAGS="-Wl,-dead_strip_dylibs" LINGUAS="en en_US" MAKEOPTS="--jobs=3" PKGDIR="/Users/millerti/Gentoo/usr/portage/packages" PORTAGE_CONFIGROOT="/Users/millerti/Gentoo/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/Users/millerti/Gentoo/var/tmp" PORTDIR="/Users/millerti/Gentoo/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix" USE="aqua coreaudio cracklib cxx ithreads jpeg mmx mmxext modules ncurses nls nptl objc objc++ pdf png prefix qt4 readline sse sse2 ssl threads tiff unicode x64-macos zlib" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="Darwin" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_R
BTW, the ebuild mentions something about gnuplot not supporting pdf, and suggests looking at the changelog. I googled the changelog, and it says nothing about pdf support being removed.
The ebuild also mentions the pdfcairo terminal, but can't enable cairo, because that depends on pango, which is masked.
It was removed for bug 356005 22 Feb 2011; Ulrich Mueller <ulm@gentoo.org> gnuplot-4.2.6-r1.ebuild, gnuplot-4.4.2.ebuild: Don't link against media-libs/pdflib, because it would violate clause 2.1 of the PDFLite license. Configure --without-pdf, bug 356005. Drop unnecessary x11-libs/gtk+ dependency with USE=cairo. The Gentoo Prefix team can't "fix" anything here.
Finally, I've tried to downgrade using package.mask, but gnuplot-4.2.6 is the last version _in_portage_ to support pdf, but it's masked by keyword. So there's no way to downgrade to get back pdf support.
Well, what about pdfcairo? That's being masked, so there's no way to enable pdf support. The problem with this is that I relied on pdf support, and now I have dozens of scripts that are broken. I can switch to emitting eps and use eps2pdf, but it's not a simple matter of modifying the scripts and Makefile. All of the graphs will now look different, so I have to redo all the line and fill styles. Massive disruption. I'm guessing that pdfcairo will be rather a hassle too for similar reasons.
ok, long story short: pdf has been replaced by cairo cairo needs cairo and pango both cairo and pango should be available for your arch, if not, test and add a keyword request
For some reason, x11-libs/qt-gui-4.7.3 is a dependency, and it doesn't build, so I've not made a lot of progress. I reported the bug, but I'm not sure it's being looked at.
To remove Qt4 as a dependency (you don't actually need it), just set USE=-qt4 for x11-libs/cairo.
Thanks for the suggestion. That helped!
Actually, that doesn't help. Now gnuplot segfaults. I'm going to file a separate bug report.
*** This bug has been marked as a duplicate of bug 356405 ***