GNU bug report logs - #60377
[PATCH] gnu: Add charls

Previous Next

Package: guix-patches;

Reported by: Tor-björn Claesson <tclaesson <at> gmail.com>

Date: Wed, 28 Dec 2022 11:47:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.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 60377 in the body.
You can then email your comments to 60377 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#60377; Package guix-patches. (Wed, 28 Dec 2022 11:47:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tor-björn Claesson <tclaesson <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 28 Dec 2022 11:47:02 GMT) Full text and rfc822 format available.

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

From: Tor-björn Claesson <tclaesson <at> gmail.com>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add charls
Date: Wed, 28 Dec 2022 02:23:53 +0200
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




Information forwarded to guix-patches <at> gnu.org:
bug#60377; Package guix-patches. (Wed, 28 Dec 2022 17:53:02 GMT) Full text and rfc822 format available.

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

From: Tor-björn Claesson <tclaesson <at> gmail.com>
To: 60377 <at> debbugs.gnu.org
Subject: Comments
Date: Wed, 28 Dec 2022 16:09:05 +0200
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




Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Thu, 05 Jan 2023 22:09:02 GMT) Full text and rfc822 format available.

Notification sent to Tor-björn Claesson <tclaesson <at> gmail.com>:
bug acknowledged by developer. (Thu, 05 Jan 2023 22:09:02 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Tor-björn Claesson <tclaesson <at> gmail.com>
Cc: 60377-done <at> debbugs.gnu.org
Subject: Re: bug#60377: [PATCH] gnu: Add charls
Date: Thu, 05 Jan 2023 23:08:11 +0100
Hi,

Tor-björn Claesson <tclaesson <at> 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’.




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

This bug report was last modified 2 years and 136 days ago.

Previous Next


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