New versions: gwenhywfar 3.6.0, ktoblzcheck 1.20, aqbanking 3.8.1. Fix path to
xmlmerge. Fix aqbanking backend list when compiling without qt (untested
though).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17815 57a11ea4-9604-0410-9ed3-97b8803252fd
* Relinking is really fast now, no need for a hack anymore
* Move the fix of the gnucash script into make_install()
* GnuCash does not install into lib/locale/ anymore
* Remove invalid LIBXML2_DIR from PATH
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17810 57a11ea4-9604-0410-9ed3-97b8803252fd
Re-add a removed space character, no need for regressions ;-)
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17807 57a11ea4-9604-0410-9ed3-97b8803252fd
* MinGW tools
* Autotools (ac 2.60, am 1.10.2, lt 2.2.6a)
- libtool feels faster, needs confirmation
- compiling ac needs a newer m4 version, add that
* Gnome
- intltool needs a newer perl, so upgrade to activeperl 5.10
- new libpng, separated into libpng and libpng-dev
- newly packaged zlib (zlib-dev as well), no dlltool'ing anymore
- remove libgnomeprint (cf. goffice), gtkprint finally seems to work
-> goodbye mirrored printouts
* libxslt
- not the newest because that will be moved to oldreleases/ soon
* openssl
- watch for libeay32.dll in your Windows folder, it might be too old,
better you remove it completely
* gmp
- untested, no BP needed (yet)
* gnutls
- untested, no BP needed (yet)
* swig
* pcre
* libgsf, goffice
- goffice does not use libgnomeprint anymore, new patch necessary,
grab gtk-doc.m4 from gtk-doc tarball instead of patching goffice
- install htmlhelp earlier and add flags to link to it
* svn
- includes an own libeay32.dll, may conflict with openssl/bin/libeay32.dll
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17806 57a11ea4-9604-0410-9ed3-97b8803252fd
AM_CFLAGS is passed both to the compiler (.c -> .o) and to the linker, so it
should only have flags that are appropriate for both steps. AM_CPPFLAGS is
passed only to the compiler, so flags that are only appropriate for that step
(-I and -D flags, for example), should be in _CPPFLAGS instead of _CFLAGS.
Every gnucash-2.2.3 Makefile.am that passes -I flags gets it wrong, placing
them in _CFLAGS. It's not a functional bug (the linker ignores -I flags), but a
ton of superfluous flags makes the build output pretty verbose and hard to
debug when things do go wrong.
To make matters more confusing as a developer, the FOO_CFLAGS variable set by
PKG_CHECK_MODULES(FOO) is actually for _CPPFLAGS in the Makefile.am
('pkg-config --cflags' returns the -I flags).
A related -I bug (one that *is* functionally broken) is that sometimes a local
(build dir) -I flag is passed after a global (installed dependent library) one.
If my system happens to have a header installed from some unrelated thing,
compiler will find *that* one instead of the expected one in the source
directory. Should always pass all local -I before any global ones.
Patch by andi5 plus one manual addition in src/gnome-utils/Makefile.am
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17655 57a11ea4-9604-0410-9ed3-97b8803252fd
Patch from Shawn Faucher with little modifications.
This still needs a lot of testing and improvements still.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17612 57a11ea4-9604-0410-9ed3-97b8803252fd
It seems that the PPM repositories for ActivePerl v5.6 and v5.8 have been
changed so that DateManip cannot be found anymore. Keep it for second try
nonetheless.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17504 57a11ea4-9604-0410-9ed3-97b8803252fd
This introduces the dbi backend and the --enable-dbi configure option.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17444 57a11ea4-9604-0410-9ed3-97b8803252fd
Do not demand ChangeLog entries as they are created automagically.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17016 57a11ea4-9604-0410-9ed3-97b8803252fd
This avoids cluttering the environment of the caller.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16932 57a11ea4-9604-0410-9ed3-97b8803252fd
Make_install.sh can be called in any build directory and will execute
`make install` and all the necessary extra steps after that.
Also, make prepare and finish ordinary steps that can be blocked and
inserted at will. Add reset_steps.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16928 57a11ea4-9604-0410-9ed3-97b8803252fd
Make it work for builddir != srcdir. Do not distribute share\icons or
share\pixmaps on win32.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16683 57a11ea4-9604-0410-9ed3-97b8803252fd
Instead of trying to retrieve the system code page, simply hard-code the
code pages for the configured languages. This is one more string for
each new translation of the custom messages. Suggestions for how to
parse the LangOptions/LanguageCodePage parameter in isl files are
welcome.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16351 57a11ea4-9604-0410-9ed3-97b8803252fd
This includes updating ORBit2 to 2.14.7; on the WinXP machine
I have available this meant gconfd ran just fine. But we'd need
to get some further feedback on whether it really works or whether
we need to stick to ORBit2 2.13.3.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16345 57a11ea4-9604-0410-9ed3-97b8803252fd
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
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