Andreas Köhler
348c8cce3e
Make GnuCash compile from a git repository.
...
Patch gnc-svnversion to check for .git, but in the top-level source
directory instead of src/gnome-utils. Use the output of "git-rev-parse
HEAD" as version string.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15292 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-01 16:47:32 +00:00
Derek Atkins
b7ddce32b3
Change around the test helper routines so we get the real test lineno.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15277 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-28 23:24:02 +00:00
Andreas Köhler
baa9f30239
Configure from a relative path on Windows, because gnucash-build-env
...
will not work with top_srcdir begin absolute.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15275 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-28 22:14:36 +00:00
Andreas Köhler
20d5166d8a
No need to manually exclude test subdirectories from mingw build
...
anymore, since r15260.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15270 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-28 14:33:42 +00:00
David Hampton
fcd3a09433
Add a check for the Date::Manip module (used by gnc-fq-helper).
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15269 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-28 02:22:37 +00:00
David Hampton
79ac47e0f8
Need to expliticly load the gnome-utils scheme code.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15268 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-28 02:21:14 +00:00
Derek Atkins
d930873b9b
A few more changes for "make check" to succeed on MacOS-X.
...
It now does. :)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15262 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-27 14:51:37 +00:00
Derek Atkins
088536f15b
MacOS X needs core-utils in the library load path for "make check" to work.
...
While we're at it, might as well pull in libcore-utils.la, just in case.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15261 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-27 13:54:25 +00:00
Andreas Köhler
e5c7756b51
Do not build tests for make all' but only
make check'. This is done by
...
using the automake prefix check_ instead of noinst_. The modules created
in src/gnc-module/test now use that prefix too, but with LDFLAGS="-rpath
${PWD}" to make them shared (we never install them).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15260 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-27 02:51:03 +00:00
Derek Atkins
16496b9f74
Make sure we set DYLD_LIBRARY_PATH in the test environment (for MacOS X)
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15259 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-26 16:47:42 +00:00
David Hampton
19a45192f8
Save and restore the visibility of the toolbar, statusbar, and
...
summarybar. Fixes #106259 .
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15258 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-26 00:07:58 +00:00
Derek Atkins
d622980bda
lack of swig should be a fatal error (if building from SVN).
...
Fix AC_MSG_WARN -> AC_MSG_ERROR
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15256 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-25 18:53:05 +00:00
Derek Atkins
c19e0cf151
MacOSX installed libtoolize as glibtoolize. Handle that in autogen
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15255 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-25 18:38:10 +00:00
Derek Atkins
498d9d905b
guile 1.8's SCM_EXACTP() throws an error when passed a non-number.
...
So make sure we test SCM_NUMBERP() before SCM_EXACTP()
This causes gnucash to crash on e.g. FC6 from the File Properties Menu.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15252 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-23 21:10:47 +00:00
Andreas Köhler
aa665d1d89
Use `cp -a' in dist.sh. Let inno create guile.bat (which sets
...
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
2006-12-23 18:50:20 +00:00
Andreas Köhler
6739f10fea
Fix slib installation within inst_guile, a regression introduced by
...
r15246.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15250 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-23 12:36:33 +00:00
Andreas Köhler
741bd0abf1
Avoid crash when renaming page in a page-less window by returning if
...
there is no current page. Fixes #388841 .
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15249 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-23 06:51:00 +00:00
Andreas Köhler
c3272290ea
Strip libdir directives in distributed libtool .la files, because they
...
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
2006-12-23 06:41:31 +00:00
Andreas Köhler
643de6fae9
Fix install.sh typo, spotted by hfelton.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15247 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-22 11:10:38 +00:00
Andreas Köhler
cef6ed4b1f
Various install.sh improvements:
...
* 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
2006-12-21 23:09:04 +00:00
Andreas Köhler
49470adf27
Add include directives for ${top_builddir}/src/swig-runtime.h.
...
Merged r15229 from branches/reshuffle-modules.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15245 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-21 19:28:26 +00:00
Andreas Köhler
af0dc642d2
install.sh: Ease registration of environment variables. Fix dist.sh to
...
set PATH for unzip and gconftool-2.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15244 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-21 19:19:09 +00:00
Christian Stimming
4e4375e504
Add code for download/installation of Inno Setup Compiler, as suggested by hfelton.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15241 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-21 14:10:41 +00:00
Christian Stimming
802c9c5119
Minor message improvement by hfelton.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15240 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-21 13:53:03 +00:00
Andreas Köhler
94947a75db
Do not distribute share\guile\1.6\slibcat and let slib recreate it once
...
GnuCash is started for the first time.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15239 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-21 01:07:02 +00:00
Christian Stimming
37987662cc
Convert even more strings of locale into utf8, as suggested by Jon Arney.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15237 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-20 15:27:39 +00:00
Christian Stimming
cca07a4d9b
Remove windows-specific ignoring of engine_is_initialized check.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15236 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-20 15:26:01 +00:00
Christian Stimming
e2ad7f4d60
Some forgotten file for copying
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15235 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-19 16:37:55 +00:00
Andreas Köhler
c0db3c7dd7
install.sh: Make gnome installation relocatable again.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15227 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-18 19:39:05 +00:00
Christian Stimming
9abcbe4533
Install the .ico icon file into $datadir/gnucash/pixmaps instead of $datadir/pixmaps.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15226 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-18 15:59:51 +00:00
Christian Stimming
a07f2b1726
Add gnucash icon in Windows .ico format for windows icon
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15225 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-18 15:35:59 +00:00
Andreas Köhler
eb6ca3e6d7
install.sh: Do not call pkg-config-msys.sh from within
...
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
2006-12-18 02:53:14 +00:00
Andreas Köhler
8d288704d7
Do not determine SWIG_LIB by running swig -swiglib
, because we do not
...
make use of it and it made problems on MinGW (output was two lines).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15223 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-17 18:32:18 +00:00
Derek Atkins
cf2c12f366
Update for 2.0.3 release
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15222 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-16 17:50:25 +00:00
Andreas Köhler
d7120c002c
Revert r15216, because the actual guile dll file names differ from those
...
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
2006-12-16 02:50:23 +00:00
Christian Stimming
130dc98fae
Fix missing files of dist.sh. Improve iss script.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15219 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-15 18:39:40 +00:00
Christian Stimming
6ac92d1086
Fix typo
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15218 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-15 18:18:22 +00:00
Christian Stimming
317f63e372
Improve Inno Setup Compiler script; should probably be able to package the outcome of dist.sh into one setup file.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15217 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-15 18:04:17 +00:00
Christian Stimming
b5a5086b67
Fix guile DLL names that have additional trailing numbers
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15216 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-15 15:10:43 +00:00
Christian Stimming
5eace5e762
Use the installed PKG_CONFIG instead of what might be available in the PATH
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15215 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-15 14:51:37 +00:00
Andreas Köhler
989da8757d
Add dist.sh, a script that extracts all necessary files needed to run
...
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
2006-12-15 14:36:45 +00:00
Andreas Köhler
eed0933fdf
Install.sh improvements:
...
* 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
2006-12-14 22:32:01 +00:00
Christian Stimming
f643a37cc8
Change enum names to avoid name collision of IGNORE identifier, especially with win32 headers.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15211 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-12 11:41:59 +00:00
Christian Stimming
12f43b1bec
Add author of r15203, 15206, 15207, 15208.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15210 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-12 11:36:51 +00:00
Christian Stimming
320c1af625
Code cleanup: Move variable declaration into block where it is used.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15209 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-12 11:34:42 +00:00
Christian Stimming
a95ff05967
Check for return value of regcomp() and return NULL on failure, as suggested by Jon Arney.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15208 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-12 11:33:03 +00:00
Christian Stimming
29bf7e2dd1
Rename private min/max functions to avoid name collisions with existing functions of macros, as suggested by Jon Arney
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15207 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-12 11:28:08 +00:00
Christian Stimming
4d598abed4
Change enum names to avoid name collisions, especially with win32 headers.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15206 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-12 11:24:14 +00:00
Derek Atkins
a70c7c4b88
Load and store a commodity's KVP-frame (IFF it's non-empty).
...
This would let us store something like an Asset Class.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15205 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-12 02:51:37 +00:00
Christian Stimming
9aa7ad31d2
Check for potentially failed utf8 conversion of locale strings. bug#383270
...
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15204 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-11 22:28:36 +00:00