From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id AIB9NGlgFWfPaQAAe85BDQ:P1 (envelope-from ) for ; Sun, 20 Oct 2024 19:56:26 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id AIB9NGlgFWfPaQAAe85BDQ (envelope-from ) for ; Sun, 20 Oct 2024 21:56:26 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=TJhk4dri; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=l7uoRoPC; 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), DKIM 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=1729454185; 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=c4/BKsHdIZZ83Lol1Gf6KdSZYBB+XpYxUwzuFUijxBU=; b=WyI7X7ELIcTzWBmjXiu3CRUAaBveDHFkARn20XnPg977dHjj/0T65tQzWuyuHWZ2bIl2QT Q8d8fr2rpxTuIYO4NkRJxqQRWf+ix4BbTHoktSXUMkyPni84IpqF81rbyLbtSJjR0n1UGm yhdnhwWBoRxLBI4IVYodPVBJZpjECf4YpEYAF1SdmnFPcyBEySt0XXrCYL4xB35rLrM60R jefqiKRBt8fsSOPhw+zr7GPqfkbAhE/0uo3pEUyD9Djfvm1nWur/NEql2+Myng96uKehM9 5j++vzNZqn26Azuhb7wNZfc76eMZzTQAI6ge3QOQRo/11bYQCIMvSb+O/Bvo5A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=TJhk4dri; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=l7uoRoPC; 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), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1729454185; a=rsa-sha256; cv=none; b=mc4yvT25x0Ir7h6gqFvycbcKm/POer3ThmYXp0hP8LnYJUhbNb4yPLntEyKT++Uto/676Q jo2xnX59nRl7wimoizl5oA/1Gx0MsYbxIc2zzQWVSYFy22wOkJbnL3gtoMbFBtfOIOck1C gP6FHf2JbYeoxvUgZ4tCS+0ncSlPk9dNYXfvZS0eV10u47GYC+Y8gcVhq67mumpbp4baMe dlEA7HRp4Qre6kyNDN3iviaJhzrC5BF+yuG/VmN35NjsV8qBW7cvu+xQlqzZhNp/lw/vXL xwDdYX5bMEqP0LjgrV9nLcCxx60Um3c6aAfocl+52KOHRr/0dwViwmm+V6Lwpw== 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 69DA486AE4 for ; Sun, 20 Oct 2024 21:56:25 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t2c1s-0004NL-Qb; Sun, 20 Oct 2024 15:55:56 -0400 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 1t2c1m-0004Cw-Br for guix-patches@gnu.org; Sun, 20 Oct 2024 15:55:50 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t2c1m-0003HX-2w for guix-patches@gnu.org; Sun, 20 Oct 2024 15:55:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=c4/BKsHdIZZ83Lol1Gf6KdSZYBB+XpYxUwzuFUijxBU=; b=TJhk4drikpkKi2E/YfxPlEMRWCfibGBb7wpvJZREHmddBtaLd2b9yAqPjTWOc4ktE49FTWC9kku/VfEefGl2kf5JTR+9xC1x8PRv+rhwR7n6nl61PQ87is/D186oIQ/7ymn/7IvwE+gb+RCclyTFbM7AeWF5zkRY2UwpxB2k2goLKzvA96gsIgmx3cZIvaHczzR7BlDa6akZr5IIlV533Ys/FSwt+4MTJn4mTaKhWxL55/U6fSzcB+L+qhRpfidFttws4l7FPvp/yhadyTcOPQjKKahyGfT5KjO1+F4h2J9ZIBppuyv6fGMWxKDRF7/f2sifUuolM8CVXlNtcHIm2Q==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t2c2A-00029L-RU; Sun, 20 Oct 2024 15:56:14 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73915] [PATCH 39/42] gnu: Add iraf-community. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: andreas@enge.fr, bavier@posteo.net, sharlatanus@gmail.com, guix-patches@gnu.org Resent-Date: Sun, 20 Oct 2024 19:56:14 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73915 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73915@debbugs.gnu.org Cc: Sharlatan Hellseher , Andreas Enge , Eric Bavier , Sharlatan Hellseher X-Debbugs-Original-Xcc: Andreas Enge , Eric Bavier , Sharlatan Hellseher Received: via spool by 73915-submit@debbugs.gnu.org id=B73915.17294541227598 (code B ref 73915); Sun, 20 Oct 2024 19:56:14 +0000 Received: (at 73915) by debbugs.gnu.org; 20 Oct 2024 19:55:22 +0000 Received: from localhost ([127.0.0.1]:48825 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2c1J-0001yO-Pq for submit@debbugs.gnu.org; Sun, 20 Oct 2024 15:55:22 -0400 Received: from mail-wm1-f47.google.com ([209.85.128.47]:48480) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2c11-0001ss-Gq for 73915@debbugs.gnu.org; Sun, 20 Oct 2024 15:55:04 -0400 Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-43152b79d25so35763235e9.1 for <73915@debbugs.gnu.org>; Sun, 20 Oct 2024 12:54:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729454017; x=1730058817; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=c4/BKsHdIZZ83Lol1Gf6KdSZYBB+XpYxUwzuFUijxBU=; b=l7uoRoPCfyPNWot3FN5weeKmP9mRVNAm6bsmOB4KAZ6QrscU6e95RtfxbBMUrriL5e 36JUiiq8m69IQNMaPh92E+4uDUo3by0uHTFuS8S5gvnN3Z6Z6coSfx30Go+/Q7W4mVll uuAv+QuOpk4CR3MBSOk4N9nK5vp2/9KdE8mlNKnx06rioclRiZ6OequykIMhFiA5n1ki pJfAa8tx/4erOvutWSvQaqisyGeCkwnkKQ5LnYQ1v1Db7BWeb5g1yQKA+Fo124O9amu2 mV5O3KSeFq8TuO1lWtE4W51nFCwnIYwvnEgM/JjpSOVQEw4RgSE6hdW6spokn8AknX4n qgUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729454017; x=1730058817; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=c4/BKsHdIZZ83Lol1Gf6KdSZYBB+XpYxUwzuFUijxBU=; b=bt+6N0ZwQJve3KgaFpi8HkPYU2mMCCLvTz10vVI26MYM0DE8zHmZnycRSpZcUex1HY e3h5ZiEGk0DY1paljNWInnC5qsayYGkENh/qF2rwjZWpwxt9Jijbt2Sfhbt9/5XSZV98 68Mr864BVrt994iKfx9LjeuSrQF3VprEqh2S6Wxq4IFo3gLWBOBOzoO7FmxV1QP1nJtW hrPnfKpxpK4QRbjKrQq5wemc0rqbLFFH7oZWUJTtqIDkihqJ+1oz56ij1lIXbcQkuCL0 O2pXicsPtlwsXL7N1+yOAXruxL8OPEibVo1o16U9Xs2VsW6zU2uYbV9DfIPrODbozExc T3uw== X-Gm-Message-State: AOJu0YxejwhDVy//1CK2O3mzVfT4LzaDXViYgH9FBjot9Jh9v5W6G8Si 7Uj42DJBDJ2ySS1+LkIrjD73Cnm+F3Rh6xO4RHLI16/+iMOk1vTgTUrsUVtZ X-Google-Smtp-Source: AGHT+IFDNTLsIcG31CZN4ysFatP5ZqIRSMjzhKdKwXcw96ZBl3kfimiaKtlFAvjcXRdPpeqQWuBiMA== X-Received: by 2002:a05:600c:3b9b:b0:42c:b037:5f9d with SMTP id 5b1f17b1804b1-43161636f67mr70124215e9.3.1729454017184; Sun, 20 Oct 2024 12:53:37 -0700 (PDT) Received: from guxtil.incerto.xyz (cpc100684-bagu15-2-0-cust967.1-3.cable.virginm.net. [86.8.111.200]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4316f57bc1dsm32572085e9.11.2024.10.20.12.53.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Oct 2024 12:53:36 -0700 (PDT) From: Sharlatan Hellseher Date: Sun, 20 Oct 2024 20:52:41 +0100 Message-ID: <0dfb9eabe9dc53983ae25ad22a954b44534df422.1729453324.git.sharlatanus@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: References: 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: 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: 4.74 X-Spam-Score: 4.74 X-Migadu-Queue-Id: 69DA486AE4 X-TUID: cAp+HATPrwKY * gnu/packages/astronomy.scm (iraf-community): New variable. Change-Id: I7b02255f8c725a54f45f9190fc15f42233fa0374 --- gnu/packages/astronomy.scm | 71 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 25e6505802..3f4e8ff3bf 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -1018,6 +1018,77 @@ (define-public indi ;; Default version of INDI.. indi-1.9) +(define-public iraf-community + (package + (name "iraf-community") + (version "2.18") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/iraf-community/iraf") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0cxf8s8gldx0zc9075x8ii0aadjagifw9gpdvnpqss0q21zwrpg2")))) + (build-system gnu-build-system) + (arguments + (list + ;; XXX: All tests fail, figure out how to fix them. + #:tests? #f + ;; It failes with segmentation fault in parallel build + #:parallel-build? #f + ;; No such file or directory .../lib/iraf/lib/libmemdbg.a + #:validate-runpath? #f + #:make-flags + #~(list (format #f "IRAFARCH=~a" (cond (#$(target-hurd?) "hurd") + (#$(target-64bit?) "linux64") + (else "linux"))) + "MNAME=linux64" + (string-append "CC=" #$(cc-for-target)) + (string-append "prefix=" #$output)) + #:phases + #~(modify-phases %standard-phases + (delete 'configure) ;; no configure + (add-after 'unpack 'patch-paths + (lambda* (#:key inputs #:allow-other-keys) + (substitute* (list "test/run_tests" + "unix/boot/spp/xc.c" + "unix/f2c/libf2c/makefile.u" + "unix/f2c/src/changes" + "unix/f2c/src/main.c" + "unix/f2c/src/makefile.u" + "unix/f2c/trim_f2c.sh" + "unix/hlib/f77.sh" + "unix/hlib/irafarch.sh" + "unix/hlib/irafcl.sh" + "unix/hlib/mkfloat" + "unix/hlib/mkiraf.sh" + "unix/hlib/mkmlist.sh" + "unix/os/zoscmd.c") + (("/bin/sh") (which "sh"))) + (substitute* "unix/hlib/irafarch.sh" + (("/usr/bin/uname") (search-input-file inputs "/bin/uname")) + (("/bin/uname") (search-input-file inputs "/bin/uname"))) + (substitute* "Makefile" + (("DESTDIR./etc/iraf") "prefix)/etc/iraf"))))))) + (native-inputs + (list bison flex perl)) + (inputs + (list curl expat ncurses readline zlib)) + (home-page "https://iraf-community.github.io/") + (synopsis "Image Reduction and Analysis Facility") + (description + "IRAF is the Image Reduction and Analysis Facility, a general purpose +software system for the reduction and analysis of astronomical data. IRAF was +written by the @acronym{NOAO, National Optical Astronomy Observatories} in +Tucson, Arizona. This package provides a community successor of the last IRAF +release from 2013.") + ;; It's multi licenses project but primary one is MIT (Expat) it was + ;; checked with upstream, see + ;; . + (license license:expat))) + (define-public libnova (package (name "libnova") -- 2.46.0