GNU bug report logs - #58754
[PATCH] gnu: Add new variable gkermit

Previous Next

Package: guix-patches;

Reported by: 路辉 <luhux76 <at> gmail.com>

Date: Mon, 24 Oct 2022 05:19:01 UTC

Severity: normal

Tags: moreinfo, patch

To reply to this bug, email your comments to 58754 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#58754; Package guix-patches. (Mon, 24 Oct 2022 05:19:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to 路辉 <luhux76 <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 24 Oct 2022 05:19:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: 路辉 <luhux76 <at> gmail.com>
To: guix-patches <guix-patches <at> gnu.org>
Subject: [PATCH] gnu: Add new variable gkermit
Date: Mon, 24 Oct 2022 05:17:58 +0000
[Message part 1 (text/plain, inline)]
add new tool for embedded developing
[0001-gnu-Add-new-variable-gkermit.patch (text/x-patch, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#58754; Package guix-patches. (Sat, 05 Nov 2022 10:35:01 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: 路辉 <luhux76 <at> gmail.com>
Cc: 58754 <at> debbugs.gnu.org, guix-patches <at> gnu.org
Subject: Re: [bug#58754] [PATCH] gnu: Add new variable gkermit
Date: Sat, 05 Nov 2022 11:32:19 +0100
[Message part 1 (text/plain, inline)]
路辉 <luhux76 <at> gmail.com> writes:

> add new tool for embedded developing

Thanks for the patch. I've noted two hopefully minor issues below. Would
you be able to take a look at sending an updated patch?

> +(define-public gkermit
> +  (package
> +    (name "gkermit")
> +    (version "2.01")
> +    (source (origin
> +              (method git-fetch)
> +              (uri (git-reference
> +                    (url "https://github.com/KermitProject/gkermit")
> +                    (commit (string-append "v" version))))
> +              (file-name (git-file-name name version))
> +              (sha256
> +               (base32
> +                "0njxzwnvanrdnx6cs7y0136g2179wx8wbqk8iqxpb48dr2hg7zn1"))))
> +    (build-system gnu-build-system)
> +    (arguments
> +     `(#:tests? #f

From looking at the source, I guess the reason for this is that there
are no included tests to run. If that is correct, it would be good to
note the reason in a comment.

> +       #:make-flags (list (string-append "CC="
> +                                         ,(cc-for-target))
> +                          (string-append "PREFIX="
> +                                         (assoc-ref %outputs "out")))
> +       #:phases (modify-phases %standard-phases
> +                  (delete 'configure)
> +                  (add-before 'build 'replace-hardcodepath
> +                    (lambda* (#:key outputs #:allow-other-keys)
> +                      (let* ((out (assoc-ref outputs "out"))
> +                             (bin (string-append out "/bin"))
> +                             (doc (string-append out "/share/doc"))
> +                             (man1 (string-append out "/share/man/man1"))
> +                             (info (string-append out "/share/info")))
> +                        (substitute* "makefile"
> +                          (("/usr/local/bin")
> +                           bin)
> +                          (("/usr/man/manl")
> +                           man1) ;may be a typo err?
> +                          (("/usr/local/doc")
> +                           doc)
> +                          (("/usr/local/info")
> +                           info)
> +                          (("CC=cc")
> +                           "CC ?= cc"))
> +                        (mkdir-p bin)
> +                        (mkdir-p doc)
> +                        (mkdir-p man1)
> +                        (mkdir-p info)))))))
> +
> +    (home-page "https://github.com/KermitProject/gkermit")
> +    (synopsis "Kermit for UNIX")
> +    (description
> +     "Use for uploading and downloading files with Kermit protocol")
> +    (license license:gpl2)))

Can you check this, at least some files I looked at weren't strict gpl2
only.

Thanks,

Chris
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#58754; Package guix-patches. (Sat, 05 Nov 2022 10:35:02 GMT) Full text and rfc822 format available.

Added tag(s) moreinfo. Request was from Christopher Baines <mail <at> cbaines.net> to control <at> debbugs.gnu.org. (Sun, 06 Nov 2022 13:57:02 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 277 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.