From patchwork Wed Jun 15 15:39:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Antero Mejr X-Patchwork-Id: 40033 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 B5D8A27BBE9; Wed, 15 Jun 2022 16:47:05 +0100 (BST) 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_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable 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 C8E9027BBEA for ; Wed, 15 Jun 2022 16:47:04 +0100 (BST) Received: from localhost ([::1]:56186 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o1VEV-0004Dz-T4 for patchwork@mira.cbaines.net; Wed, 15 Jun 2022 11:47:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35916) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o1V8g-0004JO-Pj for guix-patches@gnu.org; Wed, 15 Jun 2022 11:41:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45701) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o1V8g-0000EL-GR for guix-patches@gnu.org; Wed, 15 Jun 2022 11:41:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o1V8g-0003Hw-9p for guix-patches@gnu.org; Wed, 15 Jun 2022 11:41:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55989] [PATCH 2/2] gnu: Add gdcm. Resent-From: Antero Mejr Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Jun 2022 15:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55989 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55989@debbugs.gnu.org Received: via spool by 55989-submit@debbugs.gnu.org id=B55989.165530761212560 (code B ref 55989); Wed, 15 Jun 2022 15:41:02 +0000 Received: (at 55989) by debbugs.gnu.org; 15 Jun 2022 15:40:12 +0000 Received: from localhost ([127.0.0.1]:39596 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o1V7s-0003GW-1g for submit@debbugs.gnu.org; Wed, 15 Jun 2022 11:40:12 -0400 Received: from mout-p-202.mailbox.org ([80.241.56.172]:33536) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o1V7p-0003Fz-0R for 55989@debbugs.gnu.org; Wed, 15 Jun 2022 11:40:10 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [10.196.197.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4LNTyR6dNFz9sQL for <55989@debbugs.gnu.org>; Wed, 15 Jun 2022 17:39:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1655307599; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=OWrOYpHszyYlk+/anpALqkLZ2KyMXvubZgGLa2eKM4w=; b=htk+c8DNbi60/RlGENKU+2bkLdKU/ipbdZAykwlNbW0+jT8+Ww6BK14xk9mDGCcdgRc71L T0BvWIirm48qvJRbYjtWt+juUmFc5MbrkX7qK+Dtv31oFikY6z1waPcdyNwa2A2NPdkQ0e fATL6rnPBhCc/iOgWY+VQXbRZezIF6EhI1puDlnUYOCKgE2YffT8/2fUfnd1IgwGcUXKig Z148K1ODGOB5q+JUyj4Ze/RhEXmihjhacHNo2x6xXohDkfp+cVOwMyeuRaBf6qUWpA9Jyg FDsbjAd8DskZN4/tMGZByOKOCNGsGSv45OKzKW5gQpl78Kz6llY6MglI6c6GWg== Date: Wed, 15 Jun 2022 15:39:53 +0000 Message-Id: <20220615153953.32070-2-antero@mailbox.org> In-Reply-To: <20220615153953.32070-1-antero@mailbox.org> References: <20220615153953.32070-1-antero@mailbox.org> MIME-Version: 1.0 X-MBO-RS-ID: bbe582824652dc255cc X-MBO-RS-META: or43ec8x8sg4xj6gidqn9dphjy1q7ucp X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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" Reply-to: Antero Mejr X-ACL-Warn: , Antero Mejr via Guix-patches X-Patchwork-Original-From: Antero Mejr via Guix-patches via From: Antero Mejr X-getmail-retrieved-from-mailbox: Patches Here's the updated GDCM patch, which is a dependency. * gnu/packages/bioinformatics.scm (gdcm): New variable. --- gnu/packages/bioinformatics.scm | 37 +++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 87df6c3515..2c9f3b4a6f 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -23,6 +23,7 @@ ;;; Copyright © 2021 Hong Li ;;; Copyright © 2021, 2022 Simon Tournier ;;; Copyright © 2021 Felix Gruber +;;; Copyright © 2022 Antero Mejr ;;; ;;; This file is part of GNU Guix. ;;; @@ -15745,3 +15746,39 @@ (define-public wfmash module capable of computing base-level alignments for very large sequences.") (home-page "https://github.com/ekg/wfmash") (license license:expat))) + +(define-public gdcm + (package + (name "gdcm") + (version "2.8.9") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/malaterre/gdcm") + (commit (string-append "v" version)) + (recursive? #t))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0v8ggym2kz26rwyvsyy3mg7j5jbvd1pz5cwchh29iyclagf0l9ry")))) + (build-system cmake-build-system) + (arguments + (list + #:configure-flags + #~(list "-DGDCM_BUILD_TESTING=true" + (string-append "-DCMAKE_CTEST_ARGUMENTS=-E;" + "'TestFileMetaInformation" + "|TestElement2" + "|TestSCUValidation" + "|TestEcho" + "|TestFind'")))) + (home-page "http://gdcm.sourceforge.net/wiki/index.php/Main_Page") + (synopsis "Grassroots DICOM library") + (description + "Grassroots DICOM (GDCM) is an implementation of the DICOM +standard designed to be open source so that researchers may access clinical +data directly. GDCM includes a file format definition and a network +communications protocol, both of which should be extended to provide a full set +of tools for a researcher or small medical imaging vendor to interface with an +existing medical database.") + (license license:bsd-2)))