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

Possible to downgrade GTK dependency? #1321

Closed
sbstn87 opened this issue May 24, 2024 · 2 comments
Closed

Possible to downgrade GTK dependency? #1321

sbstn87 opened this issue May 24, 2024 · 2 comments
Labels
question Further information is requested

Comments

@sbstn87
Copy link

sbstn87 commented May 24, 2024

Question:
Hi,

would it be possible to downgrade the required GTK dependency from 4.12 to 4,8.3? This would enable Foliate to be available for Debian 12 (stable) as a native .deb package.

Version:

  • Foliate version: 3.1.1
  • OS/Distribution and version : Debian 12 (stable)
  • Installation method: .deb package
@sbstn87 sbstn87 added the question Further information is requested label May 24, 2024
@johnfactotum
Copy link
Owner

I think 4.12 is only required for the can-shrink property on buttons (see 5f58a69), so the minimum is actually 4.10 after 155b94d. 4.10 is required for the new dialog APIs. See 61358a9. It would be easy to make it fallback to the old API (but note that the old file chooser is buggy; see #1007).

The much bigger problem is Libadwaita. Debian 12 has 1.2. Foliate requires 1.4. Libadwaita is very actively developed, with many additions and deprecations in each version. In fact I find them a bit challenging to keep up with. It's true that one can revert to using the old APIs but that would be kind of contrary to the spirit of the library, and would make the app work less well on current versions of GNOME.

@sbstn87
Copy link
Author

sbstn87 commented May 25, 2024

Understood. So rather no chances for a sort of "backport".

Luckily there's always a Flatpak version.

Thank you for your answer.

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

No branches or pull requests

2 participants