[request] Alacritty

Forum Forums General Software [request] Alacritty

  • This topic has 6 replies, 3 voices, and was last updated Sep 19-4:37 am by oops.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #40800
    Member
    ex_Koo

      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 git

      Thanks

      #40802
      Anonymous
        Helpful
        Up
        0
        ::

        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:
        https://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
        https://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 file

        #40803
        Anonymous
          Helpful
          Up
          0
          ::

          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.deb

          #40810
          Member
          ex_Koo
            Helpful
            Up
            0
            ::

            @ 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: https://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 Rust

            Extracted 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.xz

            I 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 >$
            #40812
            Anonymous
              #40853
              Member
              ex_Koo
                Helpful
                Up
                0
                ::

                @ 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..

                • This reply was modified 2 years, 8 months ago by ex_Koo.
                #41911
                Member
                oops
                  Helpful
                  Up
                  0
                  ::

                  Hello,
                  … Right, Alacritty is very fast (seen as the fastest of the terminal actually) , like kitty an other OpenGL 3 terminal too.

                Viewing 7 posts - 1 through 7 (of 7 total)
                • You must be logged in to reply to this topic.