From patchwork Sun Mar 28 08:40:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felix Gruber X-Patchwork-Id: 28149 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id DBCC627BC63; Sun, 28 Mar 2021 09:42:28 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id C49C427BC63 for ; Sun, 28 Mar 2021 09:42:27 +0100 (BST) Received: from localhost ([::1]:38464 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lQR07-000500-0H for patchwork@mira.cbaines.net; Sun, 28 Mar 2021 04:42:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60068) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lQQzj-0004fX-BM for guix-patches@gnu.org; Sun, 28 Mar 2021 04:42:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33857) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lQQzj-00088I-4F for guix-patches@gnu.org; Sun, 28 Mar 2021 04:42:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lQQzj-0001uB-2G for guix-patches@gnu.org; Sun, 28 Mar 2021 04:42:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47443] [PATCH 4/6] gnu: Add librasterlite2. Resent-From: Felix Gruber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 28 Mar 2021 08:42:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47443 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47443@debbugs.gnu.org Cc: Felix Gruber Received: via spool by 47443-submit@debbugs.gnu.org id=B47443.16169209057254 (code B ref 47443); Sun, 28 Mar 2021 08:42:03 +0000 Received: (at 47443) by debbugs.gnu.org; 28 Mar 2021 08:41:45 +0000 Received: from localhost ([127.0.0.1]:45394 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lQQzQ-0001sp-QU for submit@debbugs.gnu.org; Sun, 28 Mar 2021 04:41:45 -0400 Received: from mout02.posteo.de ([185.67.36.66]:35175) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lQQzM-0001sM-A1 for 47443@debbugs.gnu.org; Sun, 28 Mar 2021 04:41:40 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id A58E52400FC for <47443@debbugs.gnu.org>; Sun, 28 Mar 2021 10:41:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1616920894; bh=70oeWKlNPb+GWnKZ+fpnFhTmN2rj9p/7LIL1B8WFa48=; h=From:To:Cc:Subject:Date:From; b=l3WqsTKKAzFiwxiigu1LsjkqIaburczPMJPxi42JWhJgTAnoUgxWfwlLhPW44nOBA 43aYeCeDU+f1Wbqbjs84ANWMA+NpFzO6DuvHsHJy3s1QLXl/wZcTP7pfsYlor0fVmn 2yDju18NfoAAay/47W9Gnwr0OT9KXoliMS1blyrQPxgAodiXEHkd80i6NTvY5KREmE 5xXZQUHUtCUvU52xe/hTh3yLfn4/g/eNAtxoUmzVz1I3TFnAtPIeUX77I8F1vREuOr ZrVFunfMJ/22lLUUwsXqdiEqi6PRBv/zD6Q6iYx4mNXphyX8A4QX7IptDPOwTss9cg RbP9HQWExNRiA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4F7ThY4L6Fz6tmS; Sun, 28 Mar 2021 10:41:33 +0200 (CEST) From: Felix Gruber Date: Sun, 28 Mar 2021 10:40:21 +0200 Message-Id: <20210328084023.3749-4-felgru@posteo.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210328084023.3749-1-felgru@posteo.net> References: <20210328083408.3462-1-felgru@posteo.net> <20210328084023.3749-1-felgru@posteo.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/geo.scm (librasterlite2): New variable. --- gnu/packages/geo.scm | 66 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index 8c98534a4a..a542f3905e 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -373,6 +373,72 @@ writing GeoTIFF information tags.") (license:non-copyleft "file://LICENSE" "See LICENSE in the distribution."))))) +(define-public librasterlite2 + (package + (name "librasterlite2") + (version "1.1.0-beta1") + (source + (origin + (method url-fetch) + (uri (string-append "https://www.gaia-gis.it/gaia-sins/librasterlite2-" + version ".tar.gz")) + (sha256 + (base32 + "1x24gqp4hsq97c31ncwxblab0x0863q8v1z42jil7lvsq3glqa7p")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + ;; ignore failing test test_map_mono + (add-after 'unpack 'ignore-broken-tests + (lambda _ + (substitute* '("test/Makefile.in") + (("(\ttest_map_.*) test_map_mono.*" all t) + (string-append t " \\\n"))) + #t))))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("cairo" ,cairo) + ("curl" ,curl) + ("freetype" ,freetype) + ("freexl" ,freexl) + ("giflib" ,giflib) + ("libgeotiff" ,libgeotiff) + ("libjpeg-turbo" ,libjpeg-turbo) + ("libpng" ,libpng) + ("librttopo" ,librttopo) + ("libspatialite" ,libspatialite) + ("libtiff" ,libtiff) + ("libwebp" ,libwebp) + ("libxml2" ,libxml2) + ("lz4" ,lz4) + ("minizip" ,minizip) + ("openjpeg" ,openjpeg) + ("proj" ,proj) + ("sqlite" ,sqlite) + ("zstd" ,zstd "lib"))) + (synopsis "Library to work with huge raster coverages using a SpatiaLite") + (description + "librasterlite2 is a library that stores and retrieves huge raster +coverages using a SpatiaLite DBMS.") + (home-page "https://www.gaia-gis.it/fossil/librasterlite2/index") + ;; For the genuine librasterlite-sources holds: + ;; Any of the licenses MPL1.1, GPL2+ or LGPL2.1+ may be picked. + ;; Files under src/control_points are from GRASS + ;; and are licensed under GPL2+ only. + ;; src/md5.[ch]: Placed into the public domain by Alexander Peslyak. + ;; The tools supporting the library (both rl2tool and wmslite) are + ;; licensed under the GPL v3 (or any subsequent version) terms. + ;; The test/*.svg files are placed in the public domain, except for + ;; test/Car_Yellow.svg which is licensed under the Free Art License 1.3. + (license (list license:gpl2+ + license:gpl3+ + license:lal1.3 + license:lgpl2.1+ + license:mpl1.1 + license:public-domain)))) + (define-public librttopo (package (name "librttopo")