Move the original executables to bin\, use renamed copies of
redirect.exe at the old locations.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16277 57a11ea4-9604-0410-9ed3-97b8803252fd
This program, called as "prog.exe (arg)*", will search for
.\bin\prog.exe, ..\bin\prog.exe and so on. The first hit will be
spawned with the same parameters and its exit status will be the exit
status of this program.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16276 57a11ea4-9604-0410-9ed3-97b8803252fd
In the switch to self-compiled openssl dlls, libeay32.dll lost
versioning information. Without ignoreversion inno setup will not
update this file although it really should, as it is newer and has added
symbols.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16238 57a11ea4-9604-0410-9ed3-97b8803252fd
Let setup.exe use the tango icon as file icon and on page headers. Add
a file version to setup.exe.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16224 57a11ea4-9604-0410-9ed3-97b8803252fd
For real cross-compiling, this change currently depends on unreleased
gwenhywfar changes and a windows openssl installation (cannot be
cross-compiled yet).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16183 57a11ea4-9604-0410-9ed3-97b8803252fd
One must not simply set or reset environment variables that are tracked
for changes, because add_to_env relies on accurate helper variables.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16182 57a11ea4-9604-0410-9ed3-97b8803252fd
Add $_MINGW_UDIR/mingw32/bin to PATH and use gcc (and friends) instead
of mingw32-gcc. Also make sure PKG_CONFIG_PATH and PKG_CONFIG_LIBDIR
are exported to avoid using the build machine's installed packages.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16180 57a11ea4-9604-0410-9ed3-97b8803252fd
This is not needed for the installation tree built by install.sh, but
the binary installer has to add that environment variable to the
relocatable gnucash.bat it writes out.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16142 57a11ea4-9604-0410-9ed3-97b8803252fd
A native rebuild of packages should not be necessary. Just remove
libxml2-2.6.27.win32.zip from your downloads directory.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16124 57a11ea4-9604-0410-9ed3-97b8803252fd
The perl module Date::Manip needs some timezone information to work, but
cannot determine that itself on Windows. Setting the TZ environment
variable for the gnucash process has bad consequences, so rather call
Date_Init("TZ=UTC") if TZ is unset.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16035 57a11ea4-9604-0410-9ed3-97b8803252fd
* At the end of the setup, optionally run gnucash.bat hidden
* Desktop and start menu icon run gnucash.bat minimized (hidden is not
possible here)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16024 57a11ea4-9604-0410-9ed3-97b8803252fd
If for some reason gnome is reinstalled but gconfd-2.console.exe has not
been removed, the subsystem type of the newly unzipped gconfd-2.exe is
not changed again, so it will pop up a console window. Fix that.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16022 57a11ea4-9604-0410-9ed3-97b8803252fd
* Bark on $OPENSSL_DIR/lib/libcrypto.dll.a (0.9.7)
* Bark if libeay32.dll cannot be found
* Bark if libeay32.dll is found, but not in $OPENSSL_DIR/bin
* Do not care about libs in $WINDIR
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16002 57a11ea4-9604-0410-9ed3-97b8803252fd
Also starring:
* Add mingw32-make, as openssl will be built in cmd.exe
* Link gwenhywfar against dynamic libraries (-leay32 -lssl32)
* Install svn before openssl to have the newer ssl dlls as first in PATH
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15998 57a11ea4-9604-0410-9ed3-97b8803252fd
* Add UPDATE_SOURCES. If "no", drop inst_svn and svn_up.
* Add BUILD_FROM_TARBALL. If "yes", set GNUCASH_DIR=..\\..,
REPOS_DIR=$GNUCASH_DIR and UPDATE_SOURCES=no.
* Fix renaming of setup.exe in dist.sh.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15924 57a11ea4-9604-0410-9ed3-97b8803252fd
To enable effective overriding of GLOBAL_DIR, first include custom and
then use set_default and add_step to complete the environment. The
primer is new and sets a variable if it is unset or empty. The latter
is modified to check steps for being blocked, either by block_step or a
previous call to add_step. Add late_eval for expressions to be executed
at the end of defaults.
AQBANKING_WITH_QT (prior aqbanking_with_qt) is set to yes by default now
so that the aqbanking setup wizard is built and the user only needs to
install QT.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15918 57a11ea4-9604-0410-9ed3-97b8803252fd
Declare defaults (custom.sh) as virtually immutable, so that svn updates
and commits do not interfere with local modifications. Put those into a
file `custom' which is read at the end of defaults, if existent.
Remove_step helps to comment out steps now.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15912 57a11ea4-9604-0410-9ed3-97b8803252fd
In the long run it should be possible to build GnuCash on Windows from
the tarball within MSYS/MinGW.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15910 57a11ea4-9604-0410-9ed3-97b8803252fd
The script uses the paths from custom.sh now. Certain paths can be
added as precious by reset.sh or the user to avoid their deletion. All
planned actions are presented before confirmation to make them more
transparent.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15897 57a11ea4-9604-0410-9ed3-97b8803252fd
GtkPrint/GtkHTML as combination is not yet stable enough to use it by
default. It seems however to be the way to go, so all necessary changes
are only commented out.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15771 57a11ea4-9604-0410-9ed3-97b8803252fd
Update glib, cairo, pango, gtk+ and gtkhtml. Drop libgnomeprintui, but
keep libgnomeprint because goffice depends on it.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15750 57a11ea4-9604-0410-9ed3-97b8803252fd
pexports somestimes crashes in a new MSYS shell if a path, like the one
to a header file, contains "..".
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15747 57a11ea4-9604-0410-9ed3-97b8803252fd
The HTML Help Workshop includes htmlhelp.lib, but we cannot use it for
creating DLLs---it is a static thingy. So test with -shared in
install.sh. It would be nice to have a similar test improvement in
configure.in.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15744 57a11ea4-9604-0410-9ed3-97b8803252fd
Check both, in install.sh and configure.in, whether we can link a test
source for HtmlHelpW against the html help import library, instead of
just testing for htmlhelp.h or some htmlhelp library thing.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15727 57a11ea4-9604-0410-9ed3-97b8803252fd
* add html help workspace, make an import library for hhctrl.ocx
* add libxslt for xsltproc and htmlhelp xsl stylesheets
* run xsltproc on guide and help, C and de_DE; enrich the resulting hhp
files with anchor/map/alias information, compile them with hhc, save
to $INST_DIR/share/gnucash/$lang/gnucash-$type.chm
* create GKeyFiles *.hhmap that can be parsed to open specific topics
* also, obsolete pexports by mingw-utils
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15712 57a11ea4-9604-0410-9ed3-97b8803252fd
* add pcre which is a hard dependency of goffice now
* use the same patch for goffice 0.3.7 as for 0.3.2 (was not in use)
* make inst.sh'ed gnucash and gnucash.bat scripts work again
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15705 57a11ea4-9604-0410-9ed3-97b8803252fd
AqBankings configure does not like QTDIR to contain backslashes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15586 57a11ea4-9604-0410-9ed3-97b8803252fd
This function is similar to add_to_env, but makes the script fail if it
would effectively overwrite a non-empty variable. This is not the case
if the new value was already a part of the variables contents, no matter
whether from the beginning or after an add_to_env call.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15585 57a11ea4-9604-0410-9ed3-97b8803252fd
Instead of stripping the prefixing directories ActivePerl\\Perl to have
\\bin directly in $ACTIVE_PERL_DIR, set INTLTOOL_PERL to the unchanged
path. This makes Installer.bat work again.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15582 57a11ea4-9604-0410-9ed3-97b8803252fd
Determine a directory for DTDs at runtime with the help of
GetModuleFileName, cf. g_win32_get_package_installation_directory, and
use it for searches.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15564 57a11ea4-9604-0410-9ed3-97b8803252fd