package/libsecret: enable gobject-introspection support
PATCH 1/12 package/libsecret: enable gobject-introspection support
From: Adam Duskett <[email protected]>
If gobject-introspection is selected, add the gobject-introspection package to the dependency list and set the conf opt --enable-introspection.
--- package/libsecret/libsecret.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
package/libsecret/libsecret.mk +7 -1
@@ -15,11 +15,17 @@ LIBSECRET_CONF_OPTS = \ --disable-manpages \ --disable-strict \ --disable-coverage \ - --enable-introspection=no \ --enable-vala=no LIBSECRET_LICENSE = LGPL-2.1+ LIBSECRET_LICENSE_FILES = COPYING +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +LIBSECRET_CONF_OPTS += --enable-introspection=yes +LIBSECRET_DEPENDENCIES += gobject-introspection +else +LIBSECRET_CONF_OPTS += --enable-introspection=no +endif + ifeq ($(BR2_PACKAGE_LIBGCRYPT),y) LIBSECRET_DEPENDENCIES += libgcrypt LIBSECRET_CONF_OPTS += --enable-gcrypt \
Signature · 1 line
2.25.1
PATCH 2/12 package/pango: enable gobject-introspection support
From: Adam Duskett <[email protected]>
If gobject-introspection is selected, add the gobject-introspection package to the dependency list and set the conf opt --enable-introspection for both host and target.
--- package/pango/pango.mk | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-)
package/pango/pango.mk +12 -2
@@ -12,8 +12,8 @@ PANGO_INSTALL_STAGING = YES PANGO_LICENSE = LGPL-2.0+ PANGO_LICENSE_FILES = COPYING -PANGO_CONF_OPTS = -Duse_fontconfig=true -Dintrospection=false -HOST_PANGO_CONF_OPTS = -Duse_fontconfig=true -Dintrospection=false +PANGO_CONF_OPTS = -Duse_fontconfig=true +HOST_PANGO_CONF_OPTS = -Duse_fontconfig=true PANGO_DEPENDENCIES = \ $(TARGET_NLS_DEPENDENCIES) \
@@ -33,6 +33,16 @@ HOST_PANGO_DEPENDENCIES = \ host-fontconfig \ host-freetype +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +PANGO_CONF_OPTS += -Dintrospection=true +HOST_PANGO_CONF_OPTS += -Dintrospection=true +PANGO_DEPENDENCIES += gobject-introspection +HOST_PANGO_DEPENDENCIES += host-gobject-introspection +else +PANGO_CONF_OPTS += -Dintrospection=false +HOST_PANGO_CONF_OPTS += -Dintrospection=false +endif + ifeq ($(BR2_PACKAGE_XORG7),y) PANGO_DEPENDENCIES += xlib_libX11 endif
Signature · 1 line
2.25.1
PATCH 2/12 package/pango: enable gobject-introspection support
Quoted 7 lines · On Tue, 31 Mar 2020 17:21:24 -0700 aduskett at gmail.com wrote:
From: Adam Duskett <[email protected]>
If gobject-introspection is selected, add the gobject-introspection package to the dependency list and set the conf opt --enable-introspection for both host and target.
Signed-off-by Adam Duskett <[email protected]>
Why for the host ?
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 3/12 package/libgtk2: enable gobject-introspection support
In reply to aduskett at gmail.comFrom: Adam Duskett <[email protected]>
If gobject-introspection is selected, add the gobject-introspection package to the dependency list and set the conf opt --enable-introspection.
--- package/libgtk2/libgtk2.mk | 7 +++++++ 1 file changed, 7 insertions(+)
package/libgtk2/libgtk2.mk +7 -0
@@ -35,6 +35,13 @@ LIBGTK2_CONF_OPTS += \ LIBGTK2_DEPENDENCIES += \ fontconfig xlib_libX11 xlib_libXext xlib_libXrender +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +LIBGTK2_CONF_OPTS += --enable-introspection +LIBGTK2_DEPENDENCIES += gobject-introspection +else +LIBGTK2_CONF_OPTS += --disable-introspection +endif + ifeq ($(BR2_PACKAGE_XLIB_LIBXINERAMA),y) LIBGTK2_CONF_OPTS += --enable-xinerama LIBGTK2_DEPENDENCIES += xlib_libXinerama
Signature · 1 line
2.25.1
PATCH 4/12 package/libgtk3: enable gobject-introspection support
In reply to aduskett at gmail.comFrom: Adam Duskett <[email protected]>
If gobject-introspection is selected, add the gobject-introspection package to the dependency list and set the conf opt --enable-introspection.
--- package/libgtk3/libgtk3.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
package/libgtk3/libgtk3.mk +7 -1
@@ -20,7 +20,6 @@ LIBGTK3_CONF_ENV = \ LIBGTK3_CONF_OPTS = \ --disable-glibtest \ - --disable-introspection \ --enable-explicit-deps=no HOST_LIBGTK3_CONF_OPTS = --disable-introspection
@@ -43,6 +42,13 @@ else LIBGTK3_CONF_OPTS += --disable-x11-backend endif +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +LIBGTK3_CONF_OPTS += --enable-introspection +LIBGTK3_DEPENDENCIES += gobject-introspection +else +LIBGTK3_CONF_OPTS += --disable-introspection +endif + ifeq ($(BR2_PACKAGE_LIBGTK3_WAYLAND),y) LIBGTK3_DEPENDENCIES += wayland wayland-protocols libxkbcommon LIBGTK3_CONF_OPTS += --enable-wayland-backend
Signature · 1 line
2.25.1
PATCH 5/12 package/json-glib: enable gobject-introspection support
In reply to aduskett at gmail.comFrom: Adam Duskett <[email protected]>
If gobject-introspection is selected, add the gobject-introspection package to the dependency list and set the conf opt -Dintrospection=true.
--- package/json-glib/json-glib.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
package/json-glib/json-glib.mk +6 -1
@@ -17,7 +17,12 @@ JSON_GLIB_DEPENDENCIES = \ host-pkgconf \ libglib2 -JSON_GLIB_CONF_OPTS = -Dintrospection=false +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +JSON_GLIB_CONF_OPTS += -Dintrospection=true +JSON_GLIB_DEPENDENCIES += gobject-introspection +else +JSON_GLIB_CONF_OPTS += -Dintrospection=false +endif JSON_GLIB_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)
Signature · 1 line
2.25.1
PATCH 6/12 package/gcr: enable gobject-introspection support
In reply to aduskett at gmail.comFrom: Adam Duskett <[email protected]>
If gobject-introspection is selected, add the gobject-introspection package to the dependency list and set the conf opt --with-introspection.
--- package/gcr/gcr.mk | 7 +++++++ 1 file changed, 7 insertions(+)
package/gcr/gcr.mk +7 -0
@@ -23,6 +23,13 @@ GCR_CONF_OPTS = \ GCR_LICENSE = LGPL-2.1+ GCR_LICENSE_FILES = COPYING +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +GCR_DEPENDENCIES += gobject-introspection +GCR_CONF_OPTS += --with-introspection +else +GCR_CONF_OPTS += --without-introspection +endif + # Only the X11 backend is supported for the simple GUI ifeq ($(BR2_PACKAGE_LIBGTK3_X11),y) GCR_DEPENDENCIES += libgtk3
Signature · 1 line
2.25.1
PATCH 6/12 package/gcr: enable gobject-introspection support
Quoted 9 lines · On Tue, 31 Mar 2020 17:21:28 -0700 aduskett at gmail.com wrote:
From: Adam Duskett <[email protected]>
If gobject-introspection is selected, add the gobject-introspection package to the dependency list and set the conf opt --with-introspection.
Signed-off-by Adam Duskett <[email protected]>--- package/gcr/gcr.mk | 7 +++++++ 1 file changed, 7 insertions(+)
This fails to build:
XSLTPROC Gcr-3.gir/bin/bash: xsltproc: command not found Makefile:6878: recipe for target 'Gcr-3.gir' failed
See:
http://autobuild.buildroot.net/results/178/178ea11b71c87e167fc3f3787fb31ce4ebacb4ff/build-end.log
Could you have a look ?
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 7/12 package/gconf: enable gobject-introspection support
In reply to aduskett at gmail.comFrom: Adam Duskett <[email protected]>
If gobject-introspection is selected, add the gobject-introspection package to the dependency list and set the conf opt --enable-introspection.
--- package/gconf/gconf.mk | 7 +++++++ 1 file changed, 7 insertions(+)
package/gconf/gconf.mk +7 -0
@@ -13,4 +13,11 @@ GCONF_DEPENDENCIES = dbus dbus-glib libglib2 libxml2 \ GCONF_LICENSE = LGPL-2.0+ GCONF_LICENSE_FILES = COPYING +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +GCONF_CONF_OPTS += --enable-introspection +GCONF_DEPENDENCIES += gobject-introspection +else +GCONF_CONF_OPTS += --disable-introspection +endif + $(eval $(autotools-package))
Signature · 1 line
2.25.1
PATCH 8/12 package/atk: enable gobject-introspection support
In reply to aduskett at gmail.comFrom: Adam Duskett <[email protected]>
If gobject-introspection is selected, add the gobject-introspection package to the dependency list and set the conf opt -Dintrospection=true.
--- package/atk/atk.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
package/atk/atk.mk +7 -1
@@ -13,7 +13,13 @@ ATK_LICENSE_FILES = COPYING ATK_INSTALL_STAGING = YES ATK_DEPENDENCIES = libglib2 $(TARGET_NLS_DEPENDENCIES) -ATK_CONF_OPTS = -Dintrospection=false +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +ATK_CONF_OPTS += -Dintrospection=true +ATK_DEPENDENCIES += gobject-introspection +else +ATK_CONF_OPTS += -Dintrospection=false +endif + ATK_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS) $(eval $(meson-package))
Signature · 1 line
2.25.1
PATCH 8/12 package/atk: enable gobject-introspection support
Hello,
Quoted 6 lines · On Tue, 31 Mar 2020 17:21:30 -0700 aduskett at gmail.com wrote:
From: Adam Duskett <[email protected]>
If gobject-introspection is selected, add the gobject-introspection package to the dependency list and set the conf opt -Dintrospection=true.
Signed-off-by Adam Duskett <[email protected]>
This patch breaks the build:
http://autobuild.buildroot.net/results/f40/f40805c59cef2bc56ea7f816f09c489fc631e7af/build-end.log
/bin/sh: 1: /tmp/instance-2/output-1/host/bin/../arm-buildroot-linux-gnueabihf/sysroot/tmp/instance-2/output-1/host/bin/g-ir-scanner: not found
Could you have a look ?
Thanks,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 9/12 package/libgee: enable gobject-introspection support
In reply to aduskett at gmail.comFrom: Adam Duskett <[email protected]>
If gobject-introspection is selected, add the gobject-introspection package to the dependency list and set the conf opt --enable-introspection.
--- package/libgee/libgee.mk | 7 +++++++ 1 file changed, 7 insertions(+)
package/libgee/libgee.mk +7 -0
@@ -13,4 +13,11 @@ LIBGEE_INSTALL_STAGING = YES LIBGEE_LICENSE = LGPL-2.1+ LIBGEE_LICENSE_FILES = COPYING +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +LIBGEE_CONF_OPTS += --enable-introspection +LIBGEE_DEPENDENCIES += gobject-introspection +else +LIBGEE_CONF_OPTS += --disable-introspection +endif + $(eval $(autotools-package))
Signature · 1 line
2.25.1
PATCH 10/12 package/libmediaart: enable gobject-introspection support
In reply to aduskett at gmail.comFrom: Adam Duskett <[email protected]>
If gobject-introspection is selected, add the gobject-introspection package to the dependency list and set the conf opt --enable-introspection.
--- package/libmediaart/libmediaart.mk | 7 +++++++ 1 file changed, 7 insertions(+)
package/libmediaart/libmediaart.mk +7 -0
@@ -33,4 +33,11 @@ LIBMEDIAART_CONF_OPTS += \ --disable-qt endif +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +LIBMEDIAART_CONF_OPTS += --enable-introspection +LIBMEDIAART_DEPENDENCIES += gobject-introspection +else +LIBMEDIAART_CONF_OPTS += --disable-introspection +endif + $(eval $(autotools-package))
Signature · 1 line
2.25.1
PATCH 11/12 package/rygel: enable gobject-introspection support
In reply to aduskett at gmail.comFrom: Adam Duskett <[email protected]>
If gobject-introspection is selected, add the gobject-introspection package to the dependency list and set the conf opt --enable-introspection.
--- package/rygel/rygel.mk | 7 +++++++ 1 file changed, 7 insertions(+)
package/rygel/rygel.mk +7 -0
@@ -33,6 +33,13 @@ ifeq ($(BR2_PACKAGE_GDK_PIXBUF),y) RYGEL_DEPENDENCIES += gdk-pixbuf endif +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +RYGEL_CONF_OPTS += --enable-introspection +RYGEL_DEPENDENCIES += gobject-introspection +else +RYGEL_CONF_OPTS += --disable-introspection +endif + ifeq ($(BR2_PACKAGE_RYGEL_MEDIA_ENGINE_GSTREAMER1),y) RYGEL_CONF_OPTS += \ --with-media-engine=gstreamer \
Signature · 1 line
2.25.1
PATCH 12/12 package/vte: enable gobject-introspection support
In reply to aduskett at gmail.comFrom: Adam Duskett <[email protected]>
If gobject-introspection is selected, add the gobject-introspection package to the dependency list and set the conf opt --enable-introspection.
--- package/vte/vte.mk | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)
package/vte/vte.mk +8 -1
@@ -10,7 +10,14 @@ VTE_SITE = http://ftp.gnome.org/pub/gnome/sources/vte/0.48 VTE_DEPENDENCIES = host-intltool host-pkgconf libgtk3 libxml2 pcre2 VTE_LICENSE = LGPL-2.1+ VTE_LICENSE_FILES = COPYING -VTE_CONF_OPTS += --disable-introspection --disable-vala +VTE_CONF_OPTS += --disable-vala + +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +VTE_CONF_OPTS += --enable-introspection +VTE_DEPENDENCIES += gobject-introspection +else +VTE_CONF_OPTS += --disable-introspection +endif ifeq ($(BR2_PACKAGE_GNUTLS),y) VTE_CONF_OPTS += --with-gnutls
Signature · 1 line
2.25.1
PATCH 1/12 package/libsecret: enable gobject-introspection support
In reply to aduskett at gmail.comAdam, All,
On 2020-03-31 17:21 -0700, aduskett at gmail.com spake thusly:
Quoted 6 lines
From: Adam Duskett <[email protected]>
If gobject-introspection is selected, add the gobject-introspection package to the dependency list and set the conf opt --enable-introspection.
Signed-off-by Adam Duskett <[email protected]>
Except for patch 2, on which Thomas asked a question that was not answered, I have applied the entire series to master, thanks!
Regards,
Yann E. MORIN.
Quoted 34 lines
--- package/libsecret/libsecret.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)package/libsecret/libsecret.mk +7
-1@@ -15,11 +15,17 @@ LIBSECRET_CONF_OPTS = \ --disable-manpages \ --disable-strict \ --disable-coverage \ - --enable-introspection=no \ --enable-vala=no LIBSECRET_LICENSE = LGPL-2.1+ LIBSECRET_LICENSE_FILES = COPYING +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +LIBSECRET_CONF_OPTS += --enable-introspection=yes +LIBSECRET_DEPENDENCIES += gobject-introspection +else +LIBSECRET_CONF_OPTS += --enable-introspection=no +endif + ifeq ($(BR2_PACKAGE_LIBGCRYPT),y) LIBSECRET_DEPENDENCIES += libgcrypt LIBSECRET_CONF_OPTS += --enable-gcrypt \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. | '------------------------------^-------^------------------^--------------------'