GNU bug report logs - #67727
My first package: libsurvive

Previous Next

Package: guix-patches;

Reported by: Tobias Alexandra Platen <alex <at> platen-software.de>

Date: Sat, 9 Dec 2023 14:57:02 UTC

Severity: normal

To reply to this bug, email your comments to 67727 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#67727; Package guix-patches. (Sat, 09 Dec 2023 14:57:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tobias Alexandra Platen <alex <at> platen-software.de>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 09 Dec 2023 14:57:02 GMT) Full text and rfc822 format available.

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

From: Tobias Alexandra Platen <alex <at> platen-software.de>
To: guix-patches <at> gnu.org
Subject: My first package: libsurvive
Date: Sat, 09 Dec 2023 13:14:02 +0100
[Message part 1 (text/plain, inline)]
I've tried to follow the rules documented in[1] and run guix lint and
currenty dont know how to fix the warnings. I made the release and
pushed it to codeberg.

gnu/packages/hardware.scm:1051:6: warning: no valid tags found for
libsurvive
gnu/packages/hardware.scm:1051:6: libsurvive <at> 2023.12: updater 'generic-
git' failed to find upstream releases
gnu/packages/hardware.scm:1051:6: libsurvive <at> 2023.12: scheduled
Software Heritage archival

[1] https://guix.gnu.org/manual/devel/en/html_node/Contributing.html
[0001-gnu-Add-libsurvive.patch (text/x-patch, attachment)]
[0000-cover-letter.patch (text/x-patch, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#67727; Package guix-patches. (Sun, 09 Mar 2025 13:50:02 GMT) Full text and rfc822 format available.

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

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: 67727 <at> debbugs.gnu.org
Cc: Tobias Alexandra Platen <alex <at> platen-software.de>
Subject: Re: My first package: libsurvive
Date: Sun, 09 Mar 2025 14:48:56 +0100
Hello,

> +(define-public libsurvive

Thank you!

> +  (package
> +    (name "libsurvive")
> +    (version "2023.12")
> +    (source
> +      (origin ;;TODO: make release
> +        (method git-fetch)
> +        (uri (git-reference
> +              (url "https://codeberg.org/LibreVR/libsurvive")
> +              (recursive? #t)

Can you unbundle whatever is pulled in submodules and avoid using
#:recursive?

> +              (commit "v2023.12.rc0"))) ;; make a final release this year

Nitpick: end of line comments use a single semicolon.

It is also not a good idea to introduce a mismatch between version and
commit. It this situation, you can either use "2023.12.rc0" for version
and (string-append "v" version) for commit, or use a raw commit hash,
bound to `commit' and bind "1" to `revision'. Then, version becomes
(git-version "2023.12" revision commit) and commit is set to… commit.

> +        (file-name (git-file-name name version))
> +        (sha256 (base32 "0fkdgvpm987yl5q6yq0979cfj99ffi6k0dpmddlpxfm2rngn85r5"))))
> +    (build-system cmake-build-system)
> +    (arguments (list #:tests? #f)) ;; no tests in this version

Same remark as above about semicolon.

> +    (native-inputs
> +     (list pkg-config))
> +    (inputs
> +     (list hidapi eigen eudev))

Please order inputs alphabetically.

> +    (home-page "https://codeberg.org/LibreVR/libsurvive")
> +    (synopsis "Lighthouse Tracking for LibreVR")
> +    (description "Libsurvive is a set of tools and libraries that enable Lighthouse
> +Tracking on various devices, including HTC Vive and the well known Valve Index.
> +It currently supports both SteamVR 1.0 and SteamVR 2.0 generation of devices,
> +future versions will support more hardware and the survive_link
> protocol.")

Nitpick: @code{survive_link} protocol.

Would you want to send an updated patch?

Regards,
-- 
Nicolas Goaziou






Information forwarded to guix-patches <at> gnu.org:
bug#67727; Package guix-patches. (Mon, 10 Mar 2025 00:44:02 GMT) Full text and rfc822 format available.

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

From: Tobias Alexandra Platen <alex <at> platen-software.de>
To: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>, 67727 <at> debbugs.gnu.org
Subject: Re: My first package: libsurvive
Date: Sun, 09 Mar 2025 17:05:36 +0100
On Sun, 2025-03-09 at 14:48 +0100, Nicolas Goaziou wrote:
> Hello,
> 
> > +(define-public libsurvive
> 
> Thank you!
> 
> > +  (package
> > +    (name "libsurvive")
> > +    (version "2023.12")
> > +    (source
> > +      (origin ;;TODO: make release
> > +        (method git-fetch)
> > +        (uri (git-reference
> > +              (url "https://codeberg.org/LibreVR/libsurvive")
> > +              (recursive? #t)
> 
> Can you unbundle whatever is pulled in submodules and avoid using
> #:recursive?
> 
> > +              (commit "v2023.12.rc0"))) ;; make a final release
> > this year
> 
> Nitpick: end of line comments use a single semicolon.
> 
> It is also not a good idea to introduce a mismatch between version
> and
> commit. It this situation, you can either use "2023.12.rc0" for
> version
> and (string-append "v" version) for commit, or use a raw commit hash,
> bound to `commit' and bind "1" to `revision'. Then, version becomes
> (git-version "2023.12" revision commit) and commit is set to… commit.
> 
> > +        (file-name (git-file-name name version))
> > +        (sha256 (base32
> > "0fkdgvpm987yl5q6yq0979cfj99ffi6k0dpmddlpxfm2rngn85r5"))))
> > +    (build-system cmake-build-system)
> > +    (arguments (list #:tests? #f)) ;; no tests in this version
> 
> Same remark as above about semicolon.
> 
> > +    (native-inputs
> > +     (list pkg-config))
> > +    (inputs
> > +     (list hidapi eigen eudev))
> 
> Please order inputs alphabetically.
> 
> > +    (home-page "https://codeberg.org/LibreVR/libsurvive")
> > +    (synopsis "Lighthouse Tracking for LibreVR")
> > +    (description "Libsurvive is a set of tools and libraries that
> > enable Lighthouse
> > +Tracking on various devices, including HTC Vive and the well known
> > Valve Index.
> > +It currently supports both SteamVR 1.0 and SteamVR 2.0 generation
> > of devices,
> > +future versions will support more hardware and the survive_link
> > protocol.")
> 
> Nitpick: @code{survive_link} protocol.
> 
> Would you want to send an updated patch?
yes, but not today. Maybe in one month.
> 
> Regards,





This bug report was last modified 105 days ago.

Previous Next


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