3.4: Update libxklavier, re-enable-introspection

This fixes gnome-shell too.
This commit is contained in:
Colin Walters 2012-05-01 17:28:25 -04:00
parent 8d6bdaedfe
commit 69d0c00892
3 changed files with 28 additions and 30 deletions

View File

@ -502,11 +502,10 @@
"iso-codes-builddir.patch"]},
{"src": "fd:libxklavier",
"branch": "v.5.2",
"config-opts": ["--disable-introspection"]},
"patches": ["libxklavier-builddir.patch"],
"branch": "v.5.2.1"},
{"src": "gnome:libgnomekbd",
"config-opts": ["--disable-introspection"]},
{"src": "gnome:libgnomekbd"},
{"src": "fd-pulse:pulseaudio",
"branch": "v0.9.23",

View File

@ -0,0 +1,25 @@
From 41e2d4eaec24006139d4e64ee0ae6a21c9ea2d74 Mon Sep 17 00:00:00 2001
From: Colin Walters <walters@verbum.org>
Date: Tue, 1 May 2012 15:59:51 -0400
Subject: [PATCH] build: Fix srcdir != builddir when introspection is enabled
---
libxklavier/Makefile.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libxklavier/Makefile.am b/libxklavier/Makefile.am
index c53ff6d..5be41b9 100644
--- a/libxklavier/Makefile.am
+++ b/libxklavier/Makefile.am
@@ -94,7 +94,7 @@ introspection_sources = $(xklavier_headers) $(filter %.c, $(libxklavier_la_SOURC
Xkl-1.0.gir: libxklavier.la
Xkl_1_0_gir_INCLUDES = GObject-2.0 xlib-2.0
-Xkl_1_0_gir_CFLAGS = -I$(top_srcdir) $(INCLUDES) $(X_CFLAGS) $(XML_CFLAGS) $(GLIB_CFLAGS) $(XINPUT_CFLAGS)
+Xkl_1_0_gir_CFLAGS = -I$(top_srcdir) -I$(top_builddir) $(INCLUDES) $(X_CFLAGS) $(XML_CFLAGS) $(GLIB_CFLAGS) $(XINPUT_CFLAGS)
Xkl_1_0_gir_LIBS = libxklavier.la
Xkl_1_0_gir_FILES = $(xklavier_headers) $(introspection_sources)
INTROSPECTION_GIRS += Xkl-1.0.gir
--
1.7.7.6

View File

@ -1,26 +0,0 @@
From cba6ce13bead45ab2df5012da584a26b5a58a563 Mon Sep 17 00:00:00 2001
From: Colin Walters <walters@verbum.org>
Date: Mon, 16 Jan 2012 19:16:19 -0500
Subject: [PATCH] build: Note that we don't support srcdir != builddir
---
configure.ac | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/configure.ac b/configure.ac
index 4beff28..a903256 100644
--- a/configure.ac
+++ b/configure.ac
@@ -13,6 +13,9 @@ AC_CONFIG_AUX_DIR([build-aux])
AM_INIT_AUTOMAKE([1.10 dist-bzip2 -Wno-portability])
AM_MAINTAINER_MODE([enable])
+dnl http://people.gnome.org/~walters/docs/build-api.txt
+echo \#buildapi-variable-no-builddir >/dev/null
+
# Support silent build rules, requires at least automake-1.11. Disable
# by either passing --disable-silent-rules to configure or passing V=1
# to make
--
1.7.6.4