GNU bug report logs -
#66060
[PATCH 0/5] gnu: sigrok-firmware-fx2lafw: Update; improve package.
Previous Next
Reported by: Simon South <simon <at> simonsouth.net>
Date: Sun, 17 Sep 2023 22:12:02 UTC
Severity: normal
Tags: patch
Done: Christopher Baines <mail <at> cbaines.net>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 66060 in the body.
You can then email your comments to 66060 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#66060
; Package
guix-patches
.
(Sun, 17 Sep 2023 22:12:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Simon South <simon <at> simonsouth.net>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sun, 17 Sep 2023 22:12:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
This patch series updates sigrok-firmware-fx2lafw, firmware for inexpensive
logic analyzers built around the Cypress Semiconductor FX2 microcontroller, to
the latest revision in its source-code repository.
This brings in eight commits[0] that improve the software in small ways, most
importantly allowing it to build with the latest version of SDCC, 4.3.0
(patches to follow). Note the project's last formal release was in 2019.
This series also simplifies and updates the style of the package definition.
I've tested these changes on AArch64 and x86-64 using PulseView and a real
FX2-based device (a MuseTech nanoDLA) and everything seems fine.
--
Simon South
simon <at> simonsouth.net
[0] See
http://sigrok.org/gitweb/?p=sigrok-firmware-fx2lafw.git;a=shortlog;h=96b0b47
Simon South (5):
gnu: sigrok-firmware-fx2lafw: Rely on implicit inputs.
gnu: sigrok-firmware-fx2lafw: Remove input labels.
gnu: sigrok-firmware-fx2lafw: Adjust format.
gnu: sigrok-firmware-fx2lafw: Explicitly disable tests.
gnu: sigrok-firmware-fx2lafw: Update to 0.1.7-1.96b0b47.
gnu/packages/electronics.scm | 55 ++++++++++++++++--------------------
1 file changed, 24 insertions(+), 31 deletions(-)
base-commit: fc3a53525ab3dcaf7c22eec8d62294017f9760fe
--
2.41.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#66060
; Package
guix-patches
.
(Sun, 17 Sep 2023 22:14:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 66060 <at> debbugs.gnu.org (full text, mbox):
This effectively reverts commit 79f0bd7, "gnu: sigrok-firmware-fx2lafw: Fix
build."
* gnu/packages/electronics.scm (sigrok-firmware-fx2lafw)[arguments]: Remove
with #:implicit-inputs?.
[native-inputs]: Remove all but sdcc.
---
gnu/packages/electronics.scm | 14 +-------------
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm
index 6e6071e6e6..182e183312 100644
--- a/gnu/packages/electronics.scm
+++ b/gnu/packages/electronics.scm
@@ -34,7 +34,6 @@ (define-module (gnu packages electronics)
#:use-module (gnu packages algebra)
#:use-module (gnu packages autotools)
#:use-module (gnu packages base)
- #:use-module (gnu packages bash)
#:use-module (gnu packages boost)
#:use-module (gnu packages c)
#:use-module (gnu packages check)
@@ -42,7 +41,6 @@ (define-module (gnu packages electronics)
#:use-module (gnu packages documentation)
#:use-module (gnu packages embedded)
#:use-module (gnu packages fontutils)
- #:use-module (gnu packages gawk)
#:use-module (gnu packages gl)
#:use-module (gnu packages glib)
#:use-module (gnu packages graphviz)
@@ -134,18 +132,8 @@ (define-public sigrok-firmware-fx2lafw
(sha256
(base32
"0fyfd82mvrcf55v5a3afq1mh1kfswk4c37qrbln6x92jm3b41x53"))))
- (arguments
- `(#:implicit-inputs? #f))
(native-inputs
- `(("awk" ,gawk)
- ("bash" ,bash)
- ("coreutils" ,coreutils)
- ("grep" ,grep)
- ("gzip" ,gzip)
- ("make" ,gnu-make)
- ("sdcc" ,sdcc)
- ("sed" ,sed)
- ("tar" ,tar)))
+ `(("sdcc" ,sdcc)))
(build-system gnu-build-system)
(home-page "https://www.sigrok.org/wiki/Fx2lafw")
(synopsis "Firmware for Cypress FX2 chips")
--
2.41.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#66060
; Package
guix-patches
.
(Sun, 17 Sep 2023 22:14:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 66060 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/electronics.scm (sigrok-firmware-fx2lafw)[native-inputs]:
Remove input labels.
---
gnu/packages/electronics.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm
index 182e183312..48d1099c78 100644
--- a/gnu/packages/electronics.scm
+++ b/gnu/packages/electronics.scm
@@ -133,7 +133,7 @@ (define-public sigrok-firmware-fx2lafw
(base32
"0fyfd82mvrcf55v5a3afq1mh1kfswk4c37qrbln6x92jm3b41x53"))))
(native-inputs
- `(("sdcc" ,sdcc)))
+ (list sdcc))
(build-system gnu-build-system)
(home-page "https://www.sigrok.org/wiki/Fx2lafw")
(synopsis "Firmware for Cypress FX2 chips")
--
2.41.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#66060
; Package
guix-patches
.
(Sun, 17 Sep 2023 22:14:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 66060 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/electronics.scm (sigrok-firmware-fx2lafw): Move build-system
above native-inputs.
---
gnu/packages/electronics.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm
index 48d1099c78..63ca4ae0f1 100644
--- a/gnu/packages/electronics.scm
+++ b/gnu/packages/electronics.scm
@@ -132,9 +132,9 @@ (define-public sigrok-firmware-fx2lafw
(sha256
(base32
"0fyfd82mvrcf55v5a3afq1mh1kfswk4c37qrbln6x92jm3b41x53"))))
+ (build-system gnu-build-system)
(native-inputs
(list sdcc))
- (build-system gnu-build-system)
(home-page "https://www.sigrok.org/wiki/Fx2lafw")
(synopsis "Firmware for Cypress FX2 chips")
(description "Fx2lafw is free firmware for Cypress FX2 chips which makes them usable
--
2.41.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#66060
; Package
guix-patches
.
(Sun, 17 Sep 2023 22:14:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 66060 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/electronics.scm (sigrok-firmware-fx2lafw)[arguments]: Add
with #:tests?.
---
gnu/packages/electronics.scm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm
index 63ca4ae0f1..2330a5922f 100644
--- a/gnu/packages/electronics.scm
+++ b/gnu/packages/electronics.scm
@@ -133,6 +133,8 @@ (define-public sigrok-firmware-fx2lafw
(base32
"0fyfd82mvrcf55v5a3afq1mh1kfswk4c37qrbln6x92jm3b41x53"))))
(build-system gnu-build-system)
+ (arguments
+ (list #:tests? #f)) ; no test suite
(native-inputs
(list sdcc))
(home-page "https://www.sigrok.org/wiki/Fx2lafw")
--
2.41.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#66060
; Package
guix-patches
.
(Sun, 17 Sep 2023 22:14:03 GMT)
Full text and
rfc822 format available.
Message #20 received at 66060 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/electronics.scm (sigrok-firmware-fx2lafw): Update to
0.1.7-1.96b0b47.
[source]: Switch to git-fetch.
[native-inputs]: Add autoconf, automake.
---
gnu/packages/electronics.scm | 45 +++++++++++++++++++-----------------
1 file changed, 24 insertions(+), 21 deletions(-)
diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm
index 2330a5922f..77a9fc2d90 100644
--- a/gnu/packages/electronics.scm
+++ b/gnu/packages/electronics.scm
@@ -121,27 +121,30 @@ (define-public libsigrokdecode
(license license:gpl3+))))
(define-public sigrok-firmware-fx2lafw
- (package
- (name "sigrok-firmware-fx2lafw")
- (version "0.1.7")
- (source (origin
- (method url-fetch)
- (uri (string-append
- "http://sigrok.org/download/source/sigrok-firmware-fx2lafw/"
- "sigrok-firmware-fx2lafw-" version ".tar.gz"))
- (sha256
- (base32
- "0fyfd82mvrcf55v5a3afq1mh1kfswk4c37qrbln6x92jm3b41x53"))))
- (build-system gnu-build-system)
- (arguments
- (list #:tests? #f)) ; no test suite
- (native-inputs
- (list sdcc))
- (home-page "https://www.sigrok.org/wiki/Fx2lafw")
- (synopsis "Firmware for Cypress FX2 chips")
- (description "Fx2lafw is free firmware for Cypress FX2 chips which makes them usable
-as simple logic analyzer and/or oscilloscope hardware.")
- (license license:gpl2+)))
+ (let ((commit "96b0b476522c3f93a47ff8f479ec08105ba6a2a5")
+ (revision "1"))
+ (package
+ (name "sigrok-firmware-fx2lafw")
+ (version (git-version "0.1.7" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "git://sigrok.org/sigrok-firmware-fx2lafw")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1n5nj2g2m5ih59591ny2drrv25zviqcwyx1cfdhy8ijl82yxjkmb"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list #:tests? #f)) ; no test suite
+ (native-inputs
+ (list autoconf automake sdcc))
+ (home-page "https://www.sigrok.org/wiki/Fx2lafw")
+ (synopsis "Firmware for Cypress FX2 chips")
+ (description "Fx2lafw is free firmware for Cypress FX2 chips which makes
+them usable as simple logic analyzer and/or oscilloscope hardware.")
+ (license license:gpl2+))))
(define-public libsigrok
(let ((commit "a7e919a3a6b7fd511acbe1a280536b76c70c28d2")
--
2.41.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#66060
; Package
guix-patches
.
(Mon, 25 Sep 2023 11:04:01 GMT)
Full text and
rfc822 format available.
Message #23 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Simon South <simon <at> simonsouth.net> writes:
> This patch series updates sigrok-firmware-fx2lafw, firmware for inexpensive
> logic analyzers built around the Cypress Semiconductor FX2 microcontroller, to
> the latest revision in its source-code repository.
>
> This brings in eight commits[0] that improve the software in small ways, most
> importantly allowing it to build with the latest version of SDCC, 4.3.0
> (patches to follow). Note the project's last formal release was in 2019.
>
> This series also simplifies and updates the style of the package definition.
>
> I've tested these changes on AArch64 and x86-64 using PulseView and a real
> FX2-based device (a MuseTech nanoDLA) and everything seems fine.
>
> --
> Simon South
> simon <at> simonsouth.net
>
> [0] See
> http://sigrok.org/gitweb/?p=sigrok-firmware-fx2lafw.git;a=shortlog;h=96b0b47
>
>
> Simon South (5):
> gnu: sigrok-firmware-fx2lafw: Rely on implicit inputs.
> gnu: sigrok-firmware-fx2lafw: Remove input labels.
> gnu: sigrok-firmware-fx2lafw: Adjust format.
> gnu: sigrok-firmware-fx2lafw: Explicitly disable tests.
> gnu: sigrok-firmware-fx2lafw: Update to 0.1.7-1.96b0b47.
Thanks for the patches Simon, I've added a comment and a bit to the
commit message in the last commit to give the reason for using a VCS
snapshot and pushed these patches to master as
9239c822469259509dbbc7a6966b5b265dd7c4f1.
Chris
[signature.asc (application/pgp-signature, inline)]
Reply sent
to
Christopher Baines <mail <at> cbaines.net>
:
You have taken responsibility.
(Mon, 25 Sep 2023 11:04:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Simon South <simon <at> simonsouth.net>
:
bug acknowledged by developer.
(Mon, 25 Sep 2023 11:04:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 23 Oct 2023 11:24:11 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 199 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.