From patchwork Sun Jan 31 02:52:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 26782 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 DF37027BC23; Sun, 31 Jan 2021 02:53:09 +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=ham 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 094C527BC1E for ; Sun, 31 Jan 2021 02:53:09 +0000 (GMT) Received: from localhost ([::1]:41522 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l62rM-0004oF-1b for patchwork@mira.cbaines.net; Sat, 30 Jan 2021 21:53:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43584) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l62rG-0004o6-4K for guix-patches@gnu.org; Sat, 30 Jan 2021 21:53:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:44635) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l62rF-0008Nx-OD for guix-patches@gnu.org; Sat, 30 Jan 2021 21:53:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l62rF-0006dq-Lw for guix-patches@gnu.org; Sat, 30 Jan 2021 21:53:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#46201] [PATCH] Add new indi Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 31 Jan 2021 02:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46201 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 46201@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161206155925498 (code B ref -1); Sun, 31 Jan 2021 02:53:01 +0000 Received: (at submit) by debbugs.gnu.org; 31 Jan 2021 02:52:39 +0000 Received: from localhost ([127.0.0.1]:56181 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l62qt-0006dC-Gb for submit@debbugs.gnu.org; Sat, 30 Jan 2021 21:52:39 -0500 Received: from lists.gnu.org ([209.51.188.17]:35672) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l62qq-0006d3-On for submit@debbugs.gnu.org; Sat, 30 Jan 2021 21:52:38 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43572) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l62qq-0004nT-FH for guix-patches@gnu.org; Sat, 30 Jan 2021 21:52:36 -0500 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]:39948) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l62qo-0008GE-9K for guix-patches@gnu.org; Sat, 30 Jan 2021 21:52:36 -0500 Received: by mail-wr1-x42f.google.com with SMTP id c12so12851948wrc.7 for ; Sat, 30 Jan 2021 18:52:33 -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=29O17/FA1FZfMJZC44Rn3ujA/Ef7rnhU7GQ9lq3+o7w=; b=gI6r5+YP7IMS23xlks09ISQtnMEVwotoeAoPsivElB3+qOh1f2RJhoVWcG4rT/kCsG 4SO1AgKOlh+aYnY1Chfvu/pCBv0E6yiLpbnHxBlXYSOzbflipc5iOYvQyfMwu8FGYbNb 1Rdzqesv7Coq0t49SwzQgc0YpS7vdYHTLdm1xRVJ+HXWMSySU7o7RkU0XPw2J3FIP/zv pcann91BCgJ6DhqbNzcGrdIR2fXUAA9Uefxb1wWegoDH0p0X9DohV5fNfpIjwCqFKA23 km2Cj/WCviuQ8nwsGX342X4Dx2BWxA6FIIcpujAXIQkruA2a/4Sleo/I0wm4bTh/aL4r A2fA== 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=29O17/FA1FZfMJZC44Rn3ujA/Ef7rnhU7GQ9lq3+o7w=; b=kO8H+8YurFidjbK7O6e2G+r1uIqpXd/U3QH2xXsB9rL+x8BD6AiiqcWjM/gnG2Aped i4rS1IaIsGwo7pGdNbi0Olsl0LYrodYZ76k/cujh9Nl9miKJlU4GhoYRAbxITgL/Rvqj 5wUKFedvJUHo1DiJj3nJXeEKDAG1cYq8xXbkG8eN0RBGUIAn+vF7XwS2W7aTOBnZVJnJ wG9trwLMv9AiBetxnpdgzP899HfzhmsUa98ta63imLmci+V25QwdqY06WD/7IZFE/Opz /P9PFLlqEe3jmEM6JHPDEB5G/egfcamJpf+v4XGQW04fof2iF4teZpGPqw5ZMqguilMR 8yjw== X-Gm-Message-State: AOAM531a2/qHUzvTIb6iAJarmIZPPW/hwBnye8xHl/Fkiv7cj6IKys6M H2/+qGaK+C91Vs73kisor/7hb3aDRbDJk2XWGAKSEznI X-Google-Smtp-Source: ABdhPJykK0rZy4IuZZM0le3hoN5pe8dbkQEshw+/F2KLEkPcG11eFPSIiw622Q+2vT1tPi6LeNkMNebHBLrkeyNeyxk= X-Received: by 2002:adf:9d48:: with SMTP id o8mr11770514wre.408.1612061552780; Sat, 30 Jan 2021 18:52:32 -0800 (PST) MIME-Version: 1.0 From: Sharlatan Hellseher Date: Sun, 31 Jan 2021 02:52:21 +0000 Message-ID: Received-SPF: pass client-ip=2a00:1450:4864:20::42f; envelope-from=sharlatanus@gmail.com; helo=mail-wr1-x42f.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 From 1890a3eb5b6bff7bbaaec1b5fd029c43fff68452 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sun, 31 Jan 2021 02:49:34 +0000 Subject: [PATCH] gnu: Add indi * gnu/packages/astronomy.scm (indo): New variable --- gnu/packages/astronomy.scm | 56 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 9b25e03446..1ff84b6258 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -40,6 +40,7 @@ #:use-module (gnu packages gnome) #:use-module (gnu packages gtk) #:use-module (gnu packages image) + #:use-module (gnu packages libusb) #:use-module (gnu packages lua) #:use-module (gnu packages maths) #:use-module (gnu packages netpbm) @@ -630,3 +631,58 @@ Gpredict can also predict the time of future passes for a satellite, and provide you with detailed information about each pass.") (home-page "http://gpredict.oz9aec.net/index.php") (license license:gpl2+))) + +(define-public indi + (package + (name "indi") + (version "1.8.8") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/indilib/indi") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "19gm7rbnm3295g2i8mdzfslpz0vrcgfmbl59311qpszvlxbmyd2r")))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f + #:configure-flags + (let ((out (assoc-ref %outputs "out"))) + (list + "-DCMAKE_BUILD_TYPE=Release" + (string-append "-DCMAKE_INSTALL_PREFIX=" out) + (string-append "-DUDEVRULES_INSTALL_DIR=" out "/lib/udev/rules.d"))) + #:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (invoke "ctest"))) + (add-before 'install 'set-install-directories + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (mkdir-p (string-append out "/lib/udev/rules.d"))) + #t))))) + ;; Required for unit tests + ;; (native-inputs + ;; `(("googletest" ,googletest))) + (inputs + `(("cfitsio" ,cfitsio) + ("curl" ,curl) + ("fftw" ,fftw) + ("gsl" ,gsl) + ("libjpeg-turbo" ,libjpeg-turbo) + ("libnova" ,libnova) + ("libtiff" ,libtiff) + ("libusb" ,libusb) + ("zlib" ,zlib))) + (home-page "https://www.indilib.org") + (synopsis "Privides library for astonimical intrumentation control") + (description + "Instrument-Neutral Device Interface library -- shared library +INDI (Instrument-Neutral Device Interface) is a distributed XML-based control +protocol designed to operate astronomical instrumentation. INDI is small, +flexible, easy to parse, scalable, and stateless. It supports common DCS +functions such as remote control, data acquisition, monitoring, and a lot more.") + (license license:lgpl2.1))) -- 2.30.0