[mutter] Freeze api_version to 3.0



commit b5f277bd7b6f71f59bee640ac6249d5809afafa4
Author: Owen W. Taylor <otaylor fishsoup net>
Date:   Fri Jul 1 19:19:11 2011 -0400

    Freeze api_version to 3.0
    
    Back the API version down to 3.0; since we don't make any stability
    guarantees, there's no reason to have a merry-go-round of different
    directories and filenames that people have to keep up with.

 configure.in    |    7 ++++++-
 src/Makefile.am |    6 +++++-
 2 files changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/configure.in b/configure.in
index 48afba3..a82ed26 100644
--- a/configure.in
+++ b/configure.in
@@ -215,7 +215,12 @@ GOBJECT_INTROSPECTION_CHECK([$INTROSPECTION_VERSION])
 if test x$found_introspection != xno; then
   AC_DEFINE(HAVE_INTROSPECTION, 1, [Define if GObject introspection is available])
   MUTTER_PC_MODULES="$MUTTER_PC_MODULES gobject-introspection-1.0"
-  META_GIR=[Meta_]mutter_major_version[_]mutter_minor_version[_gir]
+  # Since we don't make any guarantees about stability and we don't support
+  # parallel install, there's no real reason to change directories, filenames,
+  # etc. as we change the Mutter tarball version. Note that this must match
+  # api_version in src/Makefile.am
+  META_GIR=Meta_3_0_gir
+  # META_GIR=[Meta_]mutter_major_version[_]mutter_minor_version[_gir]
   AC_SUBST(META_GIR)
 fi
 
diff --git a/src/Makefile.am b/src/Makefile.am
index 30d6fbd..c98214c 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -204,7 +204,11 @@ mutter_LDADD = $(MUTTER_LIBS) libmutter.la
 if HAVE_INTROSPECTION
 include $(INTROSPECTION_MAKEFILE)
 
-api_version = $(MUTTER_MAJOR_VERSION).$(MUTTER_MINOR_VERSION)
+# Since we don't make any guarantees about stability and we don't support
+# parallel install, there's no real reason to change directories, filenames,
+# etc. as we change the Mutter tarball version.
+#api_version = $(MUTTER_MAJOR_VERSION).$(MUTTER_MINOR_VERSION)
+api_version = 3.0
 
 # These files are in package-private directories, even though they may be used
 # by plugins.  If you're writing a plugin, use g-ir-compiler --add-include-path



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