Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-commits
Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-commits@g.o
From: "Steve Arnold (nerdboy)" <nerdboy@g.o>
Subject: gentoo-x86 commit in sci-geosciences/mapnik: mapnik-2.0.0.ebuild metadata.xml ChangeLog
Date: Sun, 13 Nov 2011 02:19:49 +0000 (UTC)
nerdboy     11/11/13 02:19:49

  Modified:             metadata.xml ChangeLog
  Added:                mapnik-2.0.0.ebuild
  Log:
  Added mapnik2 ebuild (currently masked due to gpsdrive breakage).
  
  (Portage version: 2.1.10.32/cvs/Linux x86_64)

Revision  Changes    Path
1.4                  sci-geosciences/mapnik/metadata.xml

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/mapnik/metadata.xml?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/mapnik/metadata.xml?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/mapnik/metadata.xml?r1=1.3&r2=1.4

Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-geosciences/mapnik/metadata.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- metadata.xml	12 Jun 2009 08:18:37 -0000	1.3
+++ metadata.xml	13 Nov 2011 02:19:46 -0000	1.4
@@ -12,5 +12,6 @@
 </longdescription>
 <use>
   <flag name='gdal'>Enable <pkg>sci-libs/gdal</pkg> library support</flag>
+  <flag name='nobfonts'>Enable Dejavu fonts instead of built-in fonts</flag>
 </use>
 </pkgmetadata>



1.28                 sci-geosciences/mapnik/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/mapnik/ChangeLog?rev=1.28&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/mapnik/ChangeLog?rev=1.28&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/mapnik/ChangeLog?r1=1.27&r2=1.28

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-geosciences/mapnik/ChangeLog,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- ChangeLog	26 Sep 2011 07:45:56 -0000	1.27
+++ ChangeLog	13 Nov 2011 02:19:47 -0000	1.28
@@ -1,6 +1,13 @@
 # ChangeLog for sci-geosciences/mapnik
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/mapnik/ChangeLog,v 1.27 2011/09/26 07:45:56 nerdboy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/mapnik/ChangeLog,v 1.28 2011/11/13 02:19:47 nerdboy Exp $
+
+*mapnik-2.0.0 (13 Nov 2011)
+
+  13 Nov 2011; Steve Arnold <nerdboy@g.o> +mapnik-2.0.0.ebuild,
+  +files/mapnik-2.0.0-gentoo.patch:
+  Added mapnik2 ebuild, however, it breaks current gpsdrive, so it will be 
+  package.amsked for the time being.  Unmask if you want to try it.
 
   26 Sep 2011; Steve Arnold <nerdboy@g.o> mapnik-0.7.1-r1.ebuild,
   +files/mapnik-0.7.1-libpng1.5.4.patch:



1.1                  sci-geosciences/mapnik/mapnik-2.0.0.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/mapnik/mapnik-2.0.0.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/mapnik/mapnik-2.0.0.ebuild?rev=1.1&content-type=text/plain

Index: mapnik-2.0.0.ebuild
===================================================================
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/mapnik/mapnik-2.0.0.ebuild,v 1.1 2011/11/13 02:19:45 nerdboy Exp $

EAPI=3

PYTHON_DEPEND="python? 2"
inherit eutils python scons-utils toolchain-funcs

DESCRIPTION="A Free Toolkit for developing mapping applications."
HOMEPAGE="http://www.mapnik.org/"
SRC_URI="mirror://berlios/${PN}/${P}.tar.bz2"

LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE="bidi cairo debug doc gdal nobfonts postgres python sqlite"

RDEPEND="dev-libs/boost
	net-misc/curl
	media-libs/libpng
	media-libs/jpeg
	media-libs/tiff
	sys-libs/zlib
	media-libs/freetype
	dev-lang/python
	sci-libs/proj
	dev-libs/libxml2
	dev-libs/icu
	x11-libs/agg[truetype]
	postgres? (
		>=dev-db/postgresql-base-8.3
		>=dev-db/postgis-1.5.2
		sci-libs/geos
	)
	python? ( dev-libs/boost[python] )
	gdal? ( sci-libs/gdal )
	python? ( dev-lang/python )
	bidi? ( dev-libs/fribidi )
	cairo? (
		x11-libs/cairo
		dev-cpp/cairomm
		python? ( dev-python/pycairo )
	)
	sqlite? ( dev-db/sqlite:3 )
	nobfonts? ( media-fonts/dejavu )"

DEPEND="${RDEPEND}
	doc? ( dev-python/epydoc )
	dev-util/scons"

#EPATCH_OPTS="-F 3"

src_prepare() {
	epatch "${FILESDIR}"/${P}-gentoo.patch
}

src_configure() {
	local PLUGINS=shape,raster,postgis,osm
	use sqlite && PLUGINS+=,sqlite

	SCONOPTS="
		CC=$(tc-getCC)
		CXX=$(tc-getCXX)
		INPUT_PLUGINS=${PLUGINS}
		PREFIX=/usr
		XMLPARSER=libxml2
		PROJ_INCLUDES=/usr/include
		PROJ_LIBS=/usr/lib
		$(use_scons nobfonts SYSTEM_FONTS /usr/share/fonts '')
		$(use_scons python BINDINGS all none)
		$(use_scons bidi BIDI)
		$(use_scons cairo CAIRO)
		$(use_scons debug DEBUG)
		$(use_scons debug XML_DEBUG)
		$(use_scons doc DEMO)
		$(use_scons doc SAMPLE_INPUT_PLUGINS)
		CUSTOM_LDFLAGS=${LDFLAGS}
		CUSTOM_LDFLAGS+=-L${D}/usr/$(get_libdir)"

	# force user flags, optimization level
	sed -i -e "s:\-O%s:${CXXFLAGS}:" \
		-i -e "s:env\['OPTIMIZATION'\]\,::" \
		SConstruct || die "sed 3 failed"

	scons $SCONOPTS configure || die "scons configure failed"
}

src_compile() {
	scons ${MAKEOPTS} shared=1 || die "scons compile failed"
}

src_install() {
	#the lib itself still seems to need a DESTDIR definition
	scons DESTDIR="${D}" install || die "scons install failed"

	if use python ; then
		fperms 0644 "$(python_get_sitedir)"/mapnik2/paths.py
		dobin utils/stats/mapdef_stats.py
		insinto /usr/share/doc/${PF}/examples
		doins utils/ogcserver/*
	fi

	dodoc AUTHORS README || die

	# this is known to depend on mod_python and should not have a
	# "die" after the epydoc script (see bug #370575)
	if use doc; then
		export PYTHONPATH="${D}$(python_get_sitedir):$(python_get_sitedir)"
		pushd docs/epydoc_config > /dev/null
		./build_epydoc.sh
		popd > /dev/null
		dohtml -r docs/api_docs/python/* || die "API doc install failed"
	fi
}

pkg_postinst() {
	elog ""
	elog "See the home page or wiki (http://trac.mapnik.org/) for more info"
	elog "or the installed examples for the default mapnik ogcserver config."
	elog ""
}





Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
dev/dilfridge:master commit in: dev-lang/swig/files/, dev-lang/swig/
Next by thread:
gentoo-x86 commit in sci-geosciences/mapnik/files: mapnik-2.0.0-gentoo.patch
Previous by date:
gentoo-x86 commit in profiles: package.mask
Next by date:
gentoo-x86 commit in sci-geosciences/mapnik/files: mapnik-2.0.0-gentoo.patch


Updated Jun 26, 2012

Summary: Archive of the gentoo-commits mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.