terrapkg / packages

Monorepo for Terra Packages
https://terra.fyralabs.com
GNU General Public License v3.0
64 stars 20 forks source link

[Request] Espanso #1095

Closed pointydev closed 4 months ago

pointydev commented 4 months ago

What software are you requesting to be packaged? Espanso - Cross-platform Text Expander written in Rust https://github.com/espanso/espanso

Describe the motivation The maintainers of the software have shown interest in RPM packaging (https://github.com/espanso/espanso/issues/1948), however are unfamiliar with best practices and distribution methods. Currently, the methods to update the application on RPM distros is by using the AppImage or by manually compiling, which require manually restarting the systemd service in order to update correctly. This could be streamlined by RPM packaging.

Additional context Using Terra would skip the bureaucracy of the official repos, while also being easier than making a Copr. I also believe their maintainers would be able to learn a thing or two about properly creating RPMs themselves with Terra builds in place.

Thanks, pointy

AucaCoyan commented 4 months ago

That would be awesome! I'm one of the maintainers of espanso/espanso, ask anything you need! I currently don't know how to package RPM, as I don't use red hat yet šŸ˜¢

madonuko commented 4 months ago

Thanks for the request; quick question, I've noticed there's this AUR package that only depends on xdotool and xclip while others depend on a lot more dependenciesā€¦: bzip2, dbus, libgcc, openssl, etc. So I'm not so sure which one is actually right.

pointydev commented 4 months ago

Compile dependencies are listed in the documentation, although Fedora specific ones are only listed for Wayland, however I'm sure inferring this is easy enough.

madonuko commented 4 months ago

I did looked at that for the build dependencies, but I can't find any resources that talk about the install dependencies. Anyway I'll just test it myself in the end.

joh6nn commented 4 months ago

In case it's helpful, this is the the dependency list from the .deb package:

madonuko commented 4 months ago

After digging into a bunch of references:

wayland: libxkbcommon dbus libnotify glibc wxGTK libgcc wl-clipboard x11: libxkbcommon dbus libnotify glibc wxGTK libgcc xdotool xclip libX11 libXtst libxcb

Does this look good to you all?

AucaCoyan commented 4 months ago

Yup, sounds about right!