You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gnucash/packaging/win32
Christian Stimming 7cd3cd6a6b
Win32 build: Fix aqbanking version lookup
15 years ago
..
ChineseSimp-12-5.1.11.isl Bug #617797: Set eol-style to CRLF for win32 files. 16 years ago
ChineseTrad-2-5.1.11.isl Add Traditional Chinese translation for win32 package system. 15 years ago
Greek-4-5.1.11.isl Bug #617797: Set eol-style to CRLF for win32 files. 16 years ago
Japanese-5-5.1.11.isl Bug #609402 Add Japanese resource to Windows (inno) setup 16 years ago
Latvian-1-5.1.11.isl Updated Latvian translation for the Windows installer, patch by Valdis Vītoliņš 16 years ago
Makefile.am Fix Traditional Chinese win32 package translation. 15 years ago
README Improve the cross-compilation process. 16 years ago
aqbanking-3.8.3-patch.diff Fix the patch name. Oops. 17 years ago
aqbanking-4.1.6-patch.diff Win32 build: Add patch for gwenhywfar-3.11.0 so that this compiles correctly. 17 years ago
aqbanking-4.2.4-r2132-patch.diff Bug #639498: Fix aqbanking-4.2.4 issue with "execute online transfer" on WinXP. 15 years ago
build_package.sh Windows nightly build: fix webserver directory creation hack 15 years ago
build_tags.sh Windows build: fix logfile naming for tag builds 15 years ago
create_cross_mingw.sh Improve the cross-compilation process. 16 years ago
crossbuild_webkit.sh Win32: Tweak cross compiling script for webkit so that is seems to almost compile. 15 years ago
custom.sh.sample Bug #618505 - Separate shell functions files from variables and steps files, patch by Yasuaki Taniguchi 16 years ago
daily_build.bat Windows build: fix weekly 2.4 build and move log files into separate directory 15 years ago
daily_build.sh Document what to do if svn isn't found. This only applies to the scripts used to setup an automated build system 16 years ago
defaults.sh Win32 build: Enable aqbanking5 instead of aqbanking4, which is possible because of updated gtk. 15 years ago
dist-impl.sh Win32 build: Fix aqbanking version lookup 15 years ago
dist.sh Adapt the windows build system to deal with swapping mingw installations on one build machine 15 years ago
exetype.pl Use UNIX line delimiters in packaging/win32/exetype.pl. 19 years ago
functions.sh Improve message printed on screen 15 years ago
gnucash.iss.in Win32 build: Enable aqbanking5 instead of aqbanking4, which is possible because of updated gtk. 15 years ago
goffice-0.7.2-patch.diff [Win32] Update a whole bunch of packages. 18 years ago
guile-1.8.8.patch Fix windows build: 15 years ago
gwenhywfar-3.6.0-patch.diff [Win32] Update online banking libraries. 18 years ago
gwenhywfar-3.11.0-patch.diff Win32 build: Add patch for gwenhywfar-3.11.0 so that this compiles correctly. 17 years ago
gwenhywfar-3.11.1-patch.diff Win32 build: gwenhywfar needs another patch 17 years ago
icu-crossmingw.patch Bug #617435 - webkitgtk+ cross build script, created by Yasuaki Taniguchi 16 years ago
install-fq-mods.cmd Bug #641645 - Support ActivePerl 5.12 for Finance:Quote on Windows 15 years ago
install-impl.sh Win32 build: GUILE must be in PKG_CONFIG_PATH 15 years ago
install.sh Update win32 components: 15 years ago
libbonoboui-2.24.2.patch Bug #610348: Add compiling our own binary of libbonoboui because the ftp.gnome.org binary still depends on the obsolete libxml2.dll. 16 years ago
libdbi-0.8.3.patch Remove more executable bits from data files 16 years ago
libdbi-dbd_helper.c.patch Remove more executable bits from data files 16 years ago
libdbi-drivers-Makefile.in.patch Remove more executable bits from data files 16 years ago
libdbi-drivers-dbd_mysql.c.patch Set the desired line-ending style to the correct value on the server side. 16 years ago
libdbi-drivers-dbd_pgsql.c.patch Build pgsql libdbi driver 17 years ago
libdbi-drivers-dbd_sqlite3.c.patch Set the desired line-ending style to the correct value on the server side. 16 years ago
libmysql.def Add .def file to allow libmysql.dll to be built. 17 years ago
libofx-0.8.3-patch.diff Windows build: patch libofx to build with mingw gcc 4.5.2 15 years ago
libofx-0.9.2-patch.diff Minor version update for online banking packages. 17 years ago
libxslt-1.1.22.Makefile.in.patch Update win32 components: 15 years ago
make_install.sh Set some more line-ending style properties. 16 years ago
opensp-1.5.2-patch.diff Add compiling and installation of opensp, libofx and enable ofx support of gnucash 19 years ago
pi.sh
redirect.c Add win32/redirect.c, a tool spawning itself in a parent bin\ directory. 19 years ago
reset.sh Windows build: allow reset.sh to remove mingw 15 years ago
webkit-1.2.7-configure.patch Update win32 components: 15 years ago
webkit-1.2.7-datadir.patch Update win32 components: 15 years ago
webkit-1.2.7-gccpath.patch Update win32 components: 15 years ago
webkit-1.2.7-makefile.patch Update win32 components: 15 years ago
webkit-1.2.7-mingw32.patch Update win32 components: 15 years ago
webkit-1.2.7-nosvg.patch Update win32 components: 15 years ago
webkit-1.2.7-time.patch Win32: Tweak cross compiling script for webkit so that is seems to almost compile. 15 years ago
webkit-1.2.7-vasprintf.patch Win32: Tweak cross compiling script for webkit so that is seems to almost compile. 15 years ago
webkitenumtypes.cpp Update win32 components: 15 years ago
webkitenumtypes.h Update win32 components: 15 years ago
weekly_build.sh Some additional Windows nightly build fixes: 15 years ago

README

These scripts try to download and install a Windows/mingw32 build

environment for GnuCash on Windows.

These scripts support two ways to build a Windows/mingw32 version of GnuCash:
- directly on a Windows PC
- via cross-compilation on Linux

1. Build GnuCash directly on a Windows PC
-----------------------------------------

Before you start with the automated build, you have to complete these
steps manually. The directory variables are set in `defaults.sh' and optionally
`custom.sh'.

Note: The mingw homepage is http://www.mingw.org. You can read more
about mingw over there. The packages to download are all
on sourceforge however, so the direct links are given here.

* Download MSYS from
https://sourceforge.net/projects/mingw/files/MSYS%20Base%20System/msys-1.0.11/MSYS-1.0.11.exe/download
to $DOWNLOAD_DIR
Note: there may be a more recent version available when you read this, use
whatever version that is available. BUT: be sure to use MSYS-xyz.exe
(ie the MSYS installer) and not the *bin.tar.lzma. I got confused
the first time I tried, because directory msys-1.0.12 existed on
sourceforge, but it didn't have the windows installer. You should
use the installer, not try to unpack the -bin.tar.lzma files. So
choose whatever version that has got an installer.

* Install MSYS into $MSYS_DIR.

* Download mingwPORT's wget from
https://sourceforge.net/projects/mingw/files/mingwPORT/Current%20Releases/wget-1.9.1-mingwPORT.tar.bz2/download
to $DOWNLOAD_DIR
Note: the version number may have changed when you try this. Use whatever version
that is available

* Look at defaults.sh and create a file named custom.sh to specify adapted directory
variables. If you want verbose output of any script
step, add "set -x" to that file.

* Either, download Qt from http://www.trolltech.com/developer/downloads/qt/windows,
install it and set QTDIR in custom.sh, like "QTDIR=/c/Qt/4.2.3"; or skip building
the AqBanking Setup Wizard by specifying "AQBANKING_WITH_QT=no".

Start/Enter any MSYS shell window. Let the automated build begin by:

$INSTALLER_DIR/install.sh

Good luck!

To generate a self-installing setup.exe file that contains
*everything*, run the following command after install.sh has
completed:

$INSTALLER_DIR/dist.sh


Note: if you didn't download and install Qt earlier, this command will fail
regardless of whether you disabled AQ_BANKING_WITH_QT or not. This is
a bug in the configuration script for the installer builder (issc).

More information is collected on http://wiki.gnucash.org/wiki/Windows


2. Cross-compile GnuCash/win32 on a linux PC
--------------------------------------------

Cross-compiling a Windows/mingw32 executable of GnuCash on a Linux
host system. (Note: This used to work unchangedly in Sept'2006 but
probably not any longer.)

These steps need to be performed:

1. Look at defaults.sh and create a file named custom.sh to specify adapted
directory variables. If you want verbose output of any script
step, add "set -x" to that file. Particularly for cross-compiling,
set these variables:
* cross_compile: should be set to yes
* GLOBAL_DIR: the base directory for all other directory definitions,
unless you explicitly override it for some directories.
* MINGW_DIR: set this to your preferred prefix of the mingw32 gcc/binutils
on your Linux installation.
(It is strongly recommended to choose a prefix different
from your normal compiler tool chain in order to distinguish
your native vs. cross compiler more easily.)

2. Then run the script create_cross_mingw.sh - it will
download, compile, and install a mingw32 tool chain.

3. Download a binary windows packages for "guile" e.g. from
http://www.tu-harburg.de/~et2cs/gnc/ and unpack it into the
directory $GUILE_DIR as given in defaults.sh. (This is done because
the build system for guile doesn't support cross-compiling.)

4. Call install.sh, which will read the directory settings from
defaults.sh/custom.sh. It should download, compile, and install everything
automatically. Eventually the windows gnucash is installed into
$GNUCASH_DIR.

5. The content of $GNUCASH_DIR (as well as all the other binary
packages) should then be copied to a windows machine. The paths
in $GNUCASH_DIR/bin/gnucash and/or $GNUCASH_DIR/bin/gnucash.cmd
need to be adjusted for the installation location on the
windows machine.

Good luck!