Skip to content

Native iCloud apps for Windows and Linux, built in Rust. Notes, Reminders, Calendar, Contacts, Drive and Photos, offline and in sync with your iPhone.

Packages depend on libheif: without it the app did not start

Yashwanth Kamireddic8c08aba8927
diff --git a/packaging/arch/PKGBUILD b/packaging/arch/PKGBUILD
index 8de0660..9b5d03e 100644
--- a/packaging/arch/PKGBUILD
+++ b/packaging/arch/PKGBUILD
@@ -16,10 +16,15 @@ license=('GPL-3.0-only')
# WebKitGTK is what Tauri renders through on Linux, and libsecret is where the session is
# kept — the app will start without the second but cannot stay signed in.
# What the built binary asks for, read off it with ldd rather than guessed — webkit2gtk for
-# the window, gtk3 under it, libsecret for the keyring — and the one it loads at run time,
-# which ldd cannot see: the tray icon is drawn through libayatana-appindicator, opened when
-# the tray is made. Without it the tray, and the alerts' way back into the window, is gone.
-depends=('webkit2gtk-4.1' 'gtk3' 'libsecret' 'libayatana-appindicator')
+# the window, gtk3 under it, libsecret for the keyring, libheif for HEIC photos (nothing
+# else pulls it in: without it the app does not start), GStreamer for videos — and the one it
+# loads at run time, which ldd cannot see: the tray icon is drawn through
+# libayatana-appindicator, opened when the tray is made. Without it the tray, and the
+# alerts' way back into the window, is gone.
+depends=('webkit2gtk-4.1' 'gtk3' 'libsecret' 'libheif' 'gstreamer' 'gst-plugins-base-libs'
+ 'libayatana-appindicator')
+# The iCloud Drive and Photos folders are mounted through fusermount3.
+optdepends=('fuse3: iCloud Drive and Photos as folders in the file manager')
makedepends=('rust' 'nodejs' 'npm' 'pkgconf')
# makepkg turns link-time optimisation on for everything, which compiles the C and assembly
diff --git a/packaging/aur/PKGBUILD b/packaging/aur/PKGBUILD
index 0cdbd26..7c864a7 100644
--- a/packaging/aur/PKGBUILD
+++ b/packaging/aur/PKGBUILD
@@ -13,10 +13,15 @@ license=('GPL-3.0-only')
# WebKitGTK is what Tauri renders through on Linux, and libsecret is where the session is
# kept — the app will start without the second but cannot stay signed in.
# What the built binary asks for, read off it with ldd rather than guessed — webkit2gtk for
-# the window, gtk3 under it, libsecret for the keyring — and the one it loads at run time,
-# which ldd cannot see: the tray icon is drawn through libayatana-appindicator, opened when
-# the tray is made. Without it the tray, and the alerts' way back into the window, is gone.
-depends=('webkit2gtk-4.1' 'gtk3' 'libsecret' 'libayatana-appindicator')
+# the window, gtk3 under it, libsecret for the keyring, libheif for HEIC photos (nothing
+# else pulls it in: without it the app does not start), GStreamer for videos — and the one it
+# loads at run time, which ldd cannot see: the tray icon is drawn through
+# libayatana-appindicator, opened when the tray is made. Without it the tray, and the
+# alerts' way back into the window, is gone.
+depends=('webkit2gtk-4.1' 'gtk3' 'libsecret' 'libheif' 'gstreamer' 'gst-plugins-base-libs'
+ 'libayatana-appindicator')
+# The iCloud Drive and Photos folders are mounted through fusermount3.
+optdepends=('fuse3: iCloud Drive and Photos as folders in the file manager')
makedepends=('rust' 'nodejs' 'npm' 'pkgconf')
# makepkg turns link-time optimisation on for everything, which compiles the C and assembly
diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json
index 8ebce9e..da6e2a5 100644
--- a/src-tauri/tauri.conf.json
+++ b/src-tauri/tauri.conf.json
@@ -56,7 +56,8 @@
"linux": {
"deb": {
"depends": [
- "libsecret-1-0"
+ "libsecret-1-0",
+ "libheif1"
],
"desktopTemplate": "../packaging/dev.quince.client.desktop.in",
"files": {
@@ -65,7 +66,8 @@
},
"rpm": {
"depends": [
- "libsecret"
+ "libsecret",
+ "libheif"
],
"desktopTemplate": "../packaging/dev.quince.client.desktop.in",
"files": {