Patches for aports can be sent to this list

3 2

[alpine-aports] [PATCH 4/6] testing/sigrok-firmware-fx2lafw-bin: New aport

Marian Buschsieweke
Details
Message ID
<20190404165559.6565-4-marian.buschsieweke@ovgu.de>
Sender timestamp
1554396957
DKIM signature
missing
Download raw message
Patch: +25 -0
Open source firmware for logic analyzers based on Cypress FX2 chips
https://sigrok.org/wiki/Libsigrok
---
 testing/sigrok-firmware-fx2lafw-bin/APKBUILD | 25 ++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 testing/sigrok-firmware-fx2lafw-bin/APKBUILD

diff --git a/testing/sigrok-firmware-fx2lafw-bin/APKBUILD b/testing/sigrok-firmware-fx2lafw-bin/APKBUILD
new file mode 100644
index 0000000000..50bfd75a8c
--- /dev/null
+++ b/testing/sigrok-firmware-fx2lafw-bin/APKBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
+
+pkgname="sigrok-firmware-fx2lafw-bin"
+replaces="${pkgname/-bin}"
+pkgver=0.1.6
+pkgrel=0
+pkgdesc="Open source firmware for logic analyzers based on Cypress FX2 chips"
+url="https://sigrok.org/wiki/Libsigrok"
+arch="noarch"
+license="GPL-2.0-or-later"
+# Using prebuild firmware, as required toolchain is not (yet) available on
+# Alpine Linux
+source="https://sigrok.org/download/binary/${pkgname/-bin}/$pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+# No checks possible, as firmware runs on the logic analyzer
+options="!check"
+
+package() {
+	cd "${builddir}"
+	mkdir -p "${pkgdir}/usr/share/sigrok-firmware"
+	find . -type f -name '*.fw' \
+			-exec cp {} "${pkgdir}/usr/share/sigrok-firmware" \;
+}
+
+sha512sums="0dd4eb5327fbf5a8ee413b5ad460e2febe7da6aba13cfe4c7467966e4d4a0033b796ce7634647c0bbfa335034180272e7f8167b7a8181fb73ed3839891a44e46  sigrok-firmware-fx2lafw-bin-0.1.6.tar.gz"
-- 
2.21.0



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Milan P. Stanić
Details
Message ID
<20190610120953.GA29551@arya.arvanta.net>
In-Reply-To
<20190404165559.6565-4-marian.buschsieweke@ovgu.de> (view parent)
Sender timestamp
1560168593
DKIM signature
missing
Download raw message
Hi,

On Thu, 2019-04-04 at 18:55, Marian Buschsieweke wrote:
> Open source firmware for logic analyzers based on Cypress FX2 chips
> https://sigrok.org/wiki/Libsigrok
> ---
...
> +source="https://sigrok.org/download/binary/${pkgname/-bin}/$pkgname-$pkgver.tar.gz"
source url is wrongly made.

Here is excerpt from 'abuild -r' log
---
>>> sigrok-firmware-fx2lafw-bin: Fetching
>>> https://sigrok.org/download/binary/sigrok-firmware-fx2lafwsigrok-firmware-fx2lafw-bin-0.1.6.tar.gz/sigrok-firmware-fx2lafw-bin-0.1.6.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time
  % Current
                                 Dload  Upload   Total   Spent    Left
Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
0
curl: (22) The requested URL returned error: 404 Not Found
>>> ERROR: sigrok-firmware-fx2lafw-bin: fetch failed
---

-- 
regards


---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Marian Buschsieweke
Details
Message ID
<20190610211124.4b52e5d4@faultier2go>
In-Reply-To
<20190610120953.GA29551@arya.arvanta.net> (view parent)
Sender timestamp
1560193884
DKIM signature
missing
Download raw message
Hi,

thanks for pointing the issue out. I updated the patch accordingly.

Kind regards,
Marian

On Mon, 10 Jun 2019 14:09:53 +0200
Milan P. Stanić <mps@arvanta.net> wrote:

> Hi,
> 
> On Thu, 2019-04-04 at 18:55, Marian Buschsieweke wrote:
> > Open source firmware for logic analyzers based on Cypress FX2 chips
> > https://sigrok.org/wiki/Libsigrok
> > ---  
> ...
> > +source="https://sigrok.org/download/binary/${pkgname/-bin}/$pkgname-$pkgver.tar.gz"  
> source url is wrongly made.
> 
> Here is excerpt from 'abuild -r' log
> ---
> >>> sigrok-firmware-fx2lafw-bin: Fetching
> >>> https://sigrok.org/download/binary/sigrok-firmware-fx2lafwsigrok-firmware-fx2lafw-bin-0.1.6.tar.gz/sigrok-firmware-fx2lafw-bin-0.1.6.tar.gz  
>   % Total    % Received % Xferd  Average Speed   Time    Time     Time
>   % Current
>                                  Dload  Upload   Total   Spent    Left
> Speed
>   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
> 0
> curl: (22) The requested URL returned error: 404 Not Found
> >>> ERROR: sigrok-firmware-fx2lafw-bin: fetch failed  
> ---
> 
Milan P. Stanić
Details
Message ID
<20190610204722.GA6821@arya.arvanta.net>
In-Reply-To
<20190610211124.4b52e5d4@faultier2go> (view parent)
Sender timestamp
1560199642
DKIM signature
missing
Download raw message
Hi,

On Mon, 2019-06-10 at 21:11, Marian Buschsieweke wrote:
> Hi,
> 
> thanks for pointing the issue out. I updated the patch accordingly.

Applied, thank you.

-- 
regards

... 


---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---