[banshee/gtk3] build: Display the gtk-sharp version in the configure output



commit e7f652c8bafc5ff5507366aa8abda1d60e2fb40c
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date:   Wed Jul 27 19:49:46 2011 +0200

    build: Display the gtk-sharp version in the configure output
    
    This might still be useful when there will be several releases of
    gtk-sharp-3.0 out there.
    
    Remove also the GTK3_FLAG build flag, and do a few small cleanups in the
    configure output.

 build/build.rules.mk          |    2 +-
 build/m4/banshee/gtk-sharp.m4 |    2 ++
 configure.ac                  |    6 +++---
 3 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/build/build.rules.mk b/build/build.rules.mk
index b799156..348e7cd 100644
--- a/build/build.rules.mk
+++ b/build/build.rules.mk
@@ -60,7 +60,7 @@ $(ASSEMBLY_FILE): $(SOURCES_BUILD) $(RESOURCES_EXPANDED) $(DEP_LINK)
 		$(ASSEMBLY_BUILD_FLAGS) \
 		-nowarn:0278 -nowarn:0078 $$warn \
 		-debug -target:$(TARGET) -out:$@ \
-		$(BUILD_DEFINES) $(ENABLE_TESTS_FLAG) $(GTK3_FLAG) \
+		$(BUILD_DEFINES) $(ENABLE_TESTS_FLAG) \
 		$(FILTERED_LINK) $(RESOURCES_BUILD) $(SOURCES_BUILD)
 	@if [ -e $(srcdir)/$(notdir $  config) ]; then \
 		cp $(srcdir)/$(notdir $  config) $(top_builddir)/bin; \
diff --git a/build/m4/banshee/gtk-sharp.m4 b/build/m4/banshee/gtk-sharp.m4
index c87ff67..a52ea37 100644
--- a/build/m4/banshee/gtk-sharp.m4
+++ b/build/m4/banshee/gtk-sharp.m4
@@ -5,6 +5,8 @@ AC_DEFUN([BANSHEE_CHECK_GTK_SHARP],
 	PKG_CHECK_MODULES(GLIBSHARP, glib-sharp-3.0 >= $GTKSHARP3_REQUIRED)
 	PKG_CHECK_MODULES(GTKSHARP, gtk-sharp-3.0 >= GTKSHARP3_REQUIRED)
 
+	gtk_sharp_version=$(pkg-config --modversion gtk-sharp-3.0)
+
 	AC_SUBST(GLIBSHARP_LIBS)
 	AC_SUBST(GTKSHARP_LIBS)
 ])
diff --git a/configure.ac b/configure.ac
index 58453f7..2f45a55 100644
--- a/configure.ac
+++ b/configure.ac
@@ -369,7 +369,7 @@ ${PACKAGE}-${VERSION}
     C Compiler:            ${CC}
     Mono C# Compiler:      ${MCS} ${GMCS_FLAGS}
     Mono Runtime:          ${MONO}
-    Gtk#:                  3
+    Gtk#:                  ${gtk_sharp_version}
 
   Video/Graphics:
     Graphics System:       ${GRAPHICS_SUBSYSTEM}
@@ -392,8 +392,8 @@ ${PACKAGE}-${VERSION}
       + GNOME Proxy        ${have_libsoup_gnome} (libsoup-gnome-2.4 >= $SOUP_GNOME_MIN_VERSION)
     Boo Scripting:         ${enable_boo}
     DAAP:                  ${enable_daap}
-    GIO Backend:           ${enable_gio} (glib >= 2.22, gio-sharp)
-    GIO Hardware:          ${enable_gio_hardware} (gudev-sharp, gkeyfile-sharp)
+    GIO Backend:           ${enable_gio} (gio-sharp >= 2.99)
+    GIO Hardware:          ${enable_gio_hardware} (gudev-sharp)
     YouTube:               ${enable_youtube} (gdata-sharp >= 1.4)
     Sound Menu:            ${enable_soundmenu}
     Ubuntu One Store:      ${enable_ubuntuone} (ubuntuone-sharp >= 0.3.2)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]