Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 272266 - sci-misc/ncview-1.93c ebuild issues (no ppm support; share/lib dir mismatch; out of date)
Summary: sci-misc/ncview-1.93c ebuild issues (no ppm support; share/lib dir mismatch; ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-02 14:05 UTC by Zak Kipling
Modified: 2009-12-14 19:13 UTC (History)
0 users

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


Attachments
Patch to fix the build issues described in the bug report (ncview-1.93g.ebuild.diff,1.03 KB, patch)
2009-06-02 14:06 UTC, Zak Kipling
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.