[OTR-dev] Wrong version in libotr.pc

Andreas Schlick schlick at lavabit.com
Sat Feb 26 17:29:35 EST 2011


Hello,

it's great that the git repository is up! While testing it I found that 
libotr.pc is stuck at version 3.1.0.  I suggest to set it automatically by 
autoconf (see attached patch).

BTW, is there a reason why all the different projects are kept in the same 
repository? The setup is a bit uncommon and personally I find it rather 
restrictive and cumbersome to use. It would be really nice to have them in 
separate repositories.

Andreas
-------------- next part --------------
From: Andreas Schlick <schlick at lavabit.com>
Date: Sat, 26 Feb 2011 20:06:31 +0100
Subject: [PATCH] Let autoconf set the current version in libotr.pc.

---
 libotr/libotr.pc.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libotr/libotr.pc.in b/libotr/libotr.pc.in
index 9538f8e..05b7d43 100644
--- a/libotr/libotr.pc.in
+++ b/libotr/libotr.pc.in
@@ -5,7 +5,7 @@ includedir=@includedir@
 
 Name: libotr
 Description: Off-the-Record Messaging Library
-Version: 3.1.0
+Version: @VERSION@
 URL: http://otr.cypherpunks.ca/
 Libs: -L${libdir} -lotr
 Cflags: -I${includedir}
-- 
1.7.4.1



More information about the OTR-dev mailing list