Patches for aports can be sent to this list

8 4

[alpine-aports] [PATCH] testing/alacritty: new APKBUILD

Details
Message ID
<20190302004953.15127-1-sir@cmpwn.com>
Sender timestamp
1551487793
DKIM signature
missing
Download raw message
Patch: +33 -0
---
 testing/alacritty/APKBUILD | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 testing/alacritty/APKBUILD

diff --git a/testing/alacritty/APKBUILD b/testing/alacritty/APKBUILD
new file mode 100644
index 0000000000..ee3be5b3c4
--- /dev/null
+++ b/testing/alacritty/APKBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Drew DeVault <sir@cmpwn.com>
+pkgname=alacritty
+pkgver=0.2.9
+pkgrel=0
+pkgdesc="A cross-platform, GPU-accelerated terminal emulator"
+url="https://github.com/jwilm/alacritty"
+arch="all"
+license="Apache-2.0"
+makedepends="rust cargo"
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/jwilm/$pkgname/archive/v$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+export CARGO_HOME="$srcdir"/cargo
+export RUSTFLAGS="-C target-feature=-crt-static"
+
+build() {
+	cd "$builddir"
+	cargo build --release --verbose
+}
+
+check() {
+	cd "$builddir"
+	cargo test --all --release --verbose
+}
+
+package() {
+	cd "$builddir"
+	install -Dm755 target/release/alacritty "$pkgdir"/usr/bin/alacritty
+	install -Dm644 alacritty.man "$pkgdir"/usr/share/man/man1/alacritty.1
+	install -Dm644 alacritty.yml "$pkgdir"/etc/alacritty/alacritty.yml
+}
+
+sha512sums="c36dea633d5c9faa42956eff47fbd676b5f3a5ef28ae7d6711145f76e99ae92aa8ddcdde1eb5bc700855af5928e2da0b4be3f618bb05aa93c284b73727b2e337  alacritty-0.2.9.tar.gz"
-- 
2.21.0



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

[alpine-aports] [PATCH v2] testing/alacritty: new APKBUILD

Details
Message ID
<20190302165440.8845-1-sir@cmpwn.com>
In-Reply-To
<CAF1P4FGjj3rBNwa2p6uhxhoYpxFUkpkO_0oiOG6geDdhhU3cPA@mail.gmail.com> (view parent)
Sender timestamp
1551545681
DKIM signature
missing
Download raw message
Patch: +33 -0
---
I'm unable to reproduce the crates.io update segfault issue you
encountered.

 testing/alacritty/APKBUILD | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 testing/alacritty/APKBUILD

diff --git a/testing/alacritty/APKBUILD b/testing/alacritty/APKBUILD
new file mode 100644
index 0000000000..06b47f05f2
--- /dev/null
+++ b/testing/alacritty/APKBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Drew DeVault <sir@cmpwn.com>
+pkgname=alacritty
+pkgver=0.2.9
+pkgrel=0
+pkgdesc="A cross-platform, GPU-accelerated terminal emulator"
+url="https://github.com/jwilm/alacritty"
+arch="x86_64" # via Rust
+license="Apache-2.0"
+makedepends="rust cargo"
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/jwilm/$pkgname/archive/v$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+export CARGO_HOME="$srcdir"/cargo
+export RUSTFLAGS="-C target-feature=-crt-static"
+
+build() {
+	cd "$builddir"
+	cargo build --release --verbose
+}
+
+check() {
+	cd "$builddir"
+	cargo test --all --release --verbose
+}
+
+package() {
+	cd "$builddir"
+	install -Dm755 target/release/alacritty "$pkgdir"/usr/bin/alacritty
+	install -Dm644 alacritty.man "$pkgdir"/usr/share/man/man1/alacritty.1
+	install -Dm644 alacritty.yml "$pkgdir"/etc/alacritty/alacritty.yml
+}
+
+sha512sums="c36dea633d5c9faa42956eff47fbd676b5f3a5ef28ae7d6711145f76e99ae92aa8ddcdde1eb5bc700855af5928e2da0b4be3f618bb05aa93c284b73727b2e337  alacritty-0.2.9.tar.gz"
-- 
2.21.0



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Henrik Riomar
Details
Message ID
<CAF1P4FGjj3rBNwa2p6uhxhoYpxFUkpkO_0oiOG6geDdhhU3cPA@mail.gmail.com>
In-Reply-To
<20190302004953.15127-1-sir@cmpwn.com> (view parent)
Sender timestamp
1551519075
DKIM signature
missing
Download raw message
On Sat, Mar 2, 2019 at 1:50 AM Drew DeVault <sir@cmpwn.com> wrote:
>
> ---
>  testing/alacritty/APKBUILD | 33 +++++++++++++++++++++++++++++++++
....
> +arch="all"
> +license="Apache-2.0"
> +makedepends="rust cargo"

regarding arch="all", we only have rust on "x86_64".

I am not able to test build this package on my x86_64 box:
 >>> alacritty: Checking sha512sums...
 alacritty-0.2.9.tar.gz: OK
 >>> alacritty: Unpacking /var/cache/distfiles/alacritty-0.2.9.tar.gz...
    Updating crates.io index
   Segmentation fault
 >>> ERROR: alacritty: build failed

But I have the same problem with librespot, so it might be my box, or
something recently changed in edge.

/ Henrik


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

Re: [alpine-aports] Re: [PATCH v2] testing/alacritty: new APKBUILD

Chloe Kudryavtsev
Details
Message ID
<96f98361-df3f-7373-3706-9a16f40daf9e@toastin.space>
In-Reply-To
<CAF1P4FHNhpNehMuwbbNHx3JoA5RcT94AfAMecO5yJPgsi5-d0Q@mail.gmail.com> (view parent)
Sender timestamp
1551573753
DKIM signature
missing
Download raw message
On 3/2/2019 5:54 PM, Henrik Riomar wrote:
> On Sat, Mar 2, 2019 at 5:54 PM Drew DeVault <sir@cmpwn.com> wrote:
> 
>> I'm unable to reproduce the crates.io update segfault issue you
>> encountered.
>>
> 
> tried on a other box with Intel CPU where it did not fail (Ryzen when
> it failed).

This is likely an amd64-specific issue with libcurl's handling of http/2.
It will segfault sporadically while trying to download other crates for 
building.
Please make sure you're running libcurl 7.64.0-r1 (r1 is the one in 
which the patch to fix the issue was added).


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

[alpine-aports] Re: [PATCH v2] testing/alacritty: new APKBUILD

Henrik Riomar
Details
Message ID
<CAF1P4FHNhpNehMuwbbNHx3JoA5RcT94AfAMecO5yJPgsi5-d0Q@mail.gmail.com>
In-Reply-To
<20190302165440.8845-1-sir@cmpwn.com> (view parent)
Sender timestamp
1551567247
DKIM signature
missing
Download raw message
On Sat, Mar 2, 2019 at 5:54 PM Drew DeVault <sir@cmpwn.com> wrote:

> I'm unable to reproduce the crates.io update segfault issue you
> encountered.
>

tried on a other box with Intel CPU where it did not fail (Ryzen when
it failed).

Seems these "cmake fontconfig-dev freetype-dev" makedepends are
missing for the build to succeed.

But then it fails in the test suite on 'x11:tests:clipboard_works'
test, missing checkdepend?

/ Henrik


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

[alpine-aports] [PATCH v3] testing/alacritty: new APKBUILD

Details
Message ID
<20190303210118.19572-1-sir@cmpwn.com>
In-Reply-To
<CAF1P4FHNhpNehMuwbbNHx3JoA5RcT94AfAMecO5yJPgsi5-d0Q@mail.gmail.com> (view parent)
Sender timestamp
1551646879
DKIM signature
missing
Download raw message
Patch: +34 -0
---
 testing/alacritty/APKBUILD | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 testing/alacritty/APKBUILD

diff --git a/testing/alacritty/APKBUILD b/testing/alacritty/APKBUILD
new file mode 100644
index 0000000000..cdf9c288d4
--- /dev/null
+++ b/testing/alacritty/APKBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Drew DeVault <sir@cmpwn.com>
+pkgname=alacritty
+pkgver=0.2.9
+pkgrel=0
+pkgdesc="A cross-platform, GPU-accelerated terminal emulator"
+url="https://github.com/jwilm/alacritty"
+arch="x86_64" # via Rust
+license="Apache-2.0"
+makedepends="rust cargo cmake fontconfig-dev freetype-dev"
+checkdepends="xclip"
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/jwilm/$pkgname/archive/v$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+export CARGO_HOME="$srcdir"/cargo
+export RUSTFLAGS="-C target-feature=-crt-static"
+
+build() {
+	cd "$builddir"
+	cargo build --release --verbose
+}
+
+check() {
+	cd "$builddir"
+	cargo test --all --release --verbose
+}
+
+package() {
+	cd "$builddir"
+	install -Dm755 target/release/alacritty "$pkgdir"/usr/bin/alacritty
+	install -Dm644 alacritty.man "$pkgdir"/usr/share/man/man1/alacritty.1
+	install -Dm644 alacritty.yml "$pkgdir"/etc/alacritty/alacritty.yml
+}
+
+sha512sums="c36dea633d5c9faa42956eff47fbd676b5f3a5ef28ae7d6711145f76e99ae92aa8ddcdde1eb5bc700855af5928e2da0b4be3f618bb05aa93c284b73727b2e337  alacritty-0.2.9.tar.gz"
-- 
2.21.0



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

Re: [alpine-aports] [PATCH v3] testing/alacritty: new APKBUILD

Milan P. Stanić
Details
Message ID
<20190303213012.GA13311@arya.arvanta.net>
In-Reply-To
<20190303210118.19572-1-sir@cmpwn.com> (view parent)
Sender timestamp
1551648612
DKIM signature
missing
Download raw message
On Sun, 2019-03-03 at 14:01, Drew DeVault wrote:
> ---
>  testing/alacritty/APKBUILD | 34 ++++++++++++++++++++++++++++++++++
>  1 file changed, 34 insertions(+)
>  create mode 100644 testing/alacritty/APKBUILD
> 
> diff --git a/testing/alacritty/APKBUILD b/testing/alacritty/APKBUILD
> new file mode 100644
> index 0000000000..cdf9c288d4
> --- /dev/null
> +++ b/testing/alacritty/APKBUILD
> @@ -0,0 +1,34 @@
> +# Maintainer: Drew DeVault <sir@cmpwn.com>
> +pkgname=alacritty
> +pkgver=0.2.9
> +pkgrel=0
> +pkgdesc="A cross-platform, GPU-accelerated terminal emulator"
> +url="https://github.com/jwilm/alacritty"
> +arch="x86_64" # via Rust
                 ^^^^^^^^^^
I suspect this comment is needed, rust and cargo are in makedepends
Ok, this is nitpicking but anyway I ask.

> +license="Apache-2.0"
> +makedepends="rust cargo cmake fontconfig-dev freetype-dev"
> +checkdepends="xclip"
> +subpackages="$pkgname-doc"
> +source="$pkgname-$pkgver.tar.gz::https://github.com/jwilm/$pkgname/archive/v$pkgver.tar.gz"
> +builddir="$srcdir/$pkgname-$pkgver"
> +export CARGO_HOME="$srcdir"/cargo
> +export RUSTFLAGS="-C target-feature=-crt-static"
> +
> +build() {
> +	cd "$builddir"
> +	cargo build --release --verbose
> +}
> +
> +check() {
> +	cd "$builddir"
> +	cargo test --all --release --verbose
> +}
> +
> +package() {
> +	cd "$builddir"
> +	install -Dm755 target/release/alacritty "$pkgdir"/usr/bin/alacritty
> +	install -Dm644 alacritty.man "$pkgdir"/usr/share/man/man1/alacritty.1
> +	install -Dm644 alacritty.yml "$pkgdir"/etc/alacritty/alacritty.yml
> +}
> +
> +sha512sums="c36dea633d5c9faa42956eff47fbd676b5f3a5ef28ae7d6711145f76e99ae92aa8ddcdde1eb5bc700855af5928e2da0b4be3f618bb05aa93c284b73727b2e337  alacritty-0.2.9.tar.gz"
> -- 
> 2.21.0
> 
> 
> 
> ---
> Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
> Help:         alpine-aports+help@lists.alpinelinux.org
> ---
> 


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

[alpine-aports] Re: [PATCH v3] testing/alacritty: new APKBUILD

Details
Message ID
<20190304153148.GA3231@cirno.my.domain>
In-Reply-To
<CAF1P4FHcdqrG+NgVtmQaFyX7NQFLHcLbjTW9PFxeZEWqMNtgBQ@mail.gmail.com> (view parent)
Sender timestamp
1551713508
DKIM signature
missing
Download raw message
Hmm. Spinning up an entire X server seems like a bit much. I'm thinking
about adding !check, anyone opposed?


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

[alpine-aports] Re: [PATCH v3] testing/alacritty: new APKBUILD

Henrik Riomar
Details
Message ID
<CAF1P4FHcdqrG+NgVtmQaFyX7NQFLHcLbjTW9PFxeZEWqMNtgBQ@mail.gmail.com>
In-Reply-To
<20190303210118.19572-1-sir@cmpwn.com> (view parent)
Sender timestamp
1551695082
DKIM signature
missing
Download raw message
Yes seems xclip was the missing check depend. But now the test fails on
"Can't open display: (null)"

/ Henrik

On Sun, Mar 3, 2019, 22:01 Drew DeVault <sir@cmpwn.com> wrote:

> ---
>  testing/alacritty/APKBUILD | 34 ++++++++++++++++++++++++++++++++++
>  1 file changed, 34 insertions(+)
>  create mode 100644 testing/alacritty/APKBUILD
>
> diff --git a/testing/alacritty/APKBUILD b/testing/alacritty/APKBUILD
> new file mode 100644
> index 0000000000..cdf9c288d4
> --- /dev/null
> +++ b/testing/alacritty/APKBUILD
> @@ -0,0 +1,34 @@
> +# Maintainer: Drew DeVault <sir@cmpwn.com>
> +pkgname=alacritty
> +pkgver=0.2.9
> +pkgrel=0
> +pkgdesc="A cross-platform, GPU-accelerated terminal emulator"
> +url="https://github.com/jwilm/alacritty"
> +arch="x86_64" # via Rust
> +license="Apache-2.0"
> +makedepends="rust cargo cmake fontconfig-dev freetype-dev"
> +checkdepends="xclip"
> +subpackages="$pkgname-doc"
> +source="$pkgname-$pkgver.tar.gz::
> https://github.com/jwilm/$pkgname/archive/v$pkgver.tar.gz"
> +builddir="$srcdir/$pkgname-$pkgver"
> +export CARGO_HOME="$srcdir"/cargo
> +export RUSTFLAGS="-C target-feature=-crt-static"
> +
> +build() {
> +       cd "$builddir"
> +       cargo build --release --verbose
> +}
> +
> +check() {
> +       cd "$builddir"
> +       cargo test --all --release --verbose
> +}
> +
> +package() {
> +       cd "$builddir"
> +       install -Dm755 target/release/alacritty "$pkgdir"/usr/bin/alacritty
> +       install -Dm644 alacritty.man
> "$pkgdir"/usr/share/man/man1/alacritty.1
> +       install -Dm644 alacritty.yml "$pkgdir"/etc/alacritty/alacritty.yml
> +}
> +
> +sha512sums="c36dea633d5c9faa42956eff47fbd676b5f3a5ef28ae7d6711145f76e99ae92aa8ddcdde1eb5bc700855af5928e2da0b4be3f618bb05aa93c284b73727b2e337
> alacritty-0.2.9.tar.gz"
> --
> 2.21.0
>
>