From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id eMTmJ6Wr+mNbsAAAbAwnHQ (envelope-from ) for ; Sun, 26 Feb 2023 01:45:25 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id wLCUJ6Wr+mPBBgEAauVa8A (envelope-from ) for ; Sun, 26 Feb 2023 01:45:25 +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 5C11924D2E for ; Sun, 26 Feb 2023 01:45:25 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=qycqHrnS; 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=1677372325; a=rsa-sha256; cv=none; b=AWd1lt9uPh3NSABXNUOT6YUgaKzLmmqz0mHszrh7vbHVzksrNGX56h677kO1JlBFW+YEOI ap9CmmASkYbFpJfrPXO14y5oQPVMBIsl7C5DgJKXTE3R0kAEAwJfhkLRVIUvCvy+3j031Z eG5kMFy136p88oG/XFMh+jlFlYKrjkGSHQ6siYRHh+rSnb4uSOosHFF4PWr5RXFVrM6nlu oxQDgopD5RwLmpHGcQiltn4oZ6NtvBBO2qOsPmD0yMtfH2xAwuJEop4N9nsLV7/+29Tkm+ +3i+MB2haedeY73/puiGVjNkGN9ZTm12Pr+tihoGX2BMKgVW0Q0G+HCL6i9fGg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=qycqHrnS; 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=1677372325; 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=WPRJ02iZoLs3CnqcIStZm4+6M8yg8GnjkMO1lTjUiR4=; b=OZfxMHCge9jzjZRHxoha5S+ovI2JrKbfbvdym8+aDM83suc75O41jo7oOh86Krz1j4nCIL YMtaPGvyajxCHmMvWXgwRLfYJwEwRWsRo2oj0cAIK7UeVcEo6ovB5f9Rfo6V+T7WB+a/5j YbgR/dBhOVKIzEpAVyv4o58GJ/EQ/N/yOQRNXgtxc5Gelp9KkRlkpvnFfrUbeqBAtaThdb ZHWrN7YKiAIMccQxiXv3wUKtU0XHZl2U2J8gkj9mm7f8ZgGXef5HjMd1++1KZfA7+izBg4 2zgT7or8YELBcxF/TfYEbve2ijFRXKotW7IA/NmC0Wu9lsqeNUP5d5WxcMwqjA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pW5AD-0002X2-MO; Sat, 25 Feb 2023 19:45:17 -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 1pW5A8-0002UL-Mf for guix-patches@gnu.org; Sat, 25 Feb 2023 19:45:12 -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 1pW59y-0004dY-S6 for guix-patches@gnu.org; Sat, 25 Feb 2023 19:45:11 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pW59y-0007Dp-In for guix-patches@gnu.org; Sat, 25 Feb 2023 19:45: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: Sun, 26 Feb 2023 00:45: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.167737226027679 (code B ref 61674); Sun, 26 Feb 2023 00:45:02 +0000 Received: (at 61674) by debbugs.gnu.org; 26 Feb 2023 00:44:20 +0000 Received: from localhost ([127.0.0.1]:41883 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pW59I-0007C9-1P for submit@debbugs.gnu.org; Sat, 25 Feb 2023 19:44:20 -0500 Received: from mail-wm1-f41.google.com ([209.85.128.41]:41617) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pW59E-0007Bo-VL for 61674@debbugs.gnu.org; Sat, 25 Feb 2023 19:44:18 -0500 Received: by mail-wm1-f41.google.com with SMTP id r19-20020a05600c459300b003eb3e2a5e7bso137423wmo.0 for <61674@debbugs.gnu.org>; Sat, 25 Feb 2023 16:44:16 -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=WPRJ02iZoLs3CnqcIStZm4+6M8yg8GnjkMO1lTjUiR4=; b=qycqHrnSthpDqUNPXmdpK0XDwzZDk5EfQQy+xNY3a5mfH8tTGJ1U9sFTGROZYF6qbY 6QaHKAI50eBYVJACkR8Mykj3xuXEx4Q+xjz3BtXe5X5PU1xl2OqaP18+JNxUS7cA44Vi mCPvI7BZEUOrfxUG7lQvv02A5groem6ZQAzheKsJqFPxqnVbZeb/uVt/5YhDLTo56mwT pChwC25E1d1jtJOcVV1GRytReP8WWkDCDLkEbqThZMqIhO98+3pb3bBzjfP2YUwIV3sn NuU5p8vuX1fCR/D0YVIyWoGFaKLWDx5bVgMJFg6z92QUCwBjYDZxBkXO97SZv5K6dhjT KGgg== 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=WPRJ02iZoLs3CnqcIStZm4+6M8yg8GnjkMO1lTjUiR4=; b=KsCxDBl294IXegHEWukPmhbievMw8NANltiA2WhQvtwte5S1mYSfd/Qhu2aK1aDcSd 8C7EqjTwXxcGjvtRTZb7mnaAK3HIsFIiZO8kl5qGsquvh/xKLtZMuX848LHpyMqyndgu wdKdbz/ANx3WKtkZE3VsEZjsrPjsQLZsSC2yakoF4lfGhwXOpEtZ3ZBk6pZMghpL3+6M tdceDyA8byMR3xLqM2fBOZ+zhgUX9RdnrYf4oYqRecohavi8n2Th2b22OOSgAaiohiqv YsJkKPHtvgpD7uIi5DmiXJ6yt2h6da0R5L9aMTsGwVozmS4iE5Ji/3E5/BXrjWykCPJo Yesw== X-Gm-Message-State: AO0yUKXRbZ+/Y6B+Gff1OQCzNFFiIIMpWf573DSyH7u6pY0w4v4lSuI0 xR/pocXx7+NCKiFCmdWq/jLugrp1h0g= X-Google-Smtp-Source: AK7set+kzkBuR+hrHi4weel5xHZPWRy+c9PJBjqffB1X1BGpdPf4hfvayXLKX7sHcxYLdO38Z4jieQ== X-Received: by 2002:a05:600c:3318:b0:3ea:dc1b:90c with SMTP id q24-20020a05600c331800b003eadc1b090cmr6981242wmp.20.1677372251069; Sat, 25 Feb 2023 16:44:11 -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 m7-20020adfe947000000b002c70f5627d5sm2963695wrn.63.2023.02.25.16.44.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Feb 2023 16:44:10 -0800 (PST) From: Sharlatan Hellseher Date: Sun, 26 Feb 2023 00:44:03 +0000 Message-Id: <20230226004406.6215-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: 5C11924D2E X-Spam-Score: -1.38 X-Migadu-Spam-Score: -1.38 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: GQsJlyp6C01+ * gnu/packages/astronomy.scm (calcmysky, calcmysky-qt5): New variables. --- gnu/packages/astronomy.scm | 59 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 5cee981671..0f3176bc3e 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,64 @@ (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" + "-DCMAKE_CXX_FLAGS=-fPIC"))) + (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" + "-DCMAKE_CXX_FLAGS=-fPIC"))) + (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