r19001 - gnucash/trunk/packaging/win32 - Fix Windows build after introduction of the environment config file.

Geert Janssens gjanssens at code.gnucash.org
Tue Apr 6 07:55:44 EDT 2010


Author: gjanssens
Date: 2010-04-06 07:55:43 -0400 (Tue, 06 Apr 2010)
New Revision: 19001
Trac: http://svn.gnucash.org/trac/changeset/19001

Modified:
   gnucash/trunk/packaging/win32/gnucash.iss.in
   gnucash/trunk/packaging/win32/install.sh
Log:
Fix Windows build after introduction of the environment config file.

Modified: gnucash/trunk/packaging/win32/gnucash.iss.in
===================================================================
--- gnucash/trunk/packaging/win32/gnucash.iss.in	2010-04-06 11:03:23 UTC (rev 19000)
+++ gnucash/trunk/packaging/win32/gnucash.iss.in	2010-04-06 11:55:43 UTC (rev 19001)
@@ -192,7 +192,7 @@
   { Create the gnucash.cmd file; #10 is the linefeed character and #13 CR }
 
   { If you make any changes here, you should probably also change the equivalent sections }
-  { in packaging/win32/install.sh, src/bin/gnucash-setup-env.in and src/bin/gnucash-setup-env-osx.in }
+  { in packaging/win32/install.sh, src/bin/environment*.in and src/bin/gnucash-setup-env-osx.in }
   FileName := appdir + '\bin\gnucash.cmd' ;
   FileString := 'setlocal'#13#10 ;
   FileString := FileString + 'chcp ' + ExpandConstant('{cm:LanguageCodePage}') + ''#13#10 ;

Modified: gnucash/trunk/packaging/win32/install.sh
===================================================================
--- gnucash/trunk/packaging/win32/install.sh	2010-04-06 11:03:23 UTC (rev 19000)
+++ gnucash/trunk/packaging/win32/install.sh	2010-04-06 11:55:43 UTC (rev 19001)
@@ -1375,12 +1375,12 @@
     done
 
     if [ -z $_skip_scripts ]; then
-        # Try to fix the paths in the gnucash-setup-env script
+        # Try to fix the paths in the environment config file
         qpushd $_BUILD_UDIR/src/bin
-            rm gnucash-setup-env
-            make PATH_SEPARATOR=";" \
-                bindir="${_INSTALL_UDIR}/bin:${_INSTALL_UDIR}/lib:${_INSTALL_UDIR}/lib/gnucash:${_GNUTLS_UTIR}/bin:${_GMP_UDIR}/bin:${_GOFFICE_UDIR}/bin:${_LIBGSF_UDIR}/bin:${_PCRE_UDIR}/bin:${_GNOME_UDIR}/bin:${_GUILE_UDIR}/bin:${_WEBKIT_UDIR}/bin:${_REGEX_UDIR}/bin:${_AUTOTOOLS_UDIR}/bin:${AQBANKING_UPATH}:${_LIBOFX_UDIR}/bin:${_OPENSP_UDIR}/bin:${_LIBDBI_UDIR}/bin:${_SQLITE3_UDIR}/bin:${MYSQL_LIB_DIR}/lib:${PGSQL_DIR}/lib:${PGSQL_DIR}/bin" \
-                gnucash-setup-env gnucash-valgrind
+            rm environment
+            make \
+                bindir="${_INSTALL_UDIR}/bin;${_INSTALL_UDIR}/lib;${_INSTALL_UDIR}/lib/gnucash;${_GNUTLS_UDIR}/bin;${_GMP_UDIR}/bin;${_GOFFICE_UDIR}/bin;${_LIBGSF_UDIR}/bin;${_PCRE_UDIR}/bin;${_GNOME_UDIR}/bin;${_GUILE_UDIR}/bin;${_WEBKIT_UDIR}/bin;${_REGEX_UDIR}/bin;${_AUTOTOOLS_UDIR}/bin;${AQBANKING_UPATH};${_LIBOFX_UDIR}/bin;${_OPENSP_UDIR}/bin;${_LIBDBI_UDIR}/bin;${_SQLITE3_UDIR}/bin;${MYSQL_LIB_DIR}/lib;${PGSQL_DIR}/lib;${PGSQL_DIR}/bin" \
+                environment
         qpopd
     fi
     
@@ -1414,8 +1414,8 @@
     if [ -z $_skip_scripts ]; then
         # Create a startup script that works without the msys shell
         # If you make any changes here, you should probably also change
-		# the equivalent sections in packaging/win32/gnucash.iss.in,
-		# src/bin/gnucash-setup-env.in and src/bin/gnucash-setup-env-osx.in
+		# the equivalent sections in packaging/win32/gnucash.iss.in, and
+		# src/bin/environment*.in
         qpushd $_INSTALL_UDIR/bin
             echo "setlocal" > gnucash.cmd
             echo "set PATH=${INSTALL_DIR}\\bin;${INSTALL_DIR}\\lib;${INSTALL_DIR}\\lib\\gnucash;${GNUTLS_DIR}\\bin;${GMP_DIR}\\bin;${GOFFICE_DIR}\\bin;${LIBGSF_DIR}\\bin;${PCRE_DIR}\\bin;${WEBKIT_DIR}\\bin;${GNOME_DIR}\\bin;${GUILE_DIR}\\bin;${REGEX_DIR}\\bin;${AUTOTOOLS_DIR}\\bin;${AQBANKING_PATH};${LIBOFX_DIR}\\bin;${OPENSP_DIR}\\bin;${LIBDBI_DIR}\\bin;${SQLITE3_DIR}\\bin;${MYSQL_LIB_DIR}\\lib;${PGSQL_DIR}\\lib;${PGSQL_DIR}\\bin;%PATH%" >> gnucash.cmd



More information about the gnucash-changes mailing list