[rhythmbox] add version information to librhythmbox-core
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox] add version information to librhythmbox-core
- Date: Fri, 2 Apr 2010 10:39:28 +0000 (UTC)
commit 4a733887cd180ebb03d8b84256e32ed48b59589b
Author: Jonathan Matthew <jonathan d14n org>
Date: Fri Apr 2 20:36:01 2010 +1000
add version information to librhythmbox-core
configure.ac | 13 ++++++++++++-
shell/Makefile.am | 4 +++-
2 files changed, 15 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index f05ebf5..8b2d87d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -11,13 +11,24 @@ AC_SUBST(ACLOCAL_AMFLAGS, "-I macros")
AM_MAINTAINER_MODE
GNOME_MAINTAINER_MODE_DEFINES
+# plugin API versioning
+# Increment on interface addition, reset on removal
+RHYTHMBOX_CORE_AGE=1
+# Increment on interface add, remove, or change
+RHYTHMBOX_CORE_CURRENT=1
+# Increment on source change, reset when CURRENT changes.
+RHYTHMBOX_CORE_REVISION=0
+
+AC_SUBST(RHYTHMBOX_CORE_AGE)
+AC_SUBST(RHYTHMBOX_CORE_CURRENT)
+AC_SUBST(RHYTHMBOX_CORE_REVISION)
+
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])],)
dnl XXXX hack to kill off all the libtool tags ...
dnl it isn't like we are using C++ or Fortran.
m4_define([_LT_AC_TAGCONFIG],[])
-
IT_PROG_INTLTOOL([0.35.0])
AC_ISC_POSIX
diff --git a/shell/Makefile.am b/shell/Makefile.am
index 9b2a36a..9dcbcb6 100644
--- a/shell/Makefile.am
+++ b/shell/Makefile.am
@@ -116,7 +116,9 @@ librhythmbox_core_la_LIBADD = \
-lgstpbutils-0.10 \
-lgstcontroller-0.10
-librhythmbox_core_la_LDFLAGS = -export-dynamic -no-undefined
+librhythmbox_core_la_LDFLAGS = \
+ -version-info $(RHYTHMBOX_CORE_CURRENT):$(RHYTHMBOX_CORE_REVISION):$(RHYTHMBOX_CORE_AGE) \
+ -export-dynamic -no-undefined
librhythmbox_core_la_LIBTOOLFLAGS = --tag=disable-static
if ENABLE_PYTHON
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]