Skip to contentSkip to conversation

package/libgtk3: disable introspection

PATCH New Fabrice Fontaine 2 participants 2 messages Mar 11, 2020 – Mar 15, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libgtk3: disable introspection

Build will fail if gobject-introspection is built before libgtk3:

GISCAN Gdk-3.0.gir
Couldn't find include 'GdkPixbuf-2.0.gir' (search path: '['/home/fabrice/buildroot/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/bin/../share/gir-1.0', '../gdk', '/home/fabrice/buildroot/output/host/share', '/usr/share/gnome/gir-1.0', '/usr/local/share/gir-1.0', '/usr/share/gir-1.0', '/home/fabrice/buildroot/output/host/share/gir-1.0', '/usr/share/gir-1.0']') make[5]: *** [/home/fabrice/buildroot/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/../share/gobject-introspection-1.0/Makefile.introspection:156: Gdk-3.0.gir] Error 1

So disable introspection on host and target variant

Fixes:
- No autobuilder failures yet

---
 package/libgtk3/libgtk3.mk | 2 ++
 1 file changed, 2 insertions(+)
package/libgtk3/libgtk3.mk +2 -0
index fc131132f9..7df4426fa6 100644
@@ -20,7 +20,9 @@ LIBGTK3_CONF_ENV = \
 
 LIBGTK3_CONF_OPTS = \
 	--disable-glibtest \
+	--disable-introspection \
 	--enable-explicit-deps=no
+HOST_LIBGTK3_CONF_OPTS = --disable-introspection
 
 # Override pkg-config pkgdatadir variable, it needs the prefix
 LIBGTK3_MAKE_OPTS = \
Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/1 package/libgtk3: disable introspection

Fabrice, All,

On 2020-03-11 20:25 +0100, Fabrice Fontaine spake thusly:

Quoted 6 lines

Build will fail if gobject-introspection is built before libgtk3:

GISCAN Gdk-3.0.gir
Couldn't find include 'GdkPixbuf-2.0.gir' (search path: '['/home/fabrice/buildroot/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/bin/../share/gir-1.0', '../gdk', '/home/fabrice/buildroot/output/host/share', '/usr/share/gnome/gir-1.0', '/usr/local/share/gir-1.0', '/usr/share/gir-1.0', '/home/fabrice/buildroot/output/host/share/gir-1.0', '/usr/share/gir-1.0']') make[5]: *** [/home/fabrice/buildroot/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/../share/gobject-introspection-1.0/Makefile.introspection:156: Gdk-3.0.gir] Error 1

Quoted 6 lines

So disable introspection on host and target variant

Fixes:
- No autobuilder failures yet

Applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 25 lines
---
 package/libgtk3/libgtk3.mk | 2 ++
 1 file changed, 2 insertions(+)
package/libgtk3/libgtk3.mk +2 -0
index fc131132f9..7df4426fa6 100644
@@ -20,7 +20,9 @@ LIBGTK3_CONF_ENV = \
 
 LIBGTK3_CONF_OPTS = \
 	--disable-glibtest \
+	--disable-introspection \
 	--enable-explicit-deps=no
+HOST_LIBGTK3_CONF_OPTS = --disable-introspection
 
 # Override pkg-config pkgdatadir variable, it needs the prefix
 LIBGTK3_MAKE_OPTS = \
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'