


























Awesome, thank you for the fixes and updating the PKGBUILD!
Current package doesn't load the systray icon correctly.
We might want to simplify the PKGBUILD so that the AppImage isn't ripped apart.
_pkgname=Chatbox
pkgname="chatbox-bin"
pkgver=1.15.3
pkgrel=1
pkgdesc="User-friendly Desktop Client App for AI Models/LLMs (GPT, Claude, Gemini, Ollama...)"
arch=('x86_64')
url="https://chatboxai.app"
license=('GPL-3.0')
depends=('fuse2')
provides=("$pkgname")
conflicts=("chatbox-bin" "chatbox-git")
options=(!strip)
_appimage="${_pkgname}-${pkgver}-${arch}.AppImage"
_pkgid="xyz.chatboxapp.app"
source=("https://download.chatboxai.app/releases/${_appimage}")
noextract=("$_appimage")
sha512sums=('4becb6e1720e5a410119388e4d34cb7eabe28f198d272a6fc8cf53d27688df0dab607d2f1784f913a48f18cd9cd3da8e188074afb26de76be23ba21e018ab63e')
prepare() {
# Make the AppImage executable
chmod +x "$_appimage"
# Extract the AppImage
"./$_appimage" --appimage-extract
# Update the Exec line in the desktop entry file and fix the icon.
sed -i -E "s:Exec=AppRun:Exec=/opt/${_pkgname}/${_appimage}:" "squashfs-root/${_pkgid}.desktop"
sed -i -E "s:StartupWMClass=Chatbox:StartupWMClass=${_pkgid}:" "squashfs-root/${_pkgid}.desktop"
}
package() {
# Install the AppImage and create a symlink
install -Dpm755 "${_appimage}" "${pkgdir}/opt/${_pkgname}/${_appimage}"
install -dm755 "${pkgdir}/usr/bin"
ln -s "/opt/${_pkgname}/${_appimage}" "${pkgdir}/usr/bin/${_pkgname}"
# Install the desktop entry file
install -Dm644 "${srcdir}/squashfs-root/${_pkgid}.desktop" "${pkgdir}/usr/share/applications/${_pkgid}.desktop"
# Install the icon
install -dm755 "${pkgdir}/usr/share/pixmaps/"
cp --no-preserve=mode,ownership "${srcdir}/squashfs-root/${_pkgid}.png" "${pkgdir}/usr/share/pixmaps/${_pkgid}.png"
}
This updated PKGBUILD would just use the AppImage, be easier to maintain, and fix the system tray issue.
Some deps might not detected by namcap (dlopen-ed?). Can you pacman -F dropped libs and add keeping Electron package guidelines? (sorry. I missed).
For newest version 1.14.1
diff --git a/PKGBUILD b/PKGBUILD
index 5c454e9..282e594 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
_pkgname=Chatbox
pkgname="chatbox-bin"
-pkgver=1.11.12
+pkgver=1.14.1
pkgrel=1
pkgdesc="User-friendly Desktop Client App for AI Models/LLMs (GPT, Claude, Gemini, Ollama...)"
arch=('x86_64')
@@ -19,7 +19,7 @@ _appimage="${_pkgname}-${pkgver}-${arch}.AppImage"
_pkgid="xyz.chatboxapp.app"
source=("https://download.chatboxai.app/releases/${_appimage}")
noextract=("$_appimage")
-sha512sums=('c382c4ca4e234683ef136190dc3efeea43213d203ab450c30feb37223de0b57ee29907671bcb99413b6c76b3b2bd92b660384544057b3a0618fb8e62f4f9d838')
+sha512sums=('0ce6ca2ca49fcfdf760b185a601f13fcd78e034238f7b7dc0db4c6734fb33736dacf84f4d7a6c2fe17962b60cb2f83a81dac48295aee5604280b468461e67bbf')
prepare() {
# Make the AppImage executable
edit: bump to 1.14.1
@yangtsesu Thank you for bringing this to my attention. I inherited the package but failed to check properly the license field. As I did not find a license file in the distributed binary, I contacted the developer and will update the license as soon as this situation is cleared up.
The community edition of Chatbox is licensed under GPLv3, the binary version available for download from the official website is commercial software.
Why does this package include /usr/lib/libindicator.so.7? this file should be provided by libindicator-gtk2
Getting this error on launch
Error launching app
Unable to find Electron app at /opt/Chatbox/resources/app.asar
Cannot find module '/opt/Chatbox/resources/app.asar'
Require stack:
- /usr/lib/electron22/resources/default_app.asar/main.js
-`
chatbox-bin: 文件系统中存在 /usr/lib/libgconf-2.so.4 (由 gconf 所有)
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
Got following error when running