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

GNOME 42 - GTK4 support #101

Open
DimStar77 opened this issue Jan 12, 2022 · 2 comments
Open

GNOME 42 - GTK4 support #101

DimStar77 opened this issue Jan 12, 2022 · 2 comments

Comments

@DimStar77
Copy link
Contributor

GNOME 42 will have its nautilus application move to GTK4, which causes trouble with the dropbox-nautilus plugin (slight API changes for GTK4)

The two functions gtk_icon_theme_get_search_path and gtk_icon_theme_set_search_path are used by nautilus-dropbox, and those two are slightly different between GTK3 and GTK4

@rffontenelle
Copy link

Quoting Reminder for projects shipping a Nautilus extension: you must port to GTK4 from GNOME Discourse:

Nautilus 43 has been ported to GTK4. The port has changed the extensions API.

If your project ships a Nautilus extension then your build will break.

You have two options:

  • port your project to the new Nautilus extension API
  • gate the version requirement with libnautilus-extension < 43

Additionally, make sure to have a build configuration option to disable the Nautilus extension.

If you are building your project using a CI pipeline, you’re likely going to be using the stable version of Nautilus, so breakages will be noticed only when the release team tries to compose the full GNOME build. This will likely result in the release team disabling the Nautilus extension, if possible; if that’s not possible, your project will be skipped, and we are all going to be very sad.

@coreyberla
Copy link
Contributor

The two functions gtk_icon_theme_get_search_path and gtk_icon_theme_set_search_path are used by nautilus-dropbox, and those two are slightly different between GTK3 and GTK4

There's a little bit more to it (not much).
#105

jewelpit added a commit that referenced this issue Dec 7, 2022
Fedora 37 includes GNOME 43, which is not backwards compatible with packages built against older versions. We used to build new Fedora versions on Ubuntu, but they removed support for building RPM packages in 20.04. By updating the build script to run on Fedora, this allows us to release coreyberla's fix, resolving #108 and #101.

Co-authored-by: Geoffry Song <goffrie@dropbox.com>
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

3 participants