diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2012-01-26 18:12:58 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2012-01-26 18:12:58 +0000 |
commit | 64977cab2fa26176a61d65734bbcc12e41e13e37 (patch) | |
tree | 7ed24560cd0ae77e1575f1487a6d44e59c522e6e /sci-libs/proj | |
parent | Version Bump, #399379 (diff) | |
download | gentoo-2-64977cab2fa26176a61d65734bbcc12e41e13e37.tar.gz gentoo-2-64977cab2fa26176a61d65734bbcc12e41e13e37.tar.bz2 gentoo-2-64977cab2fa26176a61d65734bbcc12e41e13e37.zip |
Patch for Robinson projections thanks Jean-Claude Repetto bug #394427, switched to EAPI4
(Portage version: 2.1.10.41/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/proj')
-rw-r--r-- | sci-libs/proj/ChangeLog | 11 | ||||
-rw-r--r-- | sci-libs/proj/files/proj-4.7.0-robinson.patch | 12 | ||||
-rw-r--r-- | sci-libs/proj/proj-4.7.0-r1.ebuild | 44 |
3 files changed, 65 insertions, 2 deletions
diff --git a/sci-libs/proj/ChangeLog b/sci-libs/proj/ChangeLog index d0afbe2dc00a..057ce952d94c 100644 --- a/sci-libs/proj/ChangeLog +++ b/sci-libs/proj/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sci-libs/proj -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/proj/ChangeLog,v 1.31 2011/08/03 16:23:10 bicatali Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/proj/ChangeLog,v 1.32 2012/01/26 18:12:58 bicatali Exp $ + +*proj-4.7.0-r1 (26 Jan 2012) + + 26 Jan 2012; Sébastien Fabbro <bicatali@gentoo.org> +proj-4.7.0-r1.ebuild, + +files/proj-4.7.0-robinson.patch: + Patch for Robinson projections thanks Jean-Claude Repetto bug #394427, + switched to EAPI4 03 Aug 2011; Sébastien Fabbro <bicatali@gentoo.org> -files/proj-4.4.7-gentoo.patch, -proj-4.4.9.ebuild, -proj-4.5.0.ebuild, diff --git a/sci-libs/proj/files/proj-4.7.0-robinson.patch b/sci-libs/proj/files/proj-4.7.0-robinson.patch new file mode 100644 index 000000000000..85759c6e4807 --- /dev/null +++ b/sci-libs/proj/files/proj-4.7.0-robinson.patch @@ -0,0 +1,12 @@ +--- src/PJ_robin.c.orig 2009-01-26 18:17:46.000000000 +0100 ++++ src/PJ_robin.c 2011-12-12 11:45:28.515779709 +0100 +@@ -35,7 +35,7 @@ + 0.31, 0.0124108, 3.73349e-06, -1.1779e-06, + 0.372, 0.0123598, -1.3935e-05, 4.39588e-06, + 0.434, 0.0125501, 5.20034e-05, -1.00051e-05, +-0.4968, 0.0123198, -9.80735e-05, 9.22397e-06, ++0.4958, 0.0123198, -9.80735e-05, 9.22397e-06, + 0.5571, 0.0120308, 4.02857e-05, -5.2901e-06, + 0.6176, 0.0120369, -3.90662e-05, 7.36117e-07, + 0.6769, 0.0117015, -2.80246e-05, -8.54283e-07, + diff --git a/sci-libs/proj/proj-4.7.0-r1.ebuild b/sci-libs/proj/proj-4.7.0-r1.ebuild new file mode 100644 index 000000000000..67aabd966b0c --- /dev/null +++ b/sci-libs/proj/proj-4.7.0-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/proj/proj-4.7.0-r1.ebuild,v 1.1 2012/01/26 18:12:58 bicatali Exp $ + +EAPI=4 + +DESCRIPTION="Proj.4 cartographic projection software with updated NAD27 grids" +HOMEPAGE="http://trac.osgeo.org/proj/" +SRC_URI="ftp://ftp.remotesensing.org/pub/proj/${P}.tar.gz + http://download.osgeo.org/proj/${PN}-datumgrid-1.5.zip" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="static-libs" + +RDEPEND="" +DEPEND="app-arch/unzip" + +src_unpack() { + unpack ${P}.tar.gz || die + cd "${S}"/nad || die + mv README README.NAD || die + unpack ${PN}-datumgrid-1.5.zip || die +} + +src_prepare() { + epatch "${FILESDIR}"/${P}-robinson.patch +} + +src_configure() { + econf $(use_enable static-libs static) +} + +src_install() { + default + cd nad + dodoc README.{NAD,NADUS} + insinto /usr/share/proj + insopts -m 755 + doins test27 test83 + insopts -m 644 + doins pj_out27.dist pj_out83.dist +} |