- This topic has 6 replies, 3 voices, and was last updated Sep 19-4:37 am by oops.
-
AuthorPosts
-
August 26, 2020 at 5:16 pm #40800
Anonymous
Would it be possible for a Dev to build an alacritty package for the antiX repo,
alacritty run on rust I have rust installed and working as I use i3status-rust works fine, as do polybar and conkybar
The source installs with cargo the instructions on the git just don’t work with Debian.
alacritty gitThanks
August 26, 2020 at 6:09 pm #40802Anonymous
I have not used alacritty terminal emulator. What outstanding/unique features does it offer?
the instructions on the git just don’t work with Debian.
Maybe the instructions here are better:
http://www.tecmint.com/alacritty-fastest-terminal-emulator-for-linux/Looking around, I could not find an appImage packaged version of alacritty.
I did find a *.deb on launchpad.net, packaged for Pop!_OS by “System76” team
http://launchpad.net/~system76/+archive/ubuntu/proposed/+packages
On that page, clicking ” alacritty – 0.5.0~1596299148~20.04~ac39dfd ”
expands the page to display links to a .tar.xz file (source pkg to DIY build the deb package) and a .deb fileAugust 26, 2020 at 6:20 pm #40803Anonymous
The build-depends list of required packages is stated within the debian/control file.
You can extract the content of the tar.xz into directory ~/workingdir/
and install the listed build-depends packages (plus the generic “build-essential” package)cd ~/workingdir
dpkg-buildpackage -b -us -uc
cd ..If the operation is successful, the newly-created .deb will be present as ~/pkgname_and_version.deb
and you can
sudo dpkg -i pkgname_and_version.debAugust 26, 2020 at 11:45 pm #40810Anonymous
@ skidoo
Thanks very much for your time in helping with alacritty..
All build depends from control file have been installed..
Source: alacritty Section: rust Priority: optional Maintainer: Michael Aaron Murphy <michael@system76.com> Build-Depends: cargo (>=0.29), cmake, debhelper (>=9), help2man, libfreetype6-dev, libfontconfig1-dev, libxcb1-dev, libxcb-render0-dev, libxcb-shape0-dev, libxcb-xfixes0-dev, rustc (>=1.32), python3 Standards-Version: 4.1.4 Homepage: http://github.com/jwilm/alacritty Package: alacritty Architecture: any Depends: ${misc:Depends}, ${shlib:Depends} Recommends: xclip Description: GPU-accelerated terminal emulator GPU-accelerated terminal emulator, written in RustExtracted Dir file list
antix19 * 18 files = 14M ~/Downloads/alacritty-build-folder/ac39dfd03747be096c32073b39786c37972d2cdc_focal >$ls alacritty alacritty_terminal alacritty.yml Cargo.lock Cargo.toml CHANGELOG.md ci CONTRIBUTING.md debian docs extra INSTALL.md LICENSE-APACHE Makefile README.md rustfmt.toml scripts vendor.tar.xzI have a 2 building errors = toolchain
antix19 * 46 files = 67M ~ >$Downloads/alacritty-build-folder/ cd -- Downloads/alacritty-build-folder/ antix19 * 1 files = 15M ~/Downloads/alacritty-build-folder >$tar -xf alacritty_0.5.0~1596299148~20.04~ac39dfd.tar.xz antix19 * 2 files = 15M ~/Downloads/alacritty-build-folder >$ac39dfd03747be096c32073b39786c37972d2cdc_focal/ cd -- ac39dfd03747be096c32073b39786c37972d2cdc_focal/ antix19 * 18 files = 14M ~/Downloads/alacritty-build-folder/ac39dfd03747be096c32073b39786c37972d2cdc_focal >$sudo dpkg-buildpackage -b -us -uc dpkg-buildpackage: info: source package alacritty dpkg-buildpackage: info: source version 0.5.0~1596299148~20.04~ac39dfd dpkg-buildpackage: info: source distribution focal dpkg-buildpackage: info: source changed by Pop OS (ISO Signing Key) <info@system76.com> dpkg-buildpackage: info: host architecture amd64 dpkg-source --before-build . debian/rules clean dh clean debian/rules override_dh_auto_clean make[1]: Entering directory '/home/koo/Downloads/alacritty-build-folder/ac39dfd03747be096c32073b39786c37972d2cdc_focal' cargo clean error: no override and no default toolchain set make[1]: *** [debian/rules:25: override_dh_auto_clean] Error 1 make[1]: Leaving directory '/home/koo/Downloads/alacritty-build-folder/ac39dfd03747be096c32073b39786c37972d2cdc_focal' make: *** [debian/rules:22: clean] Error 2 dpkg-buildpackage: error: debian/rules clean subprocess returned exit status 2 antix19 * 18 files = 14M ~/Downloads/alacritty-build-folder/ac39dfd03747be096c32073b39786c37972d2cdc_focal >$August 27, 2020 at 12:49 am #40812Anonymous
error: no override and no default toolchain set
top results from a websearch of that error message:
http://stackoverflow.com/questions/44303915/no-default-toolchain-configured-after-installing-rustup
http://users.rust-lang.org/t/cargo-returns-error-no-default-toolchain-configured/38793
http://profectium.blogspot.com/2017/10/rust-how-to-fix-no-default-toolchain.html
August 28, 2020 at 9:47 am #40853Anonymous
@ skidoo
I have tried everything I can fine, to fix the toolchain error to no avail..
So I ended up installing alacritty with cargo then manually add alacritty.man , bash completions , alacritty.desktop & svg , alacritty.info. (cargo install alacritty) v5.0
I also found that cargo made the /usr/bin/ alacritty shared library file, which it stored in ~/cargo/bin/ folder so all is good as far having an installed & working version is concerned.
Was nice to fine this command (sudo update-alternatives –config x-terminal-emulator) to set one’s default terminal..I think their was something wrong with dependency versions or maybe rust & cargo versions. It was disappointing not to build my first .deb !!
Thanks again for all your help, you have made me more determined and less lazy..
September 19, 2020 at 4:37 am #41911
oopsMemberHello,
… Right, Alacritty is very fast (seen as the fastest of the terminal actually) , like kitty an other OpenGL 3 terminal too. -
AuthorPosts
- You must be logged in to reply to this topic.