From unknown Wed Jun 18 00:26:37 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#62306 <62306@debbugs.gnu.org> To: bug#62306 <62306@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Add phd2 Reply-To: bug#62306 <62306@debbugs.gnu.org> Date: Wed, 18 Jun 2025 07:26:37 +0000 retitle 62306 [PATCH] gnu: Add phd2 reassign 62306 guix-patches submitter 62306 Sharlatan Hellseher severity 62306 normal tag 62306 patch moreinfo thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 20 17:50:38 2023 Received: (at submit) by debbugs.gnu.org; 20 Mar 2023 21:50:38 +0000 Received: from localhost ([127.0.0.1]:56935 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peNOn-0006ma-Pr for submit@debbugs.gnu.org; Mon, 20 Mar 2023 17:50:38 -0400 Received: from lists.gnu.org ([209.51.188.17]:33336) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peNOm-0006mQ-2y for submit@debbugs.gnu.org; Mon, 20 Mar 2023 17:50:36 -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 1peNOl-0004HK-LU for guix-patches@gnu.org; Mon, 20 Mar 2023 17:50:35 -0400 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1peNOj-0005U8-Sf for guix-patches@gnu.org; Mon, 20 Mar 2023 17:50:35 -0400 Received: by mail-wm1-x32a.google.com with SMTP id p13-20020a05600c358d00b003ed346d4522so8395678wmq.2 for ; Mon, 20 Mar 2023 14:50:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679349032; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=tm+6sZxNMyiXb5rbrTOGyHOn6EIjfTC551bzZcypMNI=; b=VyxhovqziV/EXZbEkNQyxKCzYP1uC34NZJCVWdhVYa1vpyt5V09hp7YBUn9jcLOCsI tHjqxKDWZ4xvosG5OJvd9gIpL4cMTXiB+zjcFyDDcBQo7eXtMx6pb8ZxXapPUZ605cYF ohl6vsxFhx1xvZYPz9nxshH/oJJtx1TMfpeZLjPBnbvCZOMVDHjYOUZ1HLFRl/Iczdiu A23ZP3eHV1fpjdeZOsJkVtt6ciOJbcqGy9aL/4kZUwGGiAdzugu3n9Kw2kvsKCa4Nbm+ DOVhUrS5TmbbQ+l/6Tm/ZzvMxOc2j4rcn0cTiIITvUd0L1Pa+8OjKgNdan9xDer6MvTU NEsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679349032; 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=tm+6sZxNMyiXb5rbrTOGyHOn6EIjfTC551bzZcypMNI=; b=XGr9AhnMAOl8HS7ZsNlQt2mIZNHPvxSz954EAbsf2x6bytb+O5dMx55qTCaz3pWqvd npbx7aQpPAud+Vc0iN5AAj50kA7G0aAxwvsHe2w0cJfa8/eHj97j2szrLYpDJI19kldL 6Y9pxH41QOOCst100i9gYGyRo7vLYMQ4qId9V5bMRYX3VUgVR6cp7qo0fdqQuzD1fMzN D1ihBlQD1tMz8yRMBT95wgOeG1N2mzEmv/MVQNX39q1go9XSncrgAZqo3uC0L/oMi/dk kswaxaURlVgInifVsKbSuoMmkyb29ahWBXD1W08xEk5Vuh6gN1dERaTd3ckjxntxD0xL nNNg== X-Gm-Message-State: AO0yUKWLvn6J+eW6fXIJe0uMJj0ePGHJCLv0RMwu5QYw+EXSHXsFYutC UtUY85HpLJjoKoLJJuKcaOR+bROma9I= X-Google-Smtp-Source: AK7set/om27UPVwW0f3gdGOLKAb2wmP9aLX4jac4UXFzNsHs3EQG3lq1HEiaFfokADJyLy8brIVyKQ== X-Received: by 2002:a05:600c:2258:b0:3eb:29fe:f912 with SMTP id a24-20020a05600c225800b003eb29fef912mr725313wmm.36.1679349031953; Mon, 20 Mar 2023 14:50:31 -0700 (PDT) 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 k15-20020a05600c1c8f00b003ed793d9de0sm10169wms.1.2023.03.20.14.50.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Mar 2023 14:50:31 -0700 (PDT) From: Sharlatan Hellseher To: guix-patches@gnu.org Subject: [PATCH] gnu: Add phd2 Date: Mon, 20 Mar 2023 21:50:28 +0000 Message-Id: <20230320215028.26102-1-sharlatanus@gmail.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::32a; envelope-from=sharlatanus@gmail.com; helo=mail-wm1-x32a.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-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Sharlatan Hellseher X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/astronomy.scm (phd2): New variable. --- gnu/packages/astronomy.scm | 71 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 46839c802f..66040ad5f5 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -678,6 +678,77 @@ (define-public gnuastro programs for the manipulation and analysis of astronomical data.") (license license:gpl3+))) +(define-public phd2 + (package + (name "phd2") + (version "2.6.11") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/OpenPHDGuiding/phd2") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0n87xsv9gzrwk1ygws4vw397ffq40xybp5b3c3bd5kcmff0avaw9")) + (modules '((guix build utils))) + (snippet + '(begin + ;; NOTE: Keep eye on the thirdparty directory as the bundled names + ;; change from relase to release. + ;; + ;; Remove bundles. + (with-directory-excursion "thirdparty" + (for-each delete-file-recursively + '("HID_Utilities" + "MallincamGuider-OSX-dylib-source.zip" + "VidCapture" + "cfitsio-3.47-patched.tar.gz" + "cfitsio-README-PHD2.txt" + "cfitsio-snprintf.patch" + "eigen-eigen-67e894c6cd8f.tar.bz2" + "gettext-0.14.4-bin.zip" + "gettext-0.14.4-dep.zip" + "gtest-1.7.0.zip" + "indiclient-44aaf5d3-win32.zip" + "libcurl-7.54.0-win32.zip" + "libdc1394-2.2.2.tar.gz" + "libindi-58b26c584049e1b9ecd55aa5f4a225677a417898.tar.gz" + "libusb-1.0.21.tar.bz2" + "openssag"))))))) + (build-system cmake-build-system) + (arguments + (list + #:configure-flags + #~(list "-DOPENSOURCE_ONLY=yes" + "-DUSE_SYSTEM_CFITSIO=yes" + "-DUSE_SYSTEM_EIGEN3=yes" + "-DUSE_SYSTEM_GTEST=yes" + "-DUSE_SYSTEM_LIBINDI=yes" + "-DUSE_SYSTEM_LIBUSB=yes"))) + (native-inputs + (list gettext-minimal + googletest + perl + pkg-config + python-wrapper)) + (inputs + (list cfitsio + curl-minimal + eigen + gtk+ + indi + libnova + libusb + wxwidgets + zlib)) + (home-page "https://openphdguiding.org") + (synopsis "Teleskope guiding software") + (description + "PHD2 is the enhanced, second generation version of the PHD guiding +software from Stark Labs to simplify the process of tracking a guide star.") + (license license:bsd-3))) + (define-public sextractor (package (name "sextractor") -- 2.39.2 From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 21 15:24:14 2023 Received: (at 62306) by debbugs.gnu.org; 21 Mar 2023 19:24:14 +0000 Received: from localhost ([127.0.0.1]:60747 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pehaf-0000Ph-W1 for submit@debbugs.gnu.org; Tue, 21 Mar 2023 15:24:14 -0400 Received: from mail-qt1-f175.google.com ([209.85.160.175]:37441) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pehae-0000PR-9C for 62306@debbugs.gnu.org; Tue, 21 Mar 2023 15:24:12 -0400 Received: by mail-qt1-f175.google.com with SMTP id r5so19278152qtp.4 for <62306@debbugs.gnu.org>; Tue, 21 Mar 2023 12:24:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679426646; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=SDA5VzI78QGsy17eNEyfHY5GhrzKl5C6MyyoAPPwce8=; b=mGqy5XJZA4UAeXJuCW/x1FmzifJlN+jbSxX0bL2FEq6FDuDFNaMZC9VSSYBCI2A8iJ r6PMj/aVuxpZ5VeMGmqOHBYjdWjcvrvvWG4CBwFIQwwDHAptF5tSVEtpo9+9/WW9rTd8 VPDXcZrEag+z/7fmY46pYTXATc5oekp1Am1JAN2DstdCsVVqRF2ZsEaQNBo7sPQVg86Q PWe6iofzqzoN4HdJGYS6/7QQ8y+QVXQmOoPic6BDaazZLq5YYDIqbNW8ASL+yfqu6ku2 CJmwC34eC6NSgL//NVhDIBtaG8Q8D7cUvjpxKfeZDRrGhHcztdcF6wfH6I0WOfMbLnkg KVaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679426646; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=SDA5VzI78QGsy17eNEyfHY5GhrzKl5C6MyyoAPPwce8=; b=S2L1N4LegcmxPozrW3nSxgo0w/ibe6kdx4QoGwG6CBR7Hxrvn6PYe6gV7X0Hg9fgQW ESlJ0Gp+Zmn00bf6wxGUjadOY+TR7Geyov6TuRAV4SNOEemyX7jMyhpCLNP017OeEyK5 1UFmcFU9j3vfMXiZEMZmILyYlA9CwfDSNmvPn5anO+hMgYhu594XbfndJyYu4PyugPQ5 GJ7bt12mlYKEbs/hwo7WogDwBg3ugASqi1IodVDX8v459s2rdHHWXSux9p/riuhg9Bg2 nt3+qyzr2bf/Iwlh8bV+ATulmu9gMNgwgrw0gnhelMU6t5sIxivwiKK+jgD7+4l4g5QC aVYw== X-Gm-Message-State: AO0yUKXQvtZ/u4ajqk3qrDzqfsa134H63Lj2E/WDsR79dqyfVDeP+d++ q/PQvos9OhIT4wGpyt0GfFHGTJrO5IOJSA== X-Google-Smtp-Source: AK7set+GcZh+AGagUh32lsk2ohLlbY+uF3PFYKzXQ5qUM8j7d6/qmFScKx6SUZyRJFniSBsZgJaPzA== X-Received: by 2002:a05:622a:1a89:b0:3dc:a4e5:aef0 with SMTP id s9-20020a05622a1a8900b003dca4e5aef0mr2148589qtc.9.1679426646470; Tue, 21 Mar 2023 12:24:06 -0700 (PDT) Received: from hurd (dsl-10-130-195.b2b2c.ca. [72.10.130.195]) by smtp.gmail.com with ESMTPSA id 9-20020ac85649000000b003bfc355c3a6sm8763407qtt.80.2023.03.21.12.24.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Mar 2023 12:24:06 -0700 (PDT) From: Maxim Cournoyer To: Sharlatan Hellseher Subject: Re: bug#62306: [PATCH] gnu: Add phd2 References: <20230320215028.26102-1-sharlatanus@gmail.com> Date: Tue, 21 Mar 2023 15:24:04 -0400 In-Reply-To: <20230320215028.26102-1-sharlatanus@gmail.com> (Sharlatan Hellseher's message of "Mon, 20 Mar 2023 21:50:28 +0000") Message-ID: <87lejpnc17.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 62306 Cc: 62306@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, Sharlatan Hellseher writes: > * gnu/packages/astronomy.scm (phd2): New variable. > --- > gnu/packages/astronomy.scm | 71 ++++++++++++++++++++++++++++++++++++++ > 1 file changed, 71 insertions(+) > > diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm > index 46839c802f..66040ad5f5 100644 > --- a/gnu/packages/astronomy.scm > +++ b/gnu/packages/astronomy.scm > @@ -678,6 +678,77 @@ (define-public gnuastro > programs for the manipulation and analysis of astronomical data.") > (license license:gpl3+))) > > +(define-public phd2 > + (package > + (name "phd2") > + (version "2.6.11") > + (source > + (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/OpenPHDGuiding/phd2") > + (commit (string-append "v" version)))) > + (file-name (git-file-name name version)) > + (sha256 > + (base32 "0n87xsv9gzrwk1ygws4vw397ffq40xybp5b3c3bd5kcmff0avaw9")) > + (modules '((guix build utils))) > + (snippet > + '(begin > + ;; NOTE: Keep eye on the thirdparty directory as the bundled names > + ;; change from relase to release. > + ;; > + ;; Remove bundles. > + (with-directory-excursion "thirdparty" > + (for-each delete-file-recursively > + '("HID_Utilities" > + "MallincamGuider-OSX-dylib-source.zip" > + "VidCapture" > + "cfitsio-3.47-patched.tar.gz" > + "cfitsio-README-PHD2.txt" > + "cfitsio-snprintf.patch" > + "eigen-eigen-67e894c6cd8f.tar.bz2" > + "gettext-0.14.4-bin.zip" > + "gettext-0.14.4-dep.zip" > + "gtest-1.7.0.zip" > + "indiclient-44aaf5d3-win32.zip" > + "libcurl-7.54.0-win32.zip" > + "libdc1394-2.2.2.tar.gz" > + "libindi-58b26c584049e1b9ecd55aa5f4a225677a417898.tar.gz" > + "libusb-1.0.21.tar.bz2" > + "openssag"))))))) To make maintenance easier, perhaps you could reuse the 'delete-all-but' procedure from turbovnc or similar? This has the benefit of listing what is kept (more transparent), and if the things we do care for change names, we will know. Could you please send a v2 with this suggestion implemented? -- Thanks, Maxim From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 21 15:24:48 2023 Received: (at control) by debbugs.gnu.org; 21 Mar 2023 19:24:48 +0000 Received: from localhost ([127.0.0.1]:60750 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pehbE-0000Qg-Aw for submit@debbugs.gnu.org; Tue, 21 Mar 2023 15:24:48 -0400 Received: from mail-qt1-f181.google.com ([209.85.160.181]:42740) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pehbC-0000QP-UI for control@debbugs.gnu.org; Tue, 21 Mar 2023 15:24:47 -0400 Received: by mail-qt1-f181.google.com with SMTP id r16so19257794qtx.9 for ; Tue, 21 Mar 2023 12:24:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679426681; h=subject:from:to:message-id:date:from:to:cc:subject:date:message-id :reply-to; bh=vtIrPlZ+RoEngF9D58vp+cIIrTOTD+NV1HR9SZE+rLM=; b=ZmB2ZhZZcpe/roOefux5D0XHPYMyybNSXHGGjVahHEFGktmIUXAiCP1u++r96ORzRp Xf4a85YBDBQIpWjUuVskbdR//iAYJ5aqIKWt3avIoHNUT9uSMzKxamTUSqaGes/wTsS3 ZeOpd7cJKjaa5YTmmIMR1f8CHmCkLxzENpyMAO+RBdq94f9Q5OX85qAMsbwc0xd4sPkn Dck7Gq1beLPWOlCRiq2jim+PQFLGZcMMjXLmQC4zIalBJR0lyII3bHsYlZwnFTsdjFpt dQPpv/+5IKeQX5BA/5Il6MxdiTar2VUulWNYwxb6nTq4xrrBPyqLUJXl1M5H3A/Lx/UN qh1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679426681; h=subject:from:to:message-id:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vtIrPlZ+RoEngF9D58vp+cIIrTOTD+NV1HR9SZE+rLM=; b=TzSOgjsyJrfixT5Hj4mFvR8fZVnwl1QW1DHrwvJv3wjAf8OVUBGAKQg1REnhadYWzm hXmjgpYnPZuAj6xmwthgzog8hzR812E0Arj/ekZ4whWxGHfHf7lfEQe7F45PrfJ+c0xW +qolr1YTFgsrRfKP5m5DhUx0sf9dA701wbqdwVq+8sVsD9ZsdAeEyj1gAkAErQpz0Nwe qjYfOpK7azRsHTJOquGDYsmyhfucWG6c/F+Crh+RBMR/kf4KBstFuTi2WapGBuAL3jxS HjkXy1M0pdPcwjycGCOYtMbq/aumWmoE6Sw0FOBPJnYJxGdTCap+g6i4gsYwoqjZABeg YsSg== X-Gm-Message-State: AO0yUKXXwiooi+ahUMDaelbn2DYcoQ01LRUMujo0MJS6ueGJotgwg5Q4 dqPnhZcBBL+sW/UAxGX4lW0G79LHiByPgA== X-Google-Smtp-Source: AK7set+q5ZZyFbuwOcEZwDYIMMe12WMyHbQCqfAXkAiGUL4U80wNam5VoNEhfOMDqWIEQ8TtYfExsQ== X-Received: by 2002:ac8:594b:0:b0:3df:8002:9ae3 with SMTP id 11-20020ac8594b000000b003df80029ae3mr1959473qtz.9.1679426680750; Tue, 21 Mar 2023 12:24:40 -0700 (PDT) Received: from hurd (dsl-10-130-195.b2b2c.ca. [72.10.130.195]) by smtp.gmail.com with ESMTPSA id q3-20020a05620a024300b00738e8e81dc9sm3092029qkn.75.2023.03.21.12.24.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Mar 2023 12:24:40 -0700 (PDT) Date: Tue, 21 Mar 2023 15:24:39 -0400 Message-Id: <87jzz9nc08.fsf@gmail.com> To: control@debbugs.gnu.org From: Maxim Cournoyer Subject: control message for bug #62306 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 62306 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 22 07:05:13 2023 Received: (at 62306) by debbugs.gnu.org; 22 Mar 2023 11:05:13 +0000 Received: from localhost ([127.0.0.1]:33645 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pewHI-0003dx-Ig for submit@debbugs.gnu.org; Wed, 22 Mar 2023 07:05:13 -0400 Received: from mail-qt1-f179.google.com ([209.85.160.179]:43620) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pewHG-0003dh-PJ for 62306@debbugs.gnu.org; Wed, 22 Mar 2023 07:05:11 -0400 Received: by mail-qt1-f179.google.com with SMTP id c10so10840276qtj.10 for <62306@debbugs.gnu.org>; Wed, 22 Mar 2023 04:05:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679483105; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=shjvF9WHt0hRbZOpLSWrEiZlwGenpBoOQQuiZVVDVPg=; b=HiRPequ4sx+QXAbYSEPVxXH8Xeno0RXpT1XKI2xsJzR/AzcgqHms1CvpDPaSCH/UbK zWUrgCk2hyHNaBapBFkrMyoA0kRqskcktO2OazEmX9ep86y4MvRJ5r3ZoXCa3YwJESjT +bmOg/VPYg1mjTfj9+e3BsV772w9sar75KSxs7DHHEnepM7rMruizrNHkCNy9pX8uX4d IbKJhx3779gCPZ2WRuyLmkpVVcaIXtgGrjMuYG+d8UXlJUtKssZjWExqEB7jZbKKpAP3 9MBgo8sFRuWjKx/zVpsyw2iH9U2yu+P5f/oaZ3MXvRxSmzNN7L+aDt+HdB8KdQIQGNpG O+HA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679483105; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=shjvF9WHt0hRbZOpLSWrEiZlwGenpBoOQQuiZVVDVPg=; b=FoPxccZJ8K8rTLGe0kgCTPiHz8Ui+bZHCcsGTVwA1PmwQMmS+q/xJpZNXPA9K64Dvp VQmCcIMv+dH7oupiFF6oXt9d+l5oi1oJnLUX3zGc+DQsF+IxHvSJNigdmAWwDdLpc+pT PNzBoULFsyckP4wJ07TU0Aq1PbtRR9KiKbJaEqA5RCWiOzhnMss6xwTZJbZ0DJK/Kuv7 EsHyemMEkcJ/hLDcOeNFiymcKfBUgLHuJl8mslWWgc4khagXBRLq753W3B6Pwu1CMZh1 in5vziFr/05LqXLBcOil87LIAUH9sI2scSk3J4AbVRdYHc6gvwVB4JoQiWbNovTeOx4d 4w7A== X-Gm-Message-State: AO0yUKXuRsTIk68nWADwAt2bcKrqgS0YSTxEBfCm6GfYICWHcBI79NWB pGVo8kkRtTPIjojW9K6JQvUx5ETfutQ4gA56aMs= X-Google-Smtp-Source: AK7set8JNht1Bvf9gdj2fkRpfOMu5c/6c7KRxuZ/VbyStFt4GqK1cDMyqQd50xHQmJ45jauJbOw83mr8F4yAGxDcq5g= X-Received: by 2002:a05:622a:19a2:b0:3dd:7bdc:2975 with SMTP id u34-20020a05622a19a200b003dd7bdc2975mr1174295qtc.7.1679483105044; Wed, 22 Mar 2023 04:05:05 -0700 (PDT) MIME-Version: 1.0 References: <20230320215028.26102-1-sharlatanus@gmail.com> <87lejpnc17.fsf@gmail.com> In-Reply-To: <87lejpnc17.fsf@gmail.com> From: Sharlatan Hellseher Date: Wed, 22 Mar 2023 11:04:54 +0000 Message-ID: Subject: Re: bug#62306: [PATCH] gnu: Add phd2 To: Maxim Cournoyer Content-Type: multipart/alternative; boundary="000000000000e1ea9705f77b21f3" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 62306 Cc: 62306@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000e1ea9705f77b21f3 Content-Type: text/plain; charset="UTF-8" Hi Maxim, Thank you for the review. I'll check that procedure and prepare simplified v2 patch. Oleg On Tue, 21 Mar 2023, 19:24 Maxim Cournoyer, wrote: > Hi, > > Sharlatan Hellseher writes: > > > * gnu/packages/astronomy.scm (phd2): New variable. > > --- > > gnu/packages/astronomy.scm | 71 ++++++++++++++++++++++++++++++++++++++ > > 1 file changed, 71 insertions(+) > > > > diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm > > index 46839c802f..66040ad5f5 100644 > > --- a/gnu/packages/astronomy.scm > > +++ b/gnu/packages/astronomy.scm > > @@ -678,6 +678,77 @@ (define-public gnuastro > > programs for the manipulation and analysis of astronomical data.") > > (license license:gpl3+))) > > > > +(define-public phd2 > > + (package > > + (name "phd2") > > + (version "2.6.11") > > + (source > > + (origin > > + (method git-fetch) > > + (uri (git-reference > > + (url "https://github.com/OpenPHDGuiding/phd2") > > + (commit (string-append "v" version)))) > > + (file-name (git-file-name name version)) > > + (sha256 > > + (base32 "0n87xsv9gzrwk1ygws4vw397ffq40xybp5b3c3bd5kcmff0avaw9")) > > + (modules '((guix build utils))) > > + (snippet > > + '(begin > > + ;; NOTE: Keep eye on the thirdparty directory as the bundled > names > > + ;; change from relase to release. > > + ;; > > + ;; Remove bundles. > > + (with-directory-excursion "thirdparty" > > + (for-each delete-file-recursively > > + '("HID_Utilities" > > + "MallincamGuider-OSX-dylib-source.zip" > > + "VidCapture" > > + "cfitsio-3.47-patched.tar.gz" > > + "cfitsio-README-PHD2.txt" > > + "cfitsio-snprintf.patch" > > + "eigen-eigen-67e894c6cd8f.tar.bz2" > > + "gettext-0.14.4-bin.zip" > > + "gettext-0.14.4-dep.zip" > > + "gtest-1.7.0.zip" > > + "indiclient-44aaf5d3-win32.zip" > > + "libcurl-7.54.0-win32.zip" > > + "libdc1394-2.2.2.tar.gz" > > + > "libindi-58b26c584049e1b9ecd55aa5f4a225677a417898.tar.gz" > > + "libusb-1.0.21.tar.bz2" > > + "openssag"))))))) > > To make maintenance easier, perhaps you could reuse the 'delete-all-but' > procedure from turbovnc or similar? This has the benefit of listing > what is kept (more transparent), and if the things we do care for change > names, we will know. > > Could you please send a v2 with this suggestion implemented? > > -- > Thanks, > Maxim > --000000000000e1ea9705f77b21f3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Maxim,

Th= ank you for the review. I'll check that procedure and prepare simplifie= d v2 patch.

Oleg

On= Tue, 21 Mar 2023, 19:24 Maxim Cournoyer, <maxim.cournoyer@gmail.com> wrote:
Hi,

Sharlatan Hellseher <sharlatanus@gmail.com> writes:

> * gnu/packages/astronomy.scm (phd2): New variable.
> ---
>=C2=A0 gnu/packages/astronomy.scm | 71 ++++++++++++++++++++++++++++++++= ++++++
>=C2=A0 1 file changed, 71 insertions(+)
>
> diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm > index 46839c802f..66040ad5f5 100644
> --- a/gnu/packages/astronomy.scm
> +++ b/gnu/packages/astronomy.scm
> @@ -678,6 +678,77 @@ (define-public gnuastro
>=C2=A0 programs for the manipulation and analysis of astronomical data.= ")
>=C2=A0 =C2=A0 =C2=A0 (license license:gpl3+)))
>=C2=A0
> +(define-public phd2
> +=C2=A0 (package
> +=C2=A0 =C2=A0 (name "phd2")
> +=C2=A0 =C2=A0 (version "2.6.11")
> +=C2=A0 =C2=A0 (source
> +=C2=A0 =C2=A0 =C2=A0(origin
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0(method git-fetch)
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0(uri (git-reference
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(url "https://github.com/OpenPHDGuiding/phd2")
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(commit (string-appen= d "v" version))))
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0(file-name (git-file-name name version)) > +=C2=A0 =C2=A0 =C2=A0 =C2=A0(sha256
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 (base32 "0n87xsv9gzrwk1ygws4vw397ffq= 40xybp5b3c3bd5kcmff0avaw9"))
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0(modules '((guix build utils)))
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0(snippet
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 '(begin
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0;; NOTE: Keep eye on the thi= rdparty directory as the bundled names
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0;; change from relase to rel= ease.
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0;;
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0;; Remove bundles.
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(with-directory-excursion &q= uot;thirdparty"
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(for-each delete-file= -recursively
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0'("HID_Utilities"
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0"MallincamGuider-OSX-dylib-source.zip"
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0"VidCapture"
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0"cfitsio-3.47-patched.tar.gz"
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0"cfitsio-README-PHD2.txt"
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0"cfitsio-snprintf.patch"
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0"eigen-eigen-67e894c6cd8f.tar.bz2"
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0"gettext-0.14.4-bin.zip"
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0"gettext-0.14.4-dep.zip"
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0"gtest-1.7.0.zip"
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0"indiclient-44aaf5d3-win32.zip"
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0"libcurl-7.54.0-win32.zip"
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0"libdc1394-2.2.2.tar.gz"
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0"libindi-58b26c584049e1b9ecd55aa5f4a225677a417898= .tar.gz"
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0"libusb-1.0.21.tar.bz2"
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0"openssag")))))))

To make maintenance easier, perhaps you could reuse the 'delete-all-but= '
procedure from turbovnc or similar?=C2=A0 This has the benefit of listing what is kept (more transparent), and if the things we do care for change names, we will know.

Could you please send a v2 with this suggestion implemented?

--
Thanks,
Maxim
--000000000000e1ea9705f77b21f3-- From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 27 04:47:02 2023 Received: (at 62306) by debbugs.gnu.org; 27 Mar 2023 08:47:02 +0000 Received: from localhost ([127.0.0.1]:46480 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pgiVJ-0003dp-Nd for submit@debbugs.gnu.org; Mon, 27 Mar 2023 04:47:02 -0400 Received: from mail-wr1-f53.google.com ([209.85.221.53]:41772) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pgiVH-0003dU-8X for 62306@debbugs.gnu.org; Mon, 27 Mar 2023 04:47:00 -0400 Received: by mail-wr1-f53.google.com with SMTP id h17so7808469wrt.8 for <62306@debbugs.gnu.org>; Mon, 27 Mar 2023 01:46:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679906813; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=FXfZAcEBk3r+Xpqffx2Oln5PJg04dVBZMZ6WsvaTXQs=; b=NmkL0Al+7p+uOQvYMWQFxwAPWV4IGt8E/rezLSlmvXCeR5dLkpiylnqUZmWyRFLp8/ C4jZtnH/dpD7k64QqPQRnmHEZ3Kvrx82WylBapLS4eEPrFRqYDmVwHE1XPu6aLVgGqSt 77lAHLlJlIxz+/eKQY1dhoy3aWC8tOxVYS5dJUgUBMunftu3jgtWO2sxfhfReK7Ghlka yClEP/8Q3ioha23OwolLw5QEIEcN4rskT/5XC4tJ0Q9m1Hae53XnHQi6bjTEVFdVRafk YVX92pdzXtWChGVMYZPEkKpP8kWPIdep07sAqruNZlZmh/Cie0HOmEXLTq6t0E2gPy/H Mzgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679906813; 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=FXfZAcEBk3r+Xpqffx2Oln5PJg04dVBZMZ6WsvaTXQs=; b=53R6hTyZacLd9BJx5lBx9SmuZ9KKAsO5QXiTWYbBcDzrDT1TF+pGzXGcFr+bmcvDic wZiCkyFtarZDKLqeuKMS6LcCas/rCJM+PkiHM50mCwWHI9HvzpFquVTtqksi5kOGoWfa nc/GWBI3V/n8wjC3Qcpp5SmG4yYI0S4a07mP2LpNELMUuC4+gcBfCfiv2aADbzMmPzhI VzgVW1wF58RSFG/NvFkOHJr+0YVIbIql1VQX8Wkl2EV7jQ1i0kUBfLEwsPO0Etbn41X6 vFF6x1xkCLopxBgZ5JD8ni3tQk0aJCsDY7NAKigj6Ol3kmlv+rnWTc2yA6ElEmFAAmov JY/A== X-Gm-Message-State: AAQBX9cYol3R6SV2Q7DLwG4fflQFccJ7LDdo+emxsrinwYkdvW7bofs+ /Oqy4sKDwIjjUnB/sxJesRxEjgFLJN8= X-Google-Smtp-Source: AKy350b2zkiDL5hqdrom0dJghr2P/UP84pXKQtYQdPlDuyxedYgaUtA+Lr53Utj4QCjxz+bGF6hgEw== X-Received: by 2002:a5d:6a50:0:b0:2cf:ec49:958b with SMTP id t16-20020a5d6a50000000b002cfec49958bmr8470156wrw.12.1679906813197; Mon, 27 Mar 2023 01:46:53 -0700 (PDT) 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 v15-20020a5d590f000000b002cfec8b7f89sm24651555wrd.77.2023.03.27.01.46.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Mar 2023 01:46:52 -0700 (PDT) From: Sharlatan Hellseher To: 62306@debbugs.gnu.org Subject: [PATCH v2] gnu: Add phd2. Date: Mon, 27 Mar 2023 09:46:49 +0100 Message-Id: <20230327084649.5633-1-sharlatanus@gmail.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 62306 Cc: Sharlatan Hellseher X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/astronomy.scm (phd2): New variable. --- gnu/packages/astronomy.scm | 70 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 46839c802f..6ca3c4f4e7 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -678,6 +678,76 @@ (define-public gnuastro programs for the manipulation and analysis of astronomical data.") (license license:gpl3+))) +(define-public phd2 + (package + (name "phd2") + (version "2.6.11") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/OpenPHDGuiding/phd2") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0n87xsv9gzrwk1ygws4vw397ffq40xybp5b3c3bd5kcmff0avaw9")) + (modules '((guix build utils) + (ice-9 ftw) + (srfi srfi-26))) + (snippet + #~(begin + ;; TODO: This snippet is sourced from + ;; guix/gnu/packages/vnc.scm. It might be merged with + ;; `delete-file-recursively' which can have `ignore' optional + ;; argument. + (define (delete-all-but directory . preserve) + (define (directory? x) + (and=> (stat x #f) + (compose (cut eq? 'directory <>) stat:type))) + (with-directory-excursion directory + (let* ((pred + (negate (cut member <> (append '("." "..") preserve)))) + (items (scandir "." pred))) + (for-each (lambda (item) + (if (directory? item) + (delete-file-recursively item) + (delete-file item))) + items)))) + ;; XXX: Check this list of ignored items in next release. + (delete-all-but "thirdparty" "thirdparty.cmake"))))) + (build-system cmake-build-system) + (arguments + (list + #:configure-flags + #~(list "-DOPENSOURCE_ONLY=yes" + "-DUSE_SYSTEM_CFITSIO=yes" + "-DUSE_SYSTEM_EIGEN3=yes" + "-DUSE_SYSTEM_GTEST=yes" + "-DUSE_SYSTEM_LIBINDI=yes" + "-DUSE_SYSTEM_LIBUSB=yes"))) + (native-inputs + (list gettext-minimal + googletest + perl + pkg-config + python-wrapper)) + (inputs + (list cfitsio + curl-minimal + eigen + gtk+ + indi + libnova + libusb + wxwidgets + zlib)) + (home-page "https://openphdguiding.org") + (synopsis "Teleskope guiding software") + (description + "PHD2 is the enhanced, second generation version of the PHD guiding software +from Stark Labs.") + (license license:bsd-3))) + (define-public sextractor (package (name "sextractor") -- 2.39.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 09 15:00:25 2023 Received: (at 62306) by debbugs.gnu.org; 9 Apr 2023 19:00:25 +0000 Received: from localhost ([127.0.0.1]:33676 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1plaH3-00048g-Ag for submit@debbugs.gnu.org; Sun, 09 Apr 2023 15:00:25 -0400 Received: from mail-qt1-f174.google.com ([209.85.160.174]:34666) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1plaH1-00048N-85 for 62306@debbugs.gnu.org; Sun, 09 Apr 2023 15:00:24 -0400 Received: by mail-qt1-f174.google.com with SMTP id h3so17784926qtu.1 for <62306@debbugs.gnu.org>; Sun, 09 Apr 2023 12:00:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1681066817; x=1683658817; h=content-transfer-encoding:cc:to:subject:message-id:date:from :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=5t46qO4m2ZhBIISGX9Fxg663WNsgNrgZ0ZKJ9wzcZCo=; b=YdtxSInSKdeTq6S0qhBzBdwPe1+6rki4yhcgsLYorOKUcR8UHOBHEb/BPQSBeFbzLu ck5b5FupnrneypIDvDiRHgnZ+N14E4qY696+E85YdzVo5yFmMU5yPLdGRzVuMInLWpmx BgmqUF7hZRE6YAgoEHD7cUHC9f+VWaNLJj9uB1sdWGRXYTp3ymSsiFzVJwfHBy4E8idN vsn2FI8ImhT3Kj93nG8Ar9K2FWEJhfxJ65+ofq7GY4pH8bW8YuKEZL9QNUk14qKCVyUN P+ut6Z/rMAm6qUDqPleZiqb4b2s6r7YA/skhXgJX13UQ8m4PpZiRFrOG/2ua55TzpVRf Q+bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681066817; x=1683658817; h=content-transfer-encoding:cc:to:subject:message-id:date:from :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=5t46qO4m2ZhBIISGX9Fxg663WNsgNrgZ0ZKJ9wzcZCo=; b=Y/BwuM6zwcT8MvEVj794DIxtSloJ3nIjggdIkLfqw1qNkR0A4m44bUBru6KO25XFyV Seh1JPns/MCRT+Bp1uaDO8UFuexlYKyrkqVei4fvkyV5kSA8EzwxUwaaFzTgnOnOcg0l s453RRk6YQTin6sUN0/zzccWDQx8PkaXL8CGKYGxCwC3dW8wHuz48BIgr/345LH8qcLF icyLSFCBI8bz5RG2Wen2sHGU4nTV6ZMmMFJyDQH7y0QtsT0HjEV0vPL8h6/vS3KqMGsz Q5FnGfHTPhylUaMMWfcNc+LxhR466FYlfL6EdkoVHPrp5CBlJGGQ8H3nluZqUZAQKRja xpuQ== X-Gm-Message-State: AAQBX9dSYrMYHwlCg5Vh/ms9bkR38aQ5UnznmVQWWmsmARpUhjCWiAjH solpJCf+yyOvBhAViawAye+WyzucPfseVBBZQ+TYuEMo X-Google-Smtp-Source: AKy350aApbLX3bTt9JKzFsI/9NYQmXUx7XFoklmPbDIGcf3650MHsZWcrAvMAv2CS/QxUJjOBIYqJB+h+rkszGnZabs= X-Received: by 2002:a05:622a:1826:b0:3bf:db9d:843 with SMTP id t38-20020a05622a182600b003bfdb9d0843mr3068261qtc.7.1681066817213; Sun, 09 Apr 2023 12:00:17 -0700 (PDT) MIME-Version: 1.0 From: Sharlatan Hellseher Date: Sun, 9 Apr 2023 20:00:05 +0100 Message-ID: Subject: To: 62306@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi, Just a gentle ping on the status of this pach. Let me know if it requirers to be modified more. Thanks, Oleg Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (sharlatanus[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.160.174 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.160.174 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 2.0 BLANK_SUBJECT Subject is present but empty X-Debbugs-Envelope-To: 62306 Cc: Maxim Cournoyer X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) SGksDQoNCkp1c3QgYSBnZW50bGUgcGluZyBvbiB0aGUgc3RhdHVzIG9mIHRoaXMgcGFjaC4gTGV0 IG1lIGtub3cgaWYgaXQNCnJlcXVpcmVycyB0byBiZSBtb2RpZmllZCBtb3JlLg0KDQpUaGFua3Ms DQpPbGVnDQoNCi0tIA0K4oCmINC90LDRiCDRgNCw0LfRg9C8IC0g0L/RgNC10LLQvtGB0YXQvtC0 0L3QsNGPINC+0LHRitGP0YHQvdC40YLQtdC70YzQvdCw0Y8g0LzQsNGI0LjQvdCwINC60L7RgtC+ 0YDQsNGPINGB0L/QvtGB0L7QsdC90LANCtC90LDQudGC0Lgg0YHQvNGL0YHQuyDQv9C+0YfRgtC4 INCyINGH0LXQvCDRg9Cz0L7QtNC90L4sINC40YHRgtC+0LvQutC+0LLQsNGC0Ywg0LvRjtCx0L7Q uSDRhNC10L3QvtC80LXQvSwg0L3Qvg0K0YHQvtCy0LXRgNGI0LXQvdC90L4g0L3QtSDQsiDRgdC+ 0YHRgtC+0Y/QvdC40Lgg0L/RgNC40L3Rj9GC0Ywg0LzRi9GB0LvRjCDQviDQvdC10L/RgNC10LTR gdC60LDQt9GD0LXQvNC+0YHRgtC4Lg0K From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 11 11:56:31 2023 Received: (at 62306-done) by debbugs.gnu.org; 11 Apr 2023 15:56:31 +0000 Received: from localhost ([127.0.0.1]:38031 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pmGMA-0001L7-Kw for submit@debbugs.gnu.org; Tue, 11 Apr 2023 11:56:31 -0400 Received: from mail-qt1-f172.google.com ([209.85.160.172]:38675) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pmGLu-0001Kc-3V for 62306-done@debbugs.gnu.org; Tue, 11 Apr 2023 11:56:29 -0400 Received: by mail-qt1-f172.google.com with SMTP id fc12so4854450qtb.5 for <62306-done@debbugs.gnu.org>; Tue, 11 Apr 2023 08:56:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1681228568; x=1683820568; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=O7m+PmlIK7xYH+JHzRM5b1I1lkv5DDSoOZjY+kl893U=; b=j7IoWxjQ8TP/nMPiOJbWruqA1dzCnbv/YGok7dIBjdjqWFwXRh2TKvgt6YlozcIxAW AnGKeTjEFQweGUEt05HtABeKbZTnnQEbl8HTfPZ9kQaPFGwwmkvmPb97+FsDeo89Eaz7 o5p1iVVH8pbqcbKISi8w5avvtrJx5cGsLgifAEnOm6k074kBKqLQjekNktNZQKt2X8yU jZMseDa0WOYzlicGLTJDlazVj+T3A8F4EvGGZ2jQf7Z1x3hMFqiP3aUpJyGXowQz7OON jQd/9cxgfNrR+2nfXas/VJiBDc+COhvrHtKbHdY4wNqFfAneY6eYgsUXOCvcFhJlrWJK x4iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681228568; x=1683820568; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=O7m+PmlIK7xYH+JHzRM5b1I1lkv5DDSoOZjY+kl893U=; b=JNZZuVBhYRgmIF7XGgpwe9QEUvx7WRTR+qHxW9d1imsL4paD38E1JivzLvkvc3gnD2 JJ8NRWmgrQnUiHrAPFJtZp0iIk2zSArzLIEl0bA3ngeSi7sy8thUN3QEofVzcjwdz0V5 t0jXxRNlm8xemkYn5xf0yWmJDt0SwfwcFPCR+eOJ/s4MAcP4gfx8ptXa+7/AYPUJnV5w VWQ4RfPde9sUFzpkT1IRr+yBpHBG04vhdD9wXKPtKYsveXO7cpMyj55fowRp50sUERRx 7vbRpJJWtCLq9Hd1C2hJ+Wlogpy6bodWrKFEz9yI8w5NJvBN1eTNeUsVRiWleI3FZRZS WDyA== X-Gm-Message-State: AAQBX9eJ2giEc6tzD//tHt+oDIkXd9wAYyD9ku03FM9/3Jk8HekQbyHu S1Ydm1l9NwBM57ax+78AsRFYKqHMAi0= X-Google-Smtp-Source: AKy350ZvONahYk3noBcDtt+6HiOr6cqWRp+A2m5trRFEQvxzxuGFrNk64/m/bHgzgmObTW/XvUd4bg== X-Received: by 2002:ac8:4e4e:0:b0:3b6:3e4f:f876 with SMTP id e14-20020ac84e4e000000b003b63e4ff876mr5323120qtw.18.1681228567900; Tue, 11 Apr 2023 08:56:07 -0700 (PDT) Received: from hurd (dsl-152-224.b2b2c.ca. [66.158.152.224]) by smtp.gmail.com with ESMTPSA id 65-20020a370b44000000b0071f0d0aaef7sm4057432qkl.80.2023.04.11.08.56.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Apr 2023 08:56:07 -0700 (PDT) From: Maxim Cournoyer To: Sharlatan Hellseher Subject: Re: bug#62306: [PATCH] gnu: Add phd2 References: <20230320215028.26102-1-sharlatanus@gmail.com> <20230327084649.5633-1-sharlatanus@gmail.com> Date: Tue, 11 Apr 2023 11:56:06 -0400 In-Reply-To: <20230327084649.5633-1-sharlatanus@gmail.com> (Sharlatan Hellseher's message of "Mon, 27 Mar 2023 09:46:49 +0100") Message-ID: <87jzyimmzt.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 62306-done Cc: 62306-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, Sharlatan Hellseher writes: > * gnu/packages/astronomy.scm (phd2): New variable. > --- > gnu/packages/astronomy.scm | 70 ++++++++++++++++++++++++++++++++++++++ > 1 file changed, 70 insertions(+) > > diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm > index 46839c802f..6ca3c4f4e7 100644 > --- a/gnu/packages/astronomy.scm > +++ b/gnu/packages/astronomy.scm > @@ -678,6 +678,76 @@ (define-public gnuastro > programs for the manipulation and analysis of astronomical data.") > (license license:gpl3+))) >=20=20 > +(define-public phd2 > + (package > + (name "phd2") > + (version "2.6.11") > + (source > + (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/OpenPHDGuiding/phd2") > + (commit (string-append "v" version)))) > + (file-name (git-file-name name version)) > + (sha256 > + (base32 "0n87xsv9gzrwk1ygws4vw397ffq40xybp5b3c3bd5kcmff0avaw9")) > + (modules '((guix build utils) > + (ice-9 ftw) > + (srfi srfi-26))) > + (snippet > + #~(begin > + ;; TODO: This snippet is sourced from > + ;; guix/gnu/packages/vnc.scm. It might be merged with > + ;; `delete-file-recursively' which can have `ignore' optional > + ;; argument. > + (define (delete-all-but directory . preserve) > + (define (directory? x) > + (and=3D> (stat x #f) > + (compose (cut eq? 'directory <>) stat:type))) > + (with-directory-excursion directory > + (let* ((pred > + (negate (cut member <> (append '("." "..") prese= rve)))) > + (items (scandir "." pred))) > + (for-each (lambda (item) > + (if (directory? item) > + (delete-file-recursively item) > + (delete-file item))) > + items)))) > + ;; XXX: Check this list of ignored items in next release. > + (delete-all-but "thirdparty" "thirdparty.cmake"))))) > + (build-system cmake-build-system) > + (arguments > + (list > + #:configure-flags > + #~(list "-DOPENSOURCE_ONLY=3Dyes" > + "-DUSE_SYSTEM_CFITSIO=3Dyes" > + "-DUSE_SYSTEM_EIGEN3=3Dyes" > + "-DUSE_SYSTEM_GTEST=3Dyes" > + "-DUSE_SYSTEM_LIBINDI=3Dyes" > + "-DUSE_SYSTEM_LIBUSB=3Dyes"))) > + (native-inputs > + (list gettext-minimal > + googletest > + perl > + pkg-config > + python-wrapper)) > + (inputs > + (list cfitsio > + curl-minimal > + eigen > + gtk+ > + indi > + libnova > + libusb > + wxwidgets > + zlib)) > + (home-page "https://openphdguiding.org") > + (synopsis "Teleskope guiding software") > + (description > + "PHD2 is the enhanced, second generation version of the PHD guiding= software > +from Stark Labs.") > + (license license:bsd-3))) > + > (define-public sextractor > (package > (name "sextractor") I've taken the liberty to apply the following cosmetic adjustments: --8<---------------cut here---------------start------------->8--- 1 file changed, 10 insertions(+), 16 deletions(-) gnu/packages/astronomy.scm | 26 ++++++++++---------------- modified gnu/packages/astronomy.scm @@ -5,7 +5,7 @@ ;;; Copyright =C2=A9 2019 by Amar Singh ;;; Copyright =C2=A9 2020 R Veera Kumar ;;; Copyright =C2=A9 2020, 2021 Guillaume Le Vaillant -;;; Copyright =C2=A9 2021, 2022 Sharlatan Hellseher +;;; Copyright =C2=A9 2021, 2022, 2023 Sharlatan Hellseher ;;; Copyright =C2=A9 2021, 2022 Vinicius Monego ;;; Copyright =C2=A9 2021 Greg Hogan ;;; Copyright =C2=A9 2021 Foo Chuan Wei @@ -696,10 +696,7 @@ (define-public phd2 (srfi srfi-26))) (snippet #~(begin - ;; TODO: This snippet is sourced from - ;; guix/gnu/packages/vnc.scm. It might be merged with - ;; `delete-file-recursively' which can have `ignore' optional - ;; argument. + ;; XXX: 'delete-all-but' is copied from the turbovnc package. Rationale: the suggestion to enhance delete-file-recursively would be better discussed on guix-devel. (define (delete-all-but directory . preserve) (define (directory? x) (and=3D> (stat x #f) @@ -713,27 +710,24 @@ (define (directory? x) (delete-file-recursively item) (delete-file item))) items)))) - ;; XXX: Check this list of ignored items in next release. (delete-all-but "thirdparty" "thirdparty.cmake"))))) Rationale: we're safe by default. If the package breaks on a version update, its maintainer will be forced into looking into that :-). =20=20=20=20=20 (build-system cmake-build-system) (arguments - (list - #:configure-flags - #~(list "-DOPENSOURCE_ONLY=3Dyes" - "-DUSE_SYSTEM_CFITSIO=3Dyes" - "-DUSE_SYSTEM_EIGEN3=3Dyes" - "-DUSE_SYSTEM_GTEST=3Dyes" - "-DUSE_SYSTEM_LIBINDI=3Dyes" - "-DUSE_SYSTEM_LIBUSB=3Dyes"))) + (list #:configure-flags #~(list "-DOPENSOURCE_ONLY=3Dyes" + "-DUSE_SYSTEM_CFITSIO=3Dyes" + "-DUSE_SYSTEM_EIGEN3=3Dyes" + "-DUSE_SYSTEM_GTEST=3Dyes" + "-DUSE_SYSTEM_LIBINDI=3Dyes" + "-DUSE_SYSTEM_LIBUSB=3Dyes"))) Stylistic. (native-inputs (list gettext-minimal googletest perl pkg-config - python-wrapper)) + python)) (inputs (list cfitsio - curl-minimal + curl curl-minimal doesn't exist anymore. It had long been deprecated (2020). eigen gtk+ indi --8<---------------cut here---------------end--------------->8--- And installed it! Thank you! --=20 Thanks, Maxim From unknown Wed Jun 18 00:26:37 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 10 May 2023 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator