Commit Graph

10323 Commits

Author SHA1 Message Date
Andreas Köhler
e8720a89db Compile GncModule's with --avoid-version.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15322 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-07 07:04:47 +00:00
Andreas Köhler
b34a1c9f3f Unify library names and installation directories.
Rename libcore-utils        to libgnc-core-utils
Rename libgncgnome          to libgnc-gnome
Rename libgncmodule         to libgnc-module
Rename libgncqof            to libgnc-qof
Rename libgnc-backend-file  to libgncmod-backend-file
Move libgnc-business-ledger to $prefix/lib
Move libgncqof-backend-qsf  to $prefix/lib/gnucash
Move libgncmod-backend-file to $prefix/lib/gnucash


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15321 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-07 07:04:23 +00:00
Andreas Köhler
96e1ed071d Call g_module_make_resident in qof backend provider modules.
If the GncModule system finds a QofBackendProvider module M before that
has been initialized by QOF, M will register itself with QOF but does
not mark itself as resident, so the module system will unload it again,
leaving bogus pointers in QOF. Now it does.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15320 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-07 07:04:17 +00:00
Derek Atkins
ba16b67925 Fix a gnc:warning-dialog -> gnc-warning-dialog from swigification. #393596
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15318 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-06 17:42:17 +00:00
Andreas Köhler
2e69bba2db Merge reshuffle-modules (r15315) back into the trunk.
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
2007-01-06 00:41:51 +00:00
Christian Stimming
d64a823f02 Make sure to remove win32 installation directory at uninstall
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15310 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-04 13:42:59 +00:00
Christian Stimming
455e2eef53 Have dist.sh run Inno Setup Compiler, and adjusting final file name.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15309 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-04 11:25:17 +00:00
Christian Stimming
df9ff8db81 Disable removal of install-sh - not needed anymore
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15308 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-03 13:32:03 +00:00
Christian Stimming
a16b973c2d Fix exit values from failed tests so that they really fail
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15307 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-03 10:53:05 +00:00
Derek Atkins
7a763898d3 Use G_GINT64_MODIFIER for qofmath test.
Fixes the problem Andreas noticed on amd64.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15304 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-03 00:12:19 +00:00
Derek Atkins
d122eddbb6 Fix the printf routines in the qofmath tests.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15303 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-02 18:37:16 +00:00
Derek Atkins
078d3d0cd8 Uncomment the test-qofmath to make it easier to use.
Change it to check_PROGRAMS
use <prog>_CPPFLAGS instead of DEFS -- this works great!


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15302 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-02 18:00:13 +00:00
Christian Stimming
def1a50c61 For convenience, add commented-out build rules for testing the qofmath128 test program
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15301 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-02 17:26:18 +00:00
Christian Stimming
bf3e8f4c1b Make math128 test program compilable again
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15300 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-02 17:18:19 +00:00
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