mbox series

[next,v2,0/3] libglib2 2.82 series with bootstrap

Message ID 20240830122637.3722450-1-fiona.klute@gmx.de
Headers show
Series libglib2 2.82 series with bootstrap | expand

Message

Fiona Klute Aug. 30, 2024, 12:26 p.m. UTC
From: "Fiona Klute (WIWA)" <fiona.klute@gmx.de>

Since 2.79.0 libglib2 needs to be bootstrapped without introspection
support before gobject-introspection can be built, the added
libglib2-bootstrap sub-package takes care of that. See NEWS at [1].

Open points from my point of view:

Do we need to support BR2_PACKAGE_HOST_QEMU_USER_MODE_ARGS in the
Meson exe_wrapper? If yes, how? LIBGLIB2_MESON_EXTRA_BINARIES does not
allow spaces, a wrapper script might be a workaround (but should
probably be part of host-qemu if that's the way to go).

Is there any way to check if host-libglib2 should be built with
introspection? There is no BR2_PACKAGE_HOST_GOBJECT_INTROSPECTION
option. Skipping bootstrap for the host package would mostly be a
performance optimization though (skip building gobject-introspection
and the second libglib2 build), unlike for the target package where it
adds the dependency on Qemu.

Thanks in advance for the review,
Fiona

[1] https://gitlab.gnome.org/GNOME/glib/-/blob/17d1bf3c4962d942feea0830aeee6833104fef5d/NEWS#L429-438

Changes v1 -> v2:
* Update libglib2 to 2.82.0 instead of 2.80.4, drop one more patch
* make building introspection data for libglib2 conditional on
  BR2_PACKAGE_GOBJECT_INTROSPECTION=y
* skip bootstrap for target package when building without
  introspection, do not depend on Qemu in that case

Fiona Klute (WIWA) (3):
  package/{gobject-introspection, libglib2}: bump to {1.80.1, 2.82.0}
  package/python-gobject: bump to version 3.48.2
  package/network-manager: optional gobject-introspection

 package/gobject-introspection/Config.in       |  8 +-
 .../gobject-introspection.hash                |  4 +-
 .../gobject-introspection.mk                  | 11 ++-
 ...girdir-to-gio-2.0.pc-and-glib-2.0.pc.patch | 38 ++++----
 ...rmat-in-gio-gunixconnection.c-part-2.patch | 93 ------------------
 ...documentation-generation-with-gtk_do.patch | 96 -------------------
 ...ion-of-a-system-provided-proxy-libin.patch | 53 ----------
 ...05-meson-try-iconv-in-libintl-lookup.patch | 53 ----------
 .../0006-link-with-latomic-when-needed.patch  | 52 ----------
 package/libglib2/Config.in                    |  2 +
 ...girdir-to-gio-2.0.pc-and-glib-2.0.pc.patch |  1 +
 .../libglib2-bootstrap.hash                   |  1 +
 .../libglib2-bootstrap/libglib2-bootstrap.mk  | 47 +++++++++
 package/libglib2/libglib2.hash                |  4 +-
 package/libglib2/libglib2.mk                  | 21 +++-
 package/network-manager/network-manager.mk    |  7 +-
 package/python-gobject/Config.in              |  8 +-
 package/python-gobject/python-gobject.hash    |  4 +-
 package/python-gobject/python-gobject.mk      |  2 +-
 19 files changed, 119 insertions(+), 386 deletions(-)
 delete mode 100644 package/libglib2/0002-Fix-error-format-in-gio-gunixconnection.c-part-2.patch
 delete mode 100644 package/libglib2/0003-meson-wrap-html-documentation-generation-with-gtk_do.patch
 delete mode 100644 package/libglib2/0004-meson-Fix-detection-of-a-system-provided-proxy-libin.patch
 delete mode 100644 package/libglib2/0005-meson-try-iconv-in-libintl-lookup.patch
 delete mode 100644 package/libglib2/0006-link-with-latomic-when-needed.patch
 create mode 120000 package/libglib2/libglib2-bootstrap/0001-meson.build-add-girdir-to-gio-2.0.pc-and-glib-2.0.pc.patch
 create mode 120000 package/libglib2/libglib2-bootstrap/libglib2-bootstrap.hash
 create mode 100644 package/libglib2/libglib2-bootstrap/libglib2-bootstrap.mk

--
2.45.2