gnucash-on-windows master: Add boost to dist and gnucash-launcher.

John Ralls jralls at code.gnucash.org
Mon Jul 20 15:19:01 EDT 2015


Updated	 via  https://github.com/Gnucash/gnucash-on-windows/commit/b5b5568b (commit)
	from  https://github.com/Gnucash/gnucash-on-windows/commit/ae8a391a (commit)



commit b5b5568b6317f3e8536795f6c82e2589c2d7a13e
Author: John Ralls <jralls at ceridwen.us>
Date:   Mon Jul 20 12:13:20 2015 -0700

    Add boost to dist and gnucash-launcher.

diff --git a/dist-impl.sh b/dist-impl.sh
index ccf7ea2..4eab6b5 100755
--- a/dist-impl.sh
+++ b/dist-impl.sh
@@ -14,6 +14,7 @@ function dist_prepare() {
     _WIN_UDIR=`unix_path $WINDIR`
     _EXETYPE_UDIR=`unix_path $EXETYPE_DIR`
     _GNOME_UDIR=`unix_path $GNOME_DIR`
+    _BOOST_UDIR=`unix_path $BOOST_DIR`
     _PCRE_UDIR=`unix_path $PCRE_DIR`
     _LIBSOUP_UDIR=`unix_path $LIBSOUP_DIR`
     _ENCHANT_UDIR=`unix_path $ENCHANT_DIR`
@@ -84,6 +85,12 @@ function dist_aqbanking() {
     cp -a ${_AQBANKING_UDIR}/share/locale ${_DIST_UDIR}/share
 }
 
+function dist_boost() {
+   setup Boost
+   cp -a ${_BOOST_UDIR}/lib/libboost_chrono.dll ${_DIST_UDIR}/lib
+   cp -a ${_BOOST_UDIR}/lib/libboost_date_time.dll ${_DIST_UDIR}/lib
+}
+
 function dist_gnome() {
     setup Gnome platform
     wget_unpacked $CAIRO_URL $DOWNLOAD_DIR $DIST_DIR
diff --git a/dist.sh b/dist.sh
index f2576df..d440f00 100755
--- a/dist.sh
+++ b/dist.sh
@@ -38,6 +38,7 @@ add_step dist_ktoblzcheck
 add_step dist_aqbanking
 add_step dist_libdbi
 add_step dist_webkit
+add_step dist_boost
 add_step dist_gnucash
 add_step dist_finish
 
diff --git a/install-impl.sh b/install-impl.sh
index 95b6262..e61266b 100644
--- a/install-impl.sh
+++ b/install-impl.sh
@@ -1416,6 +1416,7 @@ setlocal
 set PATH=$INSTALL_DIR\\bin;%PATH%
 set PATH=$INSTALL_DIR\\lib;%PATH%
 set PATH=$INSTALL_DIR\\lib\\gnucash;%PATH%
+set PATH=$BOOST_DIR\\lib;%PATH%
 set PATH=$GNUTLS_DIR\\bin;%PATH%
 set PATH=$MINGW_DIR\\bin;%PATH%
 set PATH=$GOFFICE_DIR\\bin;%PATH%



Summary of changes:
 dist-impl.sh    | 7 +++++++
 dist.sh         | 1 +
 install-impl.sh | 1 +
 3 files changed, 9 insertions(+)



More information about the gnucash-changes mailing list