fix(appimage): ship transitive GI typelibs for non-Debian hosts (#637)
* fix(appimage): ship transitive GI typelibs for non-Debian hosts The 0.15.0 AppImage pruned girepository down to a partial allowlist and dropped xlib/Dbusmenu/GModule. On Ubuntu the missing typelibs fell back to /usr/lib/x86_64-linux-gnu/girepository-1.0; on openSUSE/Fedora that path does not exist, so Gtk failed to import and startup reported missing GTK3/AppIndicator (#585). Keep linuxdeploy's typelib extras, seed the full transitive set, bundle AppIndicator/Notify shared libs, and smoke-test GI imports with host typelibs hidden. Co-authored-by: Jatin K Malik <jatinkrmalik@users.noreply.github.com> * style(test): format appimage packaging regression test Co-authored-by: Jatin K Malik <jatinkrmalik@users.noreply.github.com> * fix(ci): avoid libappindicator/ayatana apt conflict Ubuntu packages libappindicator3-1 and libayatana-appindicator3-1 conflict. Rely on gir1.2-* to pull a single implementation and keep libdbusmenu/libnotify explicit for bundling. Co-authored-by: Jatin K Malik <jatinkrmalik@users.noreply.github.com> * fix(ci): install gir1.2-dbusmenu-glib for AppImage typelib seed Dbusmenu-0.4 is a required transitive typelib for AppIndicator; without the GIR package the build fails the required-typelib check. Co-authored-by: Jatin K Malik <jatinkrmalik@users.noreply.github.com> * fix(appimage): require only one AppIndicator typelib variant Runtime accepts AppIndicator3 or AyatanaAppIndicator3. Treat them as alternates in the AppImage typelib check so single-stack build hosts do not fail require_all. Co-authored-by: Jatin K Malik <jatinkrmalik@users.noreply.github.com> * fix(appimage): prefer Ayatana after rebase onto main Align AppImage typelib seeding and GI smoke order with main's Ayatana-first tray preference from #621/#638. Co-authored-by: Jatin K Malik <jatinkrmalik@users.noreply.github.com> * fix(appimage): accept lowercase AyatanaAppindicator3 typelib Match tray_indicator.py's three-step fallback so AppImage builds and GI smoke succeed on hosts that only ship AyatanaAppindicator3-0.1. Co-authored-by: Jatin K Malik <jatinkrmalik@users.noreply.github.com> * fix(main): accept lowercase AyatanaAppindicator3 in dep check Align check_dependencies with tray_indicator.py and the AppImage GI smoke path so a lowercase-only typelib host does not fail at startup. Co-authored-by: Jatin K Malik <jatinkrmalik@users.noreply.github.com> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Jatin K Malik <jatinkrmalik@users.noreply.github.com>
This commit is contained in:
co-authored by
Jatin K Malik
Cursor Agent
parent
9c340029e1
commit
45acb10d13
@@ -43,9 +43,13 @@ jobs:
|
||||
gir1.2-gtk-3.0 \
|
||||
gir1.2-appindicator3-0.1 \
|
||||
gir1.2-ayatanaappindicator3-0.1 \
|
||||
gir1.2-notify-0.7 \
|
||||
gir1.2-dbusmenu-glib-0.4 \
|
||||
gir1.2-ibus-1.0 \
|
||||
gir1.2-rsvg-2.0 \
|
||||
librsvg2-common
|
||||
librsvg2-common \
|
||||
libdbusmenu-gtk3-4 \
|
||||
libnotify4
|
||||
|
||||
- name: Install build dependencies
|
||||
run: |
|
||||
@@ -288,9 +292,13 @@ jobs:
|
||||
gir1.2-gtk-3.0 \
|
||||
gir1.2-appindicator3-0.1 \
|
||||
gir1.2-ayatanaappindicator3-0.1 \
|
||||
gir1.2-notify-0.7 \
|
||||
gir1.2-dbusmenu-glib-0.4 \
|
||||
gir1.2-ibus-1.0 \
|
||||
gir1.2-rsvg-2.0 \
|
||||
librsvg2-common
|
||||
librsvg2-common \
|
||||
libdbusmenu-gtk3-4 \
|
||||
libnotify4
|
||||
|
||||
- name: Install build dependencies
|
||||
run: |
|
||||
|
||||
@@ -43,9 +43,13 @@ jobs:
|
||||
gir1.2-gtk-3.0 \
|
||||
gir1.2-appindicator3-0.1 \
|
||||
gir1.2-ayatanaappindicator3-0.1 \
|
||||
gir1.2-notify-0.7 \
|
||||
gir1.2-dbusmenu-glib-0.4 \
|
||||
gir1.2-ibus-1.0 \
|
||||
gir1.2-rsvg-2.0 \
|
||||
librsvg2-common
|
||||
librsvg2-common \
|
||||
libdbusmenu-gtk3-4 \
|
||||
libnotify4
|
||||
|
||||
- name: Install build dependencies
|
||||
run: |
|
||||
@@ -167,9 +171,13 @@ jobs:
|
||||
gir1.2-gtk-3.0 \
|
||||
gir1.2-appindicator3-0.1 \
|
||||
gir1.2-ayatanaappindicator3-0.1 \
|
||||
gir1.2-notify-0.7 \
|
||||
gir1.2-dbusmenu-glib-0.4 \
|
||||
gir1.2-ibus-1.0 \
|
||||
gir1.2-rsvg-2.0 \
|
||||
librsvg2-common
|
||||
librsvg2-common \
|
||||
libdbusmenu-gtk3-4 \
|
||||
libnotify4
|
||||
|
||||
- name: Install build dependencies
|
||||
run: |
|
||||
|
||||
@@ -199,9 +199,13 @@ jobs:
|
||||
xdotool \
|
||||
gir1.2-appindicator3-0.1 \
|
||||
gir1.2-ayatanaappindicator3-0.1 \
|
||||
gir1.2-notify-0.7 \
|
||||
gir1.2-dbusmenu-glib-0.4 \
|
||||
gir1.2-ibus-1.0 \
|
||||
gir1.2-rsvg-2.0 \
|
||||
librsvg2-common \
|
||||
libdbusmenu-gtk3-4 \
|
||||
libnotify4 \
|
||||
libcairo2-dev \
|
||||
pkg-config \
|
||||
python3-dev \
|
||||
|
||||
Reference in New Issue
Block a user