Subject: bug#46141: closed (Re: [bug#46141] [PATCH] Add new shapelib)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 27 Jan 2021 20:33:02 +0000

Your bug report

#46141: [PATCH] Add new shapelib

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
46141: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=46141
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#46141] [PATCH] Add new shapelib
From: Nicolas Goaziou <[email-masked]>
To: Sharlatan Hellseher <[email-masked]>
Cc: [email-masked]
Date: Wed, 27 Jan 2021 21:32:31 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

Sharlatan Hellseher <[email-masked]> writes:

> * gnu/packages/geo.scm (shapelib): New variable

I added a little Texinfo markup in description, and applied your patch.

Thank you.

Regards,
-- 
Nicolas Goaziou

Subject: [PATCH] Add new shapelib
From: Sharlatan Hellseher <[email-masked]>
To: [email-masked]
Date: Wed, 27 Jan 2021 19:06:34 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi Guix team!

This patch is a part of packaging astronomy software
https://github.com/Hellseher/guix-patches/blob/main/astronomy.org

Regards
-- 
… наш разум - превосходная объяснительная машина которая способна
найти смысл почти в чем угодно, истолковать любой феномен, но
совершенно не в состоянии принять мысль о непредсказуемости.
From b6c776ef1ff238e8d32d94684ba36bb0bc05138d Mon Sep 17 00:00:00 2001
From: Sharlatan Hellseher <[email-masked]>
Date: Wed, 27 Jan 2021 19:02:22 +0000
Subject: [PATCH] gnu: Add shapelib

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

diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index c682613ff1..942d6d1844 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -14,6 +14,7 @@
 ;;; Copyright © 2020 Marius Bakke <[email-masked]>
 ;;; Copyright © 2020 Christopher Baines <[email-masked]>
 ;;; Copyright © 2020 Felix Gruber <[email-masked]>
+;;; Copyright © 2021 Sharlatan Hellseher <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1693,6 +1694,32 @@ input file (in @code{.osm} or @code{.osm.pbf} format).")
                    license:lgpl2.1+
                    license:mpl1.1))))
 
+(define-public shapelib
+  (package
+    (name "shapelib")
+    (version "1.5.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/OSGeo/shapelib")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1lzch0jf6yqhw391phhafzw4ghmiz98zkf698h4fmq109fa2vhqd"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("autoconf" ,autoconf)
+       ("automake" ,automake)
+       ("libtool" ,libtool)))
+    (home-page "http://shapelib.maptools.org/")
+    (synopsis "Provides C library to write and update ESRI Shapefiles")
+    (description
+     "The Shapefile C Library provides the ability to write simple C programs
+for reading, writing and updating (to a limited extent) ESRI Shapefiles, and the
+associated attribute file (.dbf).")
+    (license license:gpl2+)))
+
 (define-public spatialite-tools
   (package
     (name "spatialite-tools")
-- 
2.30.0