From: Marius Bakke <mbakke@fastmail.com>
To: "Björn Höfling" <bjoern.hoefling@bjoernhoefling.de>, guix-devel@gnu.org
Subject: Re: [PATCH] gnu: add geos
Date: Sat, 21 Jan 2017 14:08:12 +0100 [thread overview]
Message-ID: <87vat85znn.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <20170120183531.7ec19200@alma-ubu>
[-- Attachment #1: Type: text/plain, Size: 2201 bytes --]
Björn Höfling <bjoern.hoefling@bjoernhoefling.de> writes:
> * gnu/packages/geo.scm (geos): New variable.
Thanks for this! I've applied it with some minor changes, described
below:
> +(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")))
Bash behaves differently based on whether it's invoked as 'bash' or
'sh', so I changed this to (which "sh") to be safe.
> + #t)))))
> + (inputs
> + `(("glib" ,glib)))
> + (home-page "https://geos.osgeo.org/")
> + (synopsis "Geometry Engine - Open Source")
We try to avoid terms like "open source" or "free software" since it's
implied in the context of Guix.
> + (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.")
I took inspiration from Debians description of this package and tweaked
it a little.
> + (license license:lgpl2.1)))
The files do not mention whether it's 2.1 only or later versions so we
default to "or later". Also found a few files with other licenses.
Pushed as 252611c7c4e72577cd0c91a41e10176f37ac318b !
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
next prev parent reply other threads:[~2017-01-21 13:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-20 17:35 [PATCH] gnu: add geos Björn Höfling
2017-01-21 13:08 ` Marius Bakke [this message]
2017-01-22 23:12 ` Björn Höfling
2017-01-23 16:59 ` Marius Bakke
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87vat85znn.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me \
--to=mbakke@fastmail.com \
--cc=bjoern.hoefling@bjoernhoefling.de \
--cc=guix-devel@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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.