[svn] gpgme - r1134 - in trunk: . doc gpgme

svn author wk cvs at cvs.gnupg.org
Tue Nov 15 17:04:30 CET 2005


Author: wk
Date: 2005-11-15 17:04:28 +0100 (Tue, 15 Nov 2005)
New Revision: 1134

Modified:
   trunk/ChangeLog
   trunk/autogen.sh
   trunk/configure.ac
   trunk/doc/gpgme.texi
   trunk/gpgme/ChangeLog
Log:
build static and shared lib by default - required by gpgol.


Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2005-10-24 09:53:59 UTC (rev 1133)
+++ trunk/ChangeLog	2005-11-15 16:04:28 UTC (rev 1134)
@@ -1,3 +1,9 @@
+2005-11-15  Werner Koch  <wk at g10code.com>
+
+	* configure.ac: Create BUILD_FILEVERSION from SVN Revision.
+
+	* autogen.sh [W32]: Build shared and static versions of the library.
+
 2005-10-20  Marcus Brinkmann  <marcus at g10code.de>
 
 	* w32-dll/ChangeLog, w32-dll/build-dll, w32-dll/gpgme.def: Remove

Modified: trunk/autogen.sh
===================================================================
--- trunk/autogen.sh	2005-10-24 09:53:59 UTC (rev 1133)
+++ trunk/autogen.sh	2005-11-15 16:04:28 UTC (rev 1134)
@@ -75,8 +75,8 @@
 
     ./configure --enable-maintainer-mode  --prefix=${w32root}  \
             --host=i586-mingw32msvc --build=${build} \
-            --with-gpg-error-prefix=${w32root}  \
-            --disable-shared --without-gpgsm
+            --with-gpg-error-prefix=${w32root} --without-gpgsm \
+            --enable-shared --enable-static
 
     exit $?
 fi

Modified: trunk/configure.ac
===================================================================
--- trunk/configure.ac	2005-10-24 09:53:59 UTC (rev 1133)
+++ trunk/configure.ac	2005-11-15 16:04:28 UTC (rev 1134)
@@ -24,6 +24,7 @@
 min_automake_version="1.9.3"
 
 # Version number: Remember to change it immediately *after* a release.
+#                 Make sure to run  "svn up" before a "make dist".
 AC_INIT(gpgme, 1.2.0-cvs, [bug-gpgme at gnupg.org])
 # LT Version numbers, remember to change them just *before* a release.
 #   (Code changed:			REVISION++)
@@ -446,12 +447,10 @@
     BUILD_TIMESTAMP=`date --iso-8601=minutes`
     changequote(,)dnl 
     BUILD_FILEVERSION=`echo "$VERSION" | sed 's/\([0-9.]*\).*/\1./;s/\./,/g'`
+    tmp="`echo '$Revision$' | sed 's/[^0-9]//g'`"
     changequote([,])dnl
-    case "$VERSION" in
-      *-cvs) BUILD_FILEVERSION="${BUILD_FILEVERSION}0" ;;
-      *-rc*) BUILD_FILEVERSION="${BUILD_FILEVERSION}1" ;;
-      *)     BUILD_FILEVERSION="${BUILD_FILEVERSION}2" ;;
-    esac
+    test -z "$tmp" && tmp="0"
+    BUILD_FILEVERSION="${BUILD_FILEVERSION}$tmp"
 fi
 AC_SUBST(BUILD_TIMESTAMP)
 AC_SUBST(BUILD_FILEVERSION)

Modified: trunk/doc/gpgme.texi
===================================================================
--- trunk/doc/gpgme.texi	2005-10-24 09:53:59 UTC (rev 1133)
+++ trunk/doc/gpgme.texi	2005-11-15 16:04:28 UTC (rev 1134)
@@ -2154,7 +2154,7 @@
 The @code{GPGME_KEYLIST_MODE_VALIDATE} symbol specifies that the
 backend should do key or certificate validation and not just get the
 validity information from an internal cache.  This might be an
-expensive operation and is in general not usefule.  Currently only
+expensive operation and is in general not useful.  Currently only
 implemented for the S/MIME backend and ignored for other backends.
 
 @end table

Modified: trunk/gpgme/ChangeLog
===================================================================
--- trunk/gpgme/ChangeLog	2005-10-24 09:53:59 UTC (rev 1133)
+++ trunk/gpgme/ChangeLog	2005-11-15 16:04:28 UTC (rev 1134)
@@ -2,6 +2,10 @@
 
 	* w32-io.c (_gpgme_io_spawn): Don't minimize window, hide it.
 
+2005-10-21  Werner Koch  <wk at g10code.com>
+
+	* Makefile.am: Fixed cut+paste problem
+
 2005-10-20  Marcus Brinkmann  <marcus at g10code.de>
 
 	* Makefile.am: Build versioninfo.lo, not versioninfo.o.  Also, fix




More information about the Gnupg-commits mailing list