[brasero] build: Honor ABI version for introspection



commit 447691a6fbfbe264bb7fbdb47cf33393a91fdbea
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Tue May 31 17:07:20 2016 +0100

    build: Honor ABI version for introspection

 configure.ac                 |    4 ++--
 libbrasero-burn/Makefile.am  |   18 +++++++++---------
 libbrasero-media/Makefile.am |   20 ++++++++++----------
 3 files changed, 21 insertions(+), 21 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index e52940d..da45077 100644
--- a/configure.ac
+++ b/configure.ac
@@ -31,8 +31,8 @@ AC_SUBST(LT_AGE)
 LIBBRASERO_LT_VERSION=$LT_CURRENT:$LT_REVISION:$LT_AGE
 AC_SUBST(LIBBRASERO_LT_VERSION) 
 
-TYPELIB_VERSION=$BRASERO_MAJOR_VERSION.$((LT_CURRENT-LT_AGE))
-AC_SUBST(TYPELIB_VERSION)
+TYPELIB_MIN_VERSION=$((LT_CURRENT-LT_AGE))
+AC_SUBST(TYPELIB_MIN_VERSION)
 
 AC_DEFINE_UNQUOTED(BRASERO_MAJOR_VERSION, $BRASERO_MAJOR_VERSION, [major version])
 AC_DEFINE_UNQUOTED(BRASERO_MINOR_VERSION, $BRASERO_MINOR_VERSION, [minor version])
diff --git a/libbrasero-burn/Makefile.am b/libbrasero-burn/Makefile.am
index 470e61f..f4e62bd 100644
--- a/libbrasero-burn/Makefile.am
+++ b/libbrasero-burn/Makefile.am
@@ -239,16 +239,16 @@ introspected_source = \
        brasero-tool-dialog.h brasero-tool-dialog.c \
        brasero-sum-dialog.h brasero-sum-dialog.c
 
-BraseroBurn-3.0.gir: Makefile libbrasero-burn3.la
-BraseroBurn_3_0_gir_NAMESPACE = BraseroBurn
-BraseroBurn_3_0_gir_VERSION = 3.0
-BraseroBurn_3_0_gir_INCLUDES = Gtk-3.0
-BraseroBurn_3_0_gir_CFLAGS = $(AM_CPPFLAGS)
-BraseroBurn_3_0_gir_LIBS = libbrasero-burn3.la
-BraseroBurn_3_0_gir_FILES = $(introspected_source)
-BraseroBurn_3_0_gir_SCANNERFLAGS = --identifier-prefix=Brasero --symbol-prefix=brasero
+BraseroBurn-3  TYPELIB_MIN_VERSION@.gir: Makefile libbrasero-burn3.la
+BraseroBurn_3_ TYPELIB_MIN_VERSION@_gir_NAMESPACE = BraseroBurn
+BraseroBurn_3_ TYPELIB_MIN_VERSION@_gir_VERSION = 3  TYPELIB_MIN_VERSION@
+BraseroBurn_3_ TYPELIB_MIN_VERSION@_gir_INCLUDES = Gtk-3.0
+BraseroBurn_3_ TYPELIB_MIN_VERSION@_gir_CFLAGS = $(AM_CPPFLAGS)
+BraseroBurn_3_ TYPELIB_MIN_VERSION@_gir_LIBS = libbrasero-burn3.la
+BraseroBurn_3_ TYPELIB_MIN_VERSION@_gir_FILES = $(introspected_source)
+BraseroBurn_3_ TYPELIB_MIN_VERSION@_gir_SCANNERFLAGS = --identifier-prefix=Brasero --symbol-prefix=brasero
 
-INTROSPECTION_GIRS += BraseroBurn-3.0.gir
+INTROSPECTION_GIRS += BraseroBurn-3  TYPELIB_MIN_VERSION@.gir
 endif # HAVE_INTROSPECTION
 
 girdir = $(datadir)/gir-1.0
diff --git a/libbrasero-media/Makefile.am b/libbrasero-media/Makefile.am
index 335571f..8495064 100644
--- a/libbrasero-media/Makefile.am
+++ b/libbrasero-media/Makefile.am
@@ -177,16 +177,16 @@ introspected_source = \
        brasero-drive-selection.h       \
        brasero-drive-selection.c
 
-BraseroMedia-3.0.gir: Makefile libbrasero-media3.la
-BraseroMedia_3_0_gir_NAMESPACE = BraseroMedia
-BraseroMedia_3_0_gir_VERSION = 3.0
-BraseroMedia_3_0_gir_INCLUDES = Gtk-3.0
-BraseroMedia_3_0_gir_CFLAGS = $(AM_CPPFLAGS)
-BraseroMedia_3_0_gir_LIBS = libbrasero-media3.la
-BraseroMedia_3_0_gir_FILES = $(introspected_source)
-BraseroMedia_3_0_gir_SCANNERFLAGS = --identifier-prefix=Brasero --symbol-prefix=brasero
-
-INTROSPECTION_GIRS += BraseroMedia-3.0.gir
+BraseroMedia-3  TYPELIB_MIN_VERSION@.gir: Makefile libbrasero-media3.la
+BraseroMedia_3_ TYPELIB_MIN_VERSION@_gir_NAMESPACE = BraseroMedia
+BraseroMedia_3_ TYPELIB_MIN_VERSION@_gir_VERSION = 3  TYPELIB_MIN_VERSION@
+BraseroMedia_3_ TYPELIB_MIN_VERSION@_gir_INCLUDES = Gtk-3.0
+BraseroMedia_3_ TYPELIB_MIN_VERSION@_gir_CFLAGS = $(AM_CPPFLAGS)
+BraseroMedia_3_ TYPELIB_MIN_VERSION@_gir_LIBS = libbrasero-media3.la
+BraseroMedia_3_ TYPELIB_MIN_VERSION@_gir_FILES = $(introspected_source)
+BraseroMedia_3_ TYPELIB_MIN_VERSION@_gir_SCANNERFLAGS = --identifier-prefix=Brasero --symbol-prefix=brasero
+
+INTROSPECTION_GIRS += BraseroMedia-3  TYPELIB_MIN_VERSION@.gir
 endif # HAVE_INTROSPECTION
 
 girdir = $(datadir)/gir-1.0


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