Alpaca icon indicating copy to clipboard operation
Alpaca copied to clipboard

Please package for .deb, .rpm and AUR as well

Open rminstrel opened this issue 1 year ago • 8 comments

Flatpaks are slow and do not respect the theming of the system at all, such as when using Alpaca on Hyprland, even though dark mode is set using xdg-desktop-portal, Alpaca runs in light mode. This is an issue inherent with flatpak apps, in that they don't follow theming sometimes. This can turn out to be a minor or major inconvenience for some who are uncomfortable with light themes. Instead, packaging them for .deb, .rpm and maybe even putting it up in the AUR might be helpful those people who do not like the slow loading times of flatpak apps.

/s

rminstrel avatar Aug 14 '24 13:08 rminstrel

Hi I've used Hyprland before, this is not a problem with flatpaks, you might be missing xdg-desktop-portal-gtk

Jeffser avatar Aug 14 '24 20:08 Jeffser

And also, there's no reason why a Flatpak would be slower.

I might add the app to the AUR but no promises

Jeffser avatar Aug 14 '24 20:08 Jeffser

For this software flatpak is ideal you using .rpm or .deb will make your system more complicated. This .deb and .rpm should be kept for only core system softwares.

olumolu avatar Aug 15 '24 18:08 olumolu

You can easily build this project from source, just type

meson setup _build
meson compile -C _build
sudo meson install

Dlinuigh avatar Sep 07 '24 01:09 Dlinuigh

I made a proper pkgbuild file, these are the instructions for installing Alpaca in Arch Linux

mkdir Alpaca-build
cd Alpaca-build
curl -L -o PKGBUILD https://raw.githubusercontent.com/jeffser/Alpaca/main/PKGBUILD
makepkg -si

The instructions are also in the README

Jeffser avatar Sep 12 '24 04:09 Jeffser

Forget about that, someone already uploaded Alpaca to the AUR, I'll send them a message so it gets updated

Jeffser avatar Sep 12 '24 05:09 Jeffser

Forget about that, someone already uploaded Alpaca to the AUR, I'll send them a message so it gets updated

Currently, alpaca-ai has some missing dependencies. Alternatively, I uploaded alpaca-git to always build the latest version.

fcarp10 avatar Sep 19 '24 05:09 fcarp10

Currently, alpaca-ai has some missing dependencies. Alternatively, I uploaded alpaca-git to always build the latest version.

I was checking out this package, could you make Ollama optional? it technically works without it and some people might want to run it inside a container or something

Jeffser avatar Oct 11 '24 22:10 Jeffser

I totally forgot about this issue until I decided to browse through my emails and here it is. In a cruel twist of fate, I'll have to use flatpak now that I'm on NIxOS 🙂

Still, hats off to y'all and sincere thanks! It might come to use for another person who stumbles upon this great project! (or even for me again when I switch back to Arch 🤣 )

rminstrel avatar Jan 23 '25 19:01 rminstrel

I totally forgot about this issue until I decided to browse through my emails and here it is. In a cruel twist of fate, I'll have to use flatpak now that I'm on NIxOS 🙂

Still, hats off to y'all and sincere thanks! It might come to use for another person who stumbles upon this great project! (or even for me again when I switch back to Arch 🤣 )

There's an unofficial Nix Package btw.

https://github.com/Jeffser/Alpaca/wiki/Installation#nix

Jeffser avatar Jan 23 '25 19:01 Jeffser

Oh, thanks for the info! Will be of great help! 🙏

rminstrel avatar Jan 24 '25 01:01 rminstrel

I just fixed the OpenMandriva package ;-) https://github.com/OpenMandrivaAssociation/Alpaca But much love to flatpak, its obviously the future of packaging and I 100% understand devs don't want to deal with packaging nonsense, it's also much more secure permission-wise and very robust. However users need to be able to choose ! So I'll try to maintain that package on openmandriva.

Pingasmaster avatar Feb 15 '25 18:02 Pingasmaster

Hi I will close this as I don't really want to package Alpaca outside of Flatpak,

I'm thankful to everyone that repackages Alpaca in Arch Linux, OpenMandriva, Snap and NixOS.

Of course you guys can do it if you want to, it's open source after all.

Jeffser avatar Apr 10 '25 01:04 Jeffser