void-linux / void-packages

The Void source packages collection
https://voidlinux.org
Other
2.53k stars 2.12k forks source link

Package request: Worker file manager #45711

Open paoloschi opened 1 year ago

paoloschi commented 1 year ago

Package name

Worker

Package homepage

http://www.boomerangsworld.de/cms/worker/

Description

Worker is a "GNU General Public License V2 or later" two independent pane file manager. It comes with full keyboard control, history, VFS support, live filtering, text viewer, file search, bookmarks, volume manager, breadcrumb navigation, virtual directories, compare directories and more...

I consider it one of the very few acceptable alternatives for those who are accustomed to SpaceFM that it would need some fixing now but is no longer maintained upstream: https://github.com/IgnorantGuru/spacefm/issues/800

Does the requested package meet the package requirements?

System, Compiled

Is the requested package released?

Yes

mtboehlke commented 1 year ago

I have overlooked this file manager in the past, but given your request I gave it a second look and quite liked it. Let me know if you have a chance to test the PR.

paoloschi commented 1 year ago

Let me know if you have a chance to test the PR.

Thank you for your efforts in packaging Worker Sorry but at the present time I no longer have an xbps-src environment to be able to test your template right now.

About Worker, I'm just disappointed it relies on udisks and therefore also on PolicyKit; to say: in xbps.conf I have the ignorepkg=polkit directive, which now, however, I would have to remove in order to install the worker package. :-/

I had thought about contacting the Worker developer to suggest udevil as an udisks alternative but then I realized that udevil is also abandoned software now, just like SpaceFM...

mtboehlke commented 1 year ago

Sorry but at the present time I no longer have an xbps-src environment to be able to test your template right now.

Not a problem :)

I would have to remove in order to install the worker package. :-/

For better or worse, polkit does seem to be the accepted method for unprivileged desktop programs to access privileged actions. That being said, udisks2 is only a runtime dependency for the package, so you can add ignorepkg=udisks2 to your xbps.conf. The volume manager will still use mount for mounting fstab entries. And yeah, I don't use polkit either.

Worker does constantly complain on the command line if it can't connect to the system bus when I don't have the dbus service enabled :-/

paoloschi commented 1 year ago

udisks2 is only a runtime dependency for the package, so you can add ignorepkg=udisks2 to your xbps.conf.

oh, good!

Worker does constantly complain on the command line if it can't connect to the system bus when I don't have the dbus service enabled :-/

Same here when I tried Worker by compiling it with ./configure & make and I don't see anything in Worker's documentation describing interprocess functionalities. To understand and solve some glitches, will it be appropriate to contact the developer at some point?

paoloschi commented 1 year ago

Today I subscribed to the Workerfm-users mailing list and mentioned dBus messages in the terminal. I received this single reply at the time:

hi,

as a user:

if compiling worker there's an option to remove dbus support: ./configure --without-dbus

there are other options see ./configure --help

if removing dbus & hal some drives/flash drives removable media aren't updated as often in the volume manager, yet it is quite usable anyway, since there a trigger to "update list" in the volume manager. the volume manager displays a list of mount points, I don't know how yet it works. related packages hal and udisk2 packages are not required, can be uninstalled.

in the config window there's an entry : experts settings > Volume manager settings it could matter to adapt some the config there to get it to do its things.

have a great day, rno noospot.dynv6.net

paoloschi commented 9 months ago

Worker does constantly complain on the command line if it can't connect to the system bus when I don't have the dbus service enabled :-/

if it is still of interest, Worker 5.0.0 has just been released and within the changelog:

** fixes:

  [...]
  - if the dbus server is not available, reconnects are no longer
    tried over and over again, avoiding failure ouputs. Instead,
    the volume manager allows to reconnect manually.
mtboehlke commented 9 months ago

Thanks! I will update my PR and give it a try.