Bug 257875 - [NEW PORT] x11-fm/yefm: Simple 2 pane file manager based on Qt
Summary: [NEW PORT] x11-fm/yefm: Simple 2 pane file manager based on Qt
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-15 22:40 UTC by Timothy Beyer
Modified: 2022-08-01 09:16 UTC (History)
2 users (show)

See Also:


Attachments
x11-fm_yefm.shar (3.80 KB, text/plain)
2021-08-15 22:40 UTC, Timothy Beyer
no flags Details
[PATCH] updated x11-fm/yefm (BINARY_ALIAS avoids hardcoded gcc) (4.66 KB, patch)
2022-08-01 09:16 UTC, Timothy Beyer
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Timothy Beyer 2021-08-15 22:40:25 UTC
Created attachment 227236 [details]
x11-fm_yefm.shar

Port of yefm, a QT-based file manager, that is fully working relative to Linux.  Dual panes, multiple tabs, different file views, and different side pane views work, though as on other platforms, including working linprocfs support via /compat/linux/proc.  Addressed in this port are numerous linux conventions and hardcoded paths.  It only compiles with g++, although it can be made more portable later.  It supports translations with qm files, so if I figure out how to generate them, I can make an English translation at some point.  It has native support for Chinese language.

File is attached (shar archive)
Comment 1 Timothy Beyer 2021-08-15 22:43:39 UTC
(as on other platforms, it doesn't save display listing settings, which is beyond the scope of this port - all of the features work correctly)
Comment 2 Li-Wen Hsu freebsd_committer freebsd_triage 2022-02-05 02:30:55 UTC
It seems hardcode g++ in its build system: https://gist.github.com/lwhsu/be74d4bf901280bd550f7b9fee5c31ad

Do you think we can patch this out?  Or we might need USES=compiler with some settings.
Comment 3 Timothy Beyer 2022-02-07 06:39:34 UTC
Good catch, I'll patch it with USES, it has been a while for me, but I'll correct it
Comment 4 Timothy Beyer 2022-08-01 09:16:38 UTC
Created attachment 235601 [details]
[PATCH] updated x11-fm/yefm (BINARY_ALIAS avoids hardcoded gcc)

Here's a git format-patch file that avoids the need to require lang/gcc using BINARY_ALIAS to avoid need for hardcoded bin/gcc executable.  It has been tested in poudriere in various versions (13.1-RELEASE i386, 13.1-RELEASE amd64, 12.3-RELEASE i386, 12.3-RELEASE amd64), and is more compliant with modern ports formatting standards.