diff options
author | Steve Arnold <nerdboy@gentoo.org> | 2008-09-25 05:42:06 +0000 |
---|---|---|
committer | Steve Arnold <nerdboy@gentoo.org> | 2008-09-25 05:42:06 +0000 |
commit | cb7e9bf9cd89dfaaa3bda58ff77942a1336a1ada (patch) | |
tree | bf7830bf659359be4618d5c060df26266ebd4f28 /sci-geosciences | |
parent | Version bump (diff) | |
download | historical-cb7e9bf9cd89dfaaa3bda58ff77942a1336a1ada.tar.gz historical-cb7e9bf9cd89dfaaa3bda58ff77942a1336a1ada.tar.bz2 historical-cb7e9bf9cd89dfaaa3bda58ff77942a1336a1ada.zip |
New mapping toolkit supporting gpsdrive, as well as general mapping.
Package-Manager: portage-2.2_rc8/cvs/Linux 2.6.26.5 x86_64
Diffstat (limited to 'sci-geosciences')
-rw-r--r-- | sci-geosciences/mapnik/ChangeLog | 12 | ||||
-rw-r--r-- | sci-geosciences/mapnik/Manifest | 5 | ||||
-rw-r--r-- | sci-geosciences/mapnik/files/mapnik-0.5.1-include-fix.patch | 13 | ||||
-rw-r--r-- | sci-geosciences/mapnik/mapnik-0.5.1.ebuild | 66 | ||||
-rw-r--r-- | sci-geosciences/mapnik/metadata.xml | 19 |
5 files changed, 115 insertions, 0 deletions
diff --git a/sci-geosciences/mapnik/ChangeLog b/sci-geosciences/mapnik/ChangeLog new file mode 100644 index 000000000000..9c7fe67aebe0 --- /dev/null +++ b/sci-geosciences/mapnik/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for sci-geosciences/mapnik +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/mapnik/ChangeLog,v 1.1 2008/09/25 05:42:05 nerdboy Exp $ + +*mapnik-0.5.1 (25 Sep 2008) + + 25 Sep 2008; Steve Arnold <nerdboy@gentoo.org> + +files/mapnik-0.5.1-include-fix.patch, +metadata.xml, + +mapnik-0.5.1.ebuild: + New mapping toolkit supporting gpsdrive, as well as general mapping. + Closes bug #140599. + diff --git a/sci-geosciences/mapnik/Manifest b/sci-geosciences/mapnik/Manifest new file mode 100644 index 000000000000..e506e6cab84f --- /dev/null +++ b/sci-geosciences/mapnik/Manifest @@ -0,0 +1,5 @@ +AUX mapnik-0.5.1-include-fix.patch 328 RMD160 2396fdfe4dd7630e0a8866a3676c42e4c684e53c SHA1 c1fca803a293443241f200039a7355cbce78c3d1 SHA256 e76fcd9328c3207c56a083361d5bb4a4e356262989e85a7c280460dc8d30e05b +DIST mapnik_src-0.5.1.tar.gz 6517825 RMD160 6ac8830863883c654fd5b3676efc4a0642997157 SHA1 cad0d33ee16c0abf4903a6693e871c9ace19be94 SHA256 7682bba5f578dbb5dd5103d72876e0745e3f2da2eba8fd268cd81f400625812d +EBUILD mapnik-0.5.1.ebuild 1742 RMD160 d8bb144f497ed399bae9eb979b25a2f0efa5a408 SHA1 ead0c2d5a1aa2f23a78ab65be1c7919ff966e9d0 SHA256 0987fc4b54949fd2da20e8b878b23f00cbb5e077e08559eba136d1a8754b3ed8 +MISC ChangeLog 470 RMD160 5c4addd0f55c5d959d82e88e2d24dba81ba99cbc SHA1 8910ab1d0bedecc124d65a6b75e81f1fde8cfb13 SHA256 27d5a59b8d9c229aa60c2f55982cc2912d350c5b5c5ff0a68a3247ae5ddea02b +MISC metadata.xml 666 RMD160 2bf1a2f9bfdafbf9c5d07c32d04061ed268b241c SHA1 62ed6d35703b6ea3cbf00ba2719ba9321a2036ab SHA256 e42247db87f804f76c1633115e69d06c06493061751fc6968ec2c3ddb77ba0ea diff --git a/sci-geosciences/mapnik/files/mapnik-0.5.1-include-fix.patch b/sci-geosciences/mapnik/files/mapnik-0.5.1-include-fix.patch new file mode 100644 index 000000000000..f2f5f3536ad5 --- /dev/null +++ b/sci-geosciences/mapnik/files/mapnik-0.5.1-include-fix.patch @@ -0,0 +1,13 @@ +--- include/mapnik/plugin.hpp.orig 2008-09-21 16:43:15.368310392 -0700 ++++ include/mapnik/plugin.hpp 2008-09-21 16:45:29.859309106 -0700 +@@ -29,7 +29,9 @@ + // stl + #include <string> + +-typedef struct lt_dlhandle_struct * lt_dlhandle; ++// ltdl ++#include <ltdl.h> ++ + namespace mapnik + { + class PluginInfo : boost::noncopyable diff --git a/sci-geosciences/mapnik/mapnik-0.5.1.ebuild b/sci-geosciences/mapnik/mapnik-0.5.1.ebuild new file mode 100644 index 000000000000..d69695db2fc7 --- /dev/null +++ b/sci-geosciences/mapnik/mapnik-0.5.1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/mapnik/mapnik-0.5.1.ebuild,v 1.1 2008/09/25 05:42:05 nerdboy Exp $ + +inherit eutils autotools + +DESCRIPTION="A Free Toolkit for developing mapping applications." +HOMEPAGE="http://www.mapnik.org/" +SRC_URI="mirror://berlios/mapnik/mapnik_src-${PV}.tar.gz" +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="postgres proj debug doc gdal python bidi" + +RDEPEND=">=dev-libs/boost-1.33.0 + >=media-libs/libpng-1.2.12 + >=media-libs/jpeg-6b + >=media-libs/tiff-3.8.2 + >=sys-libs/zlib-1.2.3 + >=media-libs/freetype-2.1.10 + postgres? ( >=dev-db/postgis-1.1.2 ) + proj? ( >=sci-libs/proj-4.4.9 ) + gdal? ( sci-libs/gdal ) + python? ( >=dev-lang/python-2.4 ) + bidi? ( dev-libs/fribidi )" + +DEPEND="${RDEPEND} + >=dev-lang/python-1.5.2 + >=dev-util/scons-0.9.8" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-include-fix.patch + sed -i -e "s:/usr/local:/usr:g" SConstruct + eautoreconf +} + +src_compile() { + if ! use python ; then + MAKEOPTS="${MAKEOPTS} BINDINGS=none" + fi + MAKEOPTS="${MAKEOPTS} INPUT_PLUGINS=shape,raster,postgis" + if use debug ; then + MAKEOPTS="${MAKEOPTS} DEBUG=1" + fi + if use bidi ; then + MAKEOPTS="${MAKEOPTS} BIDI=1" + fi + if use postgres ; then + MAKEOPTS="${MAKEOPTS} PGSQL_INCLUDES=/usr/include/postgresql" + fi + if use proj ; then + MAKEOPTS="${MAKEOPTS} PROJ_INCLUDES=/usr/include" + MAKEOPTS="${MAKEOPTS} PROJ_LIBS=/usr/$(get_libdir)" + fi + MAKEOPTS="${MAKEOPTS} XMLPARSER=libxml2" + scons ${MAKEOPTS} || die +} + +src_install() { + scons ${MAKEOPTS} DESTDIR="${D}" install || die "Unable to install Mapnik" + if use doc ; then + dohtml -r docs/epydocs/* + fi +} diff --git a/sci-geosciences/mapnik/metadata.xml b/sci-geosciences/mapnik/metadata.xml new file mode 100644 index 000000000000..2a58472c65b5 --- /dev/null +++ b/sci-geosciences/mapnik/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci-geosciences</herd> +<maintainer> + <email>nerdboy@gentoo.org</email> + <name>Steve Arnold</name> +</maintainer> +<longdescription>Mapnik is a toolkit for developing both web and desktop + mapping applications. The core libraries are written in C++, with + optional Python bindings. +</longdescription> +<use> + <flag name='gdal'>Enable <pkg>sci-libs/gdal</pkg> geoformat conversion + support</flag> + <flag name='proj'> Enable <pkg>sci-libs/proj</pkg> library support for + specific map projections</flag> +</use> +</pkgmetadata> |