From patchwork Fri Jan 22 22:54:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 26567 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 90CA227BC18; Fri, 22 Jan 2021 22:55:10 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id C41A327BC17 for ; Fri, 22 Jan 2021 22:55:09 +0000 (GMT) Received: from localhost ([::1]:32846 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l35Ke-0007TD-W7 for patchwork@mira.cbaines.net; Fri, 22 Jan 2021 17:55:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52914) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l35KY-0007Sq-5e for guix-patches@gnu.org; Fri, 22 Jan 2021 17:55:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:50110) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l35KX-0003NT-TU for guix-patches@gnu.org; Fri, 22 Jan 2021 17:55:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l35KX-0003x5-RT for guix-patches@gnu.org; Fri, 22 Jan 2021 17:55:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#46045] [PATCH] Time for astrosoft - libpasastro Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 22 Jan 2021 22:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46045 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 46045@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161135608215160 (code B ref -1); Fri, 22 Jan 2021 22:55:01 +0000 Received: (at submit) by debbugs.gnu.org; 22 Jan 2021 22:54:42 +0000 Received: from localhost ([127.0.0.1]:33423 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l35K4-0003wH-RN for submit@debbugs.gnu.org; Fri, 22 Jan 2021 17:54:42 -0500 Received: from lists.gnu.org ([209.51.188.17]:55226) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l35K2-0003w9-M6 for submit@debbugs.gnu.org; Fri, 22 Jan 2021 17:54:31 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52888) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l35K2-0007RO-E2 for guix-patches@gnu.org; Fri, 22 Jan 2021 17:54:30 -0500 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:36472) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l35K0-0003DH-G1 for guix-patches@gnu.org; Fri, 22 Jan 2021 17:54:30 -0500 Received: by mail-wr1-x429.google.com with SMTP id 6so6560982wri.3 for ; Fri, 22 Jan 2021 14:54:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=WXCHZwfpiIjkFtNHCtLf+s07f/Nu7o/eaUTKrzE6cJU=; b=C108+u3X1P0swEJD+K1/zz3oTzcywR+ap6t3hoohfX8EcvYUJo/f1A7uCuMF+OUK4Z xbh8PD+h3fCdKDVcLkGaV+ltAsYA5E+WzI2ftee3zH9Zono8IgyH4pehZFhi9mGeAasO JbURJWHslPvpZ9950TQgdjVzmbdQrKkv9nsUPaM7DY5iaQmtINTpmsPblGx4tVX8DOEZ KQ2chsFu6GPoyjIs9p92uvWBtrNdHIosU+PEU/QUdtGipSsm6YqaDEH7cSxA6VrkYo+R 6zlz4kjfJy8yg9X6Xpv/6fUIMWCotYaMi37bScpNHzPjP97LdpBdtw08p9KJhB15u27F fXxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=WXCHZwfpiIjkFtNHCtLf+s07f/Nu7o/eaUTKrzE6cJU=; b=iLJvH6ApcFaKxjcYNafzZpDAZkJc9YNtIuaNBf3GtSRJXjmyzpXygEdlzCn/J5HLDL U6mCb904F/T202KA1RDC5bG5YqEYvwLkb3GB/Brz/QwWRs0bU5ziJCoCn76j4KTiXNME oUOkhYqu+oZvAgMLN8oJ0ewdXvPCg6ytKW+JieO8p5k+j/Qyfsz29RIAxK3AclyR6KIh lwEMaOwnHJekSevHhPoSlZja3ofg8yg6VLxZZfu44zkOlnrUYa1YmyOk7yTcvevSGMAf /6zWrGgpB5K7rAX9Z+R1vCx7m+3eTsmgjJvL0KU5ecLqe7+GMv6G1NQ3ze4fbGSNS4Ow 2Sww== X-Gm-Message-State: AOAM5315Wh+7CnFahXBZOjAhuxAi+BxPAmO3M9yPXXCwx+fr3npCb4o4 MWI5XV+yVySJvOe4HW1kkTfZPUCORZlbZIRfKgBIz2cSdwI= X-Google-Smtp-Source: ABdhPJztT1bps539IU4mR0sboSicNcnU4OReGrQMCY/e0mfSRdkGIqWeq2GFMsIobBXSGtUdhqDGN3c1U0raYcnbTQU= X-Received: by 2002:adf:9d48:: with SMTP id o8mr6626599wre.408.1611356066201; Fri, 22 Jan 2021 14:54:26 -0800 (PST) MIME-Version: 1.0 From: Sharlatan Hellseher Date: Fri, 22 Jan 2021 22:54:15 +0000 Message-ID: Received-SPF: pass client-ip=2a00:1450:4864:20::429; envelope-from=sharlatanus@gmail.com; helo=mail-wr1-x429.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hi Guix team! I'm about to pack a bunch of astronomy related software and libraries - INDI https://github.com/indilib/indi - plplot http://plplot.sourceforge.net/ - skychart https://www.ap-i.net/skychart/en/start - astromatic http://www.astromatic.net/software Let's get it started from libpasastro Regards --- … наш разум - превосходная объяснительная машина которая способна найти смысл почти в чем угодно, истолковать любой феномен, но совершенно не в состоянии принять мысль о непредсказуемости. From 2dd53f46279ca1acf14b6e58537ed69e7345c6c6 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Fri, 22 Jan 2021 22:46:11 +0000 Subject: [PATCH] Add libpasastro * gnu/packages/astronomy.scm (libpasastro) new variable --- gnu/packages/astronomy.scm | 53 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 9485fe600f..34bbcc2662 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -5,6 +5,7 @@ ;;; Copyright © 2019 by Amar Singh ;;; Copyright © 2020 R Veera Kumar ;;; Copyright © 2020 Guillaume Le Vaillant +;;; Copyright © 2021 Sharlatan Hellseher ;;; ;;; This file is part of GNU Guix. ;;; @@ -51,6 +52,7 @@ #:use-module (gnu packages xorg) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) + #:use-module (ice-9 match) #:use-module (srfi srfi-1)) (define-public cfitsio @@ -299,6 +301,57 @@ Mechanics, Astrometry and Astrodynamics library.") (license (list license:lgpl2.0+ license:gpl2+)))) ; examples/transforms.c & lntest/*.c +(define-public libpasastro + ;; NOTE: (Sharlatan-20210122T215921+0000): the veneration tag has a build + ;; error on spice which is resolved with the latest commit. + (let ((commit "e3c218d1502a18cae858c83a9a8812ab197fcb60") + (revision "1")) + (package + (name "libpasastro") + (version (git-version "1.4.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/pchev/libpasastro") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0asp2sn34nds5va2ghppwc41vb6j3d1mf049j949rgrll817kx47")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f + #:make-flags + (list + ,(match (or (%current-target-system) (%current-system)) + ((or "aarch64-linux" "armhf-linux" "i686-linux" "x86_64-linux") + "OS_TARGET=linux") + (_ #f)) + ,(match (or (%current-target-system) (%current-system)) + ("i686-linux" "CPU_TARGET=i386") + ("x86_64-linux" "CPU_TARGET=x86_64") + ((or "armhf-linux" "aarch64-linux") "CPU_TARGET=armv7l") + (_ #f)) + (string-append "PREFIX=" (assoc-ref %outputs "out"))) + #:phases + (modify-phases %standard-phases + (delete 'configure)))) + (home-page "https://github.com/pchev/libpasastro") + (synopsis "Interface to astronomy library for use from Pascal program") + (description + "Interface to standard astronomy library for use from Pascal program + +Provide shared libraries to interface Pascal program with standard astronomy +libraries. + +@itemize +@item @code{libpasgetdss.so}: Interface with GetDSS to work with DSS images. +@item @code{libpasplan404.so}: Interface with Plan404 to compute planets position. +@item @code{libpaswcs.so}: Interface with libwcs to work with FITS WCS. +@item @code{libpasspice.so}: To work with NAIF/SPICE kernel. +@end itemize\n") + (license license:gpl2+)))) + (define-public xplanet (package (name "xplanet") -- 2.30.0