Advertisement
darkxst

g-s gir patch

Feb 21st, 2013
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.90 KB | None | 0 0
  1. From d6391625c6affe1ff1e4143afbf73277486913d5 Mon Sep 17 00:00:00 2001
  2. From: Tim Lunn <tim@feathertop.org>
  3. Date: Wed, 13 Feb 2013 11:29:49 +1100
  4. Subject: [PATCH] Filter out RequiredDefines include for gir-scanner
  5.  
  6. ---
  7. src/Makefile.am | 6 +++---
  8.  1 file changed, 3 insertions(+), 3 deletions(-)
  9.  
  10. diff --git a/src/Makefile.am b/src/Makefile.am
  11. index 6a6bb24..f7fcadc 100644
  12. --- a/src/Makefile.am
  13. +++ b/src/Makefile.am
  14. @@ -288,7 +288,7 @@ libgnome_shell_la_CPPFLAGS = $(gnome_shell_cflags)
  15.  
  16.  Shell-0.1.gir: libgnome-shell.la St-1.0.gir
  17.  Shell_0_1_gir_INCLUDES = Clutter-1.0 ClutterX11-1.0 Meta-3.0 TelepathyGLib-0.12 TelepathyLogger-0.2 Soup-2.4 GMenu-3.0 NetworkManager-1.0 NMClient-1.0
  18. -Shell_0_1_gir_CFLAGS = $(libgnome_shell_la_CPPFLAGS) -I $(srcdir)
  19. +Shell_0_1_gir_CFLAGS = $(filter-out -include %.h,$(libgnome_shell_la_CPPFLAGS)) -I $(srcdir)
  20.  Shell_0_1_gir_LIBS = libgnome-shell.la
  21.  Shell_0_1_gir_FILES = $(libgnome_shell_la_gir_sources)
  22.  Shell_0_1_gir_SCANNERFLAGS = --include-uninstalled=$(builddir)/St-1.0.gir \
  23. @@ -297,7 +297,7 @@ INTROSPECTION_GIRS += Shell-0.1.gir
  24.  CLEANFILES += Shell-0.1.gir
  25.  
  26.  ShellJS-0.1.gir: libgnome-shell-js.la
  27. -ShellJS_0_1_gir_CFLAGS = $(libgnome_shell_la_CPPFLAGS) -I $(srcdir)
  28. +ShellJS_0_1_gir_CFLAGS = $(filter-out -include %.h,$(libgnome_shell_la_CPPFLAGS)) -I $(srcdir)
  29.  ShellJS_0_1_gir_LIBS = libgnome-shell-js.la
  30.  ShellJS_0_1_gir_FILES = $(libgnome_shell_js_la_SOURCES)
  31.  INTROSPECTION_GIRS += ShellJS-0.1.gir
  32. @@ -305,7 +305,7 @@ CLEANFILES += ShellJS-0.1.gir
  33.  
  34.  St-1.0.gir: libst-1.0.la
  35.  St_1_0_gir_INCLUDES = Clutter-1.0 Gtk-3.0
  36. -St_1_0_gir_CFLAGS = $(st_cflags) -DST_COMPILATION
  37. +St_1_0_gir_CFLAGS = $(filter-out -include %.h,$(st_cflags)) -DST_COMPILATION
  38.  St_1_0_gir_LIBS = libst-1.0.la
  39.  St_1_0_gir_FILES = $(filter-out %-private.h $(st_non_gir_sources), $(addprefix $(srcdir)/,$(st_source_h))) \
  40.     $(addprefix $(srcdir)/,$(st_source_c))
  41. --
  42. 1.8.1.2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement