Bug 291013 - x11-fm/filerunner: Take maintainership
Summary: x11-fm/filerunner: Take maintainership
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Kousuke Kannagi
URL: https://sourceforge.net/projects/file...
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-14 14:23 UTC by Kousuke Kannagi
Modified: 2026-08-29 20:29 UTC (History)
3 users (show)

See Also:
osa: maintainer-feedback+
mce: maintainer-feedback? (fluffy)


Attachments
Update to 24.07.12.20 (15.91 KB, patch)
2025-11-14 14:23 UTC, Kousuke Kannagi
no flags Details | Diff
Take maintainership (18.24 KB, patch)
2025-11-17 12:30 UTC, Kousuke Kannagi
no flags Details | Diff
Take maintainership (18.25 KB, patch)
2025-11-17 23:00 UTC, Kousuke Kannagi
no flags Details | Diff
use Makefiles/INSTALL (19.75 KB, patch)
2026-03-03 21:01 UTC, Kousuke Kannagi
no flags Details | Diff
take maintainership (19.80 KB, patch)
2026-08-25 10:45 UTC, Kousuke Kannagi
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kousuke Kannagi freebsd_committer freebsd_triage 2025-11-14 14:23:03 UTC
Created attachment 265412 [details]
Update to 24.07.12.20

Update LICENSE.
Remove USE_LDCONFIG.
Switch from REINPLACE_CMD to USES=shebangfix.
Add NO_ARCH=yes.
Use PORTDATA.
Use INSTALL_SCRIPT and remove CHMOD.
Install .desktop file and icons.
Switch symbolic link from absolute path to relative path.
Update pkg-descr.
Comment 1 Vladimir Druzenko freebsd_committer freebsd_triage 2025-11-14 17:16:00 UTC
Update patch after last commit.
Comment 2 Kousuke Kannagi freebsd_committer freebsd_triage 2025-11-14 18:45:05 UTC
The port was changed after the report.
Comment 3 Kousuke Kannagi freebsd_committer freebsd_triage 2025-11-17 12:30:20 UTC
Created attachment 265469 [details]
Take maintainership

By the way, I know that parentheses are mentioned in make(1) when using cd, but it is often not used in port Makefiles.
Some say it's not necessary.
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290515#c2
The example in 6.16.3 of the porter's handbook also has no parentheses.
Comment 4 Kousuke Kannagi freebsd_committer freebsd_triage 2025-11-17 12:33:21 UTC
Update patch.
Comment 5 Vladimir Druzenko freebsd_committer freebsd_triage 2025-11-17 19:09:48 UTC
Check please this:
_ELF=           extrafont.so libinotify1.4.1.so libpanicTrap1.0.0.so panicTrap.o
_ICONS=         16 32 48 128 256

do-install:
        (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} \
                '! ( -name fr -o -name frftp ${_ELF:S|^|-o -name |} ) ')
        (cd ${WRKSRC} && ${INSTALL_SCRIPT} fr frftp ${STAGEDIR}${DATADIR})
        ${INSTALL_DATA} ${WRKSRC}/Makefiles/${PORTNAME}.desktop \
                ${STAGEDIR}${DESKTOPDIR}
        ${MKDIR} ${_ICONS:C|([0-9]+)|${STAGEDIR}${PREFIX}/share/icons/hicolor/\1x\1/apps|}
.for size in ${_ICONS}
        ${INSTALL_DATA} ${WRKSRC}/icons/${PORTNAME}-${size}x${size}.png \
                ${STAGEDIR}${PREFIX}/share/icons/hicolor/${size}x${size}/apps/${PORTNAME}.png
.endfor
        ${RLN} ${STAGEDIR}${DATADIR}/fr ${STAGEDIR}${PREFIX}/bin

1. Use DESKTOPDIR variable from Mk/bsd.port.mk.
2. Use 1 MKDIR for all dirs.
3. Unnecessary "@${MKDIR} ${STAGEDIR}${DATADIR}" - COPYTREE_SHARE create it self.
4. Use "." instead of "\*" in COPYTREE_SHARE.
5. Shorter condition in COPYTREE_SHARE.
6. Use "|" instead of "/" in ${_ELF:S * }.
Comment 6 Kousuke Kannagi freebsd_committer freebsd_triage 2025-11-17 23:00:05 UTC
Created attachment 265478 [details]
Take maintainership
Comment 7 Vladimir Druzenko freebsd_committer freebsd_triage 2026-02-09 18:15:34 UTC
Why are you reworking the proposed changes without any explanation?

Your changes related to _ICONS look a little simpler and clearer - ok.
But with COPYTREE_SHARE my version is easier to read and understand.
Also you saved the unnecessary MKDIR.
Comment 8 Kousuke Kannagi freebsd_committer freebsd_triage 2026-02-09 18:24:44 UTC
You're ignoring me.
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292229
Comment 9 Vladimir Druzenko freebsd_committer freebsd_triage 2026-02-09 18:33:06 UTC
(In reply to mew14930xvi from comment #8)
It is very time-consuming for me to write complex explanations in English because I don’t know it well.
I have to translate several times using online translators, check the result, rephrase, translate in the opposite direction, then correct it again, and still the result is mediocre…
If I write it myself, the result is even worse.
That's why I didn't respond in that PR.
Comment 10 Vladimir Druzenko freebsd_committer freebsd_triage 2026-02-09 18:37:49 UTC
It took me at least 10 minutes to answer this.
Comment 11 Kousuke Kannagi freebsd_committer freebsd_triage 2026-02-10 01:08:37 UTC
> Why are you reworking the proposed changes without any explanation?
I believe this is within the maintainer's discretion.

See below for my English.
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284873#c6

The patch I have now.
do-install:
        cd ${WRKSRC}/Makefiles && ./INSTALL --verbose

.include <bsd.port.mk>
Comment 12 Kousuke Kannagi freebsd_committer freebsd_triage 2026-03-03 21:01:12 UTC
Created attachment 268512 [details]
use Makefiles/INSTALL

I'll update the patch for now.

Add pkg-message.
Comment 13 Kousuke Kannagi freebsd_committer freebsd_triage 2026-08-25 10:45:30 UTC
Created attachment 274106 [details]
take maintainership

Documentation is required for the Help menu, so it's not optional.

In reply to Vladimir Druzenko.
You assigned it over a week before I could login here, couldn't you have waited a little longer?
Comment 14 Kousuke Kannagi freebsd_committer freebsd_triage 2026-08-25 11:14:47 UTC
On FreeBSD, inotify is removed when trim-inotify.tcl is executed.
I suppose I should build Makefiles/tcl-inotify-1.4.1.tar.gz, but I don't know Tcl.
Comment 15 commit-hook freebsd_committer freebsd_triage 2026-08-29 20:24:58 UTC
A commit in branch main references this bug:

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

commit a00283e3093f615a90683b07f88bbcbb1871c3b0
Author:     Kousuke Kannagi <mce@FreeBSD.org>
AuthorDate: 2026-08-25 10:38:16 +0000
Commit:     Kousuke Kannagi <mce@FreeBSD.org>
CommitDate: 2026-08-29 20:21:32 +0000

    x11-fm/filerunner: Take maintainership.

    Add NO_ARCH=yes and pkg-message.
    Use Makefiles/INSTALL.

    PR:             291013
    Approved by:    osa (mentor)

 x11-fm/filerunner/Makefile                         |  27 +-
 .../filerunner/files/patch-Makefiles_INSTALL (new) |  20 ++
 x11-fm/filerunner/files/pkg-message.in (new)       |   9 +
 x11-fm/filerunner/pkg-descr                        |   4 +-
 x11-fm/filerunner/pkg-plist                        | 398 +--------------------
 5 files changed, 66 insertions(+), 392 deletions(-)
Comment 16 Kousuke Kannagi freebsd_committer freebsd_triage 2026-08-29 20:29:58 UTC
Thank you.