Skip to content

Commit

Permalink
misc/far2l: update the port to version 2.5.0 (yet another release)
Browse files Browse the repository at this point in the history
- Move `libarchive' from global USES list to SMB where it's pulled
  explicitly; otherwise the program's happy with base system's one:
  Found LibArchive: /usr/lib/libarchive.so (found version "3.5.1")
- Switch to GTK+2-based wxWidgets: it's noticeably faster and does
  not pull heavy and useless (for this particular program) WebKit
- Augment the port description while here, particularly, remove no
  longer relevant "alpha version" warning

Reported by:	portscout
  • Loading branch information
Alexey Dokuchaev authored and Alexey Dokuchaev committed Jan 16, 2023
1 parent c9d7c51 commit 0df95fa
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 17 deletions.
9 changes: 5 additions & 4 deletions misc/far2l/Makefile
@@ -1,6 +1,5 @@
PORTNAME= far2l
PORTVERSION= 2.4.1
PORTREVISION= 1
PORTVERSION= 2.5.0
DISTVERSIONPREFIX= v_
CATEGORIES= misc

Expand All @@ -21,7 +20,8 @@ RUN_DEPENDS= bash:shells/bash
USE_GITHUB= yes
GH_ACCOUNT= elfmz

USES= cmake compiler:c++11-lang libarchive pkgconfig shebangfix ssl
USES= cmake compiler:c++11-lang perl5 pkgconfig shebangfix ssl
USE_PERL5= build
SHEBANG_FILES= far2l/bootstrap/view.sh

OPTIONS_DEFINE= NFS SFTP SMB WEBDAV WXGTK X11
Expand All @@ -33,13 +33,14 @@ NFS_LIB_DEPENDS= libnfs.so:net/libnfs
SFTP_DESC= SFTP file transfer support
SFTP_LIB_DEPENDS= libssh.so:security/libssh

SMB_USES= samba:lib
SMB_USES= libarchive samba:lib

WEBDAV_DESC= WebDav protocol support via libneon
WEBDAV_LIB_DEPENDS= libneon.so:www/neon

WXGTK_CMAKE_OFF= -DUSEWX:BOOL=OFF
WXGTK_USE= WX=3.0+
WXGTK_VARS= WANT_WXGTK_VER=2

X11_DESC= Build with TTY X11 extensions
X11_CMAKE_OFF= -DTTYX:BOOL=OFF
Expand Down
6 changes: 3 additions & 3 deletions misc/far2l/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1664131165
SHA256 (elfmz-far2l-v_2.4.1_GH0.tar.gz) = e52920fd6de077e912b3b80cee3a22a2845a140727fe4e14e5ca73c6e81bbf13
SIZE (elfmz-far2l-v_2.4.1_GH0.tar.gz) = 6322292
TIMESTAMP = 1673740382
SHA256 (elfmz-far2l-v_2.5.0_GH0.tar.gz) = c0cdb302d90b71f3c1c04205a6f0eb1bdb5fe81c36b13d8dd184f18e4b35bddb
SIZE (elfmz-far2l-v_2.5.0_GH0.tar.gz) = 6431408
7 changes: 4 additions & 3 deletions misc/far2l/pkg-descr
@@ -1,6 +1,7 @@
Linux port of the FAR Manager v2 (http://farmanager.com/); also works on
macOS and *BSD systems. ALPHA VERSION. Currently interesting only for
enthusiasts!
GNU/Linux port of the FAR Manager v2 (http://farmanager.com/) which also
works on macOS and *BSD systems. Short for File and ARchive Manager, it
is one of the most prominent Norton Commander clones, or implementations
of the classic, orthodox two-panel file manager idea.

Plugins that currently work: NetRocks (SFTP/SCP/FTP/FTPS/SMB/NFS/WebDAV),
colorer, multiarc, tmppanel, align, autowrap, drawline, editcase,
Expand Down
28 changes: 21 additions & 7 deletions misc/far2l/pkg-plist
Expand Up @@ -20,9 +20,12 @@ lib/far2l/Plugins/incsrch/plug/incsrch.far-plug-wide
lib/far2l/Plugins/inside/plug/inside.far-plug-mb
lib/far2l/Plugins/multiarc/plug/multiarc.far-plug-mb
lib/far2l/Plugins/tmppanel/plug/tmppanel.far-plug-wide
lib/far2l/far2l_askpass
%%WXGTK%%lib/far2l/far2l_gui.so
lib/far2l/far2l_sudoapp
%%X11%%lib/far2l/far2l_ttyx.broker
share/applications/far2l.desktop
%%DATADIR%%/FarBel.lng
%%DATADIR%%/FarCze.lng
%%DATADIR%%/FarEng.hlf
%%DATADIR%%/FarEng.lng
Expand All @@ -35,13 +38,17 @@ share/applications/far2l.desktop
%%DATADIR%%/FarSpa.lng
%%DATADIR%%/FarUkr.hlf
%%DATADIR%%/FarUkr.lng
%%DATADIR%%/Plugins/NetRocks/plug/bel.lng
%%DATADIR%%/Plugins/NetRocks/plug/eng.lng
%%DATADIR%%/Plugins/NetRocks/plug/helpe.hlf
%%DATADIR%%/Plugins/NetRocks/plug/rus.lng
%%DATADIR%%/Plugins/align/plug/AlignBel.lng
%%DATADIR%%/Plugins/align/plug/AlignEng.lng
%%DATADIR%%/Plugins/align/plug/AlignRus.lng
%%DATADIR%%/Plugins/autowrap/plug/WrapBel.lng
%%DATADIR%%/Plugins/autowrap/plug/WrapEng.lng
%%DATADIR%%/Plugins/autowrap/plug/WrapRus.lng
%%DATADIR%%/Plugins/calc/plug/calcb.lng
%%DATADIR%%/Plugins/calc/plug/calce.hlf
%%DATADIR%%/Plugins/calc/plug/calce.lng
%%DATADIR%%/Plugins/calc/plug/calcr.hlf
Expand All @@ -66,6 +73,7 @@ share/applications/far2l.desktop
%%DATADIR%%/Plugins/colorer/base/catalog.xml
%%DATADIR%%/Plugins/colorer/base/hrc/auto/empty.hrc
%%DATADIR%%/Plugins/colorer/base/hrc/base/asm.hrc
%%DATADIR%%/Plugins/colorer/base/hrc/base/c-unix.ent.hrc
%%DATADIR%%/Plugins/colorer/base/hrc/base/c-win32.ent.hrc
%%DATADIR%%/Plugins/colorer/base/hrc/base/c.hrc
%%DATADIR%%/Plugins/colorer/base/hrc/base/cpp-qt.hrc
Expand Down Expand Up @@ -434,17 +442,12 @@ share/applications/far2l.desktop
%%DATADIR%%/Plugins/colorer/base/hrd/css/navy.css
%%DATADIR%%/Plugins/colorer/base/hrd/css/neo.css
%%DATADIR%%/Plugins/colorer/base/hrd/css/white.css
%%DATADIR%%/Plugins/colorer/base/hrd/reg.addons/conemu/ansi.reg
%%DATADIR%%/Plugins/colorer/base/hrd/reg.addons/conemu/mirice.reg
%%DATADIR%%/Plugins/colorer/base/hrd/reg.addons/conemu/mirror.reg
%%DATADIR%%/Plugins/colorer/base/hrd/reg.addons/console/ansi.reg
%%DATADIR%%/Plugins/colorer/base/hrd/reg.addons/console/mirice.reg
%%DATADIR%%/Plugins/colorer/base/hrd/reg.addons/console/mirror.reg
%%DATADIR%%/Plugins/colorer/base/hrd/rgb/black.hrd
%%DATADIR%%/Plugins/colorer/base/hrd/rgb/blue.hrd
%%DATADIR%%/Plugins/colorer/base/hrd/rgb/contrib/bred3.hrd
%%DATADIR%%/Plugins/colorer/base/hrd/rgb/contrib/fmx.hrd
%%DATADIR%%/Plugins/colorer/base/hrd/rgb/contrib/visual-rgb.hrd
%%DATADIR%%/Plugins/colorer/base/hrd/rgb/default.hrd
%%DATADIR%%/Plugins/colorer/base/hrd/rgb/eclipse.hrd
%%DATADIR%%/Plugins/colorer/base/hrd/rgb/grayscale.hrd
%%DATADIR%%/Plugins/colorer/base/hrd/rgb/hs.hrd
Expand All @@ -455,25 +458,31 @@ share/applications/far2l.desktop
%%DATADIR%%/Plugins/colorer/base/hrd/rgb/white.hrd
%%DATADIR%%/Plugins/colorer/base/hrd/text/htmlcss.hrd
%%DATADIR%%/Plugins/colorer/base/hrd/text/tags.hrd
%%DATADIR%%/Plugins/colorer/plug/colorerb.lng
%%DATADIR%%/Plugins/colorer/plug/colorere.hlf
%%DATADIR%%/Plugins/colorer/plug/colorere.lng
%%DATADIR%%/Plugins/colorer/plug/colorerr.hlf
%%DATADIR%%/Plugins/colorer/plug/colorerr.lng
%%DATADIR%%/Plugins/colorer/plug/hrcsettings.xml
%%DATADIR%%/Plugins/compare/plug/CmpEng.hlf
%%DATADIR%%/Plugins/compare/plug/CmpRus.hlf
%%DATADIR%%/Plugins/compare/plug/CompBel.lng
%%DATADIR%%/Plugins/compare/plug/CompEng.lng
%%DATADIR%%/Plugins/compare/plug/CompRus.lng
%%DATADIR%%/Plugins/drawline/plug/DrawBel.lng
%%DATADIR%%/Plugins/drawline/plug/DrawEng.hlf
%%DATADIR%%/Plugins/drawline/plug/DrawEng.lng
%%DATADIR%%/Plugins/drawline/plug/DrawRus.hlf
%%DATADIR%%/Plugins/drawline/plug/DrawRus.lng
%%DATADIR%%/Plugins/editcase/plug/ECaseBel.lng
%%DATADIR%%/Plugins/editcase/plug/ECaseEng.hlf
%%DATADIR%%/Plugins/editcase/plug/ECaseEng.lng
%%DATADIR%%/Plugins/editcase/plug/ECaseRus.hlf
%%DATADIR%%/Plugins/editcase/plug/ECaseRus.lng
%%DATADIR%%/Plugins/editorcomp/plug/editorcomp_be.lng
%%DATADIR%%/Plugins/editorcomp/plug/editorcomp_en.lng
%%DATADIR%%/Plugins/editorcomp/plug/editorcomp_ru.lng
%%DATADIR%%/Plugins/filecase/plug/CaseBel.lng
%%DATADIR%%/Plugins/filecase/plug/CaseEng.hlf
%%DATADIR%%/Plugins/filecase/plug/CaseEng.lng
%%DATADIR%%/Plugins/filecase/plug/CaseRus.hlf
Expand All @@ -482,25 +491,28 @@ share/applications/far2l.desktop
%%DATADIR%%/Plugins/incsrch/plug/incsrchr.hlf
%%DATADIR%%/Plugins/incsrch/plug/isrceng.lng
%%DATADIR%%/Plugins/incsrch/plug/isrcrus.lng
%%DATADIR%%/Plugins/inside/plug/bel.lng
%%DATADIR%%/Plugins/inside/plug/config.ini
%%DATADIR%%/Plugins/inside/plug/eng.lng
%%DATADIR%%/Plugins/inside/plug/rus.lng
%%DATADIR%%/Plugins/multiarc/plug/arcbel.lng
%%DATADIR%%/Plugins/multiarc/plug/arceng.hlf
%%DATADIR%%/Plugins/multiarc/plug/arceng.lng
%%DATADIR%%/Plugins/multiarc/plug/arcrus.hlf
%%DATADIR%%/Plugins/multiarc/plug/arcrus.lng
%%DATADIR%%/Plugins/multiarc/plug/custom.ini
%%DATADIR%%/Plugins/multiarc/plug/custom.ini.man.txt
%%DATADIR%%/Plugins/tmppanel/plug/TmpBel.lng
%%DATADIR%%/Plugins/tmppanel/plug/TmpEng.hlf
%%DATADIR%%/Plugins/tmppanel/plug/TmpEng.lng
%%DATADIR%%/Plugins/tmppanel/plug/TmpRus.hlf
%%DATADIR%%/Plugins/tmppanel/plug/TmpRus.lng
%%DATADIR%%/closewait.sh
%%DATADIR%%/mounts.sh
%%DATADIR%%/notify.sh
%%DATADIR%%/open.sh
%%DATADIR%%/ps.sh
%%DATADIR%%/trash.sh
%%DATADIR%%/unmount.sh
%%DATADIR%%/view.sh
%%DATADIR%%/xlats.ini
share/icons/far2l.svg
Expand All @@ -516,5 +528,7 @@ share/icons/hicolor/512x512/apps/far2l.svg
share/icons/hicolor/64x64/apps/far2l.svg
share/icons/hicolor/72x72/apps/far2l.svg
share/icons/hicolor/96x96/apps/far2l.svg
share/man/man1/far2l.1.gz
share/man/ru/man1/far2l.1.gz
@dir lib/far2l/Plugins/calc/plug/units
@dir %%DATADIR%%/Plugins/SimpleIndent/plug

0 comments on commit 0df95fa

Please sign in to comment.