r16007 - gnucash/trunk/packaging/win32 - Add install-fq-mods.bat to dist and start menu.
Andreas Köhler
andi5 at cvs.gnucash.org
Sat Apr 28 07:09:52 EDT 2007
Author: andi5
Date: 2007-04-28 07:09:51 -0400 (Sat, 28 Apr 2007)
New Revision: 16007
Trac: http://svn.gnucash.org/trac/changeset/16007
Added:
gnucash/trunk/packaging/win32/install-fq-mods.bat
Modified:
gnucash/trunk/packaging/win32/Makefile.am
gnucash/trunk/packaging/win32/dist.sh
gnucash/trunk/packaging/win32/gnucash.iss.in
gnucash/trunk/packaging/win32/install.sh
Log:
Add install-fq-mods.bat to dist and start menu.
* Dist new OpenSSL correctly
* cp libssl32.dll ssleay32.dll to make Crypt::SSLeay perl module happy
Modified: gnucash/trunk/packaging/win32/Makefile.am
===================================================================
--- gnucash/trunk/packaging/win32/Makefile.am 2007-04-28 03:11:57 UTC (rev 16006)
+++ gnucash/trunk/packaging/win32/Makefile.am 2007-04-28 11:09:51 UTC (rev 16007)
@@ -6,6 +6,7 @@
functions.sh \
goffice-0.3.7-patch.diff \
install.sh \
+ install-fq-mods.bat \
libofx-0.8.3-patch.diff \
opensp-1.5.2-patch.diff \
pi.sh \
Modified: gnucash/trunk/packaging/win32/dist.sh
===================================================================
--- gnucash/trunk/packaging/win32/dist.sh 2007-04-28 03:11:57 UTC (rev 16006)
+++ gnucash/trunk/packaging/win32/dist.sh 2007-04-28 11:09:51 UTC (rev 16007)
@@ -36,6 +36,7 @@
_GWENHYWFAR_UDIR=`unix_path $GWENHYWFAR_DIR`
_AQBANKING_UDIR=`unix_path $AQBANKING_DIR`
_GNUCASH_UDIR=`unix_path $GNUCASH_DIR`
+ _REPOS_UDIR=`unix_path $REPOS_DIR`
_BUILD_UDIR=`unix_path $BUILD_DIR`
_INSTALL_UDIR=`unix_path $INSTALL_DIR`
_INNO_UDIR=`unix_path $INNO_DIR`
@@ -70,7 +71,7 @@
setup OpenSSL
_OPENSSL_UDIR=`unix_path $OPENSSL_DIR`
mkdir -p $DIST_UDIR/bin
- cp -a $_OPENSSL_UDIR/bin/lib{eay,ssl}*.dll $DIST_UDIR/bin
+ cp -a $_OPENSSL_UDIR/bin/*.dll $DIST_UDIR/bin
}
function dist_libxml2() {
@@ -187,6 +188,7 @@
cp -a $_INSTALL_UDIR/libexec $DIST_UDIR
mkdir -p $DIST_UDIR/share
cp -a $_INSTALL_UDIR/share/{gnucash,pixmaps,xml} $DIST_UDIR/share
+ cp -a $_REPOS_UDIR/packaging/win32/install-fq-mods.bat $DIST_UDIR/bin
cp -a $_BUILD_UDIR/packaging/win32/gnucash.iss $_GNUCASH_UDIR
}
Modified: gnucash/trunk/packaging/win32/gnucash.iss.in
===================================================================
--- gnucash/trunk/packaging/win32/gnucash.iss.in 2007-04-28 03:11:57 UTC (rev 16006)
+++ gnucash/trunk/packaging/win32/gnucash.iss.in 2007-04-28 11:09:51 UTC (rev 16007)
@@ -37,6 +37,7 @@
[Icons]
Name: "{group}\GnuCash"; Filename: "{app}\bin\gnucash.bat"; WorkingDir: "{app}\bin"; Comment: "GnuCash Free Finance Manager"; IconFilename: "{app}\share\gnucash\pixmaps\gnucash-icon.ico"; Tasks: menuicon
+Name: "{group}\Install Finance-Quote"; Filename: "{app}\bin\install-fq-mods.bat"; WorkingDir: "{app}\bin"; Comment: "Install the necessary perl modules for online retrieval of prices. Requires ActivePerl 5.8"; Tasks: menuicon
Name: "{group}\Uninstall GnuCash"; Filename: "{uninstallexe}"; Tasks: menuicon
Name: "{userdesktop}\GnuCash"; Filename: "{app}\bin\gnucash.bat"; WorkingDir: "{app}\bin"; Comment: "GnuCash Free Finance Manager"; IconFilename: "{app}\share\gnucash\pixmaps\gnucash-icon.ico"; Tasks: desktopicon
Added: gnucash/trunk/packaging/win32/install-fq-mods.bat
===================================================================
--- gnucash/trunk/packaging/win32/install-fq-mods.bat 2007-04-28 03:11:57 UTC (rev 16006)
+++ gnucash/trunk/packaging/win32/install-fq-mods.bat 2007-04-28 11:09:51 UTC (rev 16007)
@@ -0,0 +1,47 @@
+ at echo off
+
+if not exist ssleay32.dll (
+ echo.
+ echo Did not find ssleay32.dll in current directory.
+ echo Please start this batch file in the bin directory created by the installer.
+ goto error
+)
+
+echo * Install DateManip
+echo.
+perl -x -S ppm install DateManip
+if %errorlevel% neq 0 goto error
+
+echo.
+echo * Install Crypt-SSLeay
+echo.
+set OLDPATH=%PATH%
+set PATH=%CD%;%PATH%
+echo anything | perl -x -S ppm install http://theoryx5.uwinnipeg.ca/ppms/Crypt-SSLeay.ppd
+set errlvlbak=%errorlevel%
+set PATH=%OLDPATH%
+if %errlvlbak% neq 0 goto error
+
+echo.
+echo * Install Finance-Quote
+echo.
+perl -x -S ppm install Finance-Quote
+
+echo.
+echo * Run gnc-fq-check
+echo.
+perl -w gnc-fq-check
+if %errorlevel% neq 0 goto error
+
+echo.
+echo * Installation succeeded
+echo.
+goto end
+
+:error:
+echo.
+echo An error occured, see above.
+echo.
+
+:end
+pause
Modified: gnucash/trunk/packaging/win32/install.sh
===================================================================
--- gnucash/trunk/packaging/win32/install.sh 2007-04-28 03:11:57 UTC (rev 16006)
+++ gnucash/trunk/packaging/win32/install.sh 2007-04-28 11:09:51 UTC (rev 16007)
@@ -367,6 +367,7 @@
mkdir -p $_OPENSSL_UDIR/lib
mkdir -p $_OPENSSL_UDIR/include
cp -a libeay32.dll libssl32.dll $_OPENSSL_UDIR/bin
+ cp -a libssl32.dll $_OPENSSL_UDIR/bin/ssleay32.dll
for _implib in libeay32 libssl32 ; do
cp -a out/$_implib.a $_OPENSSL_UDIR/lib/$_implib.dll.a
done
More information about the gnucash-changes
mailing list