Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 272266

Summary: sci-misc/ncview-1.93c ebuild issues (no ppm support; share/lib dir mismatch; out of date)
Product: Gentoo Linux Reporter: Zak Kipling <zak.kipling>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch to fix the build issues described in the bug report

Description Zak Kipling 2009-06-02 14:05:01 UTC
(1) It fails to find /usr/include/netpbm/ppm.h from media-libs/netpbm (looking instead for /usr/include/ppm.h). Configuring this correctly with --with-ppm_incdir (instead of the unsupported --with-libppm) only partially helps: the configure script now detects it, but the (broken) Makefile doesn't pass the appropriate -I option to the compiler, leading to a compile error. Using flag-o-matic and adding

  append-flags -I/usr/include/netpbm

in addition to --with-ppm_incdir=/usr/include/netpbm appears to work.


(2) The colormaps and overlays are installed in /usr/share/ncview, but the application is build to look in /usr/lib/ncview. Setting NCVIEW_LIB_DIR when calling emake from src_compile (as already done in src_install) fixes this.


(3) 1.93c is out of date; 1.93g is the latest upstream version. Bar the above issues which affect both versions, the ebuild appears to work fine with the new version.


Full ebuild patch to follow.
Comment 1 Zak Kipling 2009-06-02 14:06:00 UTC
Created attachment 193292 [details, diff]
Patch to fix the build issues described in the bug report
Comment 2 Sébastien Fabbro (RETIRED) gentoo-dev 2009-12-14 19:13:25 UTC
Now fixed in 1.93g.
Thanks.