tilix icon indicating copy to clipboard operation
tilix copied to clipboard

Tilix Flatpak version on Fedora 38 crashes

Open zactionn opened this issue 2 years ago • 1 comments

Steps to reproduce:

  1. Tilix window doesn't appear on 1st launch, crash message and reporting is shown
  2. Subsequent launches: terminal is shown but crashes a few seconds later

zactionn avatar May 28 '23 23:05 zactionn

I managed to get the flatpak working.

Key fix: https://github.com/gnunn1/tilix/commit/2318e3df39bdf80800d46a806eacf96f4ccca17b

All fixes to build against Gnome 47: https://github.com/gnunn1/tilix/compare/master...edgan:tilix:master https://github.com/edgan/org.freedesktop.Sdk.Extension.dmd/tree/branch/24.08

The confusing part: https://github.com/flatpak/flatpak-builder/issues/494

The org.gnome.Sdk gets built against whatever version of org.freedesktop.Sdk. org.freedesktop.Sdk uses versions like 22.08 or 24.08. Where as org.gnome.Sdk uses the version of Gnome like 45 or 47. When trying to build the tilix flatpak against org.gnome.Sdk it will complain it can't find org.freedesktop.Sdk.Extension.ldc/x86_64/47 and org.freedesktop.Sdk.Extension.dmd/x86_64/47. But the error message is a lie. It really wants the versions of them that match the version org.gnome.Sdk was compiled against. In the case of 47, this was 24.08. So you need org.freedesktop.Sdk.Extension.ldc/x86_64/24.08 and org.freedesktop.Sdk.Extension.dmd/x86_64/24.08. The ldc one exists, but I had to make and build the one for dmd.

It will also not auto install them, so you have to install them manually before trying to build the tilix flatpak.

edgan avatar Jan 04 '25 01:01 edgan