Package Details: alacritty-git

Git Clone URL: (read-only, click to copy)
Package Base: alacritty-git
Description: None
Upstream URL:
Keywords: GPU rust terminal
Licenses: Apache
Conflicts: alacritty
Provides: alacritty
Submitter: quininer
Maintainer: quininer
Last Packager: quininer
Votes: 85
Popularity: 1.15
First Submitted: 2016-11-01 13:53
Last Updated: 2020-02-17 07:56

Latest Comments

1 2 3 4 5 6 ... Next › Last »

jhenson commented on 2020-01-27 22:08

This package should have a git listed as a make dep.

1ace commented on 2020-01-22 09:35

@FFY00: all your comments are correct except the last one.

The arch field is about the compatibility to use the package, not to build it. Once compiled, alacritty can only run on the arch it was built for, not on any arch (like a simple script would, for instance), so the current value is correct and changing it to any would be wrong.

Again, all your other comments are good and should be applied to this package.

FFY00 commented on 2020-01-22 01:54

Hello, could you please fix some issues with the current PKGBUILD?

DrJPepper commented on 2019-06-09 23:14

I had to add

| sed s/-//g

to the echo line in pkgver() to get it to work on the latest rc release.

seo.disparate commented on 2019-05-05 05:14

Just as edacval mentioned, 'python' is a missing build dependency, and also 'libxcb'.

edacval commented on 2019-05-04 16:34

Missing 'python' in makedepends() ? :

error: failed to run custom build command for `xcb v0.8.2`
process didn't exit successfully: `/tmp/makepkg/alacritty-git/src/alacritty/target/release/build/xcb-29582f47a57e4f44/build-script-build` (exit code: 101)
--- stderr
thread 'main' panicked at 'Unable to find build dependency python3: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/libcore/
note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.

warning: build failed, waiting for other jobs to finish...
error: build failed
==> ERROR: A failure occurred in package_alacritty-git().

1ace commented on 2019-04-30 12:03

Alacritty has been reorganized a bit, making the current pkgver() fails to read the version.

There's also a new rust-clipboard crate used now, which means the xclip dependency is now gone.

And while at it, git rev-parse --short should be given a length so that it gives the same output regardless of one's default settings :)

diff --git a/PKGBUILD b/PKGBUILD
index e6f0cc3c5e90590a4847..386e8546c024365f9e9d 100644
@@ -1,6 +1,6 @@
 pkgname=('alacritty-git' 'alacritty-terminfo-git')
 arch=('x86_64' 'i686')
@@ -11,12 +11,12 @@ sha256sums=('SKIP')

 pkgver() {
    cd $_pkgname
-   echo "$(grep '^version =' Cargo.toml|head -n1|cut -d\" -f2).$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)"
+   echo "$(grep '^version =' alacritty/Cargo.toml|head -n1|cut -d\" -f2).$(git rev-list --count HEAD).g$(git rev-parse --short=7 HEAD)"

 package_alacritty-git() {
    pkgdesc="A cross-platform, GPU-accelerated terminal emulator"
-   depends=('freetype2' 'fontconfig' 'xclip')
+   depends=('freetype2' 'fontconfig')

danekl commented on 2019-04-27 08:56

Could you please update the "tic" command to: "tic -o "$pkgdir/usr/share/terminfo" -xe alacritty,alacritty-direct"?

Notice the "-xe alacritty,alacritty-direct". This is from the main alacritty package in [community], and according to Alacritty's installation guidelines:

valentjedi commented on 2019-04-24 10:55

@apetresc "no default toolchain configured" could be fixed by following this SO thread:

Basically, it's

rustup default stable # or rustup default nightly

And then retry the build

apetresc commented on 2019-04-15 15:00

Now the build fails immediately with:

==> Starting package_alacritty-git()...
error: no default toolchain configured

(though alacritty-git itself builds just fine)