r22912 - gnucash/branches/2.4/packaging/win32 - Win32 build: Update libofx to version 0.9.8, including version check

Christian Stimming cstim at code.gnucash.org
Wed Apr 17 16:18:16 EDT 2013


Author: cstim
Date: 2013-04-17 16:18:12 -0400 (Wed, 17 Apr 2013)
New Revision: 22912
Trac: http://svn.gnucash.org/trac/changeset/22912

Modified:
   gnucash/branches/2.4/packaging/win32/defaults.sh
   gnucash/branches/2.4/packaging/win32/install-impl.sh
Log:
Win32 build: Update libofx to version 0.9.8, including version check

Modified: gnucash/branches/2.4/packaging/win32/defaults.sh
===================================================================
--- gnucash/branches/2.4/packaging/win32/defaults.sh	2013-04-17 20:15:07 UTC (rev 22911)
+++ gnucash/branches/2.4/packaging/win32/defaults.sh	2013-04-17 20:18:12 UTC (rev 22912)
@@ -359,7 +359,7 @@
 set_default OPENSP_DIR $GLOBAL_DIR\\opensp
 set_default OPENSP_PATCH `pwd`/opensp-1.5.2-patch.diff
 
-LIBOFX_VERSION="0.9.7"
+LIBOFX_VERSION="0.9.8"
 set_default LIBOFX_URL "$SF_MIRROR/libofx/libofx-${LIBOFX_VERSION}.tar.gz"
 set_default LIBOFX_DIR $GLOBAL_DIR\\libofx
 #set_default LIBOFX_PATCH `pwd`/libofx-0.8.3-patch.diff

Modified: gnucash/branches/2.4/packaging/win32/install-impl.sh
===================================================================
--- gnucash/branches/2.4/packaging/win32/install-impl.sh	2013-04-17 20:15:07 UTC (rev 22911)
+++ gnucash/branches/2.4/packaging/win32/install-impl.sh	2013-04-17 20:18:12 UTC (rev 22912)
@@ -954,7 +954,7 @@
     _LIBOFX_UDIR=`unix_path ${LIBOFX_DIR}`
     add_to_env ${_LIBOFX_UDIR}/bin PATH
     add_to_env ${_LIBOFX_UDIR}/lib/pkgconfig PKG_CONFIG_PATH
-    if quiet ${PKG_CONFIG} --exists libofx
+    if quiet ${PKG_CONFIG} --exists libofx && quiet ${PKG_CONFIG} --atleast-version=${LIBOFX_VERSION} libofx
     then
         echo "Libofx already installed in $_LIBOFX_UDIR. skipping."
     else



More information about the gnucash-changes mailing list