mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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 git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16007 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -6,6 +6,7 @@ EXTRA_DIST = \
|
|||||||
functions.sh \
|
functions.sh \
|
||||||
goffice-0.3.7-patch.diff \
|
goffice-0.3.7-patch.diff \
|
||||||
install.sh \
|
install.sh \
|
||||||
|
install-fq-mods.bat \
|
||||||
libofx-0.8.3-patch.diff \
|
libofx-0.8.3-patch.diff \
|
||||||
opensp-1.5.2-patch.diff \
|
opensp-1.5.2-patch.diff \
|
||||||
pi.sh \
|
pi.sh \
|
||||||
|
|||||||
@@ -36,6 +36,7 @@ function prepare() {
|
|||||||
_GWENHYWFAR_UDIR=`unix_path $GWENHYWFAR_DIR`
|
_GWENHYWFAR_UDIR=`unix_path $GWENHYWFAR_DIR`
|
||||||
_AQBANKING_UDIR=`unix_path $AQBANKING_DIR`
|
_AQBANKING_UDIR=`unix_path $AQBANKING_DIR`
|
||||||
_GNUCASH_UDIR=`unix_path $GNUCASH_DIR`
|
_GNUCASH_UDIR=`unix_path $GNUCASH_DIR`
|
||||||
|
_REPOS_UDIR=`unix_path $REPOS_DIR`
|
||||||
_BUILD_UDIR=`unix_path $BUILD_DIR`
|
_BUILD_UDIR=`unix_path $BUILD_DIR`
|
||||||
_INSTALL_UDIR=`unix_path $INSTALL_DIR`
|
_INSTALL_UDIR=`unix_path $INSTALL_DIR`
|
||||||
_INNO_UDIR=`unix_path $INNO_DIR`
|
_INNO_UDIR=`unix_path $INNO_DIR`
|
||||||
@@ -70,7 +71,7 @@ function dist_openssl() {
|
|||||||
setup OpenSSL
|
setup OpenSSL
|
||||||
_OPENSSL_UDIR=`unix_path $OPENSSL_DIR`
|
_OPENSSL_UDIR=`unix_path $OPENSSL_DIR`
|
||||||
mkdir -p $DIST_UDIR/bin
|
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() {
|
function dist_libxml2() {
|
||||||
@@ -187,6 +188,7 @@ function dist_gnucash() {
|
|||||||
cp -a $_INSTALL_UDIR/libexec $DIST_UDIR
|
cp -a $_INSTALL_UDIR/libexec $DIST_UDIR
|
||||||
mkdir -p $DIST_UDIR/share
|
mkdir -p $DIST_UDIR/share
|
||||||
cp -a $_INSTALL_UDIR/share/{gnucash,pixmaps,xml} $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
|
cp -a $_BUILD_UDIR/packaging/win32/gnucash.iss $_GNUCASH_UDIR
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -37,6 +37,7 @@ Name: menuicon; Description: "{cm:CreateMenuLink}"; GroupDescription: "{cm:Addit
|
|||||||
|
|
||||||
[Icons]
|
[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}\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: "{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
|
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
|
||||||
|
|
||||||
|
|||||||
47
packaging/win32/install-fq-mods.bat
Normal file
47
packaging/win32/install-fq-mods.bat
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
@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
|
||||||
@@ -367,6 +367,7 @@ function inst_openssl() {
|
|||||||
mkdir -p $_OPENSSL_UDIR/lib
|
mkdir -p $_OPENSSL_UDIR/lib
|
||||||
mkdir -p $_OPENSSL_UDIR/include
|
mkdir -p $_OPENSSL_UDIR/include
|
||||||
cp -a libeay32.dll libssl32.dll $_OPENSSL_UDIR/bin
|
cp -a libeay32.dll libssl32.dll $_OPENSSL_UDIR/bin
|
||||||
|
cp -a libssl32.dll $_OPENSSL_UDIR/bin/ssleay32.dll
|
||||||
for _implib in libeay32 libssl32 ; do
|
for _implib in libeay32 libssl32 ; do
|
||||||
cp -a out/$_implib.a $_OPENSSL_UDIR/lib/$_implib.dll.a
|
cp -a out/$_implib.a $_OPENSSL_UDIR/lib/$_implib.dll.a
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user