From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 tnCtMCtH/WMc0gAAbAwnHQ (envelope-from ) for ; Tue, 28 Feb 2023 01:13:31 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 2IUmMCtH/WO2dgEA9RJhRA (envelope-from ) for ; Tue, 28 Feb 2023 01:13:31 +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 A089711CEF for ; Tue, 28 Feb 2023 01:13:31 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=bdkHmSRg; 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=1677543211; a=rsa-sha256; cv=none; b=XUVEiaxUZ9RqAAl0nsREjPn30/eqUmkwqBwUWsgeegmjYFM5z474wFkGFxbzxaiLq1P/Nf 8eiAOLcMACL3viYAVRDEiLu0JKw19aJnm1kLjPc092Km51DICv1GrjXO/gajlGNqOy2Go0 MaU1W7YOGq5ox+Dexm8uT9dYEFo7CkMjeK6+KAzHY/AbeDkCMBSauFDlzU6EgSAiu1shsA GF4zcX7NuuoEROZTgkgvt/xYXKu0C91jk9uOFgCZy14UQogTpvXqc2GALOPixjZFc4R+7z q0JhPChO1HH49V2w/x6KmDXt/aR7zkUB7Jb6KGTHQgOYnJBjXAuB7xjvYaUQig== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=bdkHmSRg; 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=1677543211; 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=iVL89AjUD6CJtUqlKIOQ/fB9kmTJcCfbOwyGI3Sg13o=; b=TEsu2h4brptTipM6TmvQWVkiu4k583zcJpCfRYry6Ow2gqMRawVYVu9HrrNHeB3fr7ga+N BsFa9KkwWiNFPP7tvL3bxuL6XPKaS0uMyt+o/WwI203CtQ6g+pqles8jtDdFjDjqbMZPi+ 3YJp7NSvk+2kz25B6gAgBpKs97iUG84LgmLmCT7V8HTnBjeaGxScoTnQvT1q3v/KSthA3b I9tGrLqkn9xJ3EoIFAuabmIX2dMt/WjrxIBPYkcFASeCrzZVJQ4mbnYmJg6P+2eUEyP9uD shXdo7m2+emjBMQ0bpIjrwfYmvsn0PgzxGO91m/rquq+ULXmU+dk8Cd361SnzQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pWncG-0008Qn-Lw; Mon, 27 Feb 2023 19:13:12 -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 1pWnc7-0008IJ-EF for guix-patches@gnu.org; Mon, 27 Feb 2023 19:13: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 1pWnc7-0005H3-1c for guix-patches@gnu.org; Mon, 27 Feb 2023 19:13:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pWnc6-0005Vq-Tf for guix-patches@gnu.org; Mon, 27 Feb 2023 19:13:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61674] [PATCH v3 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, 28 Feb 2023 00:13: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.167754316321112 (code B ref 61674); Tue, 28 Feb 2023 00:13:02 +0000 Received: (at 61674) by debbugs.gnu.org; 28 Feb 2023 00:12:43 +0000 Received: from localhost ([127.0.0.1]:49256 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pWnbl-0005UE-Du for submit@debbugs.gnu.org; Mon, 27 Feb 2023 19:12:43 -0500 Received: from mail-wm1-f49.google.com ([209.85.128.49]:50826) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pWnbj-0005Tr-Hj for 61674@debbugs.gnu.org; Mon, 27 Feb 2023 19:12:40 -0500 Received: by mail-wm1-f49.google.com with SMTP id k37so5375148wms.0 for <61674@debbugs.gnu.org>; Mon, 27 Feb 2023 16:12:39 -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=iVL89AjUD6CJtUqlKIOQ/fB9kmTJcCfbOwyGI3Sg13o=; b=bdkHmSRgyXrr/JX5cKG1Nm9/7KjZ7iiFKvCDPu4uLoemsFZhNRM9q1cAo8H0aKG/MW N0Hm8ovhgOYW2Po2rS4On01Tk3cuuPwjfGVQpxnOktKHmbv0NEnL9DirJ0dKFQmYaxZe cIvysWMhWBsIIaDryPxMObEn2TXC1c7VZnsEXdZyyLHvznkC0j4ld9zNOmQnt8IZP1k5 C3BnjF7/lW5DSWb0fVAkwmvXF6YhpJ3yPLgfsY/5fPQNQ1du6rQEUh+2SovvfpVBBAKg 4F8DOPoU1240RfqFKnNq1A/Hw6BDvh9DpUmPacb+XAZ7ldd04xN4KPzWyAwNYlNLJ6e7 okhQ== 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=iVL89AjUD6CJtUqlKIOQ/fB9kmTJcCfbOwyGI3Sg13o=; b=oST3f/xlKAiSBs7SjrNqAInV9O/G0YUCx1l3wK+hwDLexSpaYBUyhcvR25KAKjxB0K A7t1DqWCpkZSuBjWy9sXAzp1FOvW4tNczIAPoBqMXqeXEEoMBVGdIet/V/56jndKo67c NPRQ7HikrKymZljF4EzTC4w1XFMM/BGE1wkpp7b2KXQuW4Y0kEisp9cbHLAaMAarWiJT Cp2cHORBiUwjmEnhcI5h3LDFrFysnHWEFGRXBblS/iUKQUL85GrKpdpMYHsWSLxaKz+H gQ602SdUcNiRqoLkt4PRHiC6Qlz6Hy4UOO49PUj9LCej81QUXzxAhxZ4zjJmXtdNB7y5 OrhA== X-Gm-Message-State: AO0yUKV4VhDqylMX4QhKInZAsDOb+/MHgG+tQyaBGO5w8GL5wy1UHXa/ /U14qbloswQvtSiWd1sRcbHtDYnQfqA= X-Google-Smtp-Source: AK7set9IClLpZl+fBg1NkvrFfYJ/4Lpm6yJpqTuTB/pFodCDl/NoEoxiWwfBkqiBme9U25huvagCCA== X-Received: by 2002:a05:600c:5020:b0:3e2:91c:7cb7 with SMTP id n32-20020a05600c502000b003e2091c7cb7mr603445wmr.39.1677543153764; Mon, 27 Feb 2023 16:12:33 -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 g10-20020a7bc4ca000000b003dc4a47605fsm14445812wmk.8.2023.02.27.16.12.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Feb 2023 16:12:33 -0800 (PST) From: Sharlatan Hellseher Date: Tue, 28 Feb 2023 00:12:27 +0000 Message-Id: <20230228001230.3573-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: A089711CEF X-Spam-Score: 0.11 X-Migadu-Spam-Score: 0.11 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: 7ONWP3VA7KMA * 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..bf022c1804 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -209,6 +209,63 @@ (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 + (modify-inputs (package-inputs calcmysky) + (replace "qtbase" qtbase-5))) + (synopsis "Qt5 build for the CalcMySky library."))) + (define-public aoflagger (package (name "aoflagger") -- 2.39.1