GNU bug report logs - #76146
[PATCH 0/2] Update tegola and unbundle some go packages.

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Sat, 8 Feb 2025 17:18:02 UTC

Severity: normal

Tags: patch

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

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 76146 in the body.
You can then email your comments to 76146 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 guix-patches <at> gnu.org:
bug#76146; Package guix-patches. (Sat, 08 Feb 2025 17:18:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Nicolas Graves <ngraves <at> ngraves.fr>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 08 Feb 2025 17:18:02 GMT) Full text and rfc822 format available.

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

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: guix-patches <at> gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [PATCH 0/2] Update tegola and unbundle some go packages.
Date: Sat,  8 Feb 2025 18:15:46 +0100
Nicolas Graves (2):
  gnu: tegola: Unbundle some go packages.
  gnu: tegola: Update to 0.21.2.

 gnu/packages/geo.scm | 51 +++++++++++++++++++++++++++++++++++++++++---
 1 file changed, 48 insertions(+), 3 deletions(-)

-- 
2.48.1





Information forwarded to guix-patches <at> gnu.org:
bug#76146; Package guix-patches. (Sat, 08 Feb 2025 17:30:03 GMT) Full text and rfc822 format available.

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

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 76146 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [PATCH 2/2] gnu: tegola: Update to 0.21.2.
Date: Sat,  8 Feb 2025 18:29:25 +0100
* gnu/packages/geo.scm (tegola): Update to 0.21.2.
---
 gnu/packages/geo.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index 7b8de0ce52..c007b48ed2 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -1703,7 +1703,7 @@ (define-public postgis
 (define-public tegola
   (package
     (name "tegola")
-    (version "0.16.0")
+    (version "0.21.2")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -1712,7 +1712,7 @@ (define-public tegola
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "1mjfn0izf1lj402845mx0cv9fald8s5443q35y16d9crqf3i6mav"))
+                "1f5l7b372dfyibawhcnlz700z11a0dxqd7kr731nwfmhwz2v3438"))
               (modules '((guix build utils)))
               (snippet #~(with-directory-excursion "vendor"
                            (for-each delete-file-recursively
-- 
2.48.1





Information forwarded to guix-patches <at> gnu.org:
bug#76146; Package guix-patches. (Sat, 08 Feb 2025 17:30:04 GMT) Full text and rfc822 format available.

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

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 76146 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [PATCH 1/2] gnu: tegola: Unbundle some go packages.
Date: Sat,  8 Feb 2025 18:29:24 +0100
* gnu/packages/geo.scm (tegola):
[source]<origin>: Use snippet to unbundle some go packages.
[inputs]: Add go-github-com-aws-aws-lambda-go,
go-github-com-aws-aws-sdk-go, go-github-com-beorn7-perks,
go-github-com-burntsushi-toml, go-github-com-gofrs-uuid,
go-github-com-golang-protobuf, go-github-com-google-uuid,
go-github-com-go-test-deep, go-github-com-jmespath-go-jmespath,
go-github-com-mattn-go-sqlite3, go-github-com-spf13-pflag,
go-golang-org-x-crypto, go-golang-org-x-sys, go-golang-org-x-text,
go-golang-org-x-tools, go-google-golang-org-protobuf,
go-go-uber-org-atomic, go-go-uber-org-multierr, go-go-uber-org-zap.
---
 gnu/packages/geo.scm | 49 ++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 47 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index e885001b83..7b8de0ce52 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -27,6 +27,7 @@
 ;;; Copyright © 2025 Mattia Bunel <mattia.bunel <at> ehess.fr>
 ;;; Copyright © 2025 Andreas Enge <andreas <at> enge.fr>
 ;;; Copyright © 2025 Lars Bilke <lars.bilke <at> ufz.de>
+;;; Copyright © 2025 Nicolas Graves <ngraves <at> ngraves.fr>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -95,6 +96,10 @@ (define-module (gnu packages geo)
   #:use-module (gnu packages gl)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnome)
+  #:use-module (gnu packages golang-build)
+  #:use-module (gnu packages golang-check)
+  #:use-module (gnu packages golang-web)
+  #:use-module (gnu packages golang-xyz)
   #:use-module (gnu packages gps)
   #:use-module (gnu packages graphics)
   #:use-module (gnu packages graphviz)
@@ -1707,13 +1712,53 @@ (define-public tegola
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "1mjfn0izf1lj402845mx0cv9fald8s5443q35y16d9crqf3i6mav"))))
+                "1mjfn0izf1lj402845mx0cv9fald8s5443q35y16d9crqf3i6mav"))
+              (modules '((guix build utils)))
+              (snippet #~(with-directory-excursion "vendor"
+                           (for-each delete-file-recursively
+                                     '("github.com/aws"
+                                       "github.com/beorn7"
+                                       "github.com/BurntSushi"
+                                       "github.com/gofrs"
+                                       "github.com/golang/protobuf"
+                                       "github.com/google"
+                                       "github.com/go-test"
+                                       "github.com/jmespath"
+                                       "github.com/mattn/go-sqlite3"
+                                       "github.com/spf13"
+                                       "golang.org/x/crypto"
+                                       "golang.org/x/sys"
+                                       "golang.org/x/text"
+                                       "golang.org/x/tools"
+                                       "google.golang.org/protobuf"
+                                       "go.uber.org"))))))
     (build-system go-build-system)
     (arguments
      `(#:import-path "github.com/go-spatial/tegola/cmd/tegola"
        #:unpack-path "github.com/go-spatial/tegola"
-       #:build-flags '(,(string-append "-ldflags=-X github.com/go-spatial/tegola/internal/build.Version=" version))
+       #:build-flags '(,(string-append "\
+-ldflags=-X github.com/go-spatial/tegola/internal/build.Version=" version))
        #:install-source? #f))
+    (inputs
+     (list go-github-com-aws-aws-lambda-go
+           go-github-com-aws-aws-sdk-go
+           go-github-com-beorn7-perks
+           go-github-com-burntsushi-toml
+           go-github-com-gofrs-uuid
+           go-github-com-golang-protobuf
+           go-github-com-google-uuid
+           go-github-com-go-test-deep
+           go-github-com-jmespath-go-jmespath
+           go-github-com-mattn-go-sqlite3
+           go-github-com-spf13-pflag
+           go-golang-org-x-crypto
+           go-golang-org-x-sys
+           go-golang-org-x-text
+           go-golang-org-x-tools
+           go-google-golang-org-protobuf
+           go-go-uber-org-atomic
+           go-go-uber-org-multierr
+           go-go-uber-org-zap))
     (home-page "https://tegola.io")
     (synopsis "Vector tile server for maps")
     (description "Tegola is a free vector tile server written in Go.  Tegola
-- 
2.48.1





Information forwarded to guix-patches <at> gnu.org:
bug#76146; Package guix-patches. (Wed, 12 Feb 2025 12:15:01 GMT) Full text and rfc822 format available.

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

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 76146 <at> debbugs.gnu.org
Subject: [PATCH 0/2] Update tegola and unbundle some go packages.
Date: Wed, 12 Feb 2025 12:13:45 +0000
[Message part 1 (text/plain, inline)]
Hi,

I put this issue for review, linked to https://issues.guix.gnu.org/40282.

Thanks,
Oleg
[Message part 2 (text/html, inline)]

Reply sent to Sharlatan Hellseher <sharlatanus <at> gmail.com>:
You have taken responsibility. (Wed, 12 Feb 2025 13:25:02 GMT) Full text and rfc822 format available.

Notification sent to Nicolas Graves <ngraves <at> ngraves.fr>:
bug acknowledged by developer. (Wed, 12 Feb 2025 13:25:02 GMT) Full text and rfc822 format available.

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

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 76146-done <at> debbugs.gnu.org
Subject: [PATCH 0/2] Update tegola and unbundle some go packages.
Date: Wed, 12 Feb 2025 13:24:30 +0000
[Message part 1 (text/plain, inline)]
Hi,

Pushed to master:

64f4c6e5d91 * master origin/master gnu: tegola: Update to 0.21.2.
03b9be5a97b * gnu: tegola: Unbundle some go packages.

--
Thanks,
Oleg
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 13 Mar 2025 11:24:19 GMT) Full text and rfc822 format available.

This bug report was last modified 154 days ago.

Previous Next


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