1 |
nerdboy 09/11/02 01:52:05 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: mapnik-0.6.1.ebuild |
5 |
Log: |
6 |
Updated to latest upstream release and shed some patches (closes bug |
7 |
291376). |
8 |
(Portage version: 2.2_rc47/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.12 sci-geosciences/mapnik/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/mapnik/ChangeLog?rev=1.12&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/mapnik/ChangeLog?rev=1.12&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/mapnik/ChangeLog?r1=1.11&r2=1.12 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sci-geosciences/mapnik/ChangeLog,v |
20 |
retrieving revision 1.11 |
21 |
retrieving revision 1.12 |
22 |
diff -u -r1.11 -r1.12 |
23 |
--- ChangeLog 22 Aug 2009 23:18:09 -0000 1.11 |
24 |
+++ ChangeLog 2 Nov 2009 01:52:04 -0000 1.12 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for sci-geosciences/mapnik |
27 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/mapnik/ChangeLog,v 1.11 2009/08/22 23:18:09 nerdboy Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/mapnik/ChangeLog,v 1.12 2009/11/02 01:52:04 nerdboy Exp $ |
30 |
+ |
31 |
+*mapnik-0.6.1 (02 Nov 2009) |
32 |
+ |
33 |
+ 02 Nov 2009; Steve Arnold <nerdboy@g.o> +mapnik-0.6.1.ebuild: |
34 |
+ Updated to latest upstream release and shed some patches. Seems to work |
35 |
+ fine both with and without use=python. Closes bug #291376. |
36 |
|
37 |
22 Aug 2009; Steve Arnold <nerdboy@g.o> mapnik-0.5.1.ebuild, |
38 |
mapnik-0.6.0.ebuild: |
39 |
|
40 |
|
41 |
|
42 |
1.1 sci-geosciences/mapnik/mapnik-0.6.1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/mapnik/mapnik-0.6.1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/mapnik/mapnik-0.6.1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: mapnik-0.6.1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2009 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/mapnik/mapnik-0.6.1.ebuild,v 1.1 2009/11/02 01:52:04 nerdboy Exp $ |
52 |
|
53 |
EAPI=2 |
54 |
|
55 |
inherit eutils toolchain-funcs |
56 |
|
57 |
DESCRIPTION="A Free Toolkit for developing mapping applications." |
58 |
HOMEPAGE="http://www.mapnik.org/" |
59 |
SRC_URI="mirror://berlios/${PN}/${P}.tar.bz2" |
60 |
|
61 |
LICENSE="LGPL-2.1" |
62 |
SLOT="0" |
63 |
KEYWORDS="~amd64 ~ppc ~x86" |
64 |
IUSE="cairo curl debug doc +gdal postgres python sqlite" |
65 |
|
66 |
RDEPEND="dev-libs/boost |
67 |
dev-libs/libxml2 |
68 |
dev-libs/icu |
69 |
media-libs/libpng |
70 |
media-libs/jpeg |
71 |
media-libs/tiff |
72 |
media-libs/freetype:2 |
73 |
sci-libs/proj |
74 |
x11-libs/agg |
75 |
media-fonts/dejavu |
76 |
python? ( >=dev-libs/boost-1.35.0-r5[python] ) |
77 |
cairo? ( x11-libs/cairo |
78 |
dev-cpp/cairomm ) |
79 |
postgres? ( |
80 |
>=virtual/postgresql-base-8.0 |
81 |
>=dev-db/postgis-1.1.2 |
82 |
) |
83 |
gdal? ( sci-libs/gdal ) |
84 |
sqlite? ( dev-db/sqlite:3 ) |
85 |
curl? ( net-misc/curl )" |
86 |
|
87 |
DEPEND="${RDEPEND} |
88 |
>=dev-util/scons-1.0.0" |
89 |
|
90 |
src_prepare() { |
91 |
sed -i -e "s|/usr/local|/usr|g" \ |
92 |
-e "s|Action(env\[config\]|Action('%s --help' % env\[config\]|" \ |
93 |
SConstruct || die |
94 |
|
95 |
sed -i -e "s:mapniklibpath + '/fonts':'/usr/share/fonts/dejavu/':g" \ |
96 |
bindings/python/SConscript || die "sed 1 failed" |
97 |
} |
98 |
|
99 |
src_configure() { |
100 |
MAKEOPTS="INTERNAL_LIBAGG=no" |
101 |
|
102 |
MAKEOPTS="${MAKEOPTS} INPUT_PLUGINS=" |
103 |
use postgres && MAKEOPTS="${MAKEOPTS}postgis," |
104 |
use gdal && MAKEOPTS="${MAKEOPTS}gdal,ogr," |
105 |
use sqlite && MAKEOPTS="${MAKEOPTS}sqlite," |
106 |
use curl && MAKEOPTS="${MAKEOPTS}osm," |
107 |
MAKEOPTS="${MAKEOPTS}shape,raster" |
108 |
|
109 |
use cairo || MAKEOPTS="${MAKEOPTS} CAIRO=false" |
110 |
use python || MAKEOPTS="${MAKEOPTS} BINDINGS=none" |
111 |
use debug && MAKEOPTS="${MAKEOPTS} DEBUG=yes" |
112 |
|
113 |
use postgres && use sqlite && MAKEOPTS="${MAKEOPTS} PGSQL2SQLITE=yes" |
114 |
|
115 |
scons CXX="$(tc-getCXX)" ${MAKEOPTS} DESTDIR="${D}" configure \ |
116 |
|| die "scons configure failed" |
117 |
} |
118 |
|
119 |
src_compile() { |
120 |
scons || die "scons make failed" |
121 |
} |
122 |
|
123 |
src_install() { |
124 |
scons install || die "scons install failed" |
125 |
|
126 |
if use python ; then |
127 |
fperms o-w /usr/lib/python*/site-packages/mapnik/paths.py |
128 |
dobin utils/stats/mapdef_stats.py |
129 |
insinto /usr/share/doc/${P}/examples |
130 |
doins utils/ogcserver/* |
131 |
fi |
132 |
|
133 |
dodoc AUTHORS CHANGELOG README |
134 |
use doc && dohtml -r docs/api_docs/python/* |
135 |
} |
136 |
|
137 |
pkg_postinst() { |
138 |
elog "" |
139 |
elog "See the home page or the OpenStreetMap wiki for more info, and" |
140 |
elog "the installed examples for the default mapnik ogcserver config." |
141 |
elog "" |
142 |
} |