* [gentoo-commits] gentoo-x86 commit in sci-misc/ncview: ChangeLog ncview-1.93g.ebuild
@ 2009-12-14 19:12 Sebastien Fabbro (bicatali)
0 siblings, 0 replies; 2+ messages in thread
From: Sebastien Fabbro (bicatali) @ 2009-12-14 19:12 UTC (permalink / raw
To: gentoo-commits
bicatali 09/12/14 19:12:55
Modified: ChangeLog ncview-1.93g.ebuild
Log:
Fixed ppm support and share/lib issues. Thanks Zak Kipling, bug #272266
(Portage version: 2.2_rc58/cvs/Linux x86_64)
Revision Changes Path
1.16 sci-misc/ncview/ChangeLog
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/ncview/ChangeLog?rev=1.16&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/ncview/ChangeLog?rev=1.16&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/ncview/ChangeLog?r1=1.15&r2=1.16
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-misc/ncview/ChangeLog,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- ChangeLog 12 Dec 2009 18:30:02 -0000 1.15
+++ ChangeLog 14 Dec 2009 19:12:55 -0000 1.16
@@ -1,6 +1,9 @@
# ChangeLog for sci-misc/ncview
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-misc/ncview/ChangeLog,v 1.15 2009/12/12 18:30:02 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-misc/ncview/ChangeLog,v 1.16 2009/12/14 19:12:55 bicatali Exp $
+
+ 14 Dec 2009; Sébastien Fabbro <bicatali@gentoo.org> ncview-1.93g.ebuild:
+ Fixed ppm support and share/lib issues. Thanks Zak Kipling, bug #272266
*ncview-1.93g (12 Dec 2009)
1.2 sci-misc/ncview/ncview-1.93g.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/ncview/ncview-1.93g.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/ncview/ncview-1.93g.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/ncview/ncview-1.93g.ebuild?r1=1.1&r2=1.2
Index: ncview-1.93g.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-misc/ncview/ncview-1.93g.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ncview-1.93g.ebuild 12 Dec 2009 18:30:02 -0000 1.1
+++ ncview-1.93g.ebuild 14 Dec 2009 19:12:55 -0000 1.2
@@ -1,9 +1,9 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-misc/ncview/ncview-1.93g.ebuild,v 1.1 2009/12/12 18:30:02 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-misc/ncview/ncview-1.93g.ebuild,v 1.2 2009/12/14 19:12:55 bicatali Exp $
EAPI=2
-inherit eutils
+inherit eutils flag-o-matic
DESCRIPTION="X-based viewer for netCDF files"
SRC_URI="ftp://cirrus.ucsd.edu/pub/ncview/${P}.tar.gz"
@@ -21,14 +21,20 @@
RDEPEND="${DEPEND}"
src_configure() {
+ # Makefile doesn't actually respect --with-ppm_incdir
+ append-flags -I/usr/include/netpbm
# force netpbm (could be a use flag, but worth it?)
econf \
--x-libraries=/usr/$(get_libdir) \
--x-include=/usr/include \
- --with-libppm \
+ --with-ppm_incdir=/usr/include/netpbm \
$(use_with udunits)
}
+src_compile() {
+ emake NCVIEW_LIB_DIR="/usr/share/${PN}" || die "emake failed"
+}
+
src_install() {
local appdef=/usr/share/X11/app-defaults
dodir ${appdef}
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in sci-misc/ncview: ChangeLog ncview-1.93g.ebuild
@ 2009-12-12 18:30 Sebastien Fabbro (bicatali)
0 siblings, 0 replies; 2+ messages in thread
From: Sebastien Fabbro (bicatali) @ 2009-12-12 18:30 UTC (permalink / raw
To: gentoo-commits
bicatali 09/12/12 18:30:02
Modified: ChangeLog
Added: ncview-1.93g.ebuild
Log:
Version bump
(Portage version: 2.2_rc58/cvs/Linux x86_64)
Revision Changes Path
1.15 sci-misc/ncview/ChangeLog
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/ncview/ChangeLog?rev=1.15&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/ncview/ChangeLog?rev=1.15&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/ncview/ChangeLog?r1=1.14&r2=1.15
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-misc/ncview/ChangeLog,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- ChangeLog 6 Aug 2008 18:29:54 -0000 1.14
+++ ChangeLog 12 Dec 2009 18:30:02 -0000 1.15
@@ -1,6 +1,11 @@
# ChangeLog for sci-misc/ncview
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-misc/ncview/ChangeLog,v 1.14 2008/08/06 18:29:54 ulm Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-misc/ncview/ChangeLog,v 1.15 2009/12/12 18:30:02 bicatali Exp $
+
+*ncview-1.93g (12 Dec 2009)
+
+ 12 Dec 2009; Sébastien Fabbro <bicatali@gentoo.org> +ncview-1.93g.ebuild:
+ Version bump
06 Aug 2008; Ulrich Mueller <ulm@gentoo.org> metadata.xml:
Add USE flag description to metadata wrt GLEP 56.
1.1 sci-misc/ncview/ncview-1.93g.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/ncview/ncview-1.93g.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/ncview/ncview-1.93g.ebuild?rev=1.1&content-type=text/plain
Index: ncview-1.93g.ebuild
===================================================================
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-misc/ncview/ncview-1.93g.ebuild,v 1.1 2009/12/12 18:30:02 bicatali Exp $
EAPI=2
inherit eutils
DESCRIPTION="X-based viewer for netCDF files"
SRC_URI="ftp://cirrus.ucsd.edu/pub/ncview/${P}.tar.gz"
HOMEPAGE="http://meteora.ucsd.edu/~pierce/ncview_home_page.html"
LICENSE="GPL-2"
SLOT="0"
IUSE="udunits"
KEYWORDS="~x86 ~amd64 ~ppc"
DEPEND="sci-libs/netcdf
media-libs/netpbm
x11-libs/libXaw
udunits? ( sci-libs/udunits )"
RDEPEND="${DEPEND}"
src_configure() {
# force netpbm (could be a use flag, but worth it?)
econf \
--x-libraries=/usr/$(get_libdir) \
--x-include=/usr/include \
--with-libppm \
$(use_with udunits)
}
src_install() {
local appdef=/usr/share/X11/app-defaults
dodir ${appdef}
dodir /usr/share/${PN}
# fix when root installs it.
sed -i \
-e "s:/usr/lib/X11/app-defaults:${D}${appdef}:g" \
install-appdef || die "sed failed"
emake \
DESTDIR="${D}" \
BINDIR="${D}/usr/bin" \
MANDIR="${D}/usr/share/man/man1" \
NCVIEW_LIB_DIR="${D}/usr/share/${PN}" \
XAPPLRESDIR="${D}/usr/share/X11/app-defaults" \
install || die "emake install failed"
insinto /usr/share/${PN}
doins *.ncmap nc_overlay* || die "doins failed"
dodoc README README_WISH_LIST RELEASE_NOTES || die
}
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-12-14 19:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-14 19:12 [gentoo-commits] gentoo-x86 commit in sci-misc/ncview: ChangeLog ncview-1.93g.ebuild Sebastien Fabbro (bicatali)
-- strict thread matches above, loose matches on Subject: below --
2009-12-12 18:30 Sebastien Fabbro (bicatali)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox