From: Arun Isaac <arunisaac@systemreboot.net>
To: 30456@debbugs.gnu.org
Subject: [bug#30456] [PATCH 1/2] gnu: Add mapnik.
Date: Fri, 16 Feb 2018 03:57:33 +0530 [thread overview]
Message-ID: <20180215222734.5490-2-arunisaac@systemreboot.net> (raw)
In-Reply-To: <20180215222734.5490-1-arunisaac@systemreboot.net>
* gnu/packages/geo.scm (mapnik): New variable.
---
gnu/packages/geo.scm | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 63 insertions(+)
diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index 9c7f7c115..360e188b5 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -4,6 +4,7 @@
;;; Copyright © 2017 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -23,16 +24,22 @@
(define-module (gnu packages geo)
#:use-module (guix build-system glib-or-gtk)
#:use-module (guix build-system gnu)
+ #:use-module (guix build-system scons)
#:use-module (guix download)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix utils)
+ #:use-module (gnu packages boost)
#:use-module (gnu packages compression)
+ #:use-module (gnu packages databases)
+ #:use-module (gnu packages fontutils)
#:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
#:use-module (gnu packages gtk)
#:use-module (gnu packages image)
+ #:use-module (gnu packages icu4c)
#:use-module (gnu packages pkg-config)
+ #:use-module (gnu packages python)
#:use-module (gnu packages webkit)
#:use-module (gnu packages xml))
@@ -242,3 +249,59 @@ projections.")
(license:non-copyleft "http://www.epsg.org/TermsOfUse")
;; cmake/*
license:boost1.0))))
+
+(define-public mapnik
+ (package
+ (name "mapnik")
+ (version "3.0.18")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/mapnik/mapnik/releases/download/v"
+ version "/mapnik-v" version ".tar.bz2"))
+ (sha256
+ (base32
+ "06frcikaj2mgz3abfk5h0z4j3hbksi0zikwjngbjv4p5f3pwxf8q"))))
+ (build-system scons-build-system)
+ (inputs
+ `(("boost" ,boost)
+ ("cairo" ,cairo)
+ ("freetype" ,freetype)
+ ("harfbuzz" ,harfbuzz)
+ ("icu4c" ,icu4c)
+ ("libjpeg-turbo" ,libjpeg-turbo)
+ ("libpng" ,libpng)
+ ("libtiff" ,libtiff)
+ ("libwebp" ,libwebp)
+ ("libxml2" ,libxml2)
+ ("proj.4" ,proj.4)
+ ("sqlite" ,sqlite)
+ ("zlib" ,zlib)))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (arguments
+ `(#:scons ,scons-python2
+ #:scons-flags
+ (list "CC=gcc"
+ (string-append "PREFIX=" %output)
+ (string-append "CUSTOM_LDFLAGS=-Wl,-rpath=" %output "/lib"))))
+ (home-page "http://mapnik.org/")
+ (synopsis "Toolkit for developing mapping applications")
+ (description "Mapnik is a toolkit for developing mapping applications. It
+is basically a collection of geographic objects like maps, layers,
+datasources, features, and geometries. At its core is a C++ shared library
+providing algorithms and patterns for spatial data access and visualization.
+The library does not rely on any specific windowing system and can be deployed
+to any server environment. It is intended to play fair in a multi-threaded
+environment and is aimed primarily, but not exclusively, at web-based
+development.")
+ (license (list license:lgpl2.1+
+ ;; demo/viewer, demo/python/rundemo.py
+ license:gpl2+
+ ;; deps/boost, deps/mapbox, deps/agg/include/agg_conv_offset.h
+ license:boost1.0
+ ;; deps/mapnik/sparsehash
+ license:bsd-3
+ ;; deps/agg
+ (license:non-copyleft "file://deps/agg/copying")))))
+
--
2.15.1
next prev parent reply other threads:[~2018-02-15 22:29 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-14 16:29 [bug#30456] [PATCH 1/2] gnu: Add mapnik Arun Isaac
2018-02-14 16:38 ` [bug#30456] [PATCH 2/2] gnu: Add python2-mapnik Arun Isaac
2018-02-14 21:12 ` Leo Famulari
2018-02-14 21:11 ` [bug#30456] [PATCH 1/2] gnu: Add mapnik Leo Famulari
2018-02-14 22:50 ` Björn Höfling
2018-02-14 23:12 ` Leo Famulari
2018-02-15 22:27 ` [bug#30456] [PATCH 0/2] Mapnik Arun Isaac
2018-02-15 22:27 ` Arun Isaac [this message]
2018-02-15 22:27 ` [bug#30456] [PATCH 2/2] gnu: Add python2-mapnik Arun Isaac
2018-02-16 12:46 ` [bug#30456] [PATCH 0/2] Mapnik Björn Höfling
2018-02-18 12:51 ` bug#30456: " Arun Isaac
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180215222734.5490-2-arunisaac@systemreboot.net \
--to=arunisaac@systemreboot.net \
--cc=30456@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).