From f5575b53091bee7985efb3c88bcc1d6fe34edefa Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Tue, 5 Jul 2011 22:27:48 -0500 Subject: Changing the pkgconfig file version to include the API version --- configure.ac | 4 ++-- libindicator/Makefile.am | 6 +++--- libindicator/indicator-0.4.pc.in.in | 17 +++++++++++++++++ libindicator/indicator.pc.in.in | 17 ----------------- libindicator/indicator3-0.4.pc.in.in | 17 +++++++++++++++++ libindicator/indicator3.pc.in.in | 17 ----------------- 6 files changed, 39 insertions(+), 39 deletions(-) create mode 100644 libindicator/indicator-0.4.pc.in.in delete mode 100644 libindicator/indicator.pc.in.in create mode 100644 libindicator/indicator3-0.4.pc.in.in delete mode 100644 libindicator/indicator3.pc.in.in diff --git a/configure.ac b/configure.ac index 535807b..7d17d0b 100644 --- a/configure.ac +++ b/configure.ac @@ -125,8 +125,8 @@ AM_CONDITIONAL(ENABLE_DEBUG, test "$enable_debug" = "yes") AC_CONFIG_FILES([ Makefile libindicator/Makefile -libindicator/indicator.pc.in -libindicator/indicator3.pc.in +libindicator/indicator-0.4.pc.in +libindicator/indicator3-0.4.pc.in tests/Makefile tools/Makefile ]) diff --git a/libindicator/Makefile.am b/libindicator/Makefile.am index 1646023..53c0058 100644 --- a/libindicator/Makefile.am +++ b/libindicator/Makefile.am @@ -10,8 +10,8 @@ BUILT_SOURCES = indicator-object-enum-types.h indicator-object-enum-types.c CLEANFILES = DISTCLEANFILES = EXTRA_DIST = \ - indicator3.pc.in.in \ - indicator.pc.in.in + indicator3-0.$(INDICATOR_API_VERSION).pc.in.in \ + indicator-0.$(INDICATOR_API_VERSION).pc.in.in INDICATOR_ABI_VERSION = 6 INDICATOR_API_VERSION = 4 @@ -75,7 +75,7 @@ libindicator3_la_CFLAGS = $(libindicator_la_CFLAGS) libindicator3_la_LIBADD = $(libindicator_la_LIBADD) libindicator3_la_LDFLAGS = $(libindicator_la_LDFLAGS) -pkgconfig_DATA = indicator$(VER).pc +pkgconfig_DATA = indicator$(VER)-0.$(INDICATOR_API_VERSION).pc pkgconfigdir = $(libdir)/pkgconfig glib_marshal_list = indicator-object-marshal.list diff --git a/libindicator/indicator-0.4.pc.in.in b/libindicator/indicator-0.4.pc.in.in new file mode 100644 index 0000000..df4d6c8 --- /dev/null +++ b/libindicator/indicator-0.4.pc.in.in @@ -0,0 +1,17 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +bindir=@bindir@ +includedir=@includedir@ + +indicatordir=${libdir}/indicators/@indicator_abi_version@ +iconsdir=@datarootdir@/@PACKAGE@/icons/ + +Cflags: -I${includedir}/libindicator-0.@indicator_api_version@ +Requires: gtk+-2.0 +Libs: -lindicator + +Name: libindicator +Description: libindicator. +Version: @VERSION@ + diff --git a/libindicator/indicator.pc.in.in b/libindicator/indicator.pc.in.in deleted file mode 100644 index df4d6c8..0000000 --- a/libindicator/indicator.pc.in.in +++ /dev/null @@ -1,17 +0,0 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -bindir=@bindir@ -includedir=@includedir@ - -indicatordir=${libdir}/indicators/@indicator_abi_version@ -iconsdir=@datarootdir@/@PACKAGE@/icons/ - -Cflags: -I${includedir}/libindicator-0.@indicator_api_version@ -Requires: gtk+-2.0 -Libs: -lindicator - -Name: libindicator -Description: libindicator. -Version: @VERSION@ - diff --git a/libindicator/indicator3-0.4.pc.in.in b/libindicator/indicator3-0.4.pc.in.in new file mode 100644 index 0000000..1f34567 --- /dev/null +++ b/libindicator/indicator3-0.4.pc.in.in @@ -0,0 +1,17 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +bindir=@bindir@ +includedir=@includedir@ + +indicatordir=${libdir}/indicators3/@indicator_abi_version@/ +iconsdir=@datarootdir@/@PACKAGE@/icons/ + +Cflags: -I${includedir}/libindicator-0.@indicator_api_version@ +Requires: gtk+-3.0 +Libs: -lindicator3 + +Name: libindicator3 +Description: libindicator3. +Version: @VERSION@ + diff --git a/libindicator/indicator3.pc.in.in b/libindicator/indicator3.pc.in.in deleted file mode 100644 index 1f34567..0000000 --- a/libindicator/indicator3.pc.in.in +++ /dev/null @@ -1,17 +0,0 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -bindir=@bindir@ -includedir=@includedir@ - -indicatordir=${libdir}/indicators3/@indicator_abi_version@/ -iconsdir=@datarootdir@/@PACKAGE@/icons/ - -Cflags: -I${includedir}/libindicator-0.@indicator_api_version@ -Requires: gtk+-3.0 -Libs: -lindicator3 - -Name: libindicator3 -Description: libindicator3. -Version: @VERSION@ - -- cgit v1.2.3