/pidgin/main: 6892e03414fd: update pidgin/pidgin-3.pc.in and con...

Gary Kramlich grim at reaperworld.com
Thu Jan 17 01:14:32 EST 2013


Changeset: 6892e03414fd0c603b7cb8faad722f9a047fb55e
Author:	 Gary Kramlich <grim at reaperworld.com>
Date:	 2013-01-17 00:14 -0600
Branch:	 default
URL: http://hg.pidgin.im/pidgin/main/rev/6892e03414fd

Description:

update pidgin/pidgin-3.pc.in and configure.ac to properly represent which version of gtk it's compiled/linked against

diffstat:

 configure.ac          |  3 +++
 pidgin/pidgin-3.pc.in |  2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)

diffs (23 lines):

diff --git a/configure.ac b/configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -463,6 +463,9 @@ running configure.
 	AC_SUBST(GTK_CFLAGS)
 	AC_SUBST(GTK_LIBS)
 
+	GTK_PC_MODULE="gtk+-${with_gtk}.0"
+	AC_SUBST(GTK_PC_MODULE)
+
 	dnl We only really need Pango >= 1.4 for decent RTL support
 	PKG_CHECK_MODULES(PANGO, [pango >= 1.4.0],
 			AC_DEFINE(HAVE_PANGO14, 1, [Define if we have Pango 1.4 or newer.]),:)
diff --git a/pidgin/pidgin-3.pc.in b/pidgin/pidgin-3.pc.in
--- a/pidgin/pidgin-3.pc.in
+++ b/pidgin/pidgin-3.pc.in
@@ -11,5 +11,5 @@ plugindir=${libdir}/pidgin
 Name: Pidgin
 Description: Pidgin is a GTK2-based instant messenger application.
 Version: @VERSION@
-Requires: gtk+-2.0 purple-3
+Requires: @GTK_PC_MODULE@ purple-3
 Cflags: -I${includedir}



More information about the Commits mailing list