public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in x11-misc/colord/files: colord-0.1.11-fix-automagic-vala.patch
@ 2011-08-14 13:48 Nirbheek Chauhan (nirbheek)
  0 siblings, 0 replies; only message in thread
From: Nirbheek Chauhan (nirbheek) @ 2011-08-14 13:48 UTC (permalink / raw
  To: gentoo-commits

nirbheek    11/08/14 13:48:22

  Added:                colord-0.1.11-fix-automagic-vala.patch
  Log:
  Add colord from the gnome overlay for GNOME 3
  
  (Portage version: 2.2.0_alpha39_p14/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  x11-misc/colord/files/colord-0.1.11-fix-automagic-vala.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/colord/files/colord-0.1.11-fix-automagic-vala.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/colord/files/colord-0.1.11-fix-automagic-vala.patch?rev=1.1&content-type=text/plain

Index: colord-0.1.11-fix-automagic-vala.patch
===================================================================
diff -ur colord-0.1.11//configure.ac colord-0.1.11.new//configure.ac
--- colord-0.1.11//configure.ac	2011-08-01 14:25:25.000000000 +0530
+++ colord-0.1.11.new//configure.ac	2011-08-14 18:55:45.560334275 +0530
@@ -218,8 +218,10 @@
 dnl ---------------------------------------------------------------------------
 dnl - Build VALA support
 dnl ---------------------------------------------------------------------------
-if test x$found_introspection != xno; then
+AC_ARG_ENABLE(vala, AS_HELP_STRING([--enable-vala],[build vala bindings]),
+	      enable_vala=$enableval,enable_vala=no)
+if test x$found_introspection != xno -a x$enable_vala != xno; then
	AC_PATH_PROG([VAPIGEN], [vapigen], [])
 	if test "x$VAPIGEN" = "x"; then
 		has_vapigen="no"
 		AC_MSG_WARN([vapigen not found, will not build Vala binding])
@@ -228,7 +230,9 @@
 	fi
 else
 	has_vapigen="no"
-	AC_MSG_WARN([Not introspection found, will not build Vala binding])
+	if test x$found_introspection = xno; then
+		AC_MSG_WARN([introspection not found, will not build Vala binding])
+	fi
 fi
 AM_CONDITIONAL(HAVE_VAPIGEN, [test "x$has_vapigen" = "xyes"])
 






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-08-14 13:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-14 13:48 [gentoo-commits] gentoo-x86 commit in x11-misc/colord/files: colord-0.1.11-fix-automagic-vala.patch Nirbheek Chauhan (nirbheek)

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