From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id oAdrH6r1xmOdlQAAbAwnHQ (envelope-from ) for ; Tue, 17 Jan 2023 20:23:22 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id qAV5H6r1xmMdwAAAauVa8A (envelope-from ) for ; Tue, 17 Jan 2023 20:23:22 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 527DD3C98E for ; Tue, 17 Jan 2023 20:23:22 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pHrY0-0001PV-VR; Tue, 17 Jan 2023 14:23:04 -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 1pHrXz-0001P8-D3 for guix-patches@gnu.org; Tue, 17 Jan 2023 14:23: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 1pHrXy-0006sD-SS for guix-patches@gnu.org; Tue, 17 Jan 2023 14:23:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pHrXy-0001Vd-CZ for guix-patches@gnu.org; Tue, 17 Jan 2023 14:23:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60640] Gnu: Add gdcm Resent-From: =?UTF-8?Q?Tor-bj=C3=B6rn?= Claesson Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 17 Jan 2023 19:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60640 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 60640@debbugs.gnu.org Received: via spool by 60640-submit@debbugs.gnu.org id=B60640.16739833475752 (code B ref 60640); Tue, 17 Jan 2023 19:23:02 +0000 Received: (at 60640) by debbugs.gnu.org; 17 Jan 2023 19:22:27 +0000 Received: from localhost ([127.0.0.1]:38306 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHrXO-0001Ug-Uw for submit@debbugs.gnu.org; Tue, 17 Jan 2023 14:22:27 -0500 Received: from mail-il1-f176.google.com ([209.85.166.176]:44719) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHrXL-0001US-8l for 60640@debbugs.gnu.org; Tue, 17 Jan 2023 14:22:25 -0500 Received: by mail-il1-f176.google.com with SMTP id h26so15875458ila.11 for <60640@debbugs.gnu.org>; Tue, 17 Jan 2023 11:22:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:from:to:cc:subject:date:message-id:reply-to; bh=c98GIKaGjJQMiTIRB3zwBdgJ8MmoqC+u/Ksg3bDX13E=; b=H7gdSgqtJ4h6BrdaXjuc+01C/VXsPObTtQedNcmW2M6XuGtqGDLqg8P/h2SKi86PR/ L0faUH6SzhIz6aVkCY140BoRgGapMdbuw8MzyarTJFVNAwAbmYB5UiiBLnkbVn2YLQe7 gaohH8AXEG5IprXj1JrbwiodDj1hBy1XAPqEBCu5YP0zrY8A0m5sH/YpNIZxEQEzniQI IbVi+xIqf0iQ5xaskABt3B48e3TWGDrGzrBAZ9Wa1ILtWZFHXBmgBxlNFWapMXhYASmX hJ0ZYCOO7bheFWPrtQSxFScPgZx+KVboFSv5ys6sHNnN3rrPz92QgdfGCatiTnpuECBV ORXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=c98GIKaGjJQMiTIRB3zwBdgJ8MmoqC+u/Ksg3bDX13E=; b=BDyiSdvdZWEwyJjcyrqJXNCxCG5x4NqVAm6cFLd7On0GMr3bNolRw+O5mb1vRkcLhk oTKermVOZBl5WeCh5yFwUqLimNbOGLR7eCYHXQZcUdv3AL7yyLZZ5/aK94MogYbZZFLL 0+pxZGfELXXp6ZPyEqK14UJBO9jBlXqII8EJ12Ap45OSWiP2PXcaQbt15by1bLqBFegR eh9cZB8e4nCPbc/Zf1eGZ02jsnWihfLpQxVlj1kTiIdDLoSseJgSW9erST8EdfkXYCwq J3bFRBk/cBSflzGPgogjPb4zbSwqrM9hq6MQWFmFgYd0apprjCFFRoTkTRD87X5dxJqX w8JA== X-Gm-Message-State: AFqh2kpj1FrN57u2Jtref0igUIf4xbSlIP/PLELPWV1GZcMgPxOCL3q5 PGdePqpt3HhKZEvrMb42BEDCDpdjIy8= X-Google-Smtp-Source: AMrXdXtNueyF0G3nLtsfWvq947m/de98cw9OWjlsT1QQJnkgekF4lcS2WtEFT5p2e6fX90UheXXuLA== X-Received: by 2002:a05:6e02:5c6:b0:30c:2bb4:a2dc with SMTP id l6-20020a056e0205c600b0030c2bb4a2dcmr3506638ils.22.1673983336989; Tue, 17 Jan 2023 11:22:16 -0800 (PST) Received: from barbar (212-90-81-204.bb.dnainternet.fi. [212.90.81.204]) by smtp.gmail.com with ESMTPSA id q12-20020a05663810cc00b003a36ce2cd5asm2680589jad.160.2023.01.17.11.22.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Jan 2023 11:22:16 -0800 (PST) References: <877cxyp1wf.fsf@gmail.com> <87y1qdo3qq.fsf@gmail.com> <87wn5rfldh.fsf_-_@gnu.org> <875ydau2vf.fsf@gmail.com> <87wn5q9epc.fsf@gnu.org> <87bkn1m4dj.fsf@gmail.com> <875yd5i5v8.fsf@gnu.org> User-agent: mu4e 1.8.13; emacs 28.2 From: =?UTF-8?Q?Tor-bj=C3=B6rn?= Claesson Date: Tue, 17 Jan 2023 21:21:17 +0200 In-reply-to: <875yd5i5v8.fsf@gnu.org> Message-ID: <878ri1rmor.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-TUID: rIhinlE7Y+k0 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi! Ludovic Court=C3=A8s writes: > In general, we don=E2=80=99t install documentation as PDF/PS, unless ther= e=E2=80=99s no > other choice (preferred formats are Info, man pages, and HTML). > > Is there such an option? > > Furthermore, we shouldn=E2=80=99t depend on =E2=80=98texlive=E2=80=99, wh= ich is the big > monolithic package: > > https://guix.gnu.org/manual/devel/en/html_node/Using-TeX-and-LaTeX.html > Thanks for the feedback! Here is an updated patch. --=20 Cheers, Tor-bj=C3=B6rn Claesson --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-gdcm-Add-documentation.patch Content-Transfer-Encoding: quoted-printable >From 4cab625e857c3a63dcfce10b7c03f06b173014a9 Mon Sep 17 00:00:00 2001 From: =3D?UTF-8?q?Tor-bj=3DC3=3DB6rn=3D20Claesson?=3D Date: Sat, 14 Jan 2023 19:03:39 +0200 Subject: [PATCH] gnu: gdcm: Add documentation. --- gnu/packages/bioinformatics.scm | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.= scm index e60dffc21e..d534734cb2 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -17853,8 +17853,16 @@ (define-public gdcm (base32 "1w78cmm9q7aavs7svdkl4dgilcqk4yazci9m6x7icrssb7cj991i")))) (build-system cmake-build-system) + (outputs '("out" "doc")) (arguments (list + #:phases + #~(modify-phases %standard-phases + (add-before 'build 'set-HOME + ;; The build spams =E2=80=98Fontconfig error: No writable= cache + ;; directories=E2=80=99 in a seemingly endless loop other= wise. + (lambda _ + (setenv "HOME" "/tmp")))) #:configure-flags #~(list "-DGDCM_BUILD_TESTING=3Dtrue" (string-append "-DCMAKE_CTEST_ARGUMENTS=3D-E;" @@ -17862,7 +17870,13 @@ (define-public gdcm "|TestElement2" "|TestSCUValidation" "|TestEcho" - "|TestFind'")))) + "|TestFind'") + "-DGDCM_DOCUMENTATION:BOOL=3DON" + "-DGDCM_PDF_DOCUMENTATION:BOOL=3DOFF" + (string-append "-DGDCM_INSTALL_DOC_DIR=3D" + #$output:doc "/share/doc/" #$name) + "-DGDCM_BUILD_DOCBOOK_MANPAGES:BOOL=3DOFF"))) ; TODO: need = =E2=80=98xsl-ns=E2=80=99 + (native-inputs (list doxygen graphviz)) (home-page "https://gdcm.sourceforge.net/wiki/index.php/Main_Page") (synopsis "Grassroots DICOM library") (description --=20 2.38.1 --=-=-=--