Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

32 bits compatible extensions #62

Open
mirkobrombin opened this issue Aug 17, 2021 · 3 comments
Open

32 bits compatible extensions #62

mirkobrombin opened this issue Aug 17, 2021 · 3 comments

Comments

@mirkobrombin
Copy link

mirkobrombin commented Aug 17, 2021

Some applications require 32 bits compatible extensions to run binaries and build 32 bits projects.

E.g. Bottles use the org.gnome.Platform.Compat.i386 extension which is not available in the elementary repository. We need that to be able to compile some libraries and run 32 bits binaries via wine.

FWIK the org.gnome.Platform.Compat.i386 is based on top of the org.freedesktop.Platform.Compat extension, including the GNOME Platform. I don't know if the best solution is to mirror it in the elementary repositories or provide a variant (maybe it's already there?)

As a workaround I am getting the necessary libraries from the AppImage but the extension might be the best solution.

I am relatively new to the world of Flatpak, let me know if I'm wrong please 😁

Originally posted by @mirkobrombin in #61

@alatiera
Copy link
Contributor

👍 from me.

There are not many apps that will need a .Compat extension but it would be nice to have it. There's also a .Compat extensions for armv7 and aarch64.

@cassidyjames
Copy link
Contributor

We're currently including a filtered Flathub in elementary OS to provide org.freedesktop.* extensions, so a FreeDesktop extension should be usable ootb. We could potentially add GNOME Platforms to the allowlist as well, but I'm not sure how updating that allowlist will actually work.

@gasinvein
Copy link

Reusing GNOME's 32-bit compatibility extension should be rather easy, i.e. just add org.gnome.Sdk.Compat.i386 to inherit-sdk-extensions. The problem is that this extension is valid only for x86_64 SDK, while extension-related options in flatpak-builder manifest can't be defined on per-arch basis; see flatpak/flatpak-builder#381. The KDE flatpak runtime has faced a similar problem some time ago.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants