From patchwork Mon Sep 27 11:24:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felix Gruber X-Patchwork-Id: 33350 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 9E8BC27BBE3; Mon, 27 Sep 2021 12:26:29 +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_H2,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 5B10927BBE1 for ; Mon, 27 Sep 2021 12:26:29 +0100 (BST) Received: from localhost ([::1]:39516 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUomC-0003Kk-BY for patchwork@mira.cbaines.net; Mon, 27 Sep 2021 07:26:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50056) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUolo-0003FE-Jc for guix-patches@gnu.org; Mon, 27 Sep 2021 07:26:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56561) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mUolm-00005V-Fk for guix-patches@gnu.org; Mon, 27 Sep 2021 07:26:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mUolm-0001Nn-Cs for guix-patches@gnu.org; Mon, 27 Sep 2021 07:26:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50812] [PATCH v3 1/6] gnu: Add proj 7.2.1. Resent-From: Felix Gruber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 27 Sep 2021 11:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50812 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50812@debbugs.gnu.org Cc: Felix Gruber , Xinglu Chen , Maxime Devos Received: via spool by 50812-submit@debbugs.gnu.org id=B50812.16327419305208 (code B ref 50812); Mon, 27 Sep 2021 11:26:02 +0000 Received: (at 50812) by debbugs.gnu.org; 27 Sep 2021 11:25:30 +0000 Received: from localhost ([127.0.0.1]:39859 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUolF-0001Lv-J0 for submit@debbugs.gnu.org; Mon, 27 Sep 2021 07:25:29 -0400 Received: from mout01.posteo.de ([185.67.36.65]:49203) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUol9-0001L9-SV for 50812@debbugs.gnu.org; Mon, 27 Sep 2021 07:25:24 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id C55EE240028 for <50812@debbugs.gnu.org>; Mon, 27 Sep 2021 13:25:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1632741917; bh=gvnGq7nWx/qS5/zul6AZgN4Xi/GyRTe9XTNTKVflurk=; h=From:To:Cc:Subject:Date:From; b=dVqeBATVQn1S3d308qUTp160LTxOqRd5sgjm4UowkBC+H4QxiZlXtDUXb21PMvfxl mdGUGAF+9Biw85neFVguikSAumDDlXwp9ee/4YWgE+yQg9YZmKGL4O7IIJfx5YZywG 0m+TAeOzR3dvr/z27BrWnudjN54h/abD/5l/L2HKKtFy/S2hbXEBy1Naa18AGOMV0s sbUGfAGa/4MfDGnHgWSEO0B23RrXREbHEp0k70OqLbB+8QwJHBM7P3h/JgYka8D7hJ U6peiENP8nNPdpxuqJwAFqUEGNszv/zYwk5jPkk5SZYXA+4qBLqssy3Uu22jZavhtn TInyNMa1VCCzw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HJ0g05PFkz6tmS; Mon, 27 Sep 2021 13:25:16 +0200 (CEST) From: Felix Gruber Date: Mon, 27 Sep 2021 11:24:52 +0000 Message-Id: <20210927112457.2118-2-felgru@posteo.net> In-Reply-To: <20210927112457.2118-1-felgru@posteo.net> References: <20210926085219.13547-1-felgru@posteo.net> <20210927112457.2118-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 (proj.7): New variable. --- gnu/packages/geo.scm | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index 9d4a1a8955..c10b93d83f 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -511,6 +511,45 @@ fully fledged Spatial SQL capabilities.") license:mpl1.1 license:public-domain)))) +(define-public proj.7 + (package + (name "proj") + (version "7.2.1") + (source + (origin + (method url-fetch) + (uri (string-append "http://download.osgeo.org/proj/proj-" + version ".tar.gz")) + (sha256 + (base32 + "050apzdn0isxpsblys1shrl9ccli5vd32kgswlgx1imrbwpg915k")))) + (build-system cmake-build-system) + (arguments + `(#:configure-flags '("-DUSE_EXTERNAL_GTEST=ON"))) + (inputs + `(("curl" ,curl) + ("libjpeg-turbo" ,libjpeg-turbo) + ("libtiff" ,libtiff) + ("sqlite" ,sqlite))) + (native-inputs + `(("googletest" ,googletest) + ("pkg-config" ,pkg-config))) + (home-page "https://proj.org/") + (synopsis "Coordinate transformation software") + (description + "Proj is a generic coordinate transformation software that transforms +geospatial coordinates from one coordinate reference system (CRS) to another. +This includes cartographic projections as well as geodetic transformations. +PROJ includes command line applications for easy conversion of coordinates +from text files or directly from user input. In addition, proj also exposes +an application programming interface that lets developers use the +functionality of proj in their own software.") + (license (list license:expat + ;; src/projections/patterson.cpp + license:asl2.0 + ;; src/geodesic.*, src/tests/geodtest.cpp + license:x11)))) + (define-public proj (package (name "proj")