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
msysdtk, unzip, inno and svn can be installed without user
interaction. Replace quick start inno pack by the release package. Do
not remove the LibOFX library dir by overwriting LDFLAGS in the make
call of aqbanking.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15540 57a11ea4-9604-0410-9ed3-97b8803252fd
Enable this by export aqbanking_with_qt=yes before running install.
Needs qt4 from trolltech.com installed beforehand.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15533 57a11ea4-9604-0410-9ed3-97b8803252fd
exetype.pl is a perl script that sets the subsystem type of executables
to CONSOLE or WINDOWS (GUI). Apply that to gconfd-2.exe to hide the
console. Editbin.exe could do the same.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15528 57a11ea4-9604-0410-9ed3-97b8803252fd
Unclutter c:\soft and the PATH environment variable a bit by moving some
tools to GLOBAL_DIR\tools. "Tool" here means a binary or shell script
that works without further DLLs or shared files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15527 57a11ea4-9604-0410-9ed3-97b8803252fd
Update glib, freetype, pango, gtk and gtkhtml. Use libgnurx which should
be equivalent to regex-spencer despite the naming change. Put -lregex
into REGEX_LDFLAGS. Freetype 2.2.1 has a pkgconfig file included now.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15446 57a11ea4-9604-0410-9ed3-97b8803252fd
If DISABLE_OPTIMIZATIONS is "yes", add "-O0" to CFLAGS. This will make the
binaries slower, smaller and easier to debug. Also add
"--disable-static" to the configuration of libtool, guile and libgsf.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15434 57a11ea4-9604-0410-9ed3-97b8803252fd
The DDLs of OpenSSL, Gwenhywfar and AqBanking must be in the PATH for
GnuCash+AqBanking to work. The distributed version includes them in
\bin, but PATH was incomplete for the gnucash shell and batch scripts.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15423 57a11ea4-9604-0410-9ed3-97b8803252fd
* Add $_OPENSSL_UDIR/bin to PATH.
* No need to copy OpenSSL libraries from WINDIR\\system32, because we
switched to the GnuWin32 package and even checked that system32 is
clean.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15411 57a11ea4-9604-0410-9ed3-97b8803252fd
and it is easier to handle.
Activate online banking (hbci) plugin of gnucash.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15398 57a11ea4-9604-0410-9ed3-97b8803252fd
GnuCashs APIs, ABIs, and libraries are not designed for third-party
development, so do not encourage it at this point of time.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15379 57a11ea4-9604-0410-9ed3-97b8803252fd
* add $prefix/lib/gnucash to $PATH
* move all modules to $prefix/lib/gnucash, even if not compiled with
'-module'. This happens in install.sh after 'make install', so add
$prefix/lib/bin to PATH and GNC_MODULE_PATH or move the dlls manually
if you run 'make install' yourself
* distribute only the .la files for the shared libraries
* shutdown gconfd-2 in dish.sh so that inno can access the schemas.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15328 57a11ea4-9604-0410-9ed3-97b8803252fd
Modules are loaded directly with the g_symbol_* API now while dropping
the dependency on libltdl.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15317 57a11ea4-9604-0410-9ed3-97b8803252fd
GUILE_LOAD_PATH) and slibcat, because the user running GnuCash later on
may not have the rights to do that.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15251 57a11ea4-9604-0410-9ed3-97b8803252fd
may point to still existing libraries that will be dlopened and conflict
with those loaded on startup.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15248 57a11ea4-9604-0410-9ed3-97b8803252fd
* Use $GNUCASH_DIR\\{repos,build,inst,dist} as directories for the
source, build, installation and packaging
* `mkdir -p' cannot handle backslashes, use unix paths
* Downgrade to ORBit2-2.13.3
* Print command to create /etc/profile.d if needed
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15246 57a11ea4-9604-0410-9ed3-97b8803252fd
pkg-config-msys.sh. Use correct header directory for regex (differs
between v3.8 and v3.8.g.3). Untested.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15224 57a11ea4-9604-0410-9ed3-97b8803252fd
in builds of revisions <15213.
Replace shebang in packaging/win32/functions by a local variables list.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15221 57a11ea4-9604-0410-9ed3-97b8803252fd
GnuCash on Windows and puts them into $DIST_DIR. The plan is to call the
Inno Setup Compiler from it and create gnucash-$ver-setup.exe with one
command. A complete GnuCash build on MinGW is needed to run it.
Factor out common functions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15214 57a11ea4-9604-0410-9ed3-97b8803252fd
* Replace RegEx-Gnu by RegEx-Spencer 3.8, because GtkHTML is linked
against that
* Update fontconfig, use expat-2.0.0.zip from ftp.gnome.org, drop
inst_expat
* Use $GNOME_WIN32_URL/dependencies for other packages too
* Build guile with -avoid-version
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15213 57a11ea4-9604-0410-9ed3-97b8803252fd
handling some command substitutions), by adding a wrapper script for
pkg-config.exe.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15093 57a11ea4-9604-0410-9ed3-97b8803252fd
--add-missing. Warn the user if he has put install.sh in ., .., or
..\.. from the repository. Improves r15037.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15092 57a11ea4-9604-0410-9ed3-97b8803252fd
- Updated versions: MinGW, GLib, ATK, Pango, GTK+, Gail, LibGnome,
LibGSF, Glade, SVN
- Move autotools up in the chain (guile1.8 will need that)
- Stick with GOffice 0.3.0 (newer version need code changes), but
provide patch for 0.3.2
- Other minor install.sh improvements
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15076 57a11ea4-9604-0410-9ed3-97b8803252fd
Create a 'reset' script to allow resetting the win32 build environment.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15048 57a11ea4-9604-0410-9ed3-97b8803252fd
* Replace g-wrap by swig
* Bump SVN_REV (prior SVNREV_FLAG) to HEAD
* Remove backup files in the repository to cleanup `svn status'
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15038 57a11ea4-9604-0410-9ed3-97b8803252fd
variable SCHEME_LIBRARY_PATH or another implementation of
library-vicinity in guile.init. You must have unset this env var now.
Add g-wrap modules directory to gnucash.bat. GnuCash runs equally "well"
in- and outside MSYS now for me.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14844 57a11ea4-9604-0410-9ed3-97b8803252fd
${GNUCASH_PREFIX}/etc/gconf/gconf.xml.defaults. I suppose this is what
most distributions do as post-install step. If GnuCash and Gnome are not
installed to the same prefix (standard), the gconf druid will pop up
once GnuCash is started. GnuCash will automagically add the correct
lines to ~/.gconf.path, shut down gconfd and load the default values, if
you choose the default selections. The others seem unadvisable to me for
windows, so another commit might hide the druid.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14834 57a11ea4-9604-0410-9ed3-97b8803252fd
and avoid patching Makefiles and rerunning config.status. Tested on 1
system so far.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14833 57a11ea4-9604-0410-9ed3-97b8803252fd
* Rename input dll in libz.dll.a from bin/zlib1.dll to zlib1.dll
* Add AUTOTOOLS_DIR\\bin to PATH of gnucash.bat because
libgncmodule-0.dll depends on libltdl-3.dll
* correct goffice/Makefile.am to put libgoffice_{init,shutdown} into
interface library
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14831 57a11ea4-9604-0410-9ed3-97b8803252fd
Added popt include and ldflags because ./configure would fail without them.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14808 57a11ea4-9604-0410-9ed3-97b8803252fd
Fix g-wrap; Use -no-undefined properly;
Speed up build by excluding tests and don't relink; Try to set up paths in script correctly;
Speed up runtime module loading by excluding dependency_libs.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14802 57a11ea4-9604-0410-9ed3-97b8803252fd
looks good. One day someone could try to integrate devhelp.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14794 57a11ea4-9604-0410-9ed3-97b8803252fd
providing a working XML::Parser module, but by far the easiest
solution when trying to avoid recreating configure scripts with
[no-xml]. If it is accepted, these adjustments for libgsf, goffice and
gnucash can be removed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14793 57a11ea4-9604-0410-9ed3-97b8803252fd
environment variable LIBGLADE_MODULE_PATH. glade_require("gnome"); works
now, Glade-2 does not load gnome widgets, GnuCash is untested.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14787 57a11ea4-9604-0410-9ed3-97b8803252fd
This changeset lets us run this script multiple times
and it wont break configure.in.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14734 57a11ea4-9604-0410-9ed3-97b8803252fd
- make sure it will build dynamically
- remove unknown symbols
- fix the intltool-merge problem by replacing intltool-merge
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14731 57a11ea4-9604-0410-9ed3-97b8803252fd
- We need autotools before libgsf
- update the goffice build rule (but still not enabled)
- add the goffice patch. Expand the patch.
- turn off the INTLTOOL_XML_RULE in the goffice makefiles.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14726 57a11ea4-9604-0410-9ed3-97b8803252fd
- Don't die when wget has already downloaded the file.
- add some more output during the auto-tools
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14724 57a11ea4-9604-0410-9ed3-97b8803252fd
* lib/libgsl/Makefile.am:
don't distribute the gsl specfiles
* packaging/gnucash.spec.in:
fix for change of location of files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14084 57a11ea4-9604-0410-9ed3-97b8803252fd