Christian Stimming
a5a7c5c3fb
Further prepare cross-compiling mingw32/gnucash
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14851 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-15 21:11:56 +00:00
Christian Stimming
03b8d15557
Initial hints on how to start a cross-compile
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14850 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-15 19:29:25 +00:00
Christian Stimming
171fc41a82
Update openssl URL
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14849 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-15 13:41:43 +00:00
Christian Stimming
c944290ba5
Add GUILE_CPPFLAGS/LDFLAGS. Add optional --host=mingw32 argument if someone tries cross-compiling.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14848 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-15 11:22:32 +00:00
Christian Stimming
0953922e04
Add cross-compiling workaround to AC_TRY_RUN
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14847 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-15 10:47:02 +00:00
Christian Stimming
7951de863c
Add cross-compiling workaround to AC_TRY_RUN macros
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14846 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-14 16:27:32 +00:00
Christian Stimming
7dcc2b5e45
Add script for building a cross-compile mingw toolchain on Linux.
...
Taken from http://www.mingw.org/MinGWiki/index.php/BuildMingwCross and updated.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14845 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-14 15:33:42 +00:00
Andreas Köhler
4fc1c8f2dc
Install slib to another location and avoid the need for the environment
...
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
2006-09-14 10:31:56 +00:00
Andreas Köhler
57c453f535
install.sh cleanups, as we build-depend on ActivePerl now
...
* remove [no-xml] intltool workarounds and intltool-merge fake script
* move all goffice changes to the patch file
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14843 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-13 18:35:27 +00:00
Andreas Köhler
9c9440f30b
Replace 'MS-DOS by 'ms-dos as software-type in guile.init (slib).
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14842 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-13 17:11:12 +00:00
Christian Stimming
b51a9207dd
Move the MT940 importer action from the mt940 into the hbci plugin because in
...
the hbci plugin everything is already there. From now on, MT940
importing is available as soon as --enable-hbci is switched
on. The mt940 plugin can be removed from SVN now.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14841 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-13 14:22:54 +00:00
Derek Atkins
5331629e4c
Add pixmaps to RPM. Fixes #355695 .
...
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14839 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-13 05:17:41 +00:00
Derek Atkins
2c68876adf
We don't have a mime-info. Fixes #355676 .
...
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14838 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-13 00:12:45 +00:00
Derek Atkins
ddedcd6c79
RPM Build Requires libtool-ltdl-devel. Fixes #355656 .
...
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14837 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-12 22:36:39 +00:00
Christian Stimming
791e8e484e
Fix and clarify path names that were mixed up.
...
In particular, two different GNC_LIBDIR macros were defined:
One in gncla-dir.h as libdir, and another one from configure.in as pkglibdir
in the CFLAGS. This was a big mess. Now the pathnames should all follow automake conventions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14835 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-12 13:41:28 +00:00
Andreas Köhler
40f7922f47
install.sh: Install gconf schema files to
...
${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
2006-09-12 07:34:34 +00:00
Andreas Köhler
84912e8343
Build Guile and GnuCash by `make LDFLAGS="$SOME_FLAGS -no-undefined"'
...
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
2006-09-12 07:16:08 +00:00
Christian Stimming
d2b43a4513
Make sure the g-wrap files are modified only once
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14832 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-11 13:50:25 +00:00
Andreas Köhler
7e688e3452
install.sh fixes:
...
* 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
2006-09-10 10:55:05 +00:00
Andreas Köhler
9449f8e21e
Remove gnc-dir.h from BUILT_SOURCES
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14830 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-09 23:15:38 +00:00
Andreas Köhler
f1a702f45b
install.sh fixes:
...
* indent needs libintl-2.dll (copy intl.dll)
* add freetype2 pkg-config file
* add GNOME_{CPP,LD}FLAGS for inst_{libgsf,goffice,gnucash}
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14829 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-09 22:34:15 +00:00
Christian Stimming
4904ea79dd
Upgrade Gnome packages to lates gnome-2.16 release
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14828 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-08 15:51:36 +00:00
Christian Stimming
82e4b91052
Fix forgotten sub-path of g-wrap
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14827 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-08 15:44:37 +00:00
Christian Stimming
2d83ad47d3
Fix warning about unused static function if glob.h is unavailable
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14826 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-08 15:18:36 +00:00
Christian Stimming
5d67b7ecfd
Fix -no-undefined flag for g-wrap; fix zlib header flags for gsf
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14825 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-08 14:00:59 +00:00
Christian Stimming
ff961d57f8
Remove obsolete/unused generated headers; all directory paths are now in src/engine/gnc-path.c.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14824 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-08 11:04:44 +00:00
Christian Stimming
4d8585bd16
Add includes that had been included by the obsolete i18n.h header
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14823 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-08 11:02:23 +00:00
Christian Stimming
d437f7f556
Replace every hard-coded directory path with the respective call to gnc_path.
...
(Except for the qsf and dwi backends, but they are not being maintained right now anyway.)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14822 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-07 21:02:07 +00:00
Christian Stimming
df175ce6b8
Add new file with utility functions to retrieve the needed directory
...
paths. All compile-time vs. runtime path lookups will be implemented
exactly in this file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14821 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-07 20:37:53 +00:00
Christian Stimming
e256fdbfc6
No need to remove files during win32 install
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14820 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-07 18:31:38 +00:00
David Hampton
b5a0ce15a4
Include config.h a couple of places.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14819 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-07 16:32:10 +00:00
David Hampton
f2dfa79324
Use the glib-compat.h file for backward compatible function names.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14818 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-07 16:14:27 +00:00
Christian Stimming
9b0c03923a
Further improve setup file creation script
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14817 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-07 15:52:47 +00:00
Christian Stimming
e0ac513cb6
After installation, try to create a suitable command.com script.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14816 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-07 15:49:51 +00:00
Christian Stimming
25971c3171
Fix automated path setup of gnucash script. Should now probably work.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14815 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-07 12:49:39 +00:00
Christian Stimming
524e1e5182
Add include config.h that was missing in g-wrap wrapper.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14814 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-07 11:55:52 +00:00
Christian Stimming
96a8790a69
Replace deprecated glib function if new glib is available
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14813 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-07 11:38:29 +00:00
Christian Stimming
e49d29690b
Need lib/libc for missing libc function. Need to include localtime_r to get the declaration
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14812 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-07 11:08:25 +00:00
Christian Stimming
8da68a09a1
On Windows, before unlink() we need to chmod() the lock file for write access.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14811 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-07 10:51:38 +00:00
Christian Stimming
ec4d618240
Remove duplicate setting of platform_win32 automake conditional
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14810 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-06 15:49:06 +00:00
Christian Stimming
e35d1c477d
Add first draft script for creating a setup.exe installer package on win32.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14809 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-06 15:01:43 +00:00
Christian Stimming
42f5e2b845
Further improve script-based gnucash building.
...
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
2006-09-06 12:23:19 +00:00
Christian Stimming
33bf535f71
Get rid of warnings from libtool header on windows/mingw32
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14807 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-06 12:15:11 +00:00
Christian Stimming
0415051267
On Windows/mingw32, scanf only accepts %I64d for long long integers.
...
Reference that gave me this hint: http://acm.pku.edu.cn/JudgeOnline/faq.htm
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14806 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-06 11:46:36 +00:00
Christian Stimming
7b0ec87f66
Move check for windows platform even more up front.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14805 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-06 11:07:57 +00:00
Christian Stimming
a99e900161
Last round of Makefile and symlink cleanup. Gnucash should build fine without symlinks now.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14804 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-06 09:35:30 +00:00
Christian Stimming
8ae5136206
For windows, ignore gnc_engine_is_initialized check for now because it doesn't work correctly.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14803 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-06 09:26:41 +00:00
Christian Stimming
3c084dfc7a
Include all of my known prerequisites to successfully compile gnucash:
...
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
2006-09-06 09:19:54 +00:00
Christian Stimming
974c4a78fe
Add last missing #include config.h
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14801 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-05 19:41:02 +00:00
Christian Stimming
a851459362
Add #include config.h at all places where it has been missing.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14800 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-05 18:00:11 +00:00