[gmime] Depend on glib-sharp instead of gtk-sharp



commit 54b51de38653224f8229637ba3bb7e095cf68d87
Author: Jeffrey Stedfast <fejj gnome org>
Date:   Mon Mar 14 17:07:37 2011 -0400

    Depend on glib-sharp instead of gtk-sharp
    
    2011-03-14  Jeffrey Stedfast  <fejj novell com>
    
    	* configure.ac: Check for glib-sharp-2.0 instead of gtk-sharp-2.0
    	since we really only depend on glib-sharp. Also check for gapi-2.0
    	via pkgconfig.

 ChangeLog        |    6 ++++++
 configure.ac     |    5 +++--
 mono/Makefile.am |    2 +-
 3 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index f3e5b40..97bdc5a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-03-14  Jeffrey Stedfast  <fejj novell com>
+
+	* configure.ac: Check for glib-sharp-2.0 instead of gtk-sharp-2.0
+	since we really only depend on glib-sharp. Also check for gapi-2.0
+	via pkgconfig.
+
 2011-03-07  Jeffrey Stedfast  <fejj novell com>
 
 	* README: Bumped version
diff --git a/configure.ac b/configure.ac
index 229d8fb..8410a44 100644
--- a/configure.ac
+++ b/configure.ac
@@ -533,9 +533,10 @@ if test "x$enable_mono" = "xyes"; then
 	AC_SUBST(CSC)
 	AC_SUBST(GACUTIL)
 	
-	PKG_CHECK_MODULES(GTK_SHARP, gtk-sharp-2.0 >= 2.4.0)
-	AC_SUBST(GTK_SHARP_LIBS)
+	PKG_CHECK_MODULES(GLIB_SHARP, glib-sharp-2.0 >= 2.4.0)
+	AC_SUBST(GLIB_SHARP_LIBS)
 	
+	PKG_CHECK_MODULES(GAPI_TOOLS, gapi-2.0)
 	AC_PATH_PROG(GAPI_CODEGEN, gapi2-codegen, no)
 	if test "x$GAPI_CODEGEN" = "xno"; then
         	AC_MSG_ERROR([You need to install gtk-sharp2-gapi])
diff --git a/mono/Makefile.am b/mono/Makefile.am
index 3d9c3bd..349aa51 100644
--- a/mono/Makefile.am
+++ b/mono/Makefile.am
@@ -2,7 +2,7 @@ API = gmime-api.xml
 RAW_API = gmime-api.raw
 METADATA = GMime.metadata
 ASSEMBLY_NAME = gmime-sharp
-references = $(GTK_SHARP_LIBS)
+references = $(GLIB_SHARP_LIBS)
 SOURCES_XML = sources.xml
 
 PACKAGE_SHARP = $(PACKAGE)-sharp-$(GMIME_API_VERSION)



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