unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#60377] [PATCH] gnu: Add charls
@ 2022-12-28  0:23 Tor-björn Claesson
  2022-12-28 14:09 ` [bug#60377] Comments Tor-björn Claesson
  2023-01-05 22:08 ` bug#60377: [PATCH] gnu: Add charls Ludovic Courtès
  0 siblings, 2 replies; 3+ messages in thread
From: Tor-björn Claesson @ 2022-12-28  0:23 UTC (permalink / raw)
  To: 60377

gnu: Add charls
---
 gnu/packages/image-processing.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/image-processing.scm b/gnu/packages/image-processing.scm
index ab796d7719..70afeaa147 100644
--- a/gnu/packages/image-processing.scm
+++ b/gnu/packages/image-processing.scm
@@ -1471,3 +1471,31 @@ (define-public labelme
       "Image and video labeling tool supporting different shapes like
 polygons, rectangles, circles, lines, points and VOC/COCO export.")
     (license license:gpl3+)))
+
+(define-public charls
+  (package
+    (name "charls")
+    (version "2.3.4")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/team-charls/charls/")
+                    (commit (string-append version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0g3f1rfimk30rqmi7ic4i5vfphyqbbpsyyhwqq1iss9wjwaz2vs5"))))
+    (build-system cmake-build-system)
+    (arguments
+     `(#:configure-flags '("-DCMAKE_BUILD_TYPE:STRING=Release"
+                           "-DBUILD_SHARED_LIBS=On")))
+    (native-inputs (list git pkg-config))
+    (home-page "https://github.com/team-charls/charls")
+    (synopsis "Library for using JPEG-LS compliant images")
+    (description
+     "CharLS is a codec library that can be used to build applications that
+can handle JPEG-LS compliant images.  In the application you are writing you
+can call the CharLS codec and pass it images (sometimes called raster bitmaps),
+ to have them encoded to JPEG-LS, or JPEG-LS streams, which CharLS will decode
+to images.")
+    (license license:bsd-3)))
-- 
2.38.1




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

* [bug#60377] Comments
  2022-12-28  0:23 [bug#60377] [PATCH] gnu: Add charls Tor-björn Claesson
@ 2022-12-28 14:09 ` Tor-björn Claesson
  2023-01-05 22:08 ` bug#60377: [PATCH] gnu: Add charls Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: Tor-björn Claesson @ 2022-12-28 14:09 UTC (permalink / raw)
  To: 60377

Hi!

Thanks for making GUIX, it is a lot of fun!

This is a package of charls, which is a dependency of gdcm, which I in
turn need and am packaging.

I'm able to build gdcm with this charls-package, and think this package
seems fairly straight forward (though I don't have previous experience
packaging for GUIX or writing Guile).

I'm not sure about the style of the description, it is from the charls
home-page, which I used since English is not my first language and I
wanted to respect the original authors.

-- 
Best regards,
Tor-björn Claesson




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

* bug#60377: [PATCH] gnu: Add charls
  2022-12-28  0:23 [bug#60377] [PATCH] gnu: Add charls Tor-björn Claesson
  2022-12-28 14:09 ` [bug#60377] Comments Tor-björn Claesson
@ 2023-01-05 22:08 ` Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2023-01-05 22:08 UTC (permalink / raw)
  To: Tor-björn Claesson; +Cc: 60377-done

Hi,

Tor-björn Claesson <tclaesson@gmail.com> skribis:

> gnu: Add charls
> ---
>  gnu/packages/image-processing.scm | 28 ++++++++++++++++++++++++++++

Applied with a commit log that follows the ChangeLog format (see
<https://guix.gnu.org/manual/devel/en/html_node/Submitting-Patches.html>).

> Thanks for making GUIX, it is a lot of fun!

Heh, glad to share the fun.  :-)

> This is a package of charls, which is a dependency of gdcm, which I in
> turn need and am packaging.
>
> I'm able to build gdcm with this charls-package, and think this package
> seems fairly straight forward (though I don't have previous experience
> packaging for GUIX or writing Guile).
>
> I'm not sure about the style of the description, it is from the charls
> home-page, which I used since English is not my first language and I
> wanted to respect the original authors.

The package looks perfect to me.  Welcome on board!

Thanks,
Ludo’.




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

end of thread, other threads:[~2023-01-05 22:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-28  0:23 [bug#60377] [PATCH] gnu: Add charls Tor-björn Claesson
2022-12-28 14:09 ` [bug#60377] Comments Tor-björn Claesson
2023-01-05 22:08 ` bug#60377: [PATCH] gnu: Add charls Ludovic Courtès

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