From fc31199a92042885490b30eb2362f547863d4f8a Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Thu, 10 Oct 2024 15:53:08 +0200 Subject: [PATCH] package/gobject-introspection: don't depend on cairo Currently, goi depends on cairo. So far, this would not cause any issue, but once we bump libglib2 and goi, that would cause a circular dependency chain, where goi would depend on cairo, cairo on libglib2, and libglib2 back on goi... However, in goi, cairo is only needed to build some tests, and thus we do not need that dependency, even before we update goi+libglib2. Thanks to Fiona for helping sorting the issue out. Signed-off-by: Yann E. MORIN Cc: Adam Duskett Cc: Fiona Klute (WIWA) Signed-off-by: Thomas Petazzoni --- package/gobject-introspection/gobject-introspection.mk | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/package/gobject-introspection/gobject-introspection.mk b/package/gobject-introspection/gobject-introspection.mk index ad72af22a2..b1b44d0b4f 100644 --- a/package/gobject-introspection/gobject-introspection.mk +++ b/package/gobject-introspection/gobject-introspection.mk @@ -45,14 +45,8 @@ GOBJECT_INTROSPECTION_CONF_OPTS = \ -Dgi_cross_binary_wrapper="$(STAGING_DIR)/usr/bin/g-ir-scanner-qemuwrapper" \ -Dgi_cross_ldd_wrapper="$(STAGING_DIR)/usr/bin/g-ir-scanner-lddwrapper" \ -Dbuild_introspection_data=true \ - -Ddoctool=disabled - -ifeq ($(BR2_PACKAGE_CAIRO),y) -GOBJECT_INTROSPECTION_DEPENDENCIES += cairo -GOBJECT_INTROSPECTION_CONF_OPTS += -Dcairo=enabled -else -GOBJECT_INTROSPECTION_CONF_OPTS += -Dcairo=disabled -endif + -Ddoctool=disabled \ + -Dcairo=disabled # GI_SCANNER_DISABLE_CACHE=1 prevents g-ir-scanner from writing cache data to ${HOME} GOBJECT_INTROSPECTION_CONF_ENV = \