app-misc/yazi
Blazing fast terminal file manager written in Rust, based on async I/O
-
yazi-9999+cli debug
View
Download
Browse License: MIT Apache-2.0 BSD Boost-1.0 BlueOak-1.0.0 CC0-1.0 CDLA-Permissive-2.0 ISC MIT MPL-2.0 Unicode-3.0 ZLIB Overlay: guru -
yazi-26.9.1~amd64 ~arm64+cli debug
View
Download
Browse License: MIT Apache-2.0 BSD Boost-1.0 BlueOak-1.0.0 CC0-1.0 CDLA-Permissive-2.0 ISC MIT MPL-2.0 Unicode-3.0 ZLIB Overlay: guru
ChangeLog
commit 8487a0a6fddfbdc32664bfafb36d48b76025133d
Author: ingenarel (NeoJesus) <ingenarel_neojesus@disroot.org>
Date: Fri Oct 16 11:08:13 2026 +0600
app-misc/yazi: make the ebuilds fall into a template
easy bumping and maintaining for people in future who need to work with
this package
Signed-off-by: ingenarel (NeoJesus) <ingenarel_neojesus@disroot.org>
Part-of: https://codeberg.org/gentoo/guru/pulls/113
Merges: https://codeberg.org/gentoo/guru/pulls/113
commit ead2af02e85f9f8b48c0652873be71edc5eea1ee
Author: ingenarel (NeoJesus) <ingenarel_neojesus@disroot.org>
Date: Fri Oct 9 23:58:00 2026 +0600
app-misc/yazi: drop 25.2.11-r1, 25.3.2, 25.4.8, 25.5.31, 26.1.22
Signed-off-by: ingenarel (NeoJesus) <ingenarel_neojesus@disroot.org>
Part-of: https://codeberg.org/gentoo/guru/pulls/113
commit 5d16ddbaec0e798f4051ab22977f76492e4cd1ab
Author: ingenarel (NeoJesus) <ingenarel_neojesus@disroot.org>
Date: Fri Oct 16 10:47:33 2026 +0600
app-misc/yazi: update 9999 ebuild based on 26.9.1
- updates crate liceneses
- updates license years
- add RUST_MIN_VER
- Fix DESCRIPTION to stop the pkgcheck warning:
```
app-misc/yazi
BadDescription: version 9999: DESCRIPTION="Blazing fast terminal
file manager written in Rust, based on async I/O." ends with a
full stop
```
- properly update deps (see previous commit msg to know more)
- add yazi-config/preset/ dir and CHANGELONG.md to DOCS
- pkg_postinst phase, and icon install in src_install phase (see
previous commit msg to know more)
- cargo_src_test uses --workspace flag (see previous commit msg to know
more)
- updated src_compile phase based on 26.9.1 (see previous commit msg to know
more)
-sys crate unvendoring:
these -sys crates are here:
```
work/cargo_home/gentoo
❯ find -maxdepth 1 -name '*-sys*' | sort --unique
./core-foundation-sys
./dirs-sys
./fsevent-sys
./inotify-sys
./jni-sys
./jni-sys-macros
./js-sys
./kqueue-sys
./linux-raw-sys
./mlua-sys
./security-framework-sys
./tikv-jemalloc-sys
./web-sys
./windows-sys
./windows-sys-0.52.0
./windows-sys-0.60.2
```
the fixes were done by:
https://codeberg.org/ingenarel-NeoJesus/apply-crates-fixes/src/commit/120ec969d6094f7bc9581aef13d0bbb234c61ba6/bin/apply-crates-fixes
Signed-off-by: ingenarel (NeoJesus) <ingenarel_neojesus@disroot.org>
Part-of: https://codeberg.org/gentoo/guru/pulls/113
commit b36a6b5de49ab7b7574549cba852a872482ac36a
Author: ingenarel (NeoJesus) <ingenarel_neojesus@disroot.org>
Date: Sat Oct 10 04:48:34 2026 +0600
app-misc/yazi: update 26.9.1
*This commit was originally done by me just doing the bump itself*
But since https://codeberg.org/gentoo/guru/pulls/45 had work that I
wanted to merge in, I rebased my commits on top of that PR
*The description of this commit and what it's doing will be explained
properly just like normal, but this disclaimer is here to explain any
confusion people might get on why I did some stuff in a certain way*
I will be referring to the commit before this where Michal Andrzejczak
added 26.9.1 as the OG commit
Here's what the OG commit does that I kept (either because I already had
that when I first added this version, or because it was an extra
improvement that I didn't think of) that currently matters in this
context, explaining because the OG commit doesn't have *any*
description:
- Fix DESCRIPTION to stop the pkgcheck warning:
```
app-misc/yazi
BadDescription: version 26.9.1: DESCRIPTION="Blazing fast terminal
file manager written in Rust, based on async I/O." ends with a
full stop
```
- RUST_MIN_VERSION should be *before* inheriting cargo, not after,
that's fixed, on top of that, the minimum rust version has been
updated to match upstream
- dist tarball switched to official gentoo-crate-dist
- use the data from https://yazi-rs.github.io/docs/installation to
notify the user about optional packages that they can install.
pkg_postinst() and the optfeature.eclass is used for this
- dev-libs/oniguruma uses subslot binding
- add CHANGELOG.md and README.md to DOCS
- YAZI_GEN_COMPLETIONS has been switched from the src_prepare phase to
src_compile phase
- if cli USE flag is set, dev-vcs/git is set in RDEPEND. This is needed
because `ya pkg` commands expects git to be installed and gets the
packages via git
- env var YAZI_NO_GITCL is set, in the src_compile phase, so cargo
doesn't complain when it builds yazi when it's not inside a git repo.
Because other than the live ebuild, the other ebuilds for yazi in the
current tree just gets the archive tarball for that specific version
of yazi. `Hence that not inside a git repo` warning.
https://github.com/sxyazi/yazi/blob/ffb2e78cc70341946c04befa52e14a4494015ce8/yazi-version/build.rs#L13
- instead of calling cargo_src_configure potentially twice in the
src_install phase, one for yazi, and one for the cli if it's set
(which is set by default), it now properly sets the --package args in
an array first, then calls cargo_src_compile only once with those
args.
- src_test now calls cargo_src_test with the workspace arg
- sets the yazi.png icon. Because we're redistributing an image, I have
double checked the license and it *should be* under MIT license. I
have checked the logs, it was added in
https://github.com/sxyazi/yazi/commit/d41cd5684e03eaa80e9201a114ad51f966bb56b7
PR was done in https://github.com/sxyazi/yazi/pull/534 by fufexan
A seperate license for the logo also wasn't specified. So therefore
MIT it is.
Here are the differences between the OG commit and this commit:
- Fix license years: OG commit only had 2026 meanwhile the previous
versions started from 2024
- remove sys-apps/file from the RDEPEND as it's in the @system set
- ratatui-core fix: OG commit used a complicated mess of src_unpack
phase first patching the $/config.toml, then another
`cargo env update` in the src_prepare phase.
My fix is much more simpler. Like how the cargo eclass sets crate
override paths in $/config.toml, I simply set the path to
ratatui-core directly in $/Cargo.toml, in the src_prepare phase.
ratatui-core's commit is stored in RATATUI_COMMIT var, and then it's
used both in the $ and in the sed command in src_prepare
- add the yazi-config/preset directory to the docs, because it contains
example presets for yazi's config files, also remove LICENSE and
LICENSE-ICONS from DOCS as they're not related to documentation
- keep the original strip fix that the ebuilds in the tree used for
consistency
- OG PR set test use flag and then RESTRICT="!test? ( test )". Really
unnecessary to lock test behind a use flag if test doesn't need any
deps, (which is often the case behind this type of locking)
- remove the unneeded src_configure: no other eclass that got inherited
after cargo exports a src_configure, the OG commit's src_configure was
just `cargo_src_configure --frozen`, it is indeed true that in the
eclass it's said:
> # Some live/9999 ebuild may need the '--frozen' option, if git crates
> # are used.
> # Otherwise src_install phase may query network again and fail.
But the thing is, in the current src_install phase, we're doing dobin
directly anyway, and not calling cargo_src_install, so specifically
doing this phase isn't needed
- add QA_FLAGS_IGNORED just like the other ebuilds in the tree
- in src_install, change instances of yazi to $
- YAZI_GEN_COMPLETIONS env var in the src_compile phase has been
switched from 1 to true. Upstream sets it to `true` specifically in
https://github.com/sxyazi/yazi/blob/ffb2e78cc70341946c04befa52e14a4494015ce8/.github/workflows/draft.yml#L78
and in
https://github.com/sxyazi/yazi/blob/ffb2e78cc70341946c04befa52e14a4494015ce8/nix/yazi-unwrapped.nix#L37
sys crates unvendoring:
These -sys crates are there in
/var/tmp/portage/app-misc/yazi-26.9.1/work/cargo_home/gentoo
```
❯ find . -maxdepth 1 -name '*-sys*' | sort --unique
./core-foundation-sys-0.8.7
./dirs-sys-0.5.0
./fsevent-sys-4.1.0
./inotify-sys-0.1.8
./jni-sys-0.4.1
./jni-sys-macros-0.4.1
./js-sys-0.3.104
./kqueue-sys-1.1.2
./linux-raw-sys-0.12.1
./mlua-sys-0.12.0
./security-framework-sys-2.17.0
./tikv-jemalloc-sys-0.7.1+5.3.1-0-g81034ce1f1373e37dc865038e1bc8eeecf559ce8
./web-sys-0.3.104
./windows-sys-0.52.0
./windows-sys-0.60.2
./windows-sys-0.61.2
```
Vendor dep fixes were done by
https://codeberg.org/ingenarel-NeoJesus/apply-crates-fixes/src/commit/0e87dd261edcf269c518c8bc607b70957cb53187/bin/apply-crates-fixes
for crates that needed it
Bug: https://bugs.gentoo.org/982063
Closes: https://codeberg.org/gentoo/guru/pulls/45
Signed-off-by: ingenarel (NeoJesus) <ingenarel_neojesus@disroot.org>
Part-of: https://codeberg.org/gentoo/guru/pulls/113
commit 5fb31b49934dbf412cf589bf4142c5ba18a840d1
Author: Michal Andrzejczak <mit.mis@gmail.com>
Date: Wed Sep 2 11:53:58 2026 +0200
app-misc/yazi: add 26.9.1
Signed-off-by: Michal Andrzejczak <mit.mis@gmail.com>
Part-of: https://codeberg.org/gentoo/guru/pulls/113
Signed-off-by: ingenarel (NeoJesus) <ingenarel_neojesus@disroot.org>
commit d82c14f75f4133eff25a1d1f23f761c76762c327
Author: Ceres <ceres@ceressees.dev>
Date: Wed Feb 25 17:54:26 2026 +0000
app-misc/yazi: add 26.1.22
Signed-off-by: Ceres <ceres@ceressees.dev>
commit 5b4313003d90d62ef83e9b815f620c3dbc3caf91
Author: ingenarel <ingenarelitems@gmail.com>
Date: Sun Jul 13 08:20:05 2025 +0600
app-misc/yazi: add 25.5.31
Signed-off-by: ingenarel <ingenarelitems@gmail.com>
commit 48da25ddee6108d840808e215b7b804468f5b50b
Author: Matt Jolly <kangie@gentoo.org>
Date: Wed May 21 16:45:02 2025 +1000
*/*: whitespace fixes
This fixes the current whitespace issues reported by
`pkgcruft scan -r WhitespaceUnneeded`.
Signed-off-by: Matt Jolly <kangie@gentoo.org>
commit 372832cab6417572c11972a2da7b098fd2ef5025
Author: ingenarel <ingenarelitems@gmail.com>
Date: Tue May 20 11:53:27 2025 +0600
app-misc/yazi: add 25.4.8
Signed-off-by: ingenarel <ingenarelitems@gmail.com>
commit 611129d1c5425587cc201724bb37f035a3b1355c
Author: ingenarel <ingenarelitems@gmail.com>
Date: Sat Mar 8 17:40:30 2025 +0600
app-misc/yazi: add 9999
Signed-off-by: ingenarel <ingenarelitems@gmail.com>
commit 609725bf9ed6df6b7dfddaba4203ccd51f55cd96
Author: ingenarel <ingenarelitems@gmail.com>
Date: Sat Mar 8 17:03:30 2025 +0600
app-misc/yazi: add 25.3.2
Signed-off-by: ingenarel <ingenarelitems@gmail.com>
commit ac0e30777c8b84bb1a226280a36f1dbc6788e211
Author: demize <demize@unstable.systems>
Date: Sat Feb 15 11:52:14 2025 -0500
app-misc/yazi: use system libonig with rust-onig
This fixes an issue compiling with GCC 15.
Closes: https://bugs.gentoo.org/945008
Signed-off-by: demize <demize@unstable.systems>
commit b2fef5d8cf57436935ced271b85b9ba3e2470353
Author: demize <demize@unstable.systems>
Date: Sat Feb 15 10:07:07 2025 -0500
app-misc/yazi: drop 0.4.2
Signed-off-by: demize <demize@unstable.systems>
commit 58dcf2dc32062e5729f0d4938d6a861b5a787958
Author: demize <demize@unstable.systems>
Date: Wed Feb 12 14:29:03 2025 -0500
app-misc/yazi: add 25.2.11
Signed-off-by: demize <demize@unstable.systems>
commit aa90f25e8921385345e89005a628932261186925
Author: f00wl <f00wl@felinn.org>
Date: Thu Jan 2 20:04:51 2025 +0100
app-misc/yazi: drop 0.2.5-r1, 0.3.3-r1
Signed-off-by: f00wl <f00wl@felinn.org>
commit 7e77de093c46a1e11d01b422b72007aeb6ceefde
Author: Lorenzo Porta <Vindex17@users.noreply.github.com>
Date: Wed Jan 1 11:50:32 2025 +0100
app-misc/yazi: add 0.4.2
Signed-off-by: Lorenzo Porta <Vindex17@users.noreply.github.com>
Closes: https://github.com/gentoo/guru/pull/271
Signed-off-by: David Roman <davidroman96@gmail.com>
commit 0a856ccb2450498cbd665e1c7db02b2f9aad0442
Author: amano.kenji <amano.kenji@proton.me>
Date: Tue Oct 8 09:12:39 2024 +0900
app-misc/yazi: Add default config files to DOCS
Signed-off-by: amano.kenji <amano.kenji@proton.me>
commit 891067d9beab467a2625bd4c2dd586048548fb31
Author: f00wl <f00wl@felinn.org>
Date: Sun Sep 15 13:00:19 2024 +0200
app-misc/yazi: inherit from xdg eclass to handle .desktop file
Fix: #939375
Reported-By: Gentoo Tinderbox
Signed-off-by: f00wl <f00wl@felinn.org>
commit 01eedb68951ded7a630165e0d6542b58c87a412f
Author: f00wl <f00wl@felinn.org>
Date: Sat Sep 7 22:39:30 2024 +0200
app-misc/yazi: add 0.3.3
Signed-off-by: f00wl <f00wl@felinn.org>
commit dd6e1cfa04e4944df2a554cfcf0f9b36a06b655f
Author: Takuya Wakazono <pastalian46@gmail.com>
Date: Thu Aug 29 00:10:03 2024 +0900
app-misc/yazi: drop 0.2.2, 0.2.3, 0.2.4
Closes: https://bugs.gentoo.org/930094 (obsolete)
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
commit 5a07d131026141aea9eeae09e211682d89789a5a
Author: Remigiusz Micielski <rmicielski@purelymail.com>
Date: Fri Jul 12 19:59:18 2024 +0200
*/*: remove myself as maintainer
Mostly easy to maintain packages, except for XDPH which has some
maintainers anyway.
Signed-off-by: Remigiusz Micielski <rmicielski@purelymail.com>
commit 5ef6e5b0cc835eb1f43629e275f5f386da63397d
Author: Jonas Frei <freijon@pm.me>
Date: Wed Jun 26 21:17:21 2024 +0200
app-misc/yazi: Use cargo_target_dir instead of hardcoding dobin path
Signed-off-by: Jonas Frei <freijon@pm.me>
commit c4c7b4ddfa1acf456f8d214fa3cd28a00b0e3231
Author: Jonas Frei <freijon@pm.me>
Date: Wed Jun 26 20:22:48 2024 +0200
app-misc/yazi: Added USE flag 'cli'
This USE flag enables the DDS (Data Distribution Service).
See https://yazi-rs.github.io/docs/dds
An additional binary 'ya' will be compiled/installed.
It's not installed by default by upstream, that's why I don't install it
unconditionally but rather with a USE flag. May change in the future.
cc: @micielski
Signed-off-by: Jonas Frei <freijon@pm.me>
commit 458607f705f5217816d459d77da9eaeda3bb54e1
Author: Remigiusz Micielski <rmicielski@purelymail.com>
Date: Tue May 14 10:10:18 2024 +0200
app-misc/yazi: drop 0.2.1
Signed-off-by: Remigiusz Micielski <rmicielski@purelymail.com>
commit 2eb2d14f1b14a923efec797f4dc4cca7ce0a18c0
Author: Remigiusz Micielski <rmicielski@purelymail.com>
Date: Tue May 14 10:02:44 2024 +0200
app-misc/yazi: add 0.2.5
Signed-off-by: Remigiusz Micielski <rmicielski@purelymail.com>
commit 3893acc041688550a26b301d4c425f29d0879688
Author: Jonas Frei <freijon@pm.me>
Date: Tue Apr 16 05:48:30 2024 +0200
app-misc/yazi: Forgot einstalldocs
No revbump because the readme is a minor addition
that was not even present in the latest version anyway.
The mistake is only live for a few hours.
No need to recompile the entire package for this.
Signed-off-by: Jonas Frei <freijon@pm.me>
commit 21901d84aa340708769a20bb7859af6efb5205a7
Author: Jonas Frei <freijon@pm.me>
Date: Mon Apr 15 22:17:18 2024 +0200
app-misc/yazi: add 0.2.4
Also: added .desktop, installing shell completions.
Not installing logo, it has a non-compliant size.
Will create an upstream bug.
cc: @micielski
Signed-off-by: Jonas Frei <freijon@pm.me>
commit 58a3839b114573a6644f9e402695f10c36792641
Author: Remigiusz Micielski <rmicielski@purelymail.com>
Date: Fri Feb 23 13:18:11 2024 +0100
app-misc/yazi: drop 0.1.5
Signed-off-by: Remigiusz Micielski <rmicielski@purelymail.com>
commit 8bbf409fea576cc34c12d1cb12d8feafe6184198
Author: Remigiusz Micielski <rmicielski@purelymail.com>
Date: Fri Feb 23 13:16:30 2024 +0100
app-misc/yazi: add 0.2.3
Signed-off-by: Remigiusz Micielski <rmicielski@purelymail.com>
commit 2530c79ee94bc98116211806e44b5e66f4f749f6
Author: Remigiusz Micielski <rmicielski@purelymail.com>
Date: Sat Jan 27 12:48:55 2024 +0100
app-misc/yazi: add 0.2.2, drop 0.1.4
Signed-off-by: Remigiusz Micielski <rmicielski@purelymail.com>
commit e3c6499384b1bbc3b7657f84a6173341c9213df0
Author: Remigiusz Micielski <rmicielski@purelymail.com>
Date: Wed Jan 17 11:01:04 2024 +0100
app-misc/yazi: add 0.2.1
Signed-off-by: Remigiusz Micielski <rmicielski@purelymail.com>
commit b5b21960c1d3b4dd0f8d5849b02302d3190f77c9
Author: Joe Kappus <joe@wt.gd>
Date: Sun Dec 31 22:26:24 2023 -0500
app-misc/yazi: add 0.1.5
Signed-off-by: Joe Kappus <joe@wt.gd>
commit dad76fa354d2051654def00d611536056ba2fecf
Author: Joe Kappus <joe@wt.gd>
Date: Sun Dec 31 22:22:28 2023 -0500
app-misc/yazi: update HOMEPAGE
Signed-off-by: Joe Kappus <joe@wt.gd>
commit f5621e66f406f59a2718e0cfd895e73e1d438197
Author: Remigiusz Micielski <rmicielski@purelymail.com>
Date: Sun Oct 8 15:17:22 2023 +0200
app-misc/yazi: new package, add 0.1.4
Signed-off-by: Remigiusz Micielski <rmicielski@purelymail.com>
Author: ingenarel (NeoJesus) <ingenarel_neojesus@disroot.org>
Date: Fri Oct 16 11:08:13 2026 +0600
app-misc/yazi: make the ebuilds fall into a template
easy bumping and maintaining for people in future who need to work with
this package
Signed-off-by: ingenarel (NeoJesus) <ingenarel_neojesus@disroot.org>
Part-of: https://codeberg.org/gentoo/guru/pulls/113
Merges: https://codeberg.org/gentoo/guru/pulls/113
commit ead2af02e85f9f8b48c0652873be71edc5eea1ee
Author: ingenarel (NeoJesus) <ingenarel_neojesus@disroot.org>
Date: Fri Oct 9 23:58:00 2026 +0600
app-misc/yazi: drop 25.2.11-r1, 25.3.2, 25.4.8, 25.5.31, 26.1.22
Signed-off-by: ingenarel (NeoJesus) <ingenarel_neojesus@disroot.org>
Part-of: https://codeberg.org/gentoo/guru/pulls/113
commit 5d16ddbaec0e798f4051ab22977f76492e4cd1ab
Author: ingenarel (NeoJesus) <ingenarel_neojesus@disroot.org>
Date: Fri Oct 16 10:47:33 2026 +0600
app-misc/yazi: update 9999 ebuild based on 26.9.1
- updates crate liceneses
- updates license years
- add RUST_MIN_VER
- Fix DESCRIPTION to stop the pkgcheck warning:
```
app-misc/yazi
BadDescription: version 9999: DESCRIPTION="Blazing fast terminal
file manager written in Rust, based on async I/O." ends with a
full stop
```
- properly update deps (see previous commit msg to know more)
- add yazi-config/preset/ dir and CHANGELONG.md to DOCS
- pkg_postinst phase, and icon install in src_install phase (see
previous commit msg to know more)
- cargo_src_test uses --workspace flag (see previous commit msg to know
more)
- updated src_compile phase based on 26.9.1 (see previous commit msg to know
more)
-sys crate unvendoring:
these -sys crates are here:
```
work/cargo_home/gentoo
❯ find -maxdepth 1 -name '*-sys*' | sort --unique
./core-foundation-sys
./dirs-sys
./fsevent-sys
./inotify-sys
./jni-sys
./jni-sys-macros
./js-sys
./kqueue-sys
./linux-raw-sys
./mlua-sys
./security-framework-sys
./tikv-jemalloc-sys
./web-sys
./windows-sys
./windows-sys-0.52.0
./windows-sys-0.60.2
```
the fixes were done by:
https://codeberg.org/ingenarel-NeoJesus/apply-crates-fixes/src/commit/120ec969d6094f7bc9581aef13d0bbb234c61ba6/bin/apply-crates-fixes
Signed-off-by: ingenarel (NeoJesus) <ingenarel_neojesus@disroot.org>
Part-of: https://codeberg.org/gentoo/guru/pulls/113
commit b36a6b5de49ab7b7574549cba852a872482ac36a
Author: ingenarel (NeoJesus) <ingenarel_neojesus@disroot.org>
Date: Sat Oct 10 04:48:34 2026 +0600
app-misc/yazi: update 26.9.1
*This commit was originally done by me just doing the bump itself*
But since https://codeberg.org/gentoo/guru/pulls/45 had work that I
wanted to merge in, I rebased my commits on top of that PR
*The description of this commit and what it's doing will be explained
properly just like normal, but this disclaimer is here to explain any
confusion people might get on why I did some stuff in a certain way*
I will be referring to the commit before this where Michal Andrzejczak
added 26.9.1 as the OG commit
Here's what the OG commit does that I kept (either because I already had
that when I first added this version, or because it was an extra
improvement that I didn't think of) that currently matters in this
context, explaining because the OG commit doesn't have *any*
description:
- Fix DESCRIPTION to stop the pkgcheck warning:
```
app-misc/yazi
BadDescription: version 26.9.1: DESCRIPTION="Blazing fast terminal
file manager written in Rust, based on async I/O." ends with a
full stop
```
- RUST_MIN_VERSION should be *before* inheriting cargo, not after,
that's fixed, on top of that, the minimum rust version has been
updated to match upstream
- dist tarball switched to official gentoo-crate-dist
- use the data from https://yazi-rs.github.io/docs/installation to
notify the user about optional packages that they can install.
pkg_postinst() and the optfeature.eclass is used for this
- dev-libs/oniguruma uses subslot binding
- add CHANGELOG.md and README.md to DOCS
- YAZI_GEN_COMPLETIONS has been switched from the src_prepare phase to
src_compile phase
- if cli USE flag is set, dev-vcs/git is set in RDEPEND. This is needed
because `ya pkg` commands expects git to be installed and gets the
packages via git
- env var YAZI_NO_GITCL is set, in the src_compile phase, so cargo
doesn't complain when it builds yazi when it's not inside a git repo.
Because other than the live ebuild, the other ebuilds for yazi in the
current tree just gets the archive tarball for that specific version
of yazi. `Hence that not inside a git repo` warning.
https://github.com/sxyazi/yazi/blob/ffb2e78cc70341946c04befa52e14a4494015ce8/yazi-version/build.rs#L13
- instead of calling cargo_src_configure potentially twice in the
src_install phase, one for yazi, and one for the cli if it's set
(which is set by default), it now properly sets the --package args in
an array first, then calls cargo_src_compile only once with those
args.
- src_test now calls cargo_src_test with the workspace arg
- sets the yazi.png icon. Because we're redistributing an image, I have
double checked the license and it *should be* under MIT license. I
have checked the logs, it was added in
https://github.com/sxyazi/yazi/commit/d41cd5684e03eaa80e9201a114ad51f966bb56b7
PR was done in https://github.com/sxyazi/yazi/pull/534 by fufexan
A seperate license for the logo also wasn't specified. So therefore
MIT it is.
Here are the differences between the OG commit and this commit:
- Fix license years: OG commit only had 2026 meanwhile the previous
versions started from 2024
- remove sys-apps/file from the RDEPEND as it's in the @system set
- ratatui-core fix: OG commit used a complicated mess of src_unpack
phase first patching the $/config.toml, then another
`cargo env update` in the src_prepare phase.
My fix is much more simpler. Like how the cargo eclass sets crate
override paths in $/config.toml, I simply set the path to
ratatui-core directly in $/Cargo.toml, in the src_prepare phase.
ratatui-core's commit is stored in RATATUI_COMMIT var, and then it's
used both in the $ and in the sed command in src_prepare
- add the yazi-config/preset directory to the docs, because it contains
example presets for yazi's config files, also remove LICENSE and
LICENSE-ICONS from DOCS as they're not related to documentation
- keep the original strip fix that the ebuilds in the tree used for
consistency
- OG PR set test use flag and then RESTRICT="!test? ( test )". Really
unnecessary to lock test behind a use flag if test doesn't need any
deps, (which is often the case behind this type of locking)
- remove the unneeded src_configure: no other eclass that got inherited
after cargo exports a src_configure, the OG commit's src_configure was
just `cargo_src_configure --frozen`, it is indeed true that in the
eclass it's said:
> # Some live/9999 ebuild may need the '--frozen' option, if git crates
> # are used.
> # Otherwise src_install phase may query network again and fail.
But the thing is, in the current src_install phase, we're doing dobin
directly anyway, and not calling cargo_src_install, so specifically
doing this phase isn't needed
- add QA_FLAGS_IGNORED just like the other ebuilds in the tree
- in src_install, change instances of yazi to $
- YAZI_GEN_COMPLETIONS env var in the src_compile phase has been
switched from 1 to true. Upstream sets it to `true` specifically in
https://github.com/sxyazi/yazi/blob/ffb2e78cc70341946c04befa52e14a4494015ce8/.github/workflows/draft.yml#L78
and in
https://github.com/sxyazi/yazi/blob/ffb2e78cc70341946c04befa52e14a4494015ce8/nix/yazi-unwrapped.nix#L37
sys crates unvendoring:
These -sys crates are there in
/var/tmp/portage/app-misc/yazi-26.9.1/work/cargo_home/gentoo
```
❯ find . -maxdepth 1 -name '*-sys*' | sort --unique
./core-foundation-sys-0.8.7
./dirs-sys-0.5.0
./fsevent-sys-4.1.0
./inotify-sys-0.1.8
./jni-sys-0.4.1
./jni-sys-macros-0.4.1
./js-sys-0.3.104
./kqueue-sys-1.1.2
./linux-raw-sys-0.12.1
./mlua-sys-0.12.0
./security-framework-sys-2.17.0
./tikv-jemalloc-sys-0.7.1+5.3.1-0-g81034ce1f1373e37dc865038e1bc8eeecf559ce8
./web-sys-0.3.104
./windows-sys-0.52.0
./windows-sys-0.60.2
./windows-sys-0.61.2
```
Vendor dep fixes were done by
https://codeberg.org/ingenarel-NeoJesus/apply-crates-fixes/src/commit/0e87dd261edcf269c518c8bc607b70957cb53187/bin/apply-crates-fixes
for crates that needed it
Bug: https://bugs.gentoo.org/982063
Closes: https://codeberg.org/gentoo/guru/pulls/45
Signed-off-by: ingenarel (NeoJesus) <ingenarel_neojesus@disroot.org>
Part-of: https://codeberg.org/gentoo/guru/pulls/113
commit 5fb31b49934dbf412cf589bf4142c5ba18a840d1
Author: Michal Andrzejczak <mit.mis@gmail.com>
Date: Wed Sep 2 11:53:58 2026 +0200
app-misc/yazi: add 26.9.1
Signed-off-by: Michal Andrzejczak <mit.mis@gmail.com>
Part-of: https://codeberg.org/gentoo/guru/pulls/113
Signed-off-by: ingenarel (NeoJesus) <ingenarel_neojesus@disroot.org>
commit d82c14f75f4133eff25a1d1f23f761c76762c327
Author: Ceres <ceres@ceressees.dev>
Date: Wed Feb 25 17:54:26 2026 +0000
app-misc/yazi: add 26.1.22
Signed-off-by: Ceres <ceres@ceressees.dev>
commit 5b4313003d90d62ef83e9b815f620c3dbc3caf91
Author: ingenarel <ingenarelitems@gmail.com>
Date: Sun Jul 13 08:20:05 2025 +0600
app-misc/yazi: add 25.5.31
Signed-off-by: ingenarel <ingenarelitems@gmail.com>
commit 48da25ddee6108d840808e215b7b804468f5b50b
Author: Matt Jolly <kangie@gentoo.org>
Date: Wed May 21 16:45:02 2025 +1000
*/*: whitespace fixes
This fixes the current whitespace issues reported by
`pkgcruft scan -r WhitespaceUnneeded`.
Signed-off-by: Matt Jolly <kangie@gentoo.org>
commit 372832cab6417572c11972a2da7b098fd2ef5025
Author: ingenarel <ingenarelitems@gmail.com>
Date: Tue May 20 11:53:27 2025 +0600
app-misc/yazi: add 25.4.8
Signed-off-by: ingenarel <ingenarelitems@gmail.com>
commit 611129d1c5425587cc201724bb37f035a3b1355c
Author: ingenarel <ingenarelitems@gmail.com>
Date: Sat Mar 8 17:40:30 2025 +0600
app-misc/yazi: add 9999
Signed-off-by: ingenarel <ingenarelitems@gmail.com>
commit 609725bf9ed6df6b7dfddaba4203ccd51f55cd96
Author: ingenarel <ingenarelitems@gmail.com>
Date: Sat Mar 8 17:03:30 2025 +0600
app-misc/yazi: add 25.3.2
Signed-off-by: ingenarel <ingenarelitems@gmail.com>
commit ac0e30777c8b84bb1a226280a36f1dbc6788e211
Author: demize <demize@unstable.systems>
Date: Sat Feb 15 11:52:14 2025 -0500
app-misc/yazi: use system libonig with rust-onig
This fixes an issue compiling with GCC 15.
Closes: https://bugs.gentoo.org/945008
Signed-off-by: demize <demize@unstable.systems>
commit b2fef5d8cf57436935ced271b85b9ba3e2470353
Author: demize <demize@unstable.systems>
Date: Sat Feb 15 10:07:07 2025 -0500
app-misc/yazi: drop 0.4.2
Signed-off-by: demize <demize@unstable.systems>
commit 58dcf2dc32062e5729f0d4938d6a861b5a787958
Author: demize <demize@unstable.systems>
Date: Wed Feb 12 14:29:03 2025 -0500
app-misc/yazi: add 25.2.11
Signed-off-by: demize <demize@unstable.systems>
commit aa90f25e8921385345e89005a628932261186925
Author: f00wl <f00wl@felinn.org>
Date: Thu Jan 2 20:04:51 2025 +0100
app-misc/yazi: drop 0.2.5-r1, 0.3.3-r1
Signed-off-by: f00wl <f00wl@felinn.org>
commit 7e77de093c46a1e11d01b422b72007aeb6ceefde
Author: Lorenzo Porta <Vindex17@users.noreply.github.com>
Date: Wed Jan 1 11:50:32 2025 +0100
app-misc/yazi: add 0.4.2
Signed-off-by: Lorenzo Porta <Vindex17@users.noreply.github.com>
Closes: https://github.com/gentoo/guru/pull/271
Signed-off-by: David Roman <davidroman96@gmail.com>
commit 0a856ccb2450498cbd665e1c7db02b2f9aad0442
Author: amano.kenji <amano.kenji@proton.me>
Date: Tue Oct 8 09:12:39 2024 +0900
app-misc/yazi: Add default config files to DOCS
Signed-off-by: amano.kenji <amano.kenji@proton.me>
commit 891067d9beab467a2625bd4c2dd586048548fb31
Author: f00wl <f00wl@felinn.org>
Date: Sun Sep 15 13:00:19 2024 +0200
app-misc/yazi: inherit from xdg eclass to handle .desktop file
Fix: #939375
Reported-By: Gentoo Tinderbox
Signed-off-by: f00wl <f00wl@felinn.org>
commit 01eedb68951ded7a630165e0d6542b58c87a412f
Author: f00wl <f00wl@felinn.org>
Date: Sat Sep 7 22:39:30 2024 +0200
app-misc/yazi: add 0.3.3
Signed-off-by: f00wl <f00wl@felinn.org>
commit dd6e1cfa04e4944df2a554cfcf0f9b36a06b655f
Author: Takuya Wakazono <pastalian46@gmail.com>
Date: Thu Aug 29 00:10:03 2024 +0900
app-misc/yazi: drop 0.2.2, 0.2.3, 0.2.4
Closes: https://bugs.gentoo.org/930094 (obsolete)
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
commit 5a07d131026141aea9eeae09e211682d89789a5a
Author: Remigiusz Micielski <rmicielski@purelymail.com>
Date: Fri Jul 12 19:59:18 2024 +0200
*/*: remove myself as maintainer
Mostly easy to maintain packages, except for XDPH which has some
maintainers anyway.
Signed-off-by: Remigiusz Micielski <rmicielski@purelymail.com>
commit 5ef6e5b0cc835eb1f43629e275f5f386da63397d
Author: Jonas Frei <freijon@pm.me>
Date: Wed Jun 26 21:17:21 2024 +0200
app-misc/yazi: Use cargo_target_dir instead of hardcoding dobin path
Signed-off-by: Jonas Frei <freijon@pm.me>
commit c4c7b4ddfa1acf456f8d214fa3cd28a00b0e3231
Author: Jonas Frei <freijon@pm.me>
Date: Wed Jun 26 20:22:48 2024 +0200
app-misc/yazi: Added USE flag 'cli'
This USE flag enables the DDS (Data Distribution Service).
See https://yazi-rs.github.io/docs/dds
An additional binary 'ya' will be compiled/installed.
It's not installed by default by upstream, that's why I don't install it
unconditionally but rather with a USE flag. May change in the future.
cc: @micielski
Signed-off-by: Jonas Frei <freijon@pm.me>
commit 458607f705f5217816d459d77da9eaeda3bb54e1
Author: Remigiusz Micielski <rmicielski@purelymail.com>
Date: Tue May 14 10:10:18 2024 +0200
app-misc/yazi: drop 0.2.1
Signed-off-by: Remigiusz Micielski <rmicielski@purelymail.com>
commit 2eb2d14f1b14a923efec797f4dc4cca7ce0a18c0
Author: Remigiusz Micielski <rmicielski@purelymail.com>
Date: Tue May 14 10:02:44 2024 +0200
app-misc/yazi: add 0.2.5
Signed-off-by: Remigiusz Micielski <rmicielski@purelymail.com>
commit 3893acc041688550a26b301d4c425f29d0879688
Author: Jonas Frei <freijon@pm.me>
Date: Tue Apr 16 05:48:30 2024 +0200
app-misc/yazi: Forgot einstalldocs
No revbump because the readme is a minor addition
that was not even present in the latest version anyway.
The mistake is only live for a few hours.
No need to recompile the entire package for this.
Signed-off-by: Jonas Frei <freijon@pm.me>
commit 21901d84aa340708769a20bb7859af6efb5205a7
Author: Jonas Frei <freijon@pm.me>
Date: Mon Apr 15 22:17:18 2024 +0200
app-misc/yazi: add 0.2.4
Also: added .desktop, installing shell completions.
Not installing logo, it has a non-compliant size.
Will create an upstream bug.
cc: @micielski
Signed-off-by: Jonas Frei <freijon@pm.me>
commit 58a3839b114573a6644f9e402695f10c36792641
Author: Remigiusz Micielski <rmicielski@purelymail.com>
Date: Fri Feb 23 13:18:11 2024 +0100
app-misc/yazi: drop 0.1.5
Signed-off-by: Remigiusz Micielski <rmicielski@purelymail.com>
commit 8bbf409fea576cc34c12d1cb12d8feafe6184198
Author: Remigiusz Micielski <rmicielski@purelymail.com>
Date: Fri Feb 23 13:16:30 2024 +0100
app-misc/yazi: add 0.2.3
Signed-off-by: Remigiusz Micielski <rmicielski@purelymail.com>
commit 2530c79ee94bc98116211806e44b5e66f4f749f6
Author: Remigiusz Micielski <rmicielski@purelymail.com>
Date: Sat Jan 27 12:48:55 2024 +0100
app-misc/yazi: add 0.2.2, drop 0.1.4
Signed-off-by: Remigiusz Micielski <rmicielski@purelymail.com>
commit e3c6499384b1bbc3b7657f84a6173341c9213df0
Author: Remigiusz Micielski <rmicielski@purelymail.com>
Date: Wed Jan 17 11:01:04 2024 +0100
app-misc/yazi: add 0.2.1
Signed-off-by: Remigiusz Micielski <rmicielski@purelymail.com>
commit b5b21960c1d3b4dd0f8d5849b02302d3190f77c9
Author: Joe Kappus <joe@wt.gd>
Date: Sun Dec 31 22:26:24 2023 -0500
app-misc/yazi: add 0.1.5
Signed-off-by: Joe Kappus <joe@wt.gd>
commit dad76fa354d2051654def00d611536056ba2fecf
Author: Joe Kappus <joe@wt.gd>
Date: Sun Dec 31 22:22:28 2023 -0500
app-misc/yazi: update HOMEPAGE
Signed-off-by: Joe Kappus <joe@wt.gd>
commit f5621e66f406f59a2718e0cfd895e73e1d438197
Author: Remigiusz Micielski <rmicielski@purelymail.com>
Date: Sun Oct 8 15:17:22 2023 +0200
app-misc/yazi: new package, add 0.1.4
Signed-off-by: Remigiusz Micielski <rmicielski@purelymail.com>

