From 9f90fd2df91ffad4ed5b30d8faeaafd1f2d92deb Mon Sep 17 00:00:00 2001 From: Ngo Quoc Dat Date: Thu, 15 Oct 2026 22:39:23 +0700 Subject: [PATCH] fix(linux): require the GLES library GTK loads at runtime in the rpm Without GNOME Shell nothing installs libGLESv2 on Fedora 44, not even as a weak dependency of gtk4 or libepoxy, so tablepro aborted at startup in libepoxy, as the CI smoke test of the rpm found. --- linux/build-aux/rpm/tablepro.spec | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/linux/build-aux/rpm/tablepro.spec b/linux/build-aux/rpm/tablepro.spec index 9f8bfbd6ab..b3bc021a73 100644 --- a/linux/build-aux/rpm/tablepro.spec +++ b/linux/build-aux/rpm/tablepro.spec @@ -47,6 +47,14 @@ BuildRequires: glibc-langpack-en BuildRequires: openssh-clients Requires: hicolor-icon-theme +# GTK's renderer loads libGLESv2 at runtime through libepoxy, which aborts +# without it, and neither gtk4 nor libepoxy declares it: GNOME Shell pulls +# it in, but a minimal install, a toolbox or another desktop may not. +%if %{__isa_bits} == 64 +Requires: libGLESv2.so.2()(64bit) +%else +Requires: libGLESv2.so.2 +%endif # SSH tunnels run through the system OpenSSH client. Requires: openssh-clients