Package Details: mouse-actions-gui-bin 0.4.4-3

Git Clone URL: https://aur.archlinux.org/mouse-actions-gui-bin.git (read-only, click to copy)
Package Base: mouse-actions-gui-bin
Description: Use your mouse to execute commands, for X11 and Wayland. You can use gestures, hot corners and modifier keys. Mouse-actions is a mix between Easystroke and Compiz edge commands. This is the GUI version but you can still use CLI!
Upstream URL: https://github.com/jersou/mouse-actions
Licenses: MIT
Provides: mouse-actions
Submitter: spaceslug
Maintainer: spaceslug
Last Packager: spaceslug
Votes: 1
Popularity: 0.006278
First Submitted: 2023-08-20 21:15 (UTC)
Last Updated: 2023-10-05 09:03 (UTC)

Latest Comments

spaceslug commented on 2023-08-20 20:49 (UTC)

@m040601 I think you're correct about separating the package after all. I very much appreciate the feedback. You are giving this package more thought than me.

m040601 commented on 2023-08-20 05:04 (UTC) (edited on 2023-08-20 05:53 (UTC) by m040601)

@spaceslug

I think it's up to you. It is your work and effort. You decide what you want to maintain. I personally think it would not be an extra burden to you to have a separate pair. If we were talking about a "source" PKGBUILD, maybe just one would be ok. But in this case we are talking about a "-bin" PKGBUILD. I think it makes sense to separate then. The developer does it. So he made it possible to use is tool without being forced to install a GUI. Why should we then force bundle them again in only one Archlinux AUR PKGBUILD ?

"mouse-actions-cli-bin" and "mouse-actions-gui-bin"

Would be my personal choice.

Whatever you decide, please make good use of the tag "Description:". It's there to make life simple for other users and packagers. To see what's inside the package.

Dont do like other AUR maintainers that like to save nano bytes and dont explain in the "Description:" exactly what it is and what it is not.

Point is, whatever you decide write something crystal clear in the "Description:" tags.

Some suggestions:

Description: Mouse actions for X11 and Wayland. Similar to Easystroke and Compiz edge....
  • ... xzy ... does not contain foo/bar ...
  • ... CLI only version
  • ... GUI version which also works in the terminal.
  • ... both graphical and cli version included

etc

Some more comments:

... and they take up very little space. 

I have to factually disagree here. Specially because of webkit2gtk. It's 91 mega when installed.

Package (11)    Old Version  Net Change

bubblewrap      0.8.0-1       -0.08 MiB
enchant         2.5.0-1       -0.22 MiB
harfbuzz-icu    8.1.1-1       -0.02 MiB
hyphen          2.8.8-5       -0.03 MiB
libmanette      0.2.6-5       -0.38 MiB
libsoup         2.74.3-1      -2.66 MiB
libwpe          1.14.1-2      -0.30 MiB
wpebackend-fdo  1.14.2-1      -0.13 MiB
xdg-dbus-proxy  0.1.5-1       -0.05 MiB
mouse-actions   0.4.4-1       -5.35 MiB
webkit2gtk      2.40.5-1     -91.20 MiB

I've seen this with other pdf tools before also. Because they forced webkit2gtk just to do a simple pdf operation, I uninstalled them. Not worth it.

I personnaly do the same with other AUR PKGBUILDS or even official packages and qt5 for example. I already have qt6 on my system. Unless it's really a tool that I absolutely love and cant live without, I avoid it and uninstall it. I dont want to have qt4, qt5, qt6, gtk-x-y-z on my system just because of one non essential tool.

But then in this day and age when some people install Gigabytes of electron and flatpak crap just to run a simple program .... maybe i'm in a minority ...

 ... I think most users would like both, 

Dont make that assumption. Specially on Arch Linux. For me personally it is not. I actually use Arch because it gives me the choice to not install what I dont need. In this case is webkitgtk.

Usually for these kind of applications a GUI in only usefull in the beginning. When you are first learning about it. What it does and does not. How it runs etc. Once you have mastered and know how to properly configure it with text files you run it in the background or as a daemon. I certanly dont want one more extra window filling up my screen just to run some background functionality.

And the less stuff I have installed as dependencies on my system the better. Specially dependencies forced from AUR packages, which you should always trust less then official packages.

And who knows, maybe with enough votes and attention this PKGBUILD could become an official Arch package in the future.

spaceslug commented on 2023-08-17 19:34 (UTC)

@m040601 How about changing the name to "mouse-actions-bin" and add both the gui and non-gui binaries? I think most users would like both, and they take up very little space.

m040601 commented on 2023-08-17 07:38 (UTC) (edited on 2023-08-17 07:48 (UTC) by m040601)

Thanks for providing this PKGBUILD. Interesting tool.

This PKGBUILD needs a name change to "mouse-actions-gui-bin"

There are different things being released on github, https://github.com/jersou/mouse-actions/releases/

  • a tar.gz precompiled binary (gui version)
  • a tar.gz precompiled binary (no gui version)
  • a tar.gz containing the source code
  • a tar.gz precompiled Appimage (gui version)

Is is also explained in the README, https://github.com/jersou/mouse-actions

....
Install / run

Download the release, the 2 release binaries mouse-actions and mouse-actions-gui are standalone (but use the same configuration), the avantage of using GUI less version is the RAM usage : 5.6 Mo vs 34 Mo.
...

Your PKGBUILD is using the precompiled binary with gui

$ tar tvf mouse-actions-gui-v0.4.4.tar.gz

-rwxrwxr-x jer/jer     5614568 2023-07-06 23:38 mouse-actions-gui

$ file mouse-actions-gui

mouse-actions-gui: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=6e5eaebb08b7aa0106b0be2a8d5a753149e414ec, for GNU/Linux 3.2.0, stripped

So it's not compiling or building anything. It is just pulling a precompiled binary from the Internet and moving it to /usr/bin.

Therefore according to the Arch AUR guidelines it should be named "mouse-actions-gui-bin".

Maybe in the future there will be other PKGBUILD called "mouse-actions" or "mouse-actions-gui" that builds from the source version.

Thanks in advance