Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 185126 - sci-visualization/gnuplot-4.2 - remove USE=png + use $(get_libdir)
Summary: sci-visualization/gnuplot-4.2 - remove USE=png + use $(get_libdir)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Christian Faulhammer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-12 22:55 UTC by Sven
Modified: 2007-08-21 08:25 UTC (History)
3 users (show)

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


Attachments
Remove png USE flag (gnuplot-no-png.patch,945 bytes, patch)
2007-07-12 23:22 UTC, Kevin Lacquement
Details | Diff
Remove png USE flag and fix /usr/lib hardcodes (gnuplot-png-libdir.patch,1.75 KB, patch)
2007-07-14 01:42 UTC, Kevin Lacquement
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sven 2007-07-12 22:55:01 UTC
I'm using sci-visualization/gnuplot-4.2.0-r1.

Ebuilds for gnuplot 4.0 offered a png and jpeg terminal. These are now missing. gnuplot 4.2 on Cygwin still got them.

png use-flag is enabled!


# emerge gnuplot -vp

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sci-visualization/gnuplot-4.2.0-r1  USE="X pdf plotutils png readline tetex wxwindows -doc -emacs -gd -ggi -svga -xemacs" 0 kB 

Total: 1 package (1 reinstall), Size of downloads: 0 kB

# emerge --info
Portage 2.1.2.9 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.22.1-cfs-v19 i686)
=================================================================
System uname: 2.6.22.1-cfs-v19 i686 Intel(R) Pentium(R) M processor 1.73GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 12 Jul 2007 21:30:01 +0000
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/resin/conf /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=pentium-m -O2 -pipe"
DISTDIR="/usr/local/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="  http://mirror.switch.ch/ftp/mirror/gentoo/              http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/  "
LANG="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j1"
PKGDIR="/usr/local/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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X a52 aac aalib acl acpi adns adplug afs agg aiglx alsa amr amrnb amrwb ao apache2 async audiofile bash-completion bitmap-fonts bluetooth bzip2 cairo cdda cdio cdr cli console cracklib crypt cups curl dbus divx djvu dri dts dv dvd dvdr dvdread dvi eds emboss emerald emf enca encode evo exif faad fam ffmpeg fftw firefox flac freetype ftp fuse gd-external gdbm gecko-sdk geoip gif gimp glitz glut gmedia gmp gnome gpm gs gstreamer gtk hal i8x0 iconv idn imagemagick iproute2 ipv6 isdnlog jbig jce jingle jit jpeg jpeg2k kqemu latex lcms libcaca libg++ mad matroska midi mikmod mmx mmxext mng modplug mozbranding mozdevelop mozdomi moznocompose moznoirc mp2 mp3 mp4 mpeg mpfr mpm-prefork mupad-noscilab musepack ncurses network nls nntp no_wxgtk1 nptl nptlonly nsplugin ntlm ogg opengl openmp pam pcre pdf perl plotutils png pnm ppds pppd python qt-static qt3support quicktime rar readline real reflection samba sdl server session shorten sid sndfile softmmu sox speex spell spl sse sse2 ssl subtitles svg tetex theora threadsafe tiff timidity truetype truetype-fonts tta type1-fonts unicode usb v4l v4l2 vim-with-x vorbis wavpack wifi win32codecs wma wmf wmp wxwindows x264 x86 xanim xattr xml xorg xprint xscreensaver xv xvid xvmc zlib" ALSA_CARDS="intel8x0 intel8x0m" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" CAMERAS="fuji ptp2" ELIBC="glibc" INPUT_DEVICES="mouse keyboard synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="vesa i810 i915"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Reproducible: Always

Steps to Reproduce:
Comment 1 Sven 2007-07-12 23:07:33 UTC
OK, i figured it out myself:

gnuplot 4.2 needs libgd for jpeg, png, etc.

But does configure --with-png=... make any sense with gnuplot 4.2?
(the ebuild still uses it)
Comment 2 Kevin Lacquement 2007-07-12 23:22:33 UTC
Created attachment 124724 [details, diff]
Remove png USE flag

The configure script no longer checks for the PNG use flag, it is now automatic if gd is in use.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-07-13 03:35:51 UTC
This thing is keyworded for amd64, yet it has /usr/lib hardcoded all over the place. :/ Please fix.
Comment 4 Kevin Lacquement 2007-07-14 01:42:13 UTC
Created attachment 124787 [details, diff]
Remove png USE flag and fix /usr/lib hardcodes
Comment 5 Christian Faulhammer (RETIRED) gentoo-dev 2007-07-14 12:52:22 UTC
Fixed.  Thanks for the proposed patch...you only forgot to inherit multilib eclass.
Comment 6 Kevin Lacquement 2007-07-15 20:42:05 UTC
(In reply to comment #5)
> Fixed.  Thanks for the proposed patch...you only forgot to inherit multilib
> eclass.
> 

*blushes*  I'll try to remember for next time ;)
Comment 7 Christian Faulhammer (RETIRED) gentoo-dev 2007-08-21 08:25:02 UTC
It lay around here for more than month and I just forgot to commit...just, when I was filing a stabilisation request for it, I noticed...30 days start again.