[gtk-mac-integration] Bump Version to 2.0.0
- From: John Ralls <jralls src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-mac-integration] Bump Version to 2.0.0
- Date: Thu, 27 Sep 2012 20:23:12 +0000 (UTC)
commit ed76eea8c67c782a6a19cc6013882cd5a564ca01
Author: John Ralls <jralls ceridwen us>
Date: Tue Sep 25 17:37:07 2012 -0700
Bump Version to 2.0.0
Reflects the changed function names to get it working with
introspection.
Also add Libtool Versioning support
configure.ac | 12 +++++++++++-
src/Makefile.am | 2 +-
2 files changed, 12 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 92341fc..6b59ba3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,6 +1,16 @@
AC_PREREQ(2.52)
-AC_INIT(gtk-mac-integration, 1.0.2)
+AC_INIT(gtk-mac-integration, 2.0.0)
+# Before making a release, the LT_VERSION string should be modified.
+# The string is of the form C:R:A.
+# - If interfaces have been changed or added, but binary compatibility has
+# been preserved, change to C+1:0:A+1
+# - If binary compatibility has been broken (eg removed or changed interfaces)
+# change to C+1:0:0
+# - If the interface is the same as the previous version, change to C:R+1:A
+
+GTK_MAC_INTEGRATION_LT_VERSION=2:0:0
+AC_SUBST(GTK_MAC_INTEGRATION_LT_VERSION)
AC_CONFIG_SRCDIR(src/gtk-mac-menu.c)
AC_CONFIG_MACRO_DIR(m4)
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
diff --git a/src/Makefile.am b/src/Makefile.am
index ebde188..7621f80 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -35,7 +35,7 @@ libgtkmacintegration_la_SOURCES = \
libgtkmacintegration_la_CFLAGS = $(MAC_CFLAGS) -xobjective-c
libgtkmacintegration_la_OBJCFLAGS = $(MAC_CFLAGS)
libgtkmacintegration_la_LIBADD = $(MAC_LIBS) -lobjc
-libgtkmacintegration_la_LDFLAGS = -framework Carbon -framework ApplicationServices
+libgtkmacintegration_la_LDFLAGS = -framework Carbon -framework ApplicationServices -version-info $(GTK_MAC_INTEGRATION_LT_VERSION)
integration_includedir = $(includedir)/gtkmacintegration
integration_include_HEADERS = \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]