unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#68278] [PATCH] Add laszip 3.4.3
@ 2024-01-05 18:46 Mattia Bunel
  2024-01-07 18:22 ` bug#68278: " Mathieu Othacehe
  0 siblings, 1 reply; 2+ messages in thread
From: Mattia Bunel @ 2024-01-05 18:46 UTC (permalink / raw)
  To: 68278

[-- Attachment #1: Type: text/plain, Size: 217 bytes --]

Hi,

This is a patch for add the laszip lib to guix.  This is my first 
contribution to the project, so chances are it won't be perfect. Don't 
hesitate to give me feedback, it'll help me with future patches.


[-- Attachment #2: 0001-Add-laszip-3.4.3.patch --]
[-- Type: text/x-patch, Size: 1483 bytes --]

From 4b06d664319b0783bd972f591e56bbc446a7bc62 Mon Sep 17 00:00:00 2001
From: Mattia Bunel <mattia.bunel@ign.fr>
Date: Fri, 5 Jan 2024 14:50:53 +0100
Subject: [PATCH] Add laszip 3.4.3

---
 gnu/packages/geo.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index 31abb2cc36..024b3a419c 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -3228,3 +3228,29 @@ (define-public navit
 file format, and data from OpenStreetMap, Garmin maps, Marco Polo
 Grosser Reiseplaner, Routeplaner Europa 2007, Map + Route.")
     (license license:gpl2)))
+
+(define-public laszip
+  (package
+    (name "laszip")
+    (version "3.4.3")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/LASzip/LASzip")
+             (commit "3.4.3")))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "09lcsgxwv0jq50fhsgfhx0npbf1zcwn3hbnq6q78fshqksbxmz7m"))))
+    (build-system cmake-build-system)
+    (arguments
+     (list
+      #:configure-flags #~(list "-DLASZIP_BUILD_STATIC=NO")
+      #:build-type "Release"
+      ;; No tests writed
+      #:tests? #f))
+    (home-page "https://laszip.org/")
+    (synopsis "Compression library for LAS files")
+    (description
+     "LASzip is a library for compress las files and uncompress laz files.")
+    (license license:asl2.0)))
\ No newline at end of file
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#68278: [PATCH] Add laszip 3.4.3
  2024-01-05 18:46 [bug#68278] [PATCH] Add laszip 3.4.3 Mattia Bunel
@ 2024-01-07 18:22 ` Mathieu Othacehe
  0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Othacehe @ 2024-01-07 18:22 UTC (permalink / raw)
  To: Mattia Bunel; +Cc: 68278-done


Hello,

Welcome aboard!

>
> ---

You are missing a commit message that follows those rules:
https://www.gnu.org/prep/standards/html_node/Change-Logs.html#Change-Logs.

You can have a look to the git log for examples.

> +    (home-page "https://laszip.org/")
> +    (synopsis "Compression library for LAS files")
> +    (description
> +     "LASzip is a library for compress las files and uncompress laz files.")

I expanded a bit the description before applying,

Thanks,

Mathieu




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-01-07 18:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-05 18:46 [bug#68278] [PATCH] Add laszip 3.4.3 Mattia Bunel
2024-01-07 18:22 ` bug#68278: " Mathieu Othacehe

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).