Closed oritwoen closed 3 weeks ago
well, technically Flatpak is the only way Alpaca is supported, what I think is happening is that it can't get the folder $XDG_CONFIG_HOME
or $XDG_DATA_HOME
maybe add those as environment variables
Thank you @Jeffser. Setting environment variables for XDG
solved all the problems. I can start chatting ;D
Thank you @Jeffser. Setting environment variables for
XDG
solved all the problems. I can start chatting ;D
Good to hear, enjoy the app
I wanted to ask you, you made the PKGBUILD right? could I take a look at it? it would be interesting to add the app at least to the AUR
@Jeffser
pkgname=alpaca
pkgdesc="An Ollama client made with GTK4 and Adwaita"
license=(GPL3)
arch=(x86_64)
pkgver=0.9.3
pkgrel=1
url=https://github.com/Jeffser/Alpaca
depends=(
ollama
python-pillow
python-requests
)
makedepends=(
git
meson
)
b2sums=(SKIP)
source=(git+https://github.com/jeffser/alpaca.git#tag=0.9.3)
build() {
arch-meson $pkgname build
meson compile -C build
}
package() {
meson install -C build --destdir "$pkgdir"
}
depends=(\n\tollama
Ollama is already included in Alpaca
But it's would be nice a version of Alpaca without Ollama, so the app would be smaller and we would use our own ollama instance
You're right. This is my private PKGBUILD file. Ollama is not required, but I added this line for myself because I like to use libraries and programs compiled directly on my computer instead of those included in the bundle.
And this is only for the organization, it will also work without it.
However, as you write, I would recommend making a condition when building the application in which it is checked whether there is a local binary or libs ollama on the computer and if so, not bundling it in alpaca. Then the dynamic bundle will weigh several mb or 300 mb depending on whether someone has the local version on their computer.
Describe the bug
Expected behavior No above errors.
Screenshots I made an exact reproduction on video
Additional context I use ArchLinux without flatpak, Alpaca build as native package with PKGBUILD