unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Felix Gruber <felgru@posteo.net>
To: 57687@debbugs.gnu.org
Cc: Felix Gruber <felgru@posteo.net>
Subject: [bug#57687] [PATCH 1/9] gnu: Add proj-7.
Date: Thu,  8 Sep 2022 20:14:30 +0000	[thread overview]
Message-ID: <20220908201438.89973-1-felgru@posteo.net> (raw)
In-Reply-To: <20220908201218.89645-1-felgru@posteo.net>

* gnu/packages/geo.scm (proj-7): New variable.
---
 gnu/packages/geo.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index 9734ae66fe..b1f251b9c5 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -574,6 +574,27 @@ lets developers use the functionality of Proj in their own software.")
                    ;; src/geodesic.*, src/tests/geodtest.cpp
                    license:x11))))
 
+; This is the last version of proj that provides the old proj.4 API.
+(define-public proj-7
+  (package (inherit 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"))))
+    (arguments
+     `(#:configure-flags '("-DUSE_EXTERNAL_GTEST=ON")
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'fix-version
+           (lambda _
+             (substitute* "CMakeLists.txt"
+               (("MAJOR 7 MINOR 2 PATCH 0") "MAJOR 7 MINOR 2 PATCH 1")))))))))
+
 (define-public proj.4
   (package
     (name "proj.4")
-- 
2.30.2





  reply	other threads:[~2022-09-08 20:15 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-08 20:12 [bug#57687] [PATCH 0/9] Update proj to 9.0.1 Felix Gruber
2022-09-08 20:14 ` Felix Gruber [this message]
2022-09-08 20:14 ` [bug#57687] [PATCH 2/9] gnu: vtk: Build against proj-7 Felix Gruber
2022-09-08 20:14 ` [bug#57687] [PATCH 3/9] gnu: xygrib: " Felix Gruber
2022-09-08 20:14 ` [bug#57687] [PATCH 4/9] gnu: proj: Update to 9.0.1 Felix Gruber
2022-09-08 20:14 ` [bug#57687] [PATCH 5/9] gnu: python-pyproj: Update to 3.3.1 Felix Gruber
2022-09-08 20:14 ` [bug#57687] [PATCH 6/9] gnu: python-cartopy: Update to 0.20.3 Felix Gruber
2022-09-08 20:14 ` [bug#57687] [PATCH 7/9] gnu: openorienteering-mapper: Add curl dependency Felix Gruber
2022-09-08 21:12   ` Maxime Devos
2022-09-08 21:13   ` Maxime Devos
2022-09-08 20:14 ` [bug#57687] [PATCH 8/9] gnu: gplates: " Felix Gruber
2022-09-08 20:14 ` [bug#57687] [PATCH 9/9] gnu: qgis: Disable failing tests Felix Gruber
2022-09-11 14:08 ` bug#57687: [PATCH 0/9] Update proj to 9.0.1 Guillaume Le Vaillant

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220908201438.89973-1-felgru@posteo.net \
    --to=felgru@posteo.net \
    --cc=57687@debbugs.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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).