Reorganize modules #270

Merged
jwharm merged 3 commits from module-reorganization into main 2025-09-06 11:04:54 +02:00
jwharm commented 2025-09-06 11:04:45 +02:00 (Migrated from github.com)

I've reorganized the modules:

  • GLib, GObject, GIO and GModule are bundled in one module org.gnome.glib
  • Gdk, Graphene, Gsk and Gtk are bundled in one module org.gnome.gtk
  • Pango and PangoCairo are bundled in org.gnome.pango
  • Gst, GstBase, GstAudio, GstVideo and GstPbUtils are bundled in module org.freedesktop.gstreamer
  • WebKit, WebKitWebProcessExtension and JavaScriptCore are bundled in module org.webkitgtk
  • The test modules GIMarshallingTests, Regress, WarnLib and Utility are bundled in module org.gnome.gobjectintrospectiontests
  • The remaining modules (Adw, GdkPixbuf, GtkSourceView, HarfBuzz and Soup) are unchanged.

Reasons for this change:

  • The new setup is more in line with the upstream project structure. For example, GLib, Gio, GObject and GModule are all in the same repository in GNOME GitLab.
  • Fewer modules mean fewer artifacts to publish on Maven and a simpler dependency tree.
  • Fewer modules means faster Gradle build/configuration speed for java-gi.

I don't expact that this change breaks existing code much, because most apps will depend on Adw or Gtk, and that still works unchanged.

I've reorganized the modules: - GLib, GObject, GIO and GModule are bundled in one module `org.gnome.glib` - Gdk, Graphene, Gsk and Gtk are bundled in one module `org.gnome.gtk` - Pango and PangoCairo are bundled in `org.gnome.pango` - Gst, GstBase, GstAudio, GstVideo and GstPbUtils are bundled in module `org.freedesktop.gstreamer` - WebKit, WebKitWebProcessExtension and JavaScriptCore are bundled in module `org.webkitgtk` - The test modules GIMarshallingTests, Regress, WarnLib and Utility are bundled in module `org.gnome.gobjectintrospectiontests` - The remaining modules (Adw, GdkPixbuf, GtkSourceView, HarfBuzz and Soup) are unchanged. Reasons for this change: - The new setup is more in line with the upstream project structure. For example, GLib, Gio, GObject and GModule are all in the same repository in GNOME GitLab. - Fewer modules mean fewer artifacts to publish on Maven and a simpler dependency tree. - Fewer modules means faster Gradle build/configuration speed for java-gi. I don't expact that this change breaks existing code much, because most apps will depend on Adw or Gtk, and that still works unchanged.
Sign in to join this conversation.
No description provided.