From unknown Fri Jun 13 06:08:29 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#68596 <68596@debbugs.gnu.org> To: bug#68596 <68596@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Add viz1090. Reply-To: bug#68596 <68596@debbugs.gnu.org> Date: Fri, 13 Jun 2025 13:08:29 +0000 retitle 68596 [PATCH] gnu: Add viz1090. reassign 68596 guix-patches submitter 68596 Leo Famulari severity 68596 normal tag 68596 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 19 18:29:31 2024 Received: (at submit) by debbugs.gnu.org; 19 Jan 2024 23:29:31 +0000 Received: from localhost ([127.0.0.1]:60415 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rQyIk-0001ey-HL for submit@debbugs.gnu.org; Fri, 19 Jan 2024 18:29:31 -0500 Received: from lists.gnu.org ([2001:470:142::17]:33140) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rQyIh-0001ed-Um for submit@debbugs.gnu.org; Fri, 19 Jan 2024 18:29:28 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rQyIZ-0005vb-P4 for guix-patches@gnu.org; Fri, 19 Jan 2024 18:29:19 -0500 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rQyIX-0002tI-9F for guix-patches@gnu.org; Fri, 19 Jan 2024 18:29:19 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 39C515C0111; Fri, 19 Jan 2024 18:29:14 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Fri, 19 Jan 2024 18:29:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:message-id:mime-version :reply-to:subject:subject:to:to; s=mesmtp; t=1705706954; x= 1705793354; bh=iMClPkyv7zJ5zPFJuMfoIBctaEzC8OdHwMatrpZD49w=; b=j 3Yfs8zAM2Rkh2DmJjya9Au5GrcR8w6IW4gQcIMMEM9Ou+b7aVNRab2C3R2PDHUMh 2E/oDxaokFeW72khnxuCEwHmqCN1Zdrtg2Bvnr5W9dQbQp7U5Q6iWpR3gGdKHIlZ fGm6PRpvfBasBe1CogeTTEF5VTk5QPEpBtLOWi76yA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:message-id:mime-version:reply-to:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; t=1705706954; x=1705793354; bh=iMClPkyv7zJ5z PFJuMfoIBctaEzC8OdHwMatrpZD49w=; b=LAmruZJziiTXqhATndYcJXAvylp0b y+jOC7Btg+OV6mJT00hZy2AQJUKN9RUGyCPma9hBbRzpwbAYficfwCQOHVWM3aG2 Fnskd8WgM1sdTSqBMaQhwYbhx3cpmXqLwXnammj9gCSoqmBLtzAEPXsNQOqLc7A+ 2SOLk0yKW+yqNUW2tLsih/L9MZUAmrTq0S0pZGIPJdnMf7vD/dBv6DB6VdSFI1tH /ql3eh0KrgM3nhuUi9pKcVtpxrzT+b7FshaK1NFFgJ2yylr52k4Y07fF94Gr4ta0 SxMy9aHloi9xWPpoiD1mGbM1K4ol9xK+0+y6rGGIiJixP/kh2yt7oWgRA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdekuddgudduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufffkffogggtgfesthekre dtredtjeenucfhrhhomhepnfgvohcuhfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgr rhhirdhnrghmvgeqnecuggftrfgrthhtvghrnhepueeiteegheekueejvdekgeehvdeihe fgvdeuhedtgfeftddtgfelvdfhffdtueetnecuffhomhgrihhnpehgihhthhhusgdrtgho mhdprghrtghhihhvvgdrohhrghdpnhgrthhurhgrlhgvrghrthhhuggrthgrrdgtohhmpd grrhgtghhishdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgr ihhlfhhrohhmpehlvghosehfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Feedback-ID: i819c4023:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 19 Jan 2024 18:29:13 -0500 (EST) From: Leo Famulari To: guix-patches@gnu.org Subject: [PATCH] gnu: Add viz1090. Date: Fri, 19 Jan 2024 18:29:03 -0500 Message-ID: <77b69c65826a4546659d4f2e399685e9611f0401.1705706943.git.leo@famulari.name> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=66.111.4.26; envelope-from=leo@famulari.name; helo=out2-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.7 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/radio.scm (viz1090): New variable. Change-Id: I1bee79df0906075728d0faee80eb0ccbbdb368dc --- gnu/packages/radio.scm | 141 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 141 insertions(+) Content analysis details: (1.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.1 URIBL_SBL_A Contains URL's A record listed in the Spamhaus SBL blocklist [URIs: using.tech] 0.6 URIBL_SBL Contains an URL's NS IP listed in the Spamhaus SBL blocklist [URIs: using.tech] 0.9 SPF_FAIL SPF: sender does not match SPF record (fail) [SPF failed: Please see http://www.openspf.org/Why?s=mfrom; id=leo%40famulari.name; ip=2001%3A470%3A142%3A%3A17; r=debbugs.gnu.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 T_SCC_BODY_TEXT_LINE No description available. X-Debbugs-Envelope-To: submit Cc: glv@posteo.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.7 (/) * gnu/packages/radio.scm (viz1090): New variable. Change-Id: I1bee79df0906075728d0faee80eb0ccbbdb368dc --- gnu/packages/radio.scm | 141 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 141 insertions(+) diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index f34511b352..f8b10e7061 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -14,6 +14,7 @@ ;;; Copyright © 2022 Ryan Tolboom ;;; Copyright © 2023 Sharlatan Hellseher ;;; Copyright © 2023 Efraim Flashner +;;; Copyright © 2024 Leo Famulari ;;; ;;; This file is part of GNU Guix. ;;; @@ -1890,6 +1891,146 @@ (define-public dump1090 (home-page "https://github.com/flightaware/dump1090") (license license:gpl2+))) +(define-public viz1090 + (let ((commit "ec055e1220f897b393f033a4cee02771c69dadc3") + (revision "0")) + (package + (name "viz1090") + ;; There are no "releases" of this program yet. + (version (git-version "0.0.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://www.github.com/nmatsuda/viz1090") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0gksr6dsaa4rffwrfcbhhnclmj5yabrv0dc8mb8q7hmbv8znd232")))) + (build-system gnu-build-system) + (arguments + (list + #:tests? #f ; No test suite + #:make-flags + #~(list (string-append "CXXFLAGS=-I" + #$(this-package-input "sdl-union") + "/include/SDL2") + (string-append "CC=" #+(cc-for-target))) + #:phases + #~(modify-phases %standard-phases + (delete 'configure) ; No ./configure script + (add-before 'build 'build-map-data + (lambda _ + (let* ((share (string-append #$output "/share/viz1090"))) + ;; Disable the build-time maps downloader and adjust the + ;; decompression procedure accordingly. + (substitute* "getmap.sh" + (("wget") "#wget") + (("unzip.*") + (string-append + "unzip " #$(this-package-native-input "political-maps") " && \n" + "unzip " #$(this-package-native-input "population-maps") " && \n" + "unzip " #$(this-package-native-input "airports-map") " && \n" + "unzip " #$(this-package-native-input "arcgis-data") " && \n"))) + ;; Adjust the run-time paths of the map data + (substitute* "Map.cpp" + (("mapdata.bin") + (string-append share "/mapdata.bin")) + (("airportdata.bin") + (string-append share "/airportdata.bin")) + (("\\\(\"mapnames") + (string-append "\(\"" share "/mapnames")) + (("\\\(\"airportnames") + (string-append "\(\"" share "/airportnames"))) + (invoke "./getmap.sh")))) + (add-before 'build 'patch-font-path + (lambda _ + (substitute* "View.cpp" + (("font\\/") + (string-append #$output "/font/"))))) + (replace 'install ; No install target + (lambda* (#:key outputs #:allow-other-keys) + (let* ((bin (string-append #$output "/bin")) + (share (string-append #$output "/share/viz1090")) + (doc (string-append share "-" #$(package-version this-package) "/doc")) + (fonts (string-append #$output "/font"))) + (install-file "viz1090" bin) + (install-file "mapdata.bin" share) + (install-file "airportdata.bin" share) + (install-file "mapnames" share) + (install-file "airportnames" share) + (install-file "README.md" doc) + (mkdir fonts) + (copy-recursively "font" fonts))))))) + (native-inputs + `(("political-maps" + ;; version 5.1.1 of this data + ;; The upstream site does not version the URL for the most recent + ;; release, so we store them on archive.org to create a stable URL. + ;; See 'getmap.sh' in the viz1090 source distribution. + ,(origin + (method url-fetch) + (uri + "https://archive.org/download/ne_10m_admin_1_states_provinces/ne_10m_admin_1_states_provinces.zip") + ;"https://www.naturalearthdata.com/http//www.naturalearthdata.com/download/10m/cultural/ne_10m_admin_1_states_provinces.zip") + (sha256 + (base32 + "019bp9ccna1xxrk3c1af6k6pjcb7jvf0l8a6jj7ha8vk6ck9gigg")))) + ("population-maps" + ;; version 5.1.2 of this data + ;; The upstream site does not version the URL for the most recent + ;; release, so we store them on archive.org to create a stable URL. + ;; See 'getmap.sh' in the viz1090 source distribution. + ,(origin + (method url-fetch) + (uri + "https://archive.org/download/ne_10m_populated_places/ne_10m_populated_places.zip") + ;"https://www.naturalearthdata.com/http//www.naturalearthdata.com/download/10m/cultural/ne_10m_populated_places.zip") + (sha256 + (base32 + "0yqxqkydzlwylh2j6fidqc57sdd4h2wrk8qd87h069ixy239256d")))) + ("airports-map" + ;; version 5.0.0 of this data + ;; The upstream site does not version the URL for the most recent + ;; release, so we store them on archive.org to create a stable URL. + ;; See 'getmap.sh' in the viz1090 source distribution. + ,(origin + (method url-fetch) + (uri + "https://archive.org/download/ne_10m_airports/ne_10m_airports.zip") + ;"https://www.naturalearthdata.com/http//www.naturalearthdata.com/download/10m/cultural/ne_10m_airports.zip") + (sha256 + (base32 + "1cvxgp141i7jy9fd49xxfz3g2k07szh745zd3l9lq7kynrf377m2")))) + ("arcgis-data" + ;; See 'getmap.sh' in the viz1090 source distribution. + ,(origin + (method url-fetch) + (uri + "https://opendata.arcgis.com/datasets/4d8fa46181aa470d809776c57a8ab1f6_0.zip") + (sha256 + (base32 + "1aqa7dc3xp1mcz7zm3v5m2qjdkzgyzgzlif4cvqsba2l2flc3v74")))) + ;; For building the map data + ("unzip" ,unzip) + ("python" ,python) + ("python-numpy" ,python-numpy) + ("python-tqdm" ,python-tqdm))) + (inputs + (list gdal + rtl-sdr + (sdl-union (list sdl2 sdl2-ttf sdl2-gfx)) + python-fiona + python-shapely + python-requests)) + (synopsis "Visualizer for dump1090 ADS-B data") + (description "Viz1090 provides a visual map-based display of +@acronym{ADS-B, Automatic Dependent Surveillance–Broadcast} data that is +broadcast from airborne aircraft. It reads data provided by @code{dump1090} as +described in @file{README.md} to show nearby aircraft on a map.") + (home-page "https://github.com/nmatsuda/viz1090") + (license license:bsd-2)))) + (define-public rtl-433 (package (name "rtl-433") base-commit: f7c0ccb1866b559dc2ce0c538d10a150822824c8 -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 31 05:11:49 2024 Received: (at 68596) by debbugs.gnu.org; 31 Jan 2024 10:11:50 +0000 Received: from localhost ([127.0.0.1]:37475 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rV7ZN-0001pc-Ex for submit@debbugs.gnu.org; Wed, 31 Jan 2024 05:11:49 -0500 Received: from mout02.posteo.de ([185.67.36.66]:60657) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rV7ZK-0001pM-8U for 68596@debbugs.gnu.org; Wed, 31 Jan 2024 05:11:47 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 88F4B240101 for <68596@debbugs.gnu.org>; Wed, 31 Jan 2024 11:11:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1706695890; bh=m2KljgHpmA0KwDZqxPoeJGZEbXsX5t+zCd3fXy9NDJs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=cbVlzbBGFziJc922n69TKg11VJuFcnJbCqXec4KY09HgHae2vYFJGkZ9zr8h/0Ki0 8mV5zhqswAlGBIj6bBOl9qMRSElvnUj8zGxxtZ/2wTyGCFfexDl5y+xNpRDe6U6KMD 7LQgSDKlMSRINcq5rOopv7IFOp8gqPehiMrDbetPhKTwZ9XyN/R3NnXFgK07ZJ96C3 MYEbVRT1cBKpcLB9HRYHefCgepRkteGVIPYq7TC9N+VVER6TG3x0oXEvEIanMBMBXn MXdMmwNTOV3/pGY8MQfmJmdl6bJQO2QX/6zPvO3GABNIBbYiPXz+JeYLZymah+AF0C jcMIPZPE/4jdA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TPyVn034Bz9rxL; Wed, 31 Jan 2024 11:11:28 +0100 (CET) References: <77b69c65826a4546659d4f2e399685e9611f0401.1705706943.git.leo@famulari.name> From: Guillaume Le Vaillant To: Leo Famulari Subject: Re: [PATCH] gnu: Add viz1090. Date: Wed, 31 Jan 2024 10:03:43 +0000 In-reply-to: <77b69c65826a4546659d4f2e399685e9611f0401.1705706943.git.leo@famulari.name> Message-ID: <87a5olg6cw.fsf@kitej> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 68596 Cc: 68596@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Leo Famulari skribis: > +(define-public viz1090 > [...] > + (native-inputs > + `(("political-maps" > + ;; version 5.1.1 of this data > + ;; The upstream site does not version the URL for the most recent > + ;; release, so we store them on archive.org to create a stable URL. > + ;; See 'getmap.sh' in the viz1090 source distribution. > + ,(origin > + (method url-fetch) > + (uri > + "https://archive.org/download/ne_10m_admin_1_states_provinces/ne_10m_admin_1_states_provinces.zip") > + ;"https://www.naturalearthdata.com/http//www.naturalearthdata.com/download/10m/cultural/ne_10m_admin_1_states_provinces.zip") > + (sha256 > + (base32 > + "019bp9ccna1xxrk3c1af6k6pjcb7jvf0l8a6jj7ha8vk6ck9gigg")))) > + ("population-maps" > + ;; version 5.1.2 of this data > + ;; The upstream site does not version the URL for the most recent > + ;; release, so we store them on archive.org to create a stable URL. > + ;; See 'getmap.sh' in the viz1090 source distribution. > [...] Hi. It looks like the NaturalEarthData files can also be found in the Git repository at . Maybe you could use that instead of archiving the files by hand to get a stable URL... From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 31 05:26:51 2024 Received: (at 68596) by debbugs.gnu.org; 31 Jan 2024 10:26:52 +0000 Received: from localhost ([127.0.0.1]:37484 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rV7nv-0002CV-JZ for submit@debbugs.gnu.org; Wed, 31 Jan 2024 05:26:51 -0500 Received: from mout02.posteo.de ([185.67.36.66]:37645) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rV7ns-0002CG-NA for 68596@debbugs.gnu.org; Wed, 31 Jan 2024 05:26:50 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id A7C9C240101 for <68596@debbugs.gnu.org>; Wed, 31 Jan 2024 11:26:32 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1706696792; bh=jacCfMvMBp4QRkvrl/xeN+lSnlaO9+4TvNglYY5ZflE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=re26DWM0GmBLjd/Bgh0RCpH+fSg0POrIjzy1YdiriCgF/9hf1CPd0QttI3tdsvsg8 SzBfchAvl7/t6epPBFoO9i+aCga9BxqpyY6QudX0md/xSmbBiYKtdsAizoQlPhkUhj up5sjc28tQNf+TZnuumu3r5U8vncK1sUc9YGd5QqdklP/75DxU/WMi9p6V84gUfUGr nQXr+mbrZSqUXS4CxZy6ogRFd6dULKab2NsjCunIzLbt88qpYD43T6oD113IEUnfwY k40ooNc/bVevlox8q/O9vlUiOfm1f/smGr370SwrWOOoipAK5KsSt8FTvrsVTOXwuG JI4T9GC0rioXA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TPyr73Tz6z6txl; Wed, 31 Jan 2024 11:26:31 +0100 (CET) References: <77b69c65826a4546659d4f2e399685e9611f0401.1705706943.git.leo@famulari.name> <87a5olg6cw.fsf@kitej> From: Guillaume Le Vaillant To: Leo Famulari Subject: Re: [PATCH] gnu: Add viz1090. Date: Wed, 31 Jan 2024 10:22:12 +0000 In-reply-to: <87a5olg6cw.fsf@kitej> Message-ID: <875xz9g5nu.fsf@kitej> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 68596 Cc: 68596@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain > Leo Famulari skribis: > > ("arcgis-data" > ;; See 'getmap.sh' in the viz1090 source distribution. > ,(origin > (method url-fetch) > (uri > "https://opendata.arcgis.com/datasets/4d8fa46181aa470d809776c57a8ab1f6_0.zip") > (sha256 > (base32 > "1aqa7dc3xp1mcz7zm3v5m2qjdkzgyzgzlif4cvqsba2l2flc3v74")))) When I downloaded this file, I got a different hash (1327vq7k5rw8b7fc1765w33k01zc84r2cnn5wv7b6pm0i5yg8zw1). So I guess this URL is not stable. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCZbogVQ8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j/2kQD+MWJrnMdowUEMQK82CtbfJxAOf3Ij9lE6R2gc vGV93EYA/03M/btpNCfhDIFlj6XGhkFPvWISZES+ETlIyEmoRSVj =Vlw8 -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 01 16:12:06 2024 Received: (at submit) by debbugs.gnu.org; 1 Feb 2024 21:12:06 +0000 Received: from localhost ([127.0.0.1]:43243 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rVeLr-0003OQ-Qp for submit@debbugs.gnu.org; Thu, 01 Feb 2024 16:12:06 -0500 Received: from lists.gnu.org ([2001:470:142::17]:32940) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rVeLn-0003No-5m for submit@debbugs.gnu.org; Thu, 01 Feb 2024 16:12:02 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rVeLW-0000Ax-3o for guix-patches@gnu.org; Thu, 01 Feb 2024 16:11:42 -0500 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rVeLS-00035C-MX for guix-patches@gnu.org; Thu, 01 Feb 2024 16:11:40 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 238263200A49; Thu, 1 Feb 2024 16:11:33 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Thu, 01 Feb 2024 16:11:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=mesmtp; t=1706821892; x= 1706908292; bh=UiEo+2CKYn/MZmhRlwZke7iJUC9+6SWPCLFBXFvic6g=; b=b aiP7bEVf6FKAmxPHltl61KUykKnBx5ChjI3ka4YqPXXAL13wReNx4qofO1kw4gFD QOU3GWLGzmsR2rClvpAknLfqFqOZUZr0OWbk5sFL5Vqiobfg2Mu6GiSiV4iou42x NdrsPF3OjnRKjxzNZF6CNaCT66kY/HfTRXGokXgsSQ= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1706821892; x=1706908292; bh=UiEo+2CKYn/MZmhRlwZke7iJUC9+ 6SWPCLFBXFvic6g=; b=touvigUZiRa3GsA1KlTYoB9e/5NJeiC0xc/VVHWZFS+E fUcxMHrOM2l7DGL3okVMIqeqhiZtzN/ggJfy4jvNzUHa1YqZ4p/AWYj0IaM+RlTp 4vs/gJURo7fgxVdBUiynr1gS2VYlbtw+D0jmiNE4LjYkelCwzIXpf6nJxOeq8OSa YLRvk5DHfhXckcJvLXEH5ox/fWfQnCXeFDxoxyCfET/k0p/KT3/5t5Nr8JAM4j1H kf3pWiSJSogFheb5EfS+COUU1vC2p+Pd7mRPkBCXGl846tVEn5XNyoYEORsKxFpa zrQ1txuAX0vV2rhOW/ellRIJmnUvXqKLXOIvPYO/4g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrfeduuddgudegvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepfffhvfevuffkfhggtggujgesth dtredttddtvdenucfhrhhomhepnfgvohcuhfgrmhhulhgrrhhiuceolhgvohesfhgrmhhu lhgrrhhirdhnrghmvgeqnecuggftrfgrthhtvghrnhepkedvjedtjeekffdtvdefvedtff duvedvvefggeehuedvleefgfegfedvgeehhffhnecuffhomhgrihhnpegrrhgtghhishdr tghomhdprghrtghhihhvvgdrohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrh grmhepmhgrihhlfhhrohhmpehlvghosehfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Feedback-ID: i819c4023:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 1 Feb 2024 16:11:31 -0500 (EST) Date: Thu, 1 Feb 2024 16:11:29 -0500 From: Leo Famulari To: guix-patches@gnu.org Subject: Re: [PATCH] gnu: Add viz1090. Message-ID: References: <77b69c65826a4546659d4f2e399685e9611f0401.1705706943.git.leo@famulari.name> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <77b69c65826a4546659d4f2e399685e9611f0401.1705706943.git.leo@famulari.name> Received-SPF: pass client-ip=64.147.123.19; envelope-from=leo@famulari.name; helo=wout3-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit Cc: glv@posteo.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) On Fri, Jan 19, 2024 at 06:29:03PM -0500, Leo Famulari wrote: > + ("arcgis-data" > + ;; See 'getmap.sh' in the viz1090 source distribution. > + ,(origin > + (method url-fetch) > + (uri > + "https://opendata.arcgis.com/datasets/4d8fa46181aa470d809776c57a8ab1f6_0.zip") I had assumed that this file would be, if not versioned, at least immutable, due to the filename looking like a hash of some sort. But it was changed upstream recently. So, I'd need to provide an immutable source for this as well. I wonder if it would be better to take another approach here. I don't want to have to create a new archive.org upload every time something changes in the data set, which could be quite often given the scope of information it includes. From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 01 16:12:58 2024 Received: (at 68596) by debbugs.gnu.org; 1 Feb 2024 21:12:58 +0000 Received: from localhost ([127.0.0.1]:43247 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rVeMk-0003PU-6r for submit@debbugs.gnu.org; Thu, 01 Feb 2024 16:12:58 -0500 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:45671) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rVeMh-0003PH-QC for 68596@debbugs.gnu.org; Thu, 01 Feb 2024 16:12:56 -0500 Received: from compute7.internal (compute7.nyi.internal [10.202.2.48]) by mailout.west.internal (Postfix) with ESMTP id 865F03200AA6; Thu, 1 Feb 2024 16:12:39 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Thu, 01 Feb 2024 16:12:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=mesmtp; t=1706821958; x= 1706908358; bh=CoiXRzftDSnyPYJQSSwGHgOdmA6Vxy2/ADhABpbLdH4=; b=N N2PoVvS/ihoRSA8nPxicjGYMJpq0jqV/jPN1CJTInp0oN3CV4K45UYhydTkhfQTf xXq+vRSnAUkFqCUxl8Svtq5yQcbdQ0tpGhXoYt1QXK1PPcaUkppAuATRsRvcuB0n RdM/n7mV8gtTDvz4q5nTSjMbbpfNF3ENGh+GKWCb1Y= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1706821958; x=1706908358; bh=CoiXRzftDSnyPYJQSSwGHgOdmA6V xy2/ADhABpbLdH4=; b=TNi6vV2hW+EF/1ubSO5JkPhoowi4coSKGEZqdGeXumpi jPnV8l+a40Wt8nqHjA1iE8Z3JXazE01qzJorXpVUzYQlv62sFegcdHLiRPL/FGxQ zPCtz2Hrayl6YtL8v0tGajzihoFUIZmzyVwz50cUVrQMxVWvX3Y57KbaCDItzyik eCC3GOdCNMfpA4hNXd8dKDhPQTegRUbM5PqjTlfmRQMlIl7lSAlFiOVc/2ba7Q8P g3PbCGmebrFPB+FyqdOmmMf/wVPRxHJmSMBzj0mYDAyVxGqj7pwV/ithoNsryRaK m9d2QFnY20uF6laRqg7rs7QzruSSxSrP16jrdmtNgw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrfeduuddgudegudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepfffhvfevuffkfhggtggujgesth dtredttddtvdenucfhrhhomhepnfgvohcuhfgrmhhulhgrrhhiuceolhgvohesfhgrmhhu lhgrrhhirdhnrghmvgeqnecuggftrfgrthhtvghrnhepieetudehfeekueefleegudfhje fgleehfeeluefhfeffgfeuudelhedvjeelieetnecuvehluhhsthgvrhfuihiivgeptden ucfrrghrrghmpehmrghilhhfrhhomheplhgvohesfhgrmhhulhgrrhhirdhnrghmvg X-ME-Proxy: Feedback-ID: i819c4023:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 1 Feb 2024 16:12:38 -0500 (EST) Date: Thu, 1 Feb 2024 16:12:37 -0500 From: Leo Famulari To: Guillaume Le Vaillant Subject: Re: [PATCH] gnu: Add viz1090. Message-ID: References: <77b69c65826a4546659d4f2e399685e9611f0401.1705706943.git.leo@famulari.name> <87a5olg6cw.fsf@kitej> <875xz9g5nu.fsf@kitej> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <875xz9g5nu.fsf@kitej> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 68596 Cc: 68596@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Wed, Jan 31, 2024 at 10:22:12AM +0000, Guillaume Le Vaillant wrote: > When I downloaded this file, I got a different hash > (1327vq7k5rw8b7fc1765w33k01zc84r2cnn5wv7b6pm0i5yg8zw1). > So I guess this URL is not stable. Oh, I just saw your replies, after I sent my own. Yes, this file is sadly not immutable. From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 01 16:14:38 2024 Received: (at 68596) by debbugs.gnu.org; 1 Feb 2024 21:14:38 +0000 Received: from localhost ([127.0.0.1]:43254 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rVeOL-0003SY-Lb for submit@debbugs.gnu.org; Thu, 01 Feb 2024 16:14:37 -0500 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:43343) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rVeOJ-0003SK-Hm for 68596@debbugs.gnu.org; Thu, 01 Feb 2024 16:14:36 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 4E27A3200A5F; Thu, 1 Feb 2024 16:14:19 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Thu, 01 Feb 2024 16:14:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=mesmtp; t=1706822058; x= 1706908458; bh=wP8OB77K4qhYYR7e0kNPGKzDlb2yBhtCJ6RddbeNDWA=; b=J tEXDzw/CEkewb0Hw8wApvsjJpCz0CfD5IQ/HpfgGIU5G5OOCtNj3tErhPQsxThD4 d+WOarZa1CPdj4XC93HslQxj84r2Q/AWuH7En32l0Nqku9Yq5gqAD7+k43FNT3OY cnnSlLq9cypQYfNGsaWNh4mtG5yMHArTb0JmElo+4s= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1706822058; x=1706908458; bh=wP8OB77K4qhYYR7e0kNPGKzDlb2y BhtCJ6RddbeNDWA=; b=UtefCSDNT/4jG7mFu3h9W9oKGmuzMhFEz0FaFgnw/NBU u54eTxOph0dIkDqS2YKZQPof6kFw/QNkFqPWeiVb69ND4Za88+MlKeD2EF24YNdS kde64xqmp3WPV6ajKvqkHYBP43SA6B4EqKoaBlYNCEGXuviBz6O/LRCUQRa35U2w yGz0op+kIqGRVhoWZqxsrD7WSTuINmSS9G5IxDZsZtbO2GzrGTxvCpw1UBuWBvCE enxBGFilsJ93bQYlVvYVg4CecVCWHHFcRfhyKFG/mH7v7xIhQIUJGXb4NDUdt1te clt9fe9AStttSXzEyxk8VbqupF0+6mVL4J4pkhf8vQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrfeduuddgudegvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepfffhvfevuffkfhggtggujgesth dtredttddtvdenucfhrhhomhepnfgvohcuhfgrmhhulhgrrhhiuceolhgvohesfhgrmhhu lhgrrhhirdhnrghmvgeqnecuggftrfgrthhtvghrnhepffetheeihefffeeihfefuedtue ffgffhteehuefgtdffudeludeugfekveduleehnecuffhomhgrihhnpehgihhthhhusgdr tghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hlvghosehfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Feedback-ID: i819c4023:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 1 Feb 2024 16:14:18 -0500 (EST) Date: Thu, 1 Feb 2024 16:14:16 -0500 From: Leo Famulari To: Guillaume Le Vaillant Subject: Re: [PATCH] gnu: Add viz1090. Message-ID: References: <77b69c65826a4546659d4f2e399685e9611f0401.1705706943.git.leo@famulari.name> <87a5olg6cw.fsf@kitej> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87a5olg6cw.fsf@kitej> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 68596 Cc: 68596@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Wed, Jan 31, 2024 at 10:03:43AM +0000, Guillaume Le Vaillant wrote: > It looks like the NaturalEarthData files can also be found in the Git > repository at . Maybe > you could use that instead of archiving the files by hand to get > a stable URL... I looked into this, but I couldn't find the data used by helper scripts in viz1090. It seems like the Git repo contains something closer to source data, whereas the files available from naturalearthdata.com are an artifact of some process performed upstream. It would be great if I was wrong about that... This patch may be more trouble than it's worth to me.