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 | 9ea5423905c82cef7894d84f56032ccc442dae07 (patch) | |
tree | 11b5a72d3a72f9f6730b0487c881dd8ec1ca7d39 /sci-geosciences/mapnik | |
parent | Version bump (diff) | |
download | gentoo-2-9ea5423905c82cef7894d84f56032ccc442dae07.tar.gz gentoo-2-9ea5423905c82cef7894d84f56032ccc442dae07.tar.bz2 gentoo-2-9ea5423905c82cef7894d84f56032ccc442dae07.zip |
New mapping toolkit supporting gpsdrive, as well as general mapping.
(Portage version: 2.2_rc8/cvs/Linux 2.6.26.5 x86_64)
Diffstat (limited to 'sci-geosciences/mapnik')
-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..01f99d14e78b --- /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 1637 RMD160 341f8c2c940042f969493cdeb99aa5e20e752288 SHA1 42f41767e5e8304fa976f2c16448ba4ed4e0b75e SHA256 4392c3cbb65a2a993b1500bc216a3249938b539ddbf8cd086ab4de1cac086927 +MISC ChangeLog 375 RMD160 b5d7a6e85146d5a43d4293fa048651f2dff8c47c SHA1 48b6bd89009bfae89013f6d0f007a01ce0190644 SHA256 1eb9ac102165030d1ea6798a0d4ae75623c5688321e06b44726feab3a79e89ce +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> |