Search Criteria
Package Details: alacritty-git 1:0.11.0.2004.g2a676dfa-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/alacritty-git.git (read-only, click to copy) |
---|---|
Package Base: | alacritty-git |
Description: | A cross-platform, GPU-accelerated terminal emulator |
Upstream URL: | https://github.com/alacritty/alacritty |
Keywords: | GPU rust terminal |
Licenses: | Apache |
Conflicts: | alacritty |
Provides: | alacritty |
Submitter: | quininer |
Maintainer: | quininer |
Last Packager: | quininer |
Votes: | 90 |
Popularity: | 0.069943 |
First Submitted: | 2016-11-01 13:53 (UTC) |
Last Updated: | 2022-07-16 16:56 (UTC) |
Dependencies (16)
- fontconfig (fontconfig-srb, fontconfig-minimal-git, fontconfig-git, fontconfig-ubuntu)
- freetype2 (freetype2-minimal-git, freetype2-ttmetrics, freetype2-v35, freetype2-git, freetype2-ultimate5, freetype2-infinality-remix)
- libxcursor (libxcursor-git)
- libxi (libxi-git)
- libxrandr (libxrandr-git)
- cargo (cargo-git, rust-nightly-bin, rustup-git, rust, rustup) (make)
- cmake (cmake-git) (make)
- desktop-file-utils (desktop-file-utils-git) (make)
- fontconfig (fontconfig-srb, fontconfig-minimal-git, fontconfig-git, fontconfig-ubuntu) (make)
- gdb (gdb-git) (make)
- git (git-git, git-vfs, git-run-command-patch-git) (make)
- libxcb (libxcb-git) (make)
- libxkbcommon (libxkbcommon-git) (make)
- ncurses (ncurses-nohex, ncurses-git) (make)
- rust (rust-i586-git, rust-git, rust-nightly, rust-nightly-bin, rustup-git, rustup) (make)
- ttf-dejavu (ttf-dejavu-ib, ttf-dejavu-emojiless) (check)
Required by (27)
- alacritty-theme (requires alacritty)
- alacritty-xwayland (requires alacritty)
- archlinux-tweak-tool-git (requires alacritty) (optional)
- dbus-term-launcher (requires alacritty) (optional)
- dots-git (requires alacritty)
- dots-stable (requires alacritty)
- dracula-alacritty-git (requires alacritty) (optional)
- glrnvim (requires alacritty) (optional)
- nwg-drawer (requires alacritty) (optional)
- nwg-menu (requires alacritty) (optional)
- pycritty (requires alacritty)
- starwm-git (requires alacritty)
- sway-asan-git (requires alacritty) (optional)
- sway-force-ssd-git (requires alacritty) (optional)
- sway-git (requires alacritty) (optional)
- sway-git-wlroots-git (requires alacritty) (optional)
- sway-hidpi-git (requires alacritty) (optional)
- sway-inhibit-fullscreen-git (requires alacritty) (optional)
- sway-mask-modifiers-git (requires alacritty) (optional)
- sway-no-titlebars-git (requires alacritty) (optional)
Latest Comments
b0o commented on 2022-07-11 05:59 (UTC)
If you get the following error:
You can modify PKGBUILD like so:
This was changed in https://github.com/alacritty/alacritty/commit/e09ff0b4b0654fd6dbcf8c0bdc73fdb9ae7d8016
trouter commented on 2022-01-30 19:40 (UTC)
Hi quininer,
As abhinav mentions below this works just fine on ARM64, so the "aarch64" architecture can be added to the PKGBUILD file.
For me however the tests are failing when installing this AUR package, so I have to use --nocheck. If you remove the "--release" argument from the "cargo test" command then it appears to work just fine.
It would be amazing if these small changes could be incorporated so that it works out of box on ARM64 machines!
Regards, Aaron
polyzen commented on 2021-10-04 17:40 (UTC)
You can just use the
--nocheck
option for makepkg.itachi commented on 2021-10-04 13:26 (UTC)
can you please remove test for alacritty-git? as it is really annoying and resource hungry.
abhinav commented on 2021-09-17 04:07 (UTC)
Hey, I've got two patches in https://gist.github.com/abhinav/8d256a97017eeed7e3b67fe1a61dd3be.
One adds libxkbcommon to makedepends. This is necessary to build the package.
The second adds the .png icon to /usr/share/pixmaps so that ChromeOS (with Crostini) renders the correct icon.
abhinav commented on 2021-09-03 04:42 (UTC)
FYI, this worked for me on an ARM64 Linux machine after installing libxkbcommon, so the list of architectures can probably include aarch64 as well.
polyzen commented on 2021-08-01 18:08 (UTC)
Need to add a makedep on libxkbcommon: https://github.com/alacritty/alacritty/commit/01a7ad946e75ef9ff7847ad73f2fe40e3e5d8a5f#diff-09b140a43ebfdd8dbec31ce72cafffd15164d2860fd390692a030bcb932b54a0
zagg commented on 2021-04-04 14:35 (UTC) (edited on 2021-04-04 14:35 (UTC) by zagg)
Hi all.
Just tried to build it today and failed with the following. Any ideas on the root cause?
SoN commented on 2020-11-22 22:24 (UTC)
Hello, I noticed some mixed up spaces and tabs in the indentation, so here I provide this humble patch:
https://gist.github.com/shade-of-noon/c73edcf330617d5bb1b65df5afc295f4
Thanks for maintaining this package and have a nice day.
codyps commented on 2020-11-07 21:13 (UTC)
Thanks for getting back to me on this @quininer. It's not entirely clear from your reply what your concern is here, and I hope you could clarify that for me.
The patch I've proposed doesn't require manual action from folks using
makepkg
, it just means that a cargo home that is separate from the one they use for doing normal cargo builds will be used for building packages. Is there some type of non-packaged & non-tracked configuration in the cargo home that we expect to have applied to the package? Alternately, are we concerned about having dependencies for this package downloaded/built separately from a particular users cargo home?Generally, it's advisable to build arch packages in ways that don't depend on other items in the user's environment (which is why so often folks talk about using clean chroots for building packages). This type of thing (not depending on other random state) leads me towards the idea that re-using an existing cargo home isn't a great choice here.
I don't think it's a good idea to require package-specific environment modification to enable a package to build when one is using completely normal options (like
debug
). It's also the case that the currentPKGBUILD
behavior here (installing files into home dir when debug is enabled) does not appear to be supported by the Arch package guidelines.If you're still concerned about having a separate cargo home: consider that you may be able to either: 1. find appropriate
-ffile-prefix-map
options, or 2. work withmakepkg
itself to improve support for this particular use case.If you decide you wish to persue either of those, I encourage fixing the package in the mean time by applying the patch I've already proposed.
Finally, if there's a desire not to support
debug
for some reason, thePKGBUILD
should explicitly disable it in it'sOPTIONS
(OPTIONS += (!debug)
) (I don't like that solution, but it's better than generating packages that depend on the building user's home dir and install files into that same building user's home dir).quininer commented on 2020-11-07 07:19 (UTC)
@codyps If you need debug package, you can add the environment variable before
makepkg
, instead of requiring everyone to copy a$HOME/.cargo
.codyps commented on 2020-11-05 22:45 (UTC)
This package still doesn't work properly with
OPTIONS+=(debug)
. Please apply the patch I provided in my previous comment.https://gist.github.com/jmesmon/6ce967c6a9769b39bab842110f84a665 https://aur.archlinux.org/packages/alacritty-git/#comment-760573
codyps commented on 2020-08-12 16:14 (UTC) (edited on 2020-08-12 16:15 (UTC) by codyps)
tldr: https://gist.github.com/jmesmon/6ce967c6a9769b39bab842110f84a665
Currently, when
OPTIONS+=(debug)
is set in makepkg.conf, this package tends to install source code files into the home directory of the user that built the package.This appears to be due to the debug info referencing files in the
$HOME/.cargo
directory (which are picked out of the debug info to fill the-debug
package).Normally, the debug info would be edited so that all files end up under the
/usr/src/debug/<pkgname>
directory, but if the source files exist outside of the srcdir (like files in `$HOME/.cargo) this doesn't work.To resolve this, the environment variable
CARGO_HOME
should be set to place the directory formerly at$HOME/.cargo
into the srcdir.Here's a patch which makes this change and results in proper
/usr/src/debug
content: https://gist.github.com/jmesmon/6ce967c6a9769b39bab842110f84a665sinshutu commented on 2020-03-15 01:19 (UTC)
Thank you for the maintenance. However, the build failed at this commit:
c79216caadd5b287f27048fc97454022f791ad73
I don't know the cause, but I solved it by the following method
There is no confirmation, but there may be a compatibility problem with desktop-file-utils
FichteFoll commented on 2020-02-20 00:42 (UTC) (edited on 2020-02-20 00:42 (UTC) by FichteFoll)
It appears the terminfo files are now included in ncurses, which is probably why the split package has been removed.
However,
git
still needs to be added as a makedep.FFY00 commented on 2020-02-18 23:26 (UTC) (edited on 2020-02-18 23:27 (UTC) by FFY00)
1ace, sorry for the late reply, AUR is awful at handling notifications.
My comment last comment was referring to alacritty-terminfo (somehow I forgot to mention it, :facepalm:), which you now have seemed to have removed. Please reinstate it and make it
any
.jhenson commented on 2020-01-27 22:08 (UTC) (edited on 2020-01-27 22:08 (UTC) by jhenson)
This package should have a
git
listed as a make dep.1ace commented on 2020-01-22 09:35 (UTC)
@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 toany
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 (UTC) (edited on 2020-01-22 01:55 (UTC) by FFY00)
Hello, could you please fix some issues with the current PKGBUILD?
Build in the separate
build()
step (see https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/alacritty)Update the dependencies (again, see alacritty's PKGBUILD)
The license field should be
Apache
(notApache-2.0
)The arch should be
any
(notx86_64
)DrJPepper commented on 2019-06-09 23:14 (UTC)
I had to add
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 (UTC)
Just as edacval mentioned, 'python' is a missing build dependency, and also 'libxcb'.
edacval commented on 2019-05-04 16:34 (UTC)
Missing 'python' in makedepends() ? :
1ace commented on 2019-04-30 12:03 (UTC) (edited on 2019-04-30 12:05 (UTC) by 1ace)
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 thexclip
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 :)danekl commented on 2019-04-27 08:56 (UTC)
Could you please update the "tic" command to: "tic -o "$pkgdir/usr/share/terminfo" -xe alacritty,alacritty-direct alacritty.info"?
Notice the "-xe alacritty,alacritty-direct". This is from the main alacritty package in [community], and according to Alacritty's installation guidelines: https://github.com/jwilm/alacritty/blob/master/INSTALL.md#terminfo
valentjedi commented on 2019-04-24 10:55 (UTC) (edited on 2019-04-24 10:55 (UTC) by valentjedi)
@apetresc "no default toolchain configured" could be fixed by following this SO thread: https://stackoverflow.com/q/44303915/3606603
Basically, it's
And then retry the build
apetresc commented on 2019-04-15 15:00 (UTC)
Now the build fails immediately with:
(though
alacritty-git
itself builds just fine)Chocobo commented on 2019-01-02 13:44 (UTC) (edited on 2019-01-02 13:48 (UTC) by Chocobo)
Hmm the build is failing with the following message:
This doesn't seem Arch related, but does anyone know of a workaround?
MathieuPetit commented on 2018-11-23 23:05 (UTC)
Answering to myself : it was a temporary dependency problem from upstream. See https://github.com/jwilm/alacritty/pull/1838
MathieuPetit commented on 2018-11-23 22:55 (UTC)
Hello, build fails with this message :
Not sure what to try next.
dreivier commented on 2018-11-13 16:15 (UTC)
Not sure what happened but for me it fails with this message:
aignas commented on 2018-11-12 18:41 (UTC)
Another fix is to add at the end of the
echo
line| tr - _
.nixpulvis commented on 2018-11-12 17:50 (UTC)
To fix this I've replaced the last segment of the pkgver with
git rev-parse --short HEAD
and it seems to work.eggze commented on 2018-11-12 16:50 (UTC)
git describe
started returningv0.2.2-2-g4a8d18c
because there is now tagv0.2.2
; it leads to broken build with the following error:bepvte commented on 2018-09-28 16:39 (UTC)
Spent a long time fighting with this package to get it to build Disabling the "debug" switch in the pkgbuild prevents the DWARF debugging related errors. Remove all lto relating cflags and ldflags from your makepkg.conf
quininer commented on 2018-09-18 12:18 (UTC)
@samhh Please update your rust version.
samhh commented on 2018-09-18 11:52 (UTC) (edited on 2018-09-18 11:52 (UTC) by samhh)
Compilation fails for me:
Compiling font v0.1.0 (file:///home/user/.cache/aurman/alacritty-git/src/alacritty/font) error[E0658]: use of unstable library feature 'pointer_methods' (see issue #43941) --> font/src/ft/fc/font_set.rs:102:60 | 102 | let ptr = (self.font_set.as_ptr()).fonts.add(self.current); | ^^^
error: aborting due to previous error
error: Could not compile
font
. warning: build failed, waiting for other jobs to finish... error: build failed ==> ERROR: A failure occurred in package_alacritty-git(). Aborting... 2018-09-18 12:51:26,247 - wrappers - makepkg - ERROR - makepkg query ['makepkg', '-cf', '--noconfirm'] failed in directory /home/user/.cache/aurman/alacritty-gitmaximbaz commented on 2018-08-31 23:16 (UTC)
FFY00 but this is a -git package, are you planning to rebuild it after every commit?
FFY00 commented on 2018-08-31 22:07 (UTC) (edited on 2018-08-31 22:07 (UTC) by FFY00)
Hey, I want to move this to
[community]
. Is that ok with you?SuperIce97 commented on 2018-05-29 11:48 (UTC)
desktop-file-install is part of the desktop-file-utils package. Please add that to the makedepends.
j605 commented on 2018-05-29 09:18 (UTC) (edited on 2018-05-29 09:56 (UTC) by j605)
update-desktop-database
hook already exists so no need to have a install file. Please remove it.edit: realised you are not using the install file after reading the PKGBUILD, sorry for the noise :)
bemeurer commented on 2018-03-08 03:51 (UTC)
@kveldulf Alacritty support for Wayland is experimental, I'm assuming you're using Gnome on Wayland, and so you'll see weird behavior like that. IIRC running alacritty on XWayland helps mitigate the weirdness.
guardian commented on 2018-02-19 16:57 (UTC)
When trying to launch alacritty I was welcomed with "No backend available".
I fixed it by installing libxcursor so likely you want to add it as a dependency
kveldulf commented on 2018-02-05 13:49 (UTC)
Maybe I'm misunderstanding something, but I installed this and whenever I click the Alacritty icon in my favorites bar in GNOME it opens a new icon that says "Unknown" and the UI is pretty weird, and it doesn't have basic features like holding a key down won't repeatedly input the value. Am I missing something?
bemeurer commented on 2017-12-04 03:10 (UTC)
Compiling the package with nightly causes it to not work. Would it be possible to force compilation to be done with the stable toolchain?
suzumiya commented on 2017-11-26 15:52 (UTC)
quininer commented on 2017-11-15 05:52 (UTC)
suzumiya commented on 2017-11-15 02:29 (UTC)
hiciu commented on 2017-08-23 11:49 (UTC)
polyzen commented on 2017-08-22 19:51 (UTC) (edited on 2017-08-22 19:51 (UTC) by polyzen)
hiciu commented on 2017-08-22 13:43 (UTC)
quininer commented on 2017-08-16 08:42 (UTC)
maandree commented on 2017-08-16 07:54 (UTC)
quininer commented on 2017-08-14 17:55 (UTC)
quininer commented on 2017-08-14 17:38 (UTC) (edited on 2017-08-14 17:39 (UTC) by quininer)
timofonic commented on 2017-08-14 17:34 (UTC)
eggze commented on 2017-08-14 13:56 (UTC) (edited on 2017-08-14 13:58 (UTC) by eggze)
quininer commented on 2017-08-02 16:39 (UTC)
mmlb commented on 2017-08-02 15:27 (UTC)
polyzen commented on 2017-07-30 03:49 (UTC) (edited on 2017-07-30 08:24 (UTC) by polyzen)
commented on 2017-07-29 00:34 (UTC)
commented on 2017-07-29 00:28 (UTC)
maximbaz commented on 2017-07-25 21:17 (UTC)
quininer commented on 2017-07-25 09:08 (UTC)
maximbaz commented on 2017-07-25 08:57 (UTC)
Jonhoo commented on 2017-06-03 05:13 (UTC)
maximbaz commented on 2017-06-03 04:59 (UTC)
Jonhoo commented on 2017-06-02 02:22 (UTC)
terlar commented on 2017-05-03 11:33 (UTC)
crashandburn4 commented on 2017-04-12 16:53 (UTC) (edited on 2017-04-12 16:56 (UTC) by crashandburn4)
suzumiya commented on 2017-04-07 12:03 (UTC)
suzumiya commented on 2017-03-29 18:22 (UTC)
thelongdivider commented on 2017-03-20 14:10 (UTC)
polyzen commented on 2017-02-15 07:30 (UTC)
polyzen commented on 2017-02-04 19:38 (UTC) (edited on 2017-02-15 07:36 (UTC) by polyzen)
polyzen commented on 2017-02-04 19:07 (UTC)
Tyranic-Moron commented on 2017-02-04 18:12 (UTC)
voyd commented on 2017-02-04 11:28 (UTC)
emersion commented on 2017-02-04 08:12 (UTC)
commented on 2017-01-29 10:24 (UTC)
Yamakaky commented on 2017-01-28 23:13 (UTC)
oconnor663 commented on 2017-01-25 22:04 (UTC)
mmlb commented on 2017-01-24 19:00 (UTC)
codybonney commented on 2017-01-21 08:08 (UTC) (edited on 2017-01-21 08:08 (UTC) by codybonney)
thelongdivider commented on 2017-01-19 16:44 (UTC)
quininer commented on 2017-01-18 17:14 (UTC)
quenyen commented on 2017-01-18 16:56 (UTC)
quenyen commented on 2017-01-18 16:46 (UTC)
mmlb commented on 2017-01-10 17:12 (UTC)
m3thodic commented on 2017-01-08 02:43 (UTC)
antouank commented on 2017-01-07 11:08 (UTC)
quininer commented on 2017-01-07 10:28 (UTC)
antouank commented on 2017-01-07 10:26 (UTC)
quininer commented on 2017-01-07 09:12 (UTC)
antouank commented on 2017-01-07 08:59 (UTC)
wbthomason commented on 2017-01-07 02:38 (UTC)
aabmass commented on 2017-01-07 02:35 (UTC) (edited on 2017-01-07 02:36 (UTC) by aabmass)
jonathanio commented on 2017-01-05 21:04 (UTC)