Search Criteria
Package Details: helix-git 23.05.450.gba0637149-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/helix-git.git (read-only, click to copy) |
---|---|
Package Base: | helix-git |
Description: | A text editor written in rust |
Upstream URL: | https://helix-editor.com |
Conflicts: | helix |
Provides: | hx |
Submitter: | wojciechkepka |
Maintainer: | Robin_Jadoul |
Last Packager: | Robin_Jadoul |
Votes: | 7 |
Popularity: | 0.002399 |
First Submitted: | 2021-06-01 19:08 (UTC) |
Last Updated: | 2023-11-02 13:23 (UTC) |
Dependencies (2)
- cargo (rust-nightly-binAUR, cargo-gitAUR, rustup-gitAUR, rust, rustup) (make)
- git (git-vfsAUR, git-run-command-patch-gitAUR, git-gitAUR, git-fcAUR) (make)
Latest Comments
1 2 Next › Last »
marijns commented on 2023-11-06 10:47 (UTC)
Can we have an
r
prefix in the version number to denote the number of commits difference since the listed tag fromgit describe --tags
? This is what thes/\([^-]*-g\)/r\1/
portion is for on https://wiki.archlinux.org/title/VCS_package_guidelines#Git:Thanks!
jonas-w commented on 2023-10-25 20:57 (UTC)
The
git
package is missing in themakedepends
, as per https://wiki.archlinux.org/title/PKGBUILD#makedependsOtherwise, one can't build this package in a clean chroot.
ModProg commented on 2023-09-23 19:27 (UTC)
Would you consider installing the completions: https://github.com/helix-editor/helix/tree/master/contrib/completion
e.g. fish should go into /usr/share/fish/completions/ probably
PotatoChronicler commented on 2023-04-18 17:29 (UTC)
This package conflicts with community/hex, which already contains /usr/bin/hx
seo.disparate commented on 2023-03-09 04:42 (UTC)
A single
rm -r "${pkgdir}${_rt_path}/grammars/sources"
at the end ofpackage()
removes the extra unnecessary files and has been working for me.seo.disparate commented on 2023-02-27 11:12 (UTC)
I think this package's PKGBUILD should use a
package()
more similar to the one used for the official repository's PKGBUILD for helix: https://github.com/archlinux/svntogit-community/blob/packages/helix/trunk/PKGBUILDCurrently,
helix-git
pulls in sources of the "runtime/grammars" as well as each source's.git
directories, adding unneeded additional files to the resulting package. This doesn't happen inhelix
's PKGBUILD. I tested adding afind
command to delete the unnecessary files/dirs in the end ofpackage()
, and that significantly reduces the file-size of the resulting package without breakinghelix
.Robin_Jadoul commented on 2022-12-05 14:23 (UTC)
@djemil, interesting suggestion, thanks. Not doing the
--abbrev=0
is probably even better since it gets rid of the rev-parse and probably obsoletes the rev-list too.@wsippel, building with (fat) lto seems to work just fine for me, besides the obvious slower compilation time.
wsippel commented on 2022-11-21 12:53 (UTC)
Might be a good idea to override the lto build option set in makepkg.conf for this package?
options=('!lto')
should work I believe. Helix builds with thin lto by default anyway, but fails with fat lto, which is what the global setting appears to force.djemil commented on 2022-11-21 12:40 (UTC)
replace: printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" with: printf "%s.r%s.%s" "$(git describe --tags --abbrev=0)" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" | sed 's/^v//;s/-/./g'
to fix version example: helix-22.08.1.r3767.0b2bb061b-1 vs helix-r3731.652497bd-1
Robin_Jadoul commented on 2022-08-02 01:03 (UTC)
To fix the blank screen, you need to remove the
--all-features
flag being passed to cargo build. In particular, it enables the--features integration
flag, which enables integration testing and disables rendering.1 2 Next › Last »