From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id eKh1ClfC9GOYrwAAbAwnHQ (envelope-from ) for ; Tue, 21 Feb 2023 14:08:39 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id oCkTClfC9GPVogAA9RJhRA (envelope-from ) for ; Tue, 21 Feb 2023 14:08:39 +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 B8D9CBBCB for ; Tue, 21 Feb 2023 14:08:38 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=Fp5jD9g4; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676984918; a=rsa-sha256; cv=none; b=eFM1sNO/+F/WHuL/KW1yIUakoAnkavau0wjFZpnjMtm5vK7eCCsBT8FOcqAOyuPnYmrMfF vyySFZZE4XBX76JZePqV9VZzT8ofTymlHZPrzVQb8FM6ytTVOlzKfUn3dRQb7bdqk6CUz8 /OgbI7x2rNkBapz+7MD+kKrdb+sxoAJLeergW9CoMcVkw9Smi8/TnAPFAymVI31xBbNk7l dLXgc3kRyadC2RkCeS6r5OmXjhCUVvVWqh+9mrPcbNmSmHrq1Dqhk6RjdeC36y50L6HHOy IYfYf/dz+ibNsd2YmD9hssylFpZkI00wY41fSbjbSTVvycuS4CQjClUzU1NObg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=Fp5jD9g4; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676984918; 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=uo/8EEaZmUdsCpG+vlsNkXxzu4NkF4B8lMjVHbX6tMU=; b=UhWWvnarK1dSpiSuZyjjU2KBs7WcVcralZKZaeTnwv81k+s5JOR1+lphDgTT5R0urnY5I5 GHyJHP4QnS63x/9sqPnx+5iH1LGAuhQwU6J8q9gFG7Zo1JM95MNkqX/FrGl2SzAYSOyCM3 IIFwk4ZQ8OR3EU4DNg1+iViEqhkJWR68rIGncPpYErwtY7dRuzCsKxuVoV5ep8vvyQDU6Y JSp0btAe0c9PAvaizZtSliqWIQ/GLhRkV8Bl2Q9Nu8L2oiqLBfMSuPBMAfvajSrl0h3NdV EpXAAV8vd4E7ZMq4K9cDWodmtUotgf750eiZxtxIwJFJ56wLra7VH9o4cclrzA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pUSNI-0000xB-27; Tue, 21 Feb 2023 08:08: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 1pUSNG-0000wN-Mv for guix-patches@gnu.org; Tue, 21 Feb 2023 08:08:02 -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 1pUSNG-0003VJ-DW for guix-patches@gnu.org; Tue, 21 Feb 2023 08:08:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pUSNG-0003ef-9I for guix-patches@gnu.org; Tue, 21 Feb 2023 08:08:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61674] [PATCH 1/4] gnu: Add calcmysky. References: <20230221130600.18932-1-sharlatanus@gmail.com> In-Reply-To: <20230221130600.18932-1-sharlatanus@gmail.com> Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 21 Feb 2023 13:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61674 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61674@debbugs.gnu.org Cc: Sharlatan Hellseher Received: via spool by 61674-submit@debbugs.gnu.org id=B61674.167698485313969 (code B ref 61674); Tue, 21 Feb 2023 13:08:02 +0000 Received: (at 61674) by debbugs.gnu.org; 21 Feb 2023 13:07:33 +0000 Received: from localhost ([127.0.0.1]:54921 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUSMn-0003dE-3i for submit@debbugs.gnu.org; Tue, 21 Feb 2023 08:07:33 -0500 Received: from mail-wr1-f46.google.com ([209.85.221.46]:43642) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUSMl-0003ct-HJ for 61674@debbugs.gnu.org; Tue, 21 Feb 2023 08:07:32 -0500 Received: by mail-wr1-f46.google.com with SMTP id l1so4088651wry.10 for <61674@debbugs.gnu.org>; Tue, 21 Feb 2023 05:07:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=uo/8EEaZmUdsCpG+vlsNkXxzu4NkF4B8lMjVHbX6tMU=; b=Fp5jD9g47LGflgfKLhucZ86jzR8PPm8h1ga4az7izhe7SBfIqpXyAIr5ldsDxPoTOH zftOxAHVplbwGxFIRvYRpWL5Fo5Q8/y7j28IgqgRIHghU2LhGzuejgoc/xFpkrubX6ad /wUW3byLLfNUDNnx4IYov/qA+iWsvwk1eQ81AwDdhd0aZtKkY6qoXmRQPGo1znrKJACi 2LxZJzbsWnXHC8rP3WTLpIDuGgKJzi2g8YZ/GXveENJzlF3sbIMCN/7NS1tC71mgE5lT i/WuJ7nkB/KsTvCDdYmJf4GjYs3qFWeSWd8k9tu9RasxujJQA0f4hpOhoIcXBFqOHi+s eT+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=uo/8EEaZmUdsCpG+vlsNkXxzu4NkF4B8lMjVHbX6tMU=; b=hUQ/yEEy2tuXdEIaGWjHHaz0CsCIA5bVSChBt4XnfquhhgiVDWOOMa0+ylQNrPQAFy fcIMtqHDCLThsnbZgTYHrd6MlFqiMikBF/cIxW4Z/rUiWbyn1DxxfWkaG3FDTBVB0TFV mQWxuMFmhrDBIUnaCPeAYeSQcLFyVYNSbJKROLpEzUm75F+Yc2tfNt9U2LHfkX8LPMVL 8KzsIEddhpYVS2fl2zS0Dh6nsg0I5ohw1QjntH6iQ5mHY1tWGvlWXIQfITtARlV+4Ki/ tSpkAP78w4neTQmf2Vkon9nt7TIM7grLZlh3mLJ2MbAI5URxKtmF9uRQBzB4kvlrEy9b q9WA== X-Gm-Message-State: AO0yUKWIMLtQOwX/+wi1ZQFq38CPWUO5I/LpQadqx0XGXRa2yyMnAElv 7CP4CSoSDGSUSziMWiz6YEOzM0DxBlA= X-Google-Smtp-Source: AK7set9u4shUDQTuc3pT8JfDS8dICBqnbBW2tsbFKF44orcyqZLz5Yjhu5CAzGad3vLBPAAxrfrXbw== X-Received: by 2002:a05:6000:88:b0:2c5:a040:5dd2 with SMTP id m8-20020a056000008800b002c5a0405dd2mr3434494wrx.22.1676984845663; Tue, 21 Feb 2023 05:07:25 -0800 (PST) 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 j21-20020a5d6e55000000b002c3f81c51b6sm5841531wrz.90.2023.02.21.05.07.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Feb 2023 05:07:25 -0800 (PST) From: Sharlatan Hellseher Date: Tue, 21 Feb 2023 13:07:20 +0000 Message-Id: <20230221130723.19077-1-sharlatanus@gmail.com> X-Mailer: git-send-email 2.39.1 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: X-Migadu-Queue-Id: B8D9CBBCB X-Spam-Score: -1.35 X-Migadu-Spam-Score: -1.35 X-Migadu-Scanner: scn0.migadu.com 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-TUID: yCaThMo7H3+r * gnu/packages/astronomy.scm (calcmysky, calcmysky-qt5): New variables. --- gnu/packages/astronomy.scm | 57 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 5cee981671..f13f74a5e8 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -26,6 +26,7 @@ ;;; along with GNU Guix. If not, see . (define-module (gnu packages astronomy) + #:use-module ((guix build utils) #:select (alist-replace)) #:use-module ((guix licenses) #:prefix license:) #:use-module (gnu packages algebra) #:use-module (gnu packages autotools) @@ -209,6 +210,62 @@ (define-public calceph @end itemize\n") (license license:cecill))) +(define-public calcmysky + (package + (name "calcmysky") + (version "0.2.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/10110111/CalcMySky") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0bib5shy8wzc7j5ph218dl9hqrqip491mn25gakyghbvaqxgm27d")))) + (build-system cmake-build-system) + (arguments + (list #:configure-flags + #~(list "-DQT_VERSION=6"))) + (inputs + (list eigen glm qtbase)) + (home-page "https://10110111.github.io/CalcMySky/") + (synopsis "Simulator of light scattering by planetary atmospheres") + (description + "CalcMySky is a software package that simulates scattering of light by the +atmosphere to render daytime and twilight skies (without stars). Its primary +purpose is to enable realistic view of the sky in applications such as +planetaria. Secondary objective is to make it possible to explore atmospheric +effects such as glories, fogbows etc., as well as simulate unusual environments +such as on Mars or an exoplanet orbiting a star with a non-solar spectrum of +radiation. + +This package consists of three parts: + +@itemize +@item @code{calcmysky} utility that does the precomputation of the atmosphere +model to enable rendering. + +@item @code{libShowMySky} library that lets the applications render the +atmosphere model. + +@item @code{ShowMySky} preview GUI that makes it possible to preview the +rendering of the atmosphere model and examine its properties. +@end itemize") + (license license:gpl3))) + +(define-public calcmysky-qt5 + (package + (inherit calcmysky) + (name "calcmysky-qt5") + (arguments + (list #:configure-flags + #~(list "-DQT_VERSION=5"))) + (inputs + (alist-replace "qtbase" (list qtbase-5) + (package-inputs calcmysky))) + (synopsis "Qt5 build for the CalcMySky library."))) + (define-public aoflagger (package (name "aoflagger") -- 2.39.1