From patchwork Wed Dec 28 00:23:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Tor-bj=C3=B6rn_Claesson?= X-Patchwork-Id: 45626 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id C288D27BBED; Wed, 28 Dec 2022 14:33:29 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 9B05E27BBE9 for ; Wed, 28 Dec 2022 14:33:28 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pAXUf-0002Dw-4Y; Wed, 28 Dec 2022 09:33:21 -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 1pAUti-0003Ch-EI for guix-patches@gnu.org; Wed, 28 Dec 2022 06:47:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pAUti-0005Yt-3H for guix-patches@gnu.org; Wed, 28 Dec 2022 06:47:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pAUth-0005ZP-Vb for guix-patches@gnu.org; Wed, 28 Dec 2022 06:47:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60377] [PATCH] gnu: Add charls Resent-From: =?utf-8?q?Tor-bj=C3=B6rn?= Claesson Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 28 Dec 2022 11:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 60377 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60377@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167222797021332 (code B ref -1); Wed, 28 Dec 2022 11:47:01 +0000 Received: (at submit) by debbugs.gnu.org; 28 Dec 2022 11:46:10 +0000 Received: from localhost ([127.0.0.1]:57190 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pAUsr-0005Xz-Lq for submit@debbugs.gnu.org; Wed, 28 Dec 2022 06:46:09 -0500 Received: from lists.gnu.org ([209.51.188.17]:47984) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pAKHS-00041G-8l for submit@debbugs.gnu.org; Tue, 27 Dec 2022 19:26:50 -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 1pAKHR-0004Ij-VY for guix-patches@gnu.org; Tue, 27 Dec 2022 19:26:50 -0500 Received: from mail-lf1-x131.google.com ([2a00:1450:4864:20::131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pAKHP-0008J3-VF for guix-patches@gnu.org; Tue, 27 Dec 2022 19:26:49 -0500 Received: by mail-lf1-x131.google.com with SMTP id bp15so21585789lfb.13 for ; Tue, 27 Dec 2022 16:26:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:subject:to:from:user-agent:from:to:cc :subject:date:message-id:reply-to; bh=E2Rr5FFDbu2KGIdE8HqdUaNiMXhGZMGEc3FVUardeMM=; b=irz+wRQNqqGlGwR9kbVQCAfgvrc1icoXRQcmN0Qj8fez4qnFIvF7rcWbtfX/Ppr5AR /OyhSE4gbbY/8yhhvdy5iy3Q4YpgBM5LU/A+4Q4CqBWC4AlxwzlMi+AlQHZfphmH8l/P iVXWm+ziiAtGG2Oqw7O0Zn+fy0pS/4IltYKTSd+8XWP3koFdq5zsx8PoEmwiSs10+0P/ w1bnsZJq++j12/rfs4gxSqT24SU+GzxsgQl8vTwL7n1o1uYEyBsB/JYSKyhaonsTj9LP Eywi4m8ZAoljB7BA8WPHDBDAqcLJRv1mWAnGLPis13Uytb0qd7ct3mIe1+1jZNwHp5By S8HQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:subject:to:from:user-agent :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=E2Rr5FFDbu2KGIdE8HqdUaNiMXhGZMGEc3FVUardeMM=; b=icX/1wxpuliH9+fzcMODL8FlgY27CBznMT/bimekeJE/KzzqnPLhDl4Xo4yQVMRF2Y YNqY3Xhe2nUK6+p2oK7C0Z3cKnQA2Be73pQDKCpadsqP1j0kA9Y2pFsE41+wdeAbrj12 xXzcKlVvkoAOzI45zHV1Xh5yL4LrKsqyFadd16OdXqgJ0N8ru+Xoyly/7C9u6chMnElV 8+996NgbcNUFTNLhSUvTsdJa0YD4hbVkMUxbh85GcqAhufs40oGQmAIvu33qQZDQoC0G tRUm+o00SsD+8qpxbaTFKvsVQz2v4zQLCq+QAWlh17U70DMN0cPFeuXqdx/tvw+n01H/ xjgQ== X-Gm-Message-State: AFqh2kptw22aO/nUUY+iRIN3KjZGyNeiQ8tbbtct4P6rY6r1ZTORjy4W fA/+yMnKpgfV0FRx35Ygrx5L6Kiq7H4= X-Google-Smtp-Source: AMrXdXuoxfavO07smM6461SaSd5FSxHSFD4IiaCEbRtR9qsy/tC3rXdtB5Kr6BMC+Wj5SFTaiaau3w== X-Received: by 2002:a05:6512:2829:b0:4b6:ecfb:ee98 with SMTP id cf41-20020a056512282900b004b6ecfbee98mr11596786lfb.41.1672187205080; Tue, 27 Dec 2022 16:26:45 -0800 (PST) Received: from barbar (212-90-81-204.bb.dnainternet.fi. [212.90.81.204]) by smtp.gmail.com with ESMTPSA id bq27-20020a056512151b00b004b591c33b99sm2453700lfb.13.2022.12.27.16.26.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Dec 2022 16:26:44 -0800 (PST) User-agent: mu4e 1.8.13; emacs 28.2 From: =?utf-8?q?Tor-bj=C3=B6rn?= Claesson Date: Wed, 28 Dec 2022 02:23:53 +0200 Message-ID: <87lems74qk.fsf@gmail.com> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::131; envelope-from=tclaesson@gmail.com; helo=mail-lf1-x131.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 28 Dec 2022 06:46:08 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Wed, 28 Dec 2022 09:33:19 -0500 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches 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)))