Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Patch v2 1/1] libgtk3: fix undefined reference to get_xkb()
@ 2014-10-27 12:56 Eric Le Bihan
  2014-11-13 22:31 ` Yann E. MORIN
  2014-11-18 18:14 ` Yann E. MORIN
  0 siblings, 2 replies; 3+ messages in thread
From: Eric Le Bihan @ 2014-10-27 12:56 UTC (permalink / raw)
  To: buildroot

When configuring Gtk+ with --disable-xkb, the build fails because of an
undefined reference to get_xkb().

This issue as been reported upstream [1]. This patch fixes it.

Fixes:

http://autobuild.buildroot.net/results/513/513d79b97bb8ad0e5cd431c47c706b5ec87a9882/
http://autobuild.buildroot.net/results/0c3/0c3f1df92481852622445478d2239371fc818f41/

[1] https://bugzilla.gnome.org/show_bug.cgi?id=739070

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
---
 ...3-0004-Fix-undefined-reference-to-get_xkb.patch | 33 ++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 package/libgtk3/libgtk3-0004-Fix-undefined-reference-to-get_xkb.patch

diff --git a/package/libgtk3/libgtk3-0004-Fix-undefined-reference-to-get_xkb.patch b/package/libgtk3/libgtk3-0004-Fix-undefined-reference-to-get_xkb.patch
new file mode 100644
index 0000000..c2f4b4f
--- /dev/null
+++ b/package/libgtk3/libgtk3-0004-Fix-undefined-reference-to-get_xkb.patch
@@ -0,0 +1,33 @@
+From b64a04250b1f35923434158beb6ddb5726b41eac Mon Sep 17 00:00:00 2001
+From: Eric Le Bihan <eric.le.bihan.dev@free.fr>
+Date: Mon, 27 Oct 2014 10:34:38 +0100
+Subject: [PATCH 1/1] Fix undefined reference to get_xkb()
+
+When configuring Gtk+ with --disable-xkb, the build fails because of an
+undefined reference to get_xkb().
+
+This patch fixes this issue.
+
+Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
+---
+ gdk/x11/gdkkeys-x11.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/gdk/x11/gdkkeys-x11.c b/gdk/x11/gdkkeys-x11.c
+index c45a971..6a5481b 100644
+--- a/gdk/x11/gdkkeys-x11.c
++++ b/gdk/x11/gdkkeys-x11.c
+@@ -1498,8 +1498,10 @@ gdk_x11_keymap_map_virtual_modifiers (GdkKeymap       *keymap,
+   int i, j;
+   gboolean retval;
+ 
++#ifdef HAVE_XKB
+   if (KEYMAP_USE_XKB (keymap))
+     get_xkb (keymap_x11);
++#endif
+ 
+   retval = TRUE;
+ 
+-- 
+1.9.1
+
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [Patch v2 1/1] libgtk3: fix undefined reference to get_xkb()
  2014-10-27 12:56 [Buildroot] [Patch v2 1/1] libgtk3: fix undefined reference to get_xkb() Eric Le Bihan
@ 2014-11-13 22:31 ` Yann E. MORIN
  2014-11-18 18:14 ` Yann E. MORIN
  1 sibling, 0 replies; 3+ messages in thread
From: Yann E. MORIN @ 2014-11-13 22:31 UTC (permalink / raw)
  To: buildroot

Eric, All,

On 2014-10-27 13:56 +0100, Eric Le Bihan spake thusly:
> When configuring Gtk+ with --disable-xkb, the build fails because of an
> undefined reference to get_xkb().
> 
> This issue as been reported upstream [1]. This patch fixes it.
> 
> Fixes:
> 
> http://autobuild.buildroot.net/results/513/513d79b97bb8ad0e5cd431c47c706b5ec87a9882/
> http://autobuild.buildroot.net/results/0c3/0c3f1df92481852622445478d2239371fc818f41/
> 
> [1] https://bugzilla.gnome.org/show_bug.cgi?id=739070
> 
> Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>

Upstream is not very receptive of that patch, however the added conditional
looks very much like what is donw elsewhere in that file to compile-out
xkb-related code. So:

Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  ...3-0004-Fix-undefined-reference-to-get_xkb.patch | 33 ++++++++++++++++++++++
>  1 file changed, 33 insertions(+)
>  create mode 100644 package/libgtk3/libgtk3-0004-Fix-undefined-reference-to-get_xkb.patch
> 
> diff --git a/package/libgtk3/libgtk3-0004-Fix-undefined-reference-to-get_xkb.patch b/package/libgtk3/libgtk3-0004-Fix-undefined-reference-to-get_xkb.patch
> new file mode 100644
> index 0000000..c2f4b4f
> --- /dev/null
> +++ b/package/libgtk3/libgtk3-0004-Fix-undefined-reference-to-get_xkb.patch
> @@ -0,0 +1,33 @@
> +From b64a04250b1f35923434158beb6ddb5726b41eac Mon Sep 17 00:00:00 2001
> +From: Eric Le Bihan <eric.le.bihan.dev@free.fr>
> +Date: Mon, 27 Oct 2014 10:34:38 +0100
> +Subject: [PATCH 1/1] Fix undefined reference to get_xkb()
> +
> +When configuring Gtk+ with --disable-xkb, the build fails because of an
> +undefined reference to get_xkb().
> +
> +This patch fixes this issue.
> +
> +Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
> +---
> + gdk/x11/gdkkeys-x11.c | 2 ++
> + 1 file changed, 2 insertions(+)
> +
> +diff --git a/gdk/x11/gdkkeys-x11.c b/gdk/x11/gdkkeys-x11.c
> +index c45a971..6a5481b 100644
> +--- a/gdk/x11/gdkkeys-x11.c
> ++++ b/gdk/x11/gdkkeys-x11.c
> +@@ -1498,8 +1498,10 @@ gdk_x11_keymap_map_virtual_modifiers (GdkKeymap       *keymap,
> +   int i, j;
> +   gboolean retval;
> + 
> ++#ifdef HAVE_XKB
> +   if (KEYMAP_USE_XKB (keymap))
> +     get_xkb (keymap_x11);
> ++#endif
> + 
> +   retval = TRUE;
> + 
> +-- 
> +1.9.1
> +
> -- 
> 1.9.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [Patch v2 1/1] libgtk3: fix undefined reference to get_xkb()
  2014-10-27 12:56 [Buildroot] [Patch v2 1/1] libgtk3: fix undefined reference to get_xkb() Eric Le Bihan
  2014-11-13 22:31 ` Yann E. MORIN
@ 2014-11-18 18:14 ` Yann E. MORIN
  1 sibling, 0 replies; 3+ messages in thread
From: Yann E. MORIN @ 2014-11-18 18:14 UTC (permalink / raw)
  To: buildroot

Eric, All,

On 2014-10-27 13:56 +0100, Eric Le Bihan spake thusly:
> When configuring Gtk+ with --disable-xkb, the build fails because of an
> undefined reference to get_xkb().
> 
> This issue as been reported upstream [1]. This patch fixes it.

Given we've bumped to libgtk3 3.14.5 since you reported that patch, does
the build failure still occurs?

If so, does that patch still apply? Can you refresh it if needed and
respin?

If the build failure no longer applies, then I'll mark this patch
rejected in Patchwork.

Regards,
Yann E. MORIN.

> Fixes:
> 
> http://autobuild.buildroot.net/results/513/513d79b97bb8ad0e5cd431c47c706b5ec87a9882/
> http://autobuild.buildroot.net/results/0c3/0c3f1df92481852622445478d2239371fc818f41/
> 
> [1] https://bugzilla.gnome.org/show_bug.cgi?id=739070
> 
> Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
> ---
>  ...3-0004-Fix-undefined-reference-to-get_xkb.patch | 33 ++++++++++++++++++++++
>  1 file changed, 33 insertions(+)
>  create mode 100644 package/libgtk3/libgtk3-0004-Fix-undefined-reference-to-get_xkb.patch
> 
> diff --git a/package/libgtk3/libgtk3-0004-Fix-undefined-reference-to-get_xkb.patch b/package/libgtk3/libgtk3-0004-Fix-undefined-reference-to-get_xkb.patch
> new file mode 100644
> index 0000000..c2f4b4f
> --- /dev/null
> +++ b/package/libgtk3/libgtk3-0004-Fix-undefined-reference-to-get_xkb.patch
> @@ -0,0 +1,33 @@
> +From b64a04250b1f35923434158beb6ddb5726b41eac Mon Sep 17 00:00:00 2001
> +From: Eric Le Bihan <eric.le.bihan.dev@free.fr>
> +Date: Mon, 27 Oct 2014 10:34:38 +0100
> +Subject: [PATCH 1/1] Fix undefined reference to get_xkb()
> +
> +When configuring Gtk+ with --disable-xkb, the build fails because of an
> +undefined reference to get_xkb().
> +
> +This patch fixes this issue.
> +
> +Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
> +---
> + gdk/x11/gdkkeys-x11.c | 2 ++
> + 1 file changed, 2 insertions(+)
> +
> +diff --git a/gdk/x11/gdkkeys-x11.c b/gdk/x11/gdkkeys-x11.c
> +index c45a971..6a5481b 100644
> +--- a/gdk/x11/gdkkeys-x11.c
> ++++ b/gdk/x11/gdkkeys-x11.c
> +@@ -1498,8 +1498,10 @@ gdk_x11_keymap_map_virtual_modifiers (GdkKeymap       *keymap,
> +   int i, j;
> +   gboolean retval;
> + 
> ++#ifdef HAVE_XKB
> +   if (KEYMAP_USE_XKB (keymap))
> +     get_xkb (keymap_x11);
> ++#endif
> + 
> +   retval = TRUE;
> + 
> +-- 
> +1.9.1
> +
> -- 
> 1.9.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-11-18 18:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-27 12:56 [Buildroot] [Patch v2 1/1] libgtk3: fix undefined reference to get_xkb() Eric Le Bihan
2014-11-13 22:31 ` Yann E. MORIN
2014-11-18 18:14 ` Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox