From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id aB/jK5acrGTWMAEASxT56A (envelope-from ) for ; Tue, 11 Jul 2023 02:04:38 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id uFvBKpacrGQXsgAAG6o9tA (envelope-from ) for ; Tue, 11 Jul 2023 02:04:38 +0200 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 6774B352D3 for ; Tue, 11 Jul 2023 02:04:38 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=XQ8jezRE; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1689033878; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ZoIRtrVePlNoP2Mzbq5/BaD2N6oC/z3NG4WBKmQraqk=; b=L5ZPFcW1q82JALqTuXz9t+r6gBIhcXt/BJ98LFD37jBr0y9etqF7UB/htSCXlS04jo/GGe em5ilpTYpKts6UrpvtOQ3j7Pq7eOUZ9DuU146NM/lRbAII2gzoBnVKd1fceOJHz4RsfhlR ySdznALTqxE+Ll+eNeyAf+65uYyw+8sNgAhMUl2SZaYu1ao1VvfiAqtYjK6xyO0ii1kAdN 17iegNAH2ZkkK1xWOMYshXQU1WfeONVQc1wFv1Me6Rv+qWek7xZvAJ3u4UmfBh+Jy4sr9V fp8rw5+67kO5vVRIfE5kw4Z5V5OSq8pEJromWmrd4gdGyEzdNUnN+D8fEEF3Tw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=XQ8jezRE; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1689033878; a=rsa-sha256; cv=none; b=SxeiI1c79RuBK2r/9sTKqY4PytqlARYFObun20SOdYPC2oTsEMhQPjAdKYMH1osPa7ICke 0WJ2oLHVrbL30Os6fsOhsWkMiCq6AoVMnD/LL9mLOERLjzVQ9aQMWzHodU9lUh8riZGxla nhHuEyaOWxvJw7sH0tbEtmWHLtWeZ97+nq5WhXBiOkuvWbNePgG/+xnasOjYcmOqBPx9IG REpZpgUj7NOu/CEqmWXWN6NOvOhmJRpNHTI9JaB6LDslDQd+skl4fzXaVgYvJZKKGlxH53 bx3tMoiyeszWPj4X1nkYVkzrL9dj6H//aQYIaf+jvirEJP4TZJdLs2DQSLN4eA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qJ0UH-0001CK-QD; Mon, 10 Jul 2023 19:40:13 -0400 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 1qJ0U9-000196-5K for guix-patches@gnu.org; Mon, 10 Jul 2023 19:40:05 -0400 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 1qJ0U7-0006UA-SJ for guix-patches@gnu.org; Mon, 10 Jul 2023 19:40:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qJ0U7-00076k-DS; Mon, 10 Jul 2023 19:40:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64566] [PATCH 3/3] gnu: Add glnemo2. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: andreas@enge.fr, efraim@flashner.co.il, bavier@posteo.net, guix-patches@gnu.org Resent-Date: Mon, 10 Jul 2023 23:40:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64566 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64566@debbugs.gnu.org Cc: Sharlatan Hellseher , Andreas Enge , Efraim Flashner , Eric Bavier X-Debbugs-Original-Xcc: Andreas Enge , Efraim Flashner , Eric Bavier Received: via spool by 64566-submit@debbugs.gnu.org id=B64566.168903237527265 (code B ref 64566); Mon, 10 Jul 2023 23:40:03 +0000 Received: (at 64566) by debbugs.gnu.org; 10 Jul 2023 23:39:35 +0000 Received: from localhost ([127.0.0.1]:49388 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qJ0Te-00075b-Us for submit@debbugs.gnu.org; Mon, 10 Jul 2023 19:39:35 -0400 Received: from mail-wm1-f42.google.com ([209.85.128.42]:44289) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qJ0Tb-000753-Cb for 64566@debbugs.gnu.org; Mon, 10 Jul 2023 19:39:32 -0400 Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-3fbc6ab5ff5so52994905e9.1 for <64566@debbugs.gnu.org>; Mon, 10 Jul 2023 16:39:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689032366; x=1691624366; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ZoIRtrVePlNoP2Mzbq5/BaD2N6oC/z3NG4WBKmQraqk=; b=XQ8jezREr7heyKf+tV8sYuCE3fb3jG0hli4ZSni7q2c6ego2qtrjbhuYI/uHnRMKYx Qk+dgVdttd9aXb0ipmp7Y9AbvxWvuuEoL0xsXBbAkvrss64++5JWki/dxY/wPa5Lf8Aw ny7WTPQIacd0Em7kqlh/Q6FOcXR1emO9xkRnI9ZjFcOvV8Gcrnjz5YUeyKk1XFyJOk5a a8WakWiPaCV9UskK+a6gsBCkqqeQHChxMXeD9QyMvlvZiMU+OhyOzABw0UoTpTkKzMSU IFb+/cYPrLxW5J9cMrHnZBrlDcM/2fKisBVLe0tZS9jtDcLWYMuTjmp51eApL+dZgOv3 BU9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689032366; x=1691624366; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ZoIRtrVePlNoP2Mzbq5/BaD2N6oC/z3NG4WBKmQraqk=; b=Lt9x0i0A/2Jyh9daqitfFZdvOVB7mN4IJizwN05XNEfdXFpLbQVQWzXaiTdBN92sgM zIRaQgHhYySjLlNcN404LhDmIl3jcUGGwDVr3OqG66ZWaBsn6EcUUJf8IrPRgZjSdg61 sLFNRl1uGcxTKl+ASmmvTPVfCSgaPQEsTL/rwQHuvNZMnxXc8QhLfUBRvDVuFixdt56v 3G1wujKtys+PvPaBQnppJpx2vVgXYYimxSWYt6ZxAyvO9C31EYB2PnSyVTk/9Lni98mU 70vHvjB2lPPZXZ2Ih+JXfsiVm8AgmOLrgbSJt1D0ZHgDcJPzRvmFVjlCQioNxfbSMcjS Y3wg== X-Gm-Message-State: ABy/qLb7fQ+mXnbWMtoLQIDSGKDKF9/Zrlj+7x7Q4TQxtB7DCMnFS0sp z2e5Pz70LvoA3H6hccpmYlezy9I0Fzk= X-Google-Smtp-Source: APBJJlFioeVPfVSflDxgk/ruhfwQJbzKJeezEJf40itXqKFbQru1j1oM5/I0fZE4dFftFOJG5J8xcw== X-Received: by 2002:a05:600c:3785:b0:3fa:74ae:df9f with SMTP id o5-20020a05600c378500b003fa74aedf9fmr14357406wmr.37.1689032365396; Mon, 10 Jul 2023 16:39:25 -0700 (PDT) Received: from guxtil.incerto.xyz (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id n13-20020a7bc5cd000000b003fbc30825fbsm968816wmk.39.2023.07.10.16.39.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jul 2023 16:39:25 -0700 (PDT) From: Sharlatan Hellseher Date: Tue, 11 Jul 2023 00:39:20 +0100 Message-Id: <848bcee921835526c39b09f2cb6effd83a78a64b.1689032023.git.sharlatanus@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 6774B352D3 X-Migadu-Spam-Score: 4.21 X-Migadu-Scanner: mx2.migadu.com X-Spam-Score: 4.21 X-TUID: jUdxwnDGoJz9 * gnu/packages/astronomy.scm (glnemo2): New variable. --- gnu/packages/astronomy.scm | 65 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 5d261370b8..3d27f1a60e 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -60,6 +60,7 @@ (define-module (gnu packages astronomy) #:use-module (gnu packages multiprecision) #:use-module (gnu packages ncurses) #:use-module (gnu packages netpbm) + #:use-module (gnu packages onc-rpc) #:use-module (gnu packages perl) #:use-module (gnu packages photo) #:use-module (gnu packages pkg-config) @@ -757,6 +758,70 @@ (define-public weightwatcher astronomical image-processing packages like Drizzle, Swarp or SExtractor.") (license license:gpl3+))) +(define-public glnemo2 + (package + (name "glnemo2") + (version "1.21.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.lam.fr/jclamber/glnemo2") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1jmmxszh8d2jmfghig36nhykff345mqnpssfa64d0r7l9cnfp3cn")))) + (build-system cmake-build-system) + (arguments + (list + #:tests? #f ; No test target + #:configure-flags #~(list "CPPFLAGS=-fcommon") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-libraries-paths + (lambda _ + (substitute* "CMakeLists.txt" + ;; There is some not straightforward logic on how to set + ;; installation prefix for the project, inherit it from the + ;; build-system default flags. + (("CMAKE_INSTALL_PREFIX \"/usr\"") + (string-append "CMAKE_INSTALL_PREFIX")) + (("/usr/include/CCfits") + (string-append + #$(this-package-input "ccfits") "/include/CCfits")) + (("/usr/include/tirpc") + (string-append + #$(this-package-input "libtirpc") "/include/tirpc")) + ;; It tries to detect library in 2 "predictable" paths, + ;; required during link phase. + (("/usr/lib64/libtirpc.so") + (string-append + #$(this-package-input "libtirpc") "/lib/libtirpc.so")))))))) + (inputs + (list ccfits + cfitsio + glm + glu + hdf5 + libtirpc + qtbase-5 + zlib)) + (home-page "https://projets.lam.fr/projects/unsio/wiki") + (synopsis "3D interactive visualization program for nbody like particles") + (description + "GLNEMO2 is an interactive 3D visualization program which displays +particles positions of the different components (gas, stars, disk, dark mater +halo, bulge) of an N-body snapshot. It's a very useful tool for everybody +running N-body simulations from isolated galaxies to cosmological simulations. +It can show quickly a lot of information about data by revealing shapes, dense +areas, formation of structures such as spirals arms, bars, peanuts or clumps +of galaxies. Glnemo2 has been designed to meet the requirements of the user, +with simplicity in mind, easy to install, easy to use with an interactive and +responsive graphical user interface (based on QT 5.X API), powerful with a +fast 3D engine (OPenGL and GLSL), and generic with the possibility to load +different kinds of input files.") + (license license:cecill))) + (define-public gnuastro (package (name "gnuastro") -- 2.40.1