GNU bug report logs - #64865
[PATCH 1/2] gnu: Add emacs-nominatim.

Previous Next

Package: guix-patches;

Reported by: pinoaffe <pinoaffe <at> gmail.com>

Date: Tue, 25 Jul 2023 23:19:02 UTC

Severity: normal

Tags: patch

Done: Clément Lassieur <clement <at> lassieur.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 64865 in the body.
You can then email your comments to 64865 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to help-debbugs <at> gnu.org:
bug#64865; Package debbugs.gnu.org. (Tue, 25 Jul 2023 23:19:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to pinoaffe <pinoaffe <at> gmail.com>:
New bug report received and forwarded. Copy sent to help-debbugs <at> gnu.org. (Tue, 25 Jul 2023 23:19:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: pinoaffe <pinoaffe <at> gmail.com>
Subject: [PATCH 1/2] gnu: Add emacs-nominatim.
Date: Tue, 25 Jul 2023 17:33:27 +0200
* gnu/packages/emacs-xyz.scm (emacs-nominatim): New variable.
---
 gnu/packages/emacs-xyz.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index d7e45fffc6..78469c1cf5 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -4748,6 +4748,30 @@ (define-public emacs-google-maps
 directly inside Emacs.  It requires a Google Map Static API key to function.")
       (license license:gpl3+))))
 
+(define-public emacs-nominatim
+  ;; There has been no new release tag since july 2022
+  (let ((release "0.9.3")
+        (revision "0")
+        (commit "f814e16f8f4e2cfd633f52b29699a009ab704fbf"))
+  (package
+    (name "emacs-nominatim")
+    (version (git-version release revision commit))
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://codeberg.org/emacs-weirdware/nominatim")
+                    (commit commit)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "19nw2iy8fxy6mfd4nwrdfa23a74a1b644400xx0900fwn6ihjhpl"))))
+    (build-system emacs-build-system)
+    (home-page "https://codeberg.org/emacs-weirdware/nominatim")
+    (synopsis "Forward and reverse geocode using Nominatim inside Emacs")
+    (description "This is an Emacs library which lets you forward and reverse
+geocode using Nominatim, a component of OpenStreetMap.")
+    (license license:gpl3+))))
+
 (define-public emacs-graphviz-dot-mode
   (package
     (name "emacs-graphviz-dot-mode")

base-commit: 005912c595bf7a3329f8aa51a4ccb1d91b6ecd9e
-- 
2.41.0





Information forwarded to help-debbugs <at> gnu.org:
bug#64865; Package debbugs.gnu.org. (Tue, 25 Jul 2023 23:36:01 GMT) Full text and rfc822 format available.

Message #8 received at 64865 <at> debbugs.gnu.org (full text, mbox):

From: pinoaffe <pinoaffe <at> gmail.com>
Subject: [PATCH 2/2] gnu: Add emacs-org-street.
Date: Tue, 25 Jul 2023 17:33:40 +0200
* gnu/packages/emacs-xyz.scm (emacs-org-street): New variable.
---
 gnu/packages/emacs-xyz.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 78469c1cf5..8e557feafa 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -4772,6 +4772,34 @@ (define-public emacs-nominatim
 geocode using Nominatim, a component of OpenStreetMap.")
     (license license:gpl3+))))
 
+(define-public emacs-org-street
+  ;; There has been no new release tag since july 2022
+  (let ((release "0.7.1")
+        (revision "0")
+        (commit "17913afe01504ee0cbcf83abaca18c5c618f9b33"))
+    (package
+      (name "emacs-org-street")
+      (version (git-version release revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://codeberg.org/emacs-weirdware/org-street")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "1a5mnnvs4yxrw4s71z9ap65xi0fc1ki1qprif5jxn8apswjlmiw1"))))
+      (build-system emacs-build-system)
+      (propagated-inputs (list emacs-nominatim))
+      (home-page "https://codeberg.org/emacs-weirdware/org-street")
+      (synopsis "(Reverse) Geocoding for Emacs Org files")
+      (description "Org Street is an extension for Org Mode for turning the
+names of places into a LOCATION property containing their address.  Given some
+freeform text approximately describing a location, it geocodes it with
+OpenStreetMap’s Nominatim API to determine a canonical location.  If Nominatim
+returns multiple locations, a list is displayed to choose from.")
+      (license license:gpl3+))))
+
 (define-public emacs-graphviz-dot-mode
   (package
     (name "emacs-graphviz-dot-mode")
-- 
2.41.0





Information forwarded to help-debbugs <at> gnu.org:
bug#64865; Package debbugs.gnu.org. (Thu, 07 Sep 2023 09:16:02 GMT) Full text and rfc822 format available.

Message #11 received at 64865 <at> debbugs.gnu.org (full text, mbox):

From: pinoaffe <pinoaffe <at> gmail.com>
To: 64865 <at> debbugs.gnu.org
Subject: [PATCH V2 1/2] gnu: Add emacs-nominatim.
Date: Thu, 07 Sep 2023 11:15:21 +0200
Date: Thu, 07 Sep 2023 11:14:30 +0200
Date: Tue, 25 Jul 2023 17:33:27 +0200
User-agent: mu4e 1.10.5; emacs 28.2
base-commit: 5ef28595e9dff8b88ec3fcb4d887fbc380c9a8b8
* gnu/packages/emacs-xyz.scm (emacs-nominatim): New variable.
---
 gnu/packages/emacs-xyz.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 55a2ffa53c..d168206dc7 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -4876,6 +4876,30 @@ (define-public emacs-google-maps
 directly inside Emacs.  It requires a Google Map Static API key to function.")
       (license license:gpl3+))))
 
+(define-public emacs-nominatim
+  ;; There has been no new release tag since july 2022 (as of september 2023)
+  (let ((release "0.9.3")
+        (revision "0")
+        (commit "f814e16f8f4e2cfd633f52b29699a009ab704fbf"))
+  (package
+    (name "emacs-nominatim")
+    (version (git-version release revision commit))
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://codeberg.org/emacs-weirdware/nominatim")
+                    (commit commit)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "19nw2iy8fxy6mfd4nwrdfa23a74a1b644400xx0900fwn6ihjhpl"))))
+    (build-system emacs-build-system)
+    (home-page "https://codeberg.org/emacs-weirdware/nominatim")
+    (synopsis "Forward and reverse geocode using Nominatim inside Emacs")
+    (description "This is an Emacs library which lets you forward and reverse
+geocode using Nominatim, a component of OpenStreetMap.")
+    (license license:gpl3+))))
+
 (define-public emacs-graphviz-dot-mode
   (package
     (name "emacs-graphviz-dot-mode")

-- 
2.41.0





Information forwarded to help-debbugs <at> gnu.org:
bug#64865; Package debbugs.gnu.org. (Thu, 07 Sep 2023 09:17:01 GMT) Full text and rfc822 format available.

Message #14 received at 64865 <at> debbugs.gnu.org (full text, mbox):

From: pinoaffe <pinoaffe <at> gmail.com>
To: 64865 <at> debbugs.gnu.org
Subject: [PATCH 2/2] gnu: Add emacs-org-street.
Date: Thu, 07 Sep 2023 11:16:07 +0200
Date: Tue, 25 Jul 2023 17:33:40 +0200
User-agent: mu4e 1.10.5; emacs 28.2
* gnu/packages/emacs-xyz.scm (emacs-org-street): New variable.
---
 gnu/packages/emacs-xyz.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index d168206dc7..d416e13ecc 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -4900,6 +4900,34 @@ (define-public emacs-nominatim
 geocode using Nominatim, a component of OpenStreetMap.")
     (license license:gpl3+))))
 
+(define-public emacs-org-street
+  ;; There has been no new release tag since july 2022 (as of september 2023)
+  (let ((release "0.7.1")
+        (revision "0")
+        (commit "17913afe01504ee0cbcf83abaca18c5c618f9b33"))
+    (package
+      (name "emacs-org-street")
+      (version (git-version release revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://codeberg.org/emacs-weirdware/org-street")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "1a5mnnvs4yxrw4s71z9ap65xi0fc1ki1qprif5jxn8apswjlmiw1"))))
+      (build-system emacs-build-system)
+      (propagated-inputs (list emacs-nominatim))
+      (home-page "https://codeberg.org/emacs-weirdware/org-street")
+      (synopsis "(Reverse) Geocoding for Emacs Org files")
+      (description "Org Street is an extension for Org Mode for turning the
+names of places into a LOCATION property containing their address.  Given some
+freeform text approximately describing a location, it geocodes it with
+OpenStreetMap’s Nominatim API to determine a canonical location.  If Nominatim
+returns multiple locations, a list is displayed to choose from.")
+      (license license:gpl3+))))
+
 (define-public emacs-graphviz-dot-mode
   (package
     (name "emacs-graphviz-dot-mode")
-- 
2.41.0




Reply sent to Clément Lassieur <clement <at> lassieur.org>:
You have taken responsibility. (Fri, 20 Oct 2023 16:27:01 GMT) Full text and rfc822 format available.

Notification sent to pinoaffe <pinoaffe <at> gmail.com>:
bug acknowledged by developer. (Fri, 20 Oct 2023 16:27:01 GMT) Full text and rfc822 format available.

Message #19 received at 64865-done <at> debbugs.gnu.org (full text, mbox):

From: Clément Lassieur <clement <at> lassieur.org>
To: pinoaffe <pinoaffe <at> gmail.com>
Cc: 64865-done <at> debbugs.gnu.org
Subject: Re: bug#64865: [PATCH 2/2] gnu: Add emacs-org-street.
Date: Fri, 20 Oct 2023 18:25:49 +0200
Both patches look good to me, I pushed them with a few cosmetic changes:

- `indent-region` on them

- I removed the comment, because a lot of packages are in this case (no
release for a long time) and I don't think there is a need to comment on
that.

- I removed the "release" local binding.

Thanks!

Sorry again for the delay.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 18 Nov 2023 12:24:10 GMT) Full text and rfc822 format available.

bug unarchived. Request was from Felix Lechner <felix.lechner <at> lease-up.com> to control <at> debbugs.gnu.org. (Wed, 29 Nov 2023 17:41:02 GMT) Full text and rfc822 format available.

bug reassigned from package 'debbugs.gnu.org' to 'guix-patches'. Request was from Felix Lechner <felix.lechner <at> lease-up.com> to control <at> debbugs.gnu.org. (Wed, 29 Nov 2023 17:41:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Felix Lechner <felix.lechner <at> lease-up.com> to control <at> debbugs.gnu.org. (Wed, 29 Nov 2023 17:41:02 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 189 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.