Bug 296181 - sysutils/elio: New port: Snappy terminal file manager
Summary: sysutils/elio: New port: Snappy terminal file manager
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Hiroki Tagato
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-06-21 11:39 UTC by Miguel Pérez Regueiro
Modified: 2026-07-26 09:34 UTC (History)
2 users (show)

See Also:


Attachments
New port patch for sysutils/elio 1.9.0 (47.05 KB, patch)
2026-06-21 11:39 UTC, Miguel Pérez Regueiro
no flags Details | Diff
Updated port patch for sysutils/elio 1.11.1 (54.81 KB, patch)
2026-07-19 10:44 UTC, Miguel Pérez Regueiro
no flags Details | Diff
Updated port patch for sysutils/elio 1.11.2 (54.81 KB, patch)
2026-07-22 18:49 UTC, Miguel Pérez Regueiro
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Miguel Pérez Regueiro 2026-06-21 11:39:41 UTC
Created attachment 272000 [details]
New port patch for sysutils/elio 1.9.0

New port: sysutils/elio

elio is a snappy, batteries-included terminal file manager written in Rust.

It provides rich previews, inline images, bulk actions, trash support,
themes, shell integration, and fast TUI workflows for managing files
from the terminal.

WWW:
https://elio-fm.github.io/
https://github.com/elio-fm/elio

QA:
- make clean stage check-plist stage-qa package: passed
- poudriere testport -j 151amd64 -p gitports -b latest sysutils/elio: passed
  - jail: 15.1-RELEASE amd64
  - queued: 34
  - built: 34
  - failed: 0
  - build time: 00:07:17
- Installed package with pkg install -f elio-1.9.0.pkg: passed
- Runtime test: launched and used elio from the installed package successfully
- Desktop entry/icons: installed and visible
- elio --version: elio 1.9.0
Comment 1 Hiroki Tagato freebsd_committer freebsd_triage 2026-07-17 02:05:30 UTC
Hi Miguel, thanks for a new port submission.

It is very well prepared and reviewing it is like a breeze :)

Here's a few comments for improvement:
- GH_PROJECT is set to PORTNAME by default. So you can safely remove it.
- INSTALLS_ICONS is obsolete. Please remove it.
- In post-install target, ${PREFIX}/share/applications can be replaced with ${DESKTOPDIR}.
- USES=cargo implies including Makefile.crates. So you can safely remove '.include "Makefile.crates"'.

And v1.10.0 has been released so updating to the latest version would be a good idea.

The rest of the port looks good to me.
Comment 2 Kousuke Kannagi freebsd_committer freebsd_triage 2026-07-17 02:20:00 UTC
I am concerned that the EXPIRATION_DATE for devel/oniguruma is set to 2026-12-01.
Comment 3 Miguel Pérez Regueiro 2026-07-19 10:44:11 UTC
Created attachment 272992 [details]
Updated port patch for sysutils/elio 1.11.1

Updated patch for sysutils/elio to 1.11.1.

Changes:
- Update port from 1.9.0 to 1.11.1
- Address review feedback: remove GH_PROJECT, remove obsolete INSTALLS_ICONS, use ${DESKTOPDIR}, and remove the explicit .include "Makefile.crates".
- Address the devel/oniguruma concern: upstream 1.11.1 switches syntect from Oniguruma to regex-fancy, so the port no longer depends on devel/oniguruma.
- Add archivers/zstd to LIB_DEPENDS, as stage-qa/ldd show the installed binary links to libzstd.so.1.

QA:
- make clean stage check-plist stage-qa package: passed
- poudriere testport -j 151amd64 -p gitports -O eliooverlay -b latest sysutils/elio: passed
- Installed package and used elio successfully
- elio --version: elio 1.11.1
Comment 4 Hiroki Tagato freebsd_committer freebsd_triage 2026-07-21 02:29:15 UTC
Thanks for the update. It looks good to me.
Comment 5 Hiroki Tagato freebsd_committer freebsd_triage 2026-07-21 02:51:01 UTC
Poudriere testport on 144i386 jail fails with the following error:

error: literal out of range for `usize`
   --> src/ui/browser/entries.rs:390:10
    |
390 |         (1_000_000_000_000usize, "T"),
    |          ^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: the literal `1_000_000_000_000usize` does not fit into the type `usize` whose range is `0..=4294967295`
    = note: `#[deny(overflowing_literals)]` on by default

error: could not compile `elio` (lib) due to 1 previous error

It appears builds on 32bit platforms have the integer overflow issue. Can you see if it can be fixed?
Comment 6 Miguel Pérez Regueiro 2026-07-22 18:49:13 UTC
Created attachment 273084 [details]
Updated port patch for sysutils/elio 1.11.2

This addresses the 32-bit usize overflow.

QA passed:
- make clean stage check-plist stage-qa package
- poudriere testport on 14.4-RELEASE-p7 i386 and 15.1-RELEASE amd64
- Installed package and used elio successfully
- elio --version: elio 1.11.2
Comment 7 commit-hook freebsd_committer freebsd_triage 2026-07-26 03:17:45 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f86395e3bcfbb14b897240d63b85d6246b16c216

commit f86395e3bcfbb14b897240d63b85d6246b16c216
Author:     Miguel Pérez Regueiro <miguelpr4242@gmail.com>
AuthorDate: 2026-07-26 03:13:59 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2026-07-26 03:16:15 +0000

    sysutils/elio: New port: Snappy terminal file manager with rich previews and trash support

    elio is a snappy, batteries-included terminal file manager written in Rust.

    It provides rich previews, inline images, bulk actions, trash support,
    themes, shell integration, and a fast TUI workflow for managing files
    from the terminal.

    WWW: https://elio-fm.github.io/
    WWW: https://github.com/elio-fm/elio

    PR:             296181
    Reported by:    Miguel Pérez Regueiro <miguelpr4242@gmail.com> (new maintainer)
    Reviewed by:    mce

 sysutils/Makefile                   |   1 +
 sysutils/elio/Makefile (new)        |  38 +++
 sysutils/elio/Makefile.crates (new) | 284 ++++++++++++++++++
 sysutils/elio/distinfo (new)        | 571 ++++++++++++++++++++++++++++++++++++
 sysutils/elio/pkg-descr (new)       |   5 +
 5 files changed, 899 insertions(+)
Comment 8 Hiroki Tagato freebsd_committer freebsd_triage 2026-07-26 03:18:41 UTC
Committed, thanks!
Comment 9 Miguel Pérez Regueiro 2026-07-26 09:34:45 UTC
Thank you so much!