From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?QmrDtnJuIEjDtmZsaW5n?= Subject: [PATCH] gnu: add geos Date: Fri, 20 Jan 2017 18:35:31 +0100 Message-ID: <20170120183531.7ec19200@alma-ubu> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58905) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cUd6F-0004cl-BJ for guix-devel@gnu.org; Fri, 20 Jan 2017 12:35:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cUd6B-0006Pk-DW for guix-devel@gnu.org; Fri, 20 Jan 2017 12:35:43 -0500 Received: from m4s11.vlinux.de ([83.151.27.109]:52237) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cUd6B-0006Np-6E for guix-devel@gnu.org; Fri, 20 Jan 2017 12:35:39 -0500 Received: from alma-ubu (pD9EA5345.dip0.t-ipconnect.de [217.234.83.69]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by m4s11.vlinux.de (Postfix) with ESMTPSA id 173A65D83 for ; Fri, 20 Jan 2017 17:28:40 +0000 (UTC) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * gnu/packages/geo.scm (geos): New variable. --- gnu/packages/geo.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index 797b9ea30..75fde2752 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -32,6 +32,40 @@ #:use-module (gnu packages webkit) #:use-module (gnu packages xml)) +(define-public geos + (package + (name "geos") + (version "3.6.1") + (source (origin + (method url-fetch) + (uri (string-append "http://download.osgeo.org/geos/geos-" + version + ".tar.bz2")) + (sha256 + (base32 + "1icz31kd5sml2kdxhjznvmv33zfr6nig9l0i6bdcz9q9g8x4wbja")))) + (build-system gnu-build-system) + (arguments `(#:phases + (modify-phases %standard-phases + (add-after + 'unpack 'patch-test-shebangs + (lambda _ + (substitute* '("tests/xmltester/testrunner.sh" + "tests/geostest/testrunner.sh") + (("/bin/sh") (which "bash"))) + #t))))) + (inputs + `(("glib" ,glib))) + (home-page "https://geos.osgeo.org/") + (synopsis "Geometry Engine - Open Source") + (description + "GEOS (Geometry Engine - Open Source) is a C++ port of the +Java Topology Suite (JTS). As such, it aims to contain the complete +functionality of JTS in C++. This includes all the OpenGIS Simple Features +for SQL spatial predicate functions and spatial operators, +as well as specific JTS enhanced topology functions.") + (license license:lgpl2.1))) + ;;; FIXME GNOME Maps only runs within GNOME. On i3, it fails with this error: ;;; (org.gnome.Maps:8568): GLib-GIO-ERROR **: Settings schema ;;; 'org.gnome.desktop.interface' is not installed -- 2.11.0