From unknown Sat Sep 06 13:45:05 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#30456] [PATCH 1/2] gnu: Add mapnik. Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 14 Feb 2018 16:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 30456 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 30456@debbugs.gnu.org Cc: Arun Isaac X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15186258324766 (code B ref -1); Wed, 14 Feb 2018 16:31:01 +0000 Received: (at submit) by debbugs.gnu.org; 14 Feb 2018 16:30:32 +0000 Received: from localhost ([127.0.0.1]:43063 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elzwv-0001Eg-95 for submit@debbugs.gnu.org; Wed, 14 Feb 2018 11:30:32 -0500 Received: from eggs.gnu.org ([208.118.235.92]:59417) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elzwq-0001ER-Px for submit@debbugs.gnu.org; Wed, 14 Feb 2018 11:30:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1elzwj-0003yy-Si for submit@debbugs.gnu.org; Wed, 14 Feb 2018 11:30:15 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:51337) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1elzwj-0003yc-FO for submit@debbugs.gnu.org; Wed, 14 Feb 2018 11:30:13 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50360) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1elzwh-0006mZ-U8 for guix-patches@gnu.org; Wed, 14 Feb 2018 11:30:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1elzwa-0003vY-Su for guix-patches@gnu.org; Wed, 14 Feb 2018 11:30:11 -0500 Received: from [2001:19f0:5:274f:4827:c39:448f:6777] (port=57078 helo=vultr.systemreboot.net) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1elzwa-0003sE-8N for guix-patches@gnu.org; Wed, 14 Feb 2018 11:30:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=9FwG6zN6pm6Uvd4PlHnFZC6RLjT/c+i1OLMRm99JwGY=; b=j1+cyT2z0nluawd51YlAFO6T7L ofPZa2Rx5pMmTLBRagkh0dJ1KIMYaDNm7EuyQv6ViLhb5JTaFOgTym3N56HlqAHYEfQGl9hL930n4 sEyA6qnK3rO2rdRE8q3HAFSOeS/Oz88pD6b3Pb3rB28e7x9sVHNPMd4xB398sbft//Qs=; Received: from [124.40.246.228] (helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.90) (envelope-from ) id 1elzwO-0007FW-9j; Wed, 14 Feb 2018 21:59:52 +0530 From: Arun Isaac Date: Wed, 14 Feb 2018 21:59:03 +0530 Message-Id: <20180214162903.23995-1-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.9 (/) * gnu/packages/geo.scm (mapnik): New variable. --- gnu/packages/geo.scm | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index 9c7f7c115..b37320e8b 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -4,6 +4,7 @@ ;;; Copyright © 2017 Björn Höfling ;;; Copyright © 2018 Tobias Geerinckx-Rice ;;; Copyright © 2018 Ricardo Wurmus +;;; Copyright © 2018 Arun Isaac ;;; ;;; This file is part of GNU Guix. ;;; @@ -23,16 +24,21 @@ (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 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 +248,46 @@ projections.") (license:non-copyleft "http://www.epsg.org/TermsOfUse") ;; cmake/* license:boost1.0)))) + +(define-public mapnik + (package + (name "mapnik") + (version "3.0.16") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/mapnik/mapnik/releases/download/v" + version "/mapnik-v" version ".tar.bz2")) + (sha256 + (base32 + "1cdivxr6p1gs17ixvjny59sxxaj391fq7famflr24ad3s58n63ha")))) + (build-system scons-build-system) + (inputs + `(("boost" ,boost) + ("freetype" ,freetype) + ("harfbuzz" ,harfbuzz) + ("icu4c" ,icu4c) + ("libjpeg-turbo" ,libjpeg-turbo) + ("libpng" ,libpng) + ("libtiff" ,libtiff) + ("proj.4" ,proj.4) + ("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 license:lgpl2.1+))) -- 2.15.1 From unknown Sat Sep 06 13:45:05 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#30456] [PATCH 2/2] gnu: Add python2-mapnik. References: <20180214162903.23995-1-arunisaac@systemreboot.net> In-Reply-To: <20180214162903.23995-1-arunisaac@systemreboot.net> Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 14 Feb 2018 16:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30456 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 30456@debbugs.gnu.org Cc: Arun Isaac Received: via spool by 30456-submit@debbugs.gnu.org id=B30456.15186263405510 (code B ref 30456); Wed, 14 Feb 2018 16:39:02 +0000 Received: (at 30456) by debbugs.gnu.org; 14 Feb 2018 16:39:00 +0000 Received: from localhost ([127.0.0.1]:43068 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1em05D-0001Qo-VT for submit@debbugs.gnu.org; Wed, 14 Feb 2018 11:39:00 -0500 Received: from vultr.systemreboot.net ([45.77.148.100]:41608) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1em05B-0001QZ-Qi for 30456@debbugs.gnu.org; Wed, 14 Feb 2018 11:38:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Message-Id:Date:Subject:Cc:To:From:Sender: Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=dx/j7erQqpotZLdbYhlabdeR14qp0NSS16BkYQM3lcQ=; b=bloXlf4sAYPGUofTRZlbjDyVvc DlQ3qgG2asKIld1reY0I0yG8CVOs6fIuwG3l7pns19SKh5XVb+DdkK9s8tDtwPDAZkL608sNuEqVX gMwd55t0TyYNAFszX3/rcudoCC8perBP4BH8/2DNc1PHXibSTKUkVr6oiqZ8IwOVd+5U=; Received: from [124.40.246.228] (helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.90) (envelope-from ) id 1em053-0007qx-3N; Wed, 14 Feb 2018 22:08:49 +0530 From: Arun Isaac Date: Wed, 14 Feb 2018 22:08:30 +0530 Message-Id: <20180214163830.24474-1-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.15.1 X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) * gnu/packages/geo.scm (python2-mapnik): New variable. --- gnu/packages/geo.scm | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index b37320e8b..cc6af8ce6 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -24,12 +24,14 @@ (define-module (gnu packages geo) #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system gnu) + #:use-module (guix build-system python) #: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 check) #:use-module (gnu packages compression) #:use-module (gnu packages fontutils) #:use-module (gnu packages glib) @@ -291,3 +293,73 @@ 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 license:lgpl2.1+))) + +(define-public python2-mapnik + (package + (name "python2-mapnik") + (version "3.0.16") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/mapnik/python-mapnik/archive/v" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0w7wg72gnwmbjani9sqk42p2jwqkrl9hsdkawahni5m05xsifcb4")))) + (build-system python-build-system) + (inputs + `(("boost" ,boost) + ("harfbuzz" ,harfbuzz) + ("icu4c" ,icu4c) + ("libjpeg-turbo" ,libjpeg-turbo) + ("libpng" ,libpng) + ("libtiff" ,libtiff) + ("mapnik" ,mapnik) + ("proj.4" ,proj.4) + ("python2-pycairo" ,python2-pycairo))) + (native-inputs + `(("python2-nose" ,python2-nose) + ;; Test data is released as separate tarballs + ("test-data" + ,(origin + (method url-fetch) + (uri (string-append "https://github.com/mapnik/test-data/archive/v" + version ".tar.gz")) + (file-name (string-append "python2-mapnik-test-data-" version ".tar.gz")) + (sha256 (base32 "0wlkq7ywczh229kb608cnnccyvcly90krkq93ja9ggjhdq3ddn2y")))) + ("test-data-visual" + ,(origin + (method url-fetch) + (uri (string-append "https://github.com/mapnik/test-data-visual/archive/v" + version ".tar.gz")) + (file-name (string-append "python2-mapnik-test-data-visual-" + version ".tar.gz")) + (sha256 (base32 "0l9wmkjbghr48vk06s0rzh4gps5zg3b0sz5j5ivkb9wiy014i6zm")))))) + (arguments + `(#:python ,python-2 + #:phases + (modify-phases %standard-phases + ;; Unpack test data into the source tree + (add-after 'unpack 'unpack-submodules + (lambda* (#:key inputs #:allow-other-keys) + (let ((unpack (lambda (source target) + (with-directory-excursion target + (invoke "tar" "xvf" (assoc-ref inputs source) + "--strip-components=1"))))) + (unpack "test-data" "test/data") + (unpack "test-data-visual" "test/data-visual")))) + ;; Skip failing tests + (add-after 'unpack 'skip-tests + (lambda _ + (let ((skipped-tests (list "test_vrt_referring_to_missing_files" + "test_proj_antimeridian_bbox" + "test_render_with_scale_factor"))) + (substitute* "setup.cfg" + (("\\[nosetests\\]" all) + (string-append all "\nexclude=^(" + (string-join skipped-tests "|") ")$"))))))))) + (home-page "https://github.com/mapnik/python-mapnik") + (synopsis "Python bindings for Mapnik") + (description "This package provides Python bindings for Mapnik.") + (license license:lgpl2.1+))) -- 2.15.1 From unknown Sat Sep 06 13:45:05 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#30456] [PATCH 1/2] gnu: Add mapnik. Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 14 Feb 2018 21:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30456 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Arun Isaac Cc: 30456@debbugs.gnu.org Received: via spool by 30456-submit@debbugs.gnu.org id=B30456.15186426715122 (code B ref 30456); Wed, 14 Feb 2018 21:12:02 +0000 Received: (at 30456) by debbugs.gnu.org; 14 Feb 2018 21:11:11 +0000 Received: from localhost ([127.0.0.1]:43313 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1em4Kd-0001KY-JD for submit@debbugs.gnu.org; Wed, 14 Feb 2018 16:11:11 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:36279) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1em4Kc-0001KR-K6 for 30456@debbugs.gnu.org; Wed, 14 Feb 2018 16:11:10 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 5E7F320D67; Wed, 14 Feb 2018 16:11:10 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Wed, 14 Feb 2018 16:11:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= mesmtp; bh=pe0mL99a3SL5YE7+33EyiYfCfE+3ui/9TRYaOpgQVqc=; b=PD1k/ 7tZoedtNBUfBl8Ls7fxCzHMGYZXJyU0OHsn//3Z/pRLMRNG52/dJXnFGqGNDiYUx eIdvupGGGEVHDcuClT8xdA8qFucqEO0aJn7zhC5LcHNh5AUcMsmzYCFmyE/Bu4Lb 8vtXBNPRX0SsfwsQzMDPu0O1p1WsjWVkv6Zgn4= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=pe0mL99a3SL5YE7+33EyiYfCfE+3u i/9TRYaOpgQVqc=; b=fKZ38Q1axnym+x8fqfKYMO2LN8vp4P1CuI4goCDDomz9g bFA6cHEo/4R1m+gw0faN+PePzyWqhGgEGDiBEKiJRfGfUajnM8gR7omt4QmVlbiN aXXp7DJf3qL3QyiXTnzx+NyFMj9ckI+uoi+6+pNN7mT0i+w9qlwJLxhby85B2sPv ZsZiWlhozJo2l9v6vp6puMl93uobB01/1DIkBTDbyuJ9rFm6OQVr4w51K9qSfga6 iCw3FFoJpPdN2t41D/FH2BHqHS+rQxH9HWHnNDGNa+c5Q90kMyACxHxzhtTEm4gT i6bbgFDgOmUFVn3p2tOJSBQybfk9NTOi6WyNEAUlQ== X-ME-Sender: Received: from localhost (c-76-124-202-137.hsd1.pa.comcast.net [76.124.202.137]) by mail.messagingengine.com (Postfix) with ESMTPA id 008397E4A8; Wed, 14 Feb 2018 16:11:09 -0500 (EST) Date: Wed, 14 Feb 2018 16:11:05 -0500 From: Leo Famulari Message-ID: <20180214211105.GA22243@jasmine.lan> References: <20180214162903.23995-1-arunisaac@systemreboot.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="bp/iNruPH9dso1Pn" Content-Disposition: inline In-Reply-To: <20180214162903.23995-1-arunisaac@systemreboot.net> User-Agent: Mutt/1.9.3 (2018-01-21) X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --bp/iNruPH9dso1Pn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Feb 14, 2018 at 09:59:03PM +0530, Arun Isaac wrote: > * gnu/packages/geo.scm (mapnik): New variable. Thanks! > + (version "3.0.16") > + (source > + (origin > + (method url-fetch) > + (uri (string-append "https://github.com/mapnik/mapnik/releases/download/v" > + version "/mapnik-v" version ".tar.bz2")) I notice that 3.0.18 is available upstream. Please use that if possible, otherwise leave a code comment explaining why we use an older release. Otherwise LGTM --bp/iNruPH9dso1Pn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlqEpekACgkQJkb6MLrK fwiS5w/9GGdWvOn7xaDvyucCeVmP1B7l6sCspU0Kdfs5SMBun/J4WKVNZggcgX1P XmqN0mg39L0Hzok1zjNS3nqDU0yoUwK4yIObKrgXIoJxGoRl3ZpjxbBJDuGJWYRM FbBuoK6sQQctycSXh1Lp2Vd1EtOhaksR+ygsZHk1IjZ2FgyBmy154F8SpmwwjHul uxOLBLvAmNVw+j25ZZSYQVj2gerc8GJOBdf+Ryh0wtFk/E02G+XidTvxuM65Prxd qQsmZodVQLsv7NBIFHUW3OftC5TULTHtZOjUXwpy+i2s6D57D0g7CsJHBieSCNy9 bZ1OAwGRJsKkny/9ur2EOTN9T+ftXmSfF8OoFNvE4RWN299al+jmQ8Yc4qNEeyCg bWypRwEWJFFZ9+7v1YXgtCVYLw+G1ZdPQZDWrv1bKkQbAPpThZOfKyy8xnhj7BDJ i2IiA6LP0kTo3bZwclEydiz9okUqSv4hbZW9i2DVARSCvxNs71SHgzVQLQpswZml BYbPNGtwDhcvrdbPwe7xvWQaJ93wEBIPpEENe6YpVtuEZQJtuCSd51GHl31X41j0 gzUpjpPj/4dRd3kG6PMWIzK/SVUDoYTIVfgi7YJdCkuMVfk7NCjFjEA5eFo+urp9 0cM3ihwm/WACHfaDXCA4qUI7sIpjgNArj+2H+rx/0btLof351c4= =uvHW -----END PGP SIGNATURE----- --bp/iNruPH9dso1Pn-- From unknown Sat Sep 06 13:45:05 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#30456] [PATCH 2/2] gnu: Add python2-mapnik. Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 14 Feb 2018 21:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30456 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Arun Isaac Cc: 30456@debbugs.gnu.org Received: via spool by 30456-submit@debbugs.gnu.org id=B30456.15186427525263 (code B ref 30456); Wed, 14 Feb 2018 21:13:02 +0000 Received: (at 30456) by debbugs.gnu.org; 14 Feb 2018 21:12:32 +0000 Received: from localhost ([127.0.0.1]:43322 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1em4Lw-0001Mp-98 for submit@debbugs.gnu.org; Wed, 14 Feb 2018 16:12:32 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:42159) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1em4Lu-0001Mi-Uy for 30456@debbugs.gnu.org; Wed, 14 Feb 2018 16:12:31 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id CEECE20A11; Wed, 14 Feb 2018 16:12:30 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Wed, 14 Feb 2018 16:12:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= mesmtp; bh=ax2l5OxSLaflJqleq8vOAs6WcWW80vGUVnyzJfkXPyA=; b=XHpv1 ja8JG4ZXa3dJmSdGDToKLrqYcBVydtBZcbHruAXPbDbJZt8A4UIxb/mO3PlAhnZC 8JwwYpy1NetAxRfsmsZX9oxLe29TA2+ZCup+QCkt15ZDc6ReTpKf6+WFikBZAb+p EHxONd0waShP+Kr9xjcr47fHfFlWJATSunliTk= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=ax2l5OxSLaflJqleq8vOAs6WcWW80 vGUVnyzJfkXPyA=; b=I+fd2h3qqF35feBb3P0jJARTAYeqjrqwGlbkPZrf8wgnV 9i+lMbdR1S0GLzCz6tSWw2h7lNq6LwwWGjGJ3Mk69H0TWnjNE4rsG96B1FcEagO+ x5Ewwbo9Tqo8ifLt1SzUbE5IInilkUHQPAZEdMiyMBJVyXelfTx7NmnTWXEx8DZt 9IkwFCCKFUPqiDG9O8788CTG6I7hpHOH3jkpSQYPoyij9ha+5byeqLVJ2ArLAQHb Ju0R3pjAOdHTbgPdbT0a7KjIofsBDiwR+FMkJ8Y5XidGDqe29fl1IFRazCQaj+D6 SuayTRI3lWJ4TU3TWq5MleuND/Bulc+JRn6ptuSCw== X-ME-Sender: Received: from localhost (c-76-124-202-137.hsd1.pa.comcast.net [76.124.202.137]) by mail.messagingengine.com (Postfix) with ESMTPA id 8D68E240DE; Wed, 14 Feb 2018 16:12:30 -0500 (EST) Date: Wed, 14 Feb 2018 16:12:29 -0500 From: Leo Famulari Message-ID: <20180214211229.GB22243@jasmine.lan> References: <20180214162903.23995-1-arunisaac@systemreboot.net> <20180214163830.24474-1-arunisaac@systemreboot.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="wq9mPyueHGvFACwf" Content-Disposition: inline In-Reply-To: <20180214163830.24474-1-arunisaac@systemreboot.net> User-Agent: Mutt/1.9.3 (2018-01-21) X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --wq9mPyueHGvFACwf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Feb 14, 2018 at 10:08:30PM +0530, Arun Isaac wrote: > * gnu/packages/geo.scm (python2-mapnik): New variable. Thanks! > + `(#:python ,python-2 If it doesn't support Python 3, please leave a short comment saying so. Otherwise can you add both variants? --wq9mPyueHGvFACwf Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlqEpj0ACgkQJkb6MLrK fwgaZA//SWWM6EJpH+6HMXsZTvV5Aw5ETM++lqT3nTJr6aIfxQafl3Wm5xncWuJ0 Ga2zMN8BT5gCmqKqiv6mxV4G7v93xua5Y956u34xYs6DHE43uX/jmEibTNmWFuNe N8JMN5EZteF15UCAkt2KWNEdlZWDqPkmJG9r7zSg6EbMWP0NtkVkO3CFbQU0mFR6 fszVcSuJdRtUtRvg4a371hzTmo2m4LmWRJ1Q+zSwquXK0yW1Txu/irQHvMgO5I8a y/U8nF4cVyZ3liuJkQBCL2R3vwtoF+KKKCA+0exK4/9QW9SK29/nQqca7fTi5xn1 sEeMEzL+EqU2eNF7wGdv4pk9RLZybiHrnFhqPCgMR3Cx01I0dG/v6PQlaS0OyBGh rHAErMp2k378rB7zJs4K9dX3KGRl9YOqcyMuKwXLsL+4Iswrv1lCHock1U04BHGf 29jX+ry/rcO0TdQz/nZQn0jT1ZZleut/xybVAb5pifxD6FT2jjIlQ9Qlgn1n2cfm kUt8dbZmkYNwSjxTkih3X1WmrA5+9xqGcmkuvURUFcx7R/t6dp7QY7iTNvuMdZtB HOh4M1mD8vV2XEx8JFgxEYc6wTl4YqIByDPRN7cEgQlRQ1fLY7qd6N+Vf3jFsIef vAfeafgP/Rl+z8W9+MbdSETWPWFYPD8ccsiV5vMFowNfd5PcK2U= =CnKK -----END PGP SIGNATURE----- --wq9mPyueHGvFACwf-- From unknown Sat Sep 06 13:45:05 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#30456] [PATCH 1/2] gnu: Add mapnik. Resent-From: =?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 14 Feb 2018 22:51:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30456 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Arun Isaac Cc: 30456@debbugs.gnu.org Received: via spool by 30456-submit@debbugs.gnu.org id=B30456.151864863914250 (code B ref 30456); Wed, 14 Feb 2018 22:51:03 +0000 Received: (at 30456) by debbugs.gnu.org; 14 Feb 2018 22:50:39 +0000 Received: from localhost ([127.0.0.1]:43444 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1em5ss-0003hm-Pf for submit@debbugs.gnu.org; Wed, 14 Feb 2018 17:50:38 -0500 Received: from m4s11.vlinux.de ([83.151.27.109]:44081 helo=bjoernhoefling.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1em5sr-0003hd-8s for 30456@debbugs.gnu.org; Wed, 14 Feb 2018 17:50:37 -0500 Received: from alma-ubu (pD951FC9C.dip0.t-ipconnect.de [217.81.252.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by bjoernhoefling.de (Postfix) with ESMTPSA id 2AFC83FF0F; Wed, 14 Feb 2018 23:50:35 +0100 (CET) Date: Wed, 14 Feb 2018 23:50:34 +0100 From: =?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?= Message-ID: <20180214235034.1f31ce7f@alma-ubu> In-Reply-To: <20180214162903.23995-1-arunisaac@systemreboot.net> References: <20180214162903.23995-1-arunisaac@systemreboot.net> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Thanks for adding this! On Wed, 14 Feb 2018 21:59:03 +0530 Arun Isaac wrote: > * gnu/packages/geo.scm (mapnik): New variable. [..] > + (inputs > + `(("boost" ,boost) > + ("freetype" ,freetype) > + ("harfbuzz" ,harfbuzz) > + ("icu4c" ,icu4c) > + ("libjpeg-turbo" ,libjpeg-turbo) > + ("libpng" ,libpng) > + ("libtiff" ,libtiff) > + ("proj.4" ,proj.4) > + ("zlib" ,zlib))) Have you tried to add these dependencies to gain potentially more rendering input/output: libwebp cairo sqlite [..] > + (license license:lgpl2.1+))) Many files under ./demo are licensed under "license:gpl2.0+". Add that license, too. Furthermore, there are: license:boost1.0 ;; deps/boost license:bsd3 ;; deps/mapbox and deps/mapnik/sparsehash Finally, dep/agg has another license. Is it expat or even less? Here it is: // Permission to copy, use, modify, sell and distribute this software // is granted provided this copyright notice appears in all copies. // This software is provided "as is" without express or implied // warranty, and with no claim as to its suitability for any purpose. Otherwise, LGTM. Bj=C3=B6rn From unknown Sat Sep 06 13:45:05 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#30456] [PATCH 1/2] gnu: Add mapnik. Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 14 Feb 2018 23:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30456 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: =?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?= Cc: 30456@debbugs.gnu.org, Arun Isaac Received: via spool by 30456-submit@debbugs.gnu.org id=B30456.151864993116109 (code B ref 30456); Wed, 14 Feb 2018 23:13:01 +0000 Received: (at 30456) by debbugs.gnu.org; 14 Feb 2018 23:12:11 +0000 Received: from localhost ([127.0.0.1]:43452 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1em6Di-0004Bk-RG for submit@debbugs.gnu.org; Wed, 14 Feb 2018 18:12:11 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:41801) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1em6De-0004BZ-SA for 30456@debbugs.gnu.org; Wed, 14 Feb 2018 18:12:08 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 7462720B60; Wed, 14 Feb 2018 18:12:06 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Wed, 14 Feb 2018 18:12:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= mesmtp; bh=4IMYjPgi0UVWfsdsrdkDfy4nYSYsophF+2g1Jkb6GqA=; b=oXqxh BImfGyIZ4LRhjSMAUO0PRmZfWedA4LkRaofcnOWfg+x+7ejcErrfs7ChXqw9429B RSr0O3inc0gz2txUsoAGAadj6ZB9ZvHEd6tuk78cPzJ6yO4i/YcwjfmAz6K9GmYO RSXXdTWCc4Px5lYm9Fs5RRKa3Cy92T51P6f4dA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=4IMYjPgi0UVWfsdsrdkDfy4nYSYso phF+2g1Jkb6GqA=; b=KJYyZUz3ehHFmAX+ivIcM/98P4WRrY9TJkkaFRWpmi+R6 Z18phT/4YNVuF7VCoXOcV2Dp7D0//gwL3ZFjLOb5Sk6VydAakcbNsABpNeI+LjCU Q93AJEBxykd7s/61TSRaSiZl6/zvDny77TVK2GaJvjfF7mF2JVWEH4eig+tOHjW6 9I9QUoUyggx6WJHC2Fx16dPhSFSpcye8CnamyZBHoxlffc4pcN6qYOUIxtpvvchu 2DvTvM7FdWFRfqr0WvgusfS97gUXEQ+F++GkjbXJjIRtP0syys0UXJ+DEVijJNTa V1EtyZCmbkcdqpY+L0CPD18DZ37cmnu2jQNxw88sg== X-ME-Sender: Received: from localhost (c-76-124-202-137.hsd1.pa.comcast.net [76.124.202.137]) by mail.messagingengine.com (Postfix) with ESMTPA id 3CC9624550; Wed, 14 Feb 2018 18:12:06 -0500 (EST) Date: Wed, 14 Feb 2018 18:12:02 -0500 From: Leo Famulari Message-ID: <20180214231202.GB27696@jasmine.lan> References: <20180214162903.23995-1-arunisaac@systemreboot.net> <20180214235034.1f31ce7f@alma-ubu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ftEhullJWpWg/VHq" Content-Disposition: inline In-Reply-To: <20180214235034.1f31ce7f@alma-ubu> User-Agent: Mutt/1.9.3 (2018-01-21) X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --ftEhullJWpWg/VHq Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 14, 2018 at 11:50:34PM +0100, Bj=F6rn H=F6fling wrote: > Finally, dep/agg has another license. Is it expat or even less? Here it > is: >=20 > // Permission to copy, use, modify, sell and distribute this software > // is granted provided this copyright notice appears in all copies. > // This software is provided "as is" without express or implied > // warranty, and with no claim as to its suitability for any purpose. This is basically a permissive non-copyleft free software license. It's not the Expat / MIT license. I found a few other instances of it with Google, but I don't think it has a name. In that case, it could be described with the non-copyleft procedure. --ftEhullJWpWg/VHq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlqEwkEACgkQJkb6MLrK fwjzjQ//c8A8qx/8HjqJXvGpAojxrz6a+sogZNX0N8fdOG6eSkgdAC2uBErKrjF6 SrMq5/5OWLKUJwG8ZCqqPAN9OYZRFPKfkfqVj0BLROGeCucJhnzaXIrPinaXoeOr MUbBpqRHu2dKgE/BAZO9elo/9ejEGnRQn7Z+hooC1NQorCG7DRQyKJsk8F/meyxR 0vwL+LqJsbsoObTwtUr+wmsnG2hRSGdzDrjdNrEuj6CCqMhWLFbf8ikBKpHpWj62 x+zFVcGBNR3NsU9x1X/1ZeFZbdarjY5KNVN30v/og0c4Mbmn6z18BXFeludDRoNh emLzzb2opvgbvwZrlXSsLMcrz+IyZ+yrN6KMXg1GGC8MQbeVpD8Av0bc5WeJowQN bWJcUxWjOMSHWf6bCKlBjWDmGZ1KEJBo4rFujsSpFoN+v4Yqni/6iH9XTLDeFBUL OuIPl3rAVDJud0Eoz7w/NDRdbvCFFYQZjqUwbTc9ExPFKLW9uneGI5XxfeSNLUHm TsgSyGlS3QVtTtAPJ/PbwHtUbNzhylQRpAINatKjTpGj7rFnCvoaOY7ilcPogcAQ Th0jlX7VOWpzbgFshKnQ2Wgu0biDMXPXKg1NoruChmm/2MsqPiBlZlJbO8tLKJOU BuUL7+ak4GMRW5mXOKmjf+4uDarwdnyaoOw+IJhsuA5gD4w7BZk= =tCAr -----END PGP SIGNATURE----- --ftEhullJWpWg/VHq-- From unknown Sat Sep 06 13:45:05 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#30456] [PATCH 2/2] gnu: Add python2-mapnik. Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 15 Feb 2018 22:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30456 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 30456@debbugs.gnu.org Cc: Arun Isaac Received: via spool by 30456-submit@debbugs.gnu.org id=B30456.151873371311272 (code B ref 30456); Thu, 15 Feb 2018 22:29:01 +0000 Received: (at 30456) by debbugs.gnu.org; 15 Feb 2018 22:28:33 +0000 Received: from localhost ([127.0.0.1]:45272 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1emS13-0002ve-9b for submit@debbugs.gnu.org; Thu, 15 Feb 2018 17:28:33 -0500 Received: from vultr.systemreboot.net ([45.77.148.100]:41554) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1emS11-0002vJ-0O for 30456@debbugs.gnu.org; Thu, 15 Feb 2018 17:28:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=J8lqbDiWUfck/Fm9GvCdr4q1AtiKHoF9F1YhgpK79qU=; b=exBXRIQGha1BwyBd0hta1RrmJ yc9y6KBls/KBPsKrf/itDyn5tnh3B/pRyNFGBwFRkARHdm536KCFPGbAmXOKK1yni4D1oMvWXQ53h hj8Ye8fujJDxSYZHQ6hZkYcWP4OvLb/2m6WHNrqfTdYPqKY/AjSG+4zBmeYIF/63guow0=; Received: from [103.194.20.191] (helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.90) (envelope-from ) id 1emS0s-0006TF-E4; Fri, 16 Feb 2018 03:58:22 +0530 From: Arun Isaac Date: Fri, 16 Feb 2018 03:57:34 +0530 Message-Id: <20180215222734.5490-3-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180215222734.5490-1-arunisaac@systemreboot.net> References: <20180215222734.5490-1-arunisaac@systemreboot.net> X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) * gnu/packages/geo.scm (python2-mapnik): New variable. --- gnu/packages/geo.scm | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index 360e188b5..6943fd1f1 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -24,12 +24,14 @@ (define-module (gnu packages geo) #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system gnu) + #:use-module (guix build-system python) #: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 check) #:use-module (gnu packages compression) #:use-module (gnu packages databases) #:use-module (gnu packages fontutils) @@ -305,3 +307,73 @@ development.") ;; deps/agg (license:non-copyleft "file://deps/agg/copying"))))) +(define-public python2-mapnik + (package + (name "python2-mapnik") + (version "3.0.16") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/mapnik/python-mapnik/archive/v" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0w7wg72gnwmbjani9sqk42p2jwqkrl9hsdkawahni5m05xsifcb4")))) + (build-system python-build-system) + (inputs + `(("boost" ,boost) + ("harfbuzz" ,harfbuzz) + ("icu4c" ,icu4c) + ("libjpeg-turbo" ,libjpeg-turbo) + ("libpng" ,libpng) + ("libtiff" ,libtiff) + ("libwebp" ,libwebp) + ("mapnik" ,mapnik) + ("proj.4" ,proj.4) + ("python2-pycairo" ,python2-pycairo))) + (native-inputs + (let ((test-data-input + (lambda (repository version hash) + (origin + (method url-fetch) + (uri (string-append "https://github.com/mapnik/" repository + "/archive/v" version ".tar.gz")) + (file-name (string-append "python-mapnik-" repository + "-" version ".tar.gz")) + (sha256 (base32 hash)))))) + `(("python2-nose" ,python2-nose) + ;; Test data is released as separate tarballs + ("test-data" + ,(test-data-input "test-data" "3.0.18" + "10cvgn5gxn8ldrszj24zr1vzm5w76kqk4s7bl2zzp5yvkhh8lj1n")) + ("test-data-visual" + ,(test-data-input "test-data-visual" "3.0.18" + "1cb9ghy8sis0w5fkp0dvwxdqqx44rhs9a9w8g9r9i7md1c40r80i"))))) + (arguments + `(#:python ,python-2 ; Python 3 support is incomplete, and the build fails + #:phases + (modify-phases %standard-phases + ;; Unpack test data into the source tree + (add-after 'unpack 'unpack-submodules + (lambda* (#:key inputs #:allow-other-keys) + (let ((unpack (lambda (source target) + (with-directory-excursion target + (invoke "tar" "xvf" (assoc-ref inputs source) + "--strip-components=1"))))) + (unpack "test-data" "test/data") + (unpack "test-data-visual" "test/data-visual")))) + ;; Skip failing tests + (add-after 'unpack 'skip-tests + (lambda _ + (let ((skipped-tests (list "test_vrt_referring_to_missing_files" + "test_proj_antimeridian_bbox" + "test_render_with_scale_factor"))) + (substitute* "setup.cfg" + (("\\[nosetests\\]" all) + (string-append all "\nexclude=^(" + (string-join skipped-tests "|") ")$"))))))))) + (home-page "https://github.com/mapnik/python-mapnik") + (synopsis "Python bindings for Mapnik") + (description "This package provides Python bindings for Mapnik.") + (license license:lgpl2.1+))) -- 2.15.1 From unknown Sat Sep 06 13:45:05 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#30456] [PATCH 1/2] gnu: Add mapnik. Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 15 Feb 2018 22:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30456 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 30456@debbugs.gnu.org Cc: Arun Isaac Received: via spool by 30456-submit@debbugs.gnu.org id=B30456.151873372011287 (code B ref 30456); Thu, 15 Feb 2018 22:29:02 +0000 Received: (at 30456) by debbugs.gnu.org; 15 Feb 2018 22:28:40 +0000 Received: from localhost ([127.0.0.1]:45275 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1emS13-0002vl-Pb for submit@debbugs.gnu.org; Thu, 15 Feb 2018 17:28:40 -0500 Received: from vultr.systemreboot.net ([45.77.148.100]:41556) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1emS11-0002vK-0e for 30456@debbugs.gnu.org; Thu, 15 Feb 2018 17:28:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=vuDnbfq9w+GrnIRgwtTnkV7JVcTEfAflIbCnxAMcOUQ=; b=MXmjA1xe126mjsvbQLJfT4bTUD IiPcNAUBG+iCgUwAnRte1d6wIiy5D8ke1MPnrX/UxtptMjyLEI6Vl0cPFS5alg1VymqZnoTsYUs5w EBzUlimnruG4ZuEXZQBNhSRw+7gDX1uJT9kyw2U6iPXhwyP1sP7oobA5j+RlxpmGvevY=; Received: from [103.194.20.191] (helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.90) (envelope-from ) id 1emS0s-0006TF-A4; Fri, 16 Feb 2018 03:58:22 +0530 From: Arun Isaac Date: Fri, 16 Feb 2018 03:57:33 +0530 Message-Id: <20180215222734.5490-2-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180215222734.5490-1-arunisaac@systemreboot.net> References: <20180215222734.5490-1-arunisaac@systemreboot.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) * 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 ;;; Copyright © 2018 Tobias Geerinckx-Rice ;;; Copyright © 2018 Ricardo Wurmus +;;; Copyright © 2018 Arun Isaac ;;; ;;; 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 From unknown Sat Sep 06 13:45:05 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#30456] [PATCH 0/2] Mapnik References: <20180214162903.23995-1-arunisaac@systemreboot.net> In-Reply-To: <20180214162903.23995-1-arunisaac@systemreboot.net> Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 15 Feb 2018 22:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30456 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 30456@debbugs.gnu.org Cc: bjoern.hoefling@bjoernhoefling.de, Arun Isaac , leo@famulari.name Received: via spool by 30456-submit@debbugs.gnu.org id=B30456.151873372111293 (code B ref 30456); Thu, 15 Feb 2018 22:29:02 +0000 Received: (at 30456) by debbugs.gnu.org; 15 Feb 2018 22:28:41 +0000 Received: from localhost ([127.0.0.1]:45277 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1emS1A-0002w1-R5 for submit@debbugs.gnu.org; Thu, 15 Feb 2018 17:28:40 -0500 Received: from vultr.systemreboot.net ([45.77.148.100]:41562) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1emS12-0002vN-W6 for 30456@debbugs.gnu.org; Thu, 15 Feb 2018 17:28:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Message-Id:Date:Subject:Cc:To:From:Sender: Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=IO3VKAh486Fb97Qw1zyLoPWpWiHmv3P0VkHZ9MOJjvc=; b=LgpMpp12PkRjE+euX85b538P+v 2KtanS+ls5oRc8WYTU0j/Wz6vZbicwCHtvYP/W9d1aFgFHYl4BBIlITaDxlPfdPb2FAEgwjPLDnpw 2jXbsss6ZY/GVuj8T3Q++oImbYhcE0ScHQ/M4KAdw9QnDyBAuMgmPa3xKN9AojH9CZYo=; Received: from [103.194.20.191] (helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.90) (envelope-from ) id 1emS0o-0006TF-Oi; Fri, 16 Feb 2018 03:58:18 +0530 From: Arun Isaac Date: Fri, 16 Feb 2018 03:57:32 +0530 Message-Id: <20180215222734.5490-1-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.15.1 X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Thanks for the review. I have made the following changes * switched to the latest 3.0.18 release of mapnik * added libxml2, libwebp, cairo and sqlite as inputs * added the missing licenses * added a comment saying that python-mapnik builds successfully only with python 2 I believe I have covered all issues raised. Are there any more? Arun Isaac (2): gnu: Add mapnik. gnu: Add python2-mapnik. gnu/packages/geo.scm | 135 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 135 insertions(+) -- 2.15.1 From unknown Sat Sep 06 13:45:05 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#30456] [PATCH 0/2] Mapnik Resent-From: =?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 16 Feb 2018 12:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30456 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Arun Isaac Cc: 30456@debbugs.gnu.org Received: via spool by 30456-submit@debbugs.gnu.org id=B30456.151878518832363 (code B ref 30456); Fri, 16 Feb 2018 12:47:02 +0000 Received: (at 30456) by debbugs.gnu.org; 16 Feb 2018 12:46:28 +0000 Received: from localhost ([127.0.0.1]:45761 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1emfPI-0008Pu-Aq for submit@debbugs.gnu.org; Fri, 16 Feb 2018 07:46:28 -0500 Received: from m4s11.vlinux.de ([83.151.27.109]:44090 helo=bjoernhoefling.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1emfPF-0008Pk-DW for 30456@debbugs.gnu.org; Fri, 16 Feb 2018 07:46:27 -0500 Received: from alma-ubu (pD951FC9C.dip0.t-ipconnect.de [217.81.252.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by bjoernhoefling.de (Postfix) with ESMTPSA id E546B40AAC; Fri, 16 Feb 2018 13:46:23 +0100 (CET) Date: Fri, 16 Feb 2018 13:46:23 +0100 From: =?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?= Message-ID: <20180216134623.70148818@alma-ubu> In-Reply-To: <20180215222734.5490-1-arunisaac@systemreboot.net> References: <20180215222734.5490-1-arunisaac@systemreboot.net> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) On Fri, 16 Feb 2018 03:57:32 +0530 Arun Isaac wrote: > Thanks for the review. >=20 > I have made the following changes >=20 > * switched to the latest 3.0.18 release of mapnik > * added libxml2, libwebp, cairo and sqlite as inputs > * added the missing licenses > * added a comment saying that python-mapnik builds successfully only > with python 2 >=20 > I believe I have covered all issues raised. Are there any more? >=20 > Arun Isaac (2): > gnu: Add mapnik. > gnu: Add python2-mapnik. >=20 > gnu/packages/geo.scm | 135 > +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, > 135 insertions(+) >=20 Looks good. Thank you! Bj=C3=B6rn From unknown Sat Sep 06 13:45:05 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Arun Isaac Subject: bug#30456: closed (Re: [PATCH 0/2] Mapnik) Message-ID: References: <20180214162903.23995-1-arunisaac@systemreboot.net> X-Gnu-PR-Message: they-closed 30456 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 30456@debbugs.gnu.org Date: Sun, 18 Feb 2018 12:52:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1518958322-13886-1" This is a multi-part message in MIME format... ------------=_1518958322-13886-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #30456: [PATCH 1/2] gnu: Add mapnik. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 30456@debbugs.gnu.org. --=20 30456: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D30456 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1518958322-13886-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 30456-done) by debbugs.gnu.org; 18 Feb 2018 12:51:42 +0000 Received: from localhost ([127.0.0.1]:48995 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1enORR-0003bQ-UI for submit@debbugs.gnu.org; Sun, 18 Feb 2018 07:51:42 -0500 Received: from vultr.systemreboot.net ([45.77.148.100]:46700) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1enORP-0003bC-P9 for 30456-done@debbugs.gnu.org; Sun, 18 Feb 2018 07:51:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=AsT+bA4uj1SxxAONDlbXkjYLcFp4mIp0PBXMc3mvAhI=; b=Hsing8cAElAPKsrGbLdPBHacC EIilGKW7uK3Xzmt8kpwVw2CWQoQRRtQE0imyn5KnX+4OsafmLNPDVGvZCJistk52SlLgda57B1Fap ACDoviMpVvNUMBnLVoXlbR4Bin14vZ/lU1p+SWXTsoU6jzpxg3+w6WI4ftdpI1pRnjq0w=; Received: from [61.3.30.200] (helo=steel) by systemreboot.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90) (envelope-from ) id 1enOR4-00073b-KG; Sun, 18 Feb 2018 18:21:18 +0530 From: Arun Isaac To: 30456-done@debbugs.gnu.org Subject: Re: [PATCH 0/2] Mapnik In-Reply-To: <20180216134623.70148818@alma-ubu> References: <20180215222734.5490-1-arunisaac@systemreboot.net> <20180216134623.70148818@alma-ubu> Date: Sun, 18 Feb 2018 18:21:05 +0530 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 30456-done Cc: =?utf-8?Q?Bj=C3=B6rn_H=C3=B6fling?= , Leo Famulari X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Pushed to master. Thank you both for the review! ------------=_1518958322-13886-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 14 Feb 2018 16:30:32 +0000 Received: from localhost ([127.0.0.1]:43063 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elzwv-0001Eg-95 for submit@debbugs.gnu.org; Wed, 14 Feb 2018 11:30:32 -0500 Received: from eggs.gnu.org ([208.118.235.92]:59417) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elzwq-0001ER-Px for submit@debbugs.gnu.org; Wed, 14 Feb 2018 11:30:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1elzwj-0003yy-Si for submit@debbugs.gnu.org; Wed, 14 Feb 2018 11:30:15 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:51337) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1elzwj-0003yc-FO for submit@debbugs.gnu.org; Wed, 14 Feb 2018 11:30:13 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50360) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1elzwh-0006mZ-U8 for guix-patches@gnu.org; Wed, 14 Feb 2018 11:30:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1elzwa-0003vY-Su for guix-patches@gnu.org; Wed, 14 Feb 2018 11:30:11 -0500 Received: from [2001:19f0:5:274f:4827:c39:448f:6777] (port=57078 helo=vultr.systemreboot.net) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1elzwa-0003sE-8N for guix-patches@gnu.org; Wed, 14 Feb 2018 11:30:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=9FwG6zN6pm6Uvd4PlHnFZC6RLjT/c+i1OLMRm99JwGY=; b=j1+cyT2z0nluawd51YlAFO6T7L ofPZa2Rx5pMmTLBRagkh0dJ1KIMYaDNm7EuyQv6ViLhb5JTaFOgTym3N56HlqAHYEfQGl9hL930n4 sEyA6qnK3rO2rdRE8q3HAFSOeS/Oz88pD6b3Pb3rB28e7x9sVHNPMd4xB398sbft//Qs=; Received: from [124.40.246.228] (helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.90) (envelope-from ) id 1elzwO-0007FW-9j; Wed, 14 Feb 2018 21:59:52 +0530 From: Arun Isaac To: guix-patches@gnu.org Subject: [PATCH 1/2] gnu: Add mapnik. Date: Wed, 14 Feb 2018 21:59:03 +0530 Message-Id: <20180214162903.23995-1-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit Cc: Arun Isaac X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.9 (/) * gnu/packages/geo.scm (mapnik): New variable. --- gnu/packages/geo.scm | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index 9c7f7c115..b37320e8b 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -4,6 +4,7 @@ ;;; Copyright © 2017 Björn Höfling ;;; Copyright © 2018 Tobias Geerinckx-Rice ;;; Copyright © 2018 Ricardo Wurmus +;;; Copyright © 2018 Arun Isaac ;;; ;;; This file is part of GNU Guix. ;;; @@ -23,16 +24,21 @@ (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 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 +248,46 @@ projections.") (license:non-copyleft "http://www.epsg.org/TermsOfUse") ;; cmake/* license:boost1.0)))) + +(define-public mapnik + (package + (name "mapnik") + (version "3.0.16") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/mapnik/mapnik/releases/download/v" + version "/mapnik-v" version ".tar.bz2")) + (sha256 + (base32 + "1cdivxr6p1gs17ixvjny59sxxaj391fq7famflr24ad3s58n63ha")))) + (build-system scons-build-system) + (inputs + `(("boost" ,boost) + ("freetype" ,freetype) + ("harfbuzz" ,harfbuzz) + ("icu4c" ,icu4c) + ("libjpeg-turbo" ,libjpeg-turbo) + ("libpng" ,libpng) + ("libtiff" ,libtiff) + ("proj.4" ,proj.4) + ("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 license:lgpl2.1+))) -- 2.15.1 ------------=_1518958322-13886-1--