Commit Graph

10067 Commits

Author SHA1 Message Date
Christian Stimming
2596a1d4bd Binreloc needs explicit configure argument on cross-compile
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14863 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-18 20:49:23 +00:00
Christian Stimming
60ff04b2fb Implement automatic relocation of previously compiled-in paths.
With the exception of the env variables in src/bin/gnucash we're
fully relocatable now.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14862 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-18 20:43:50 +00:00
Christian Stimming
05ae2d2c08 Fix erroneous cross-compiling g-wrap args
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14861 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-18 19:57:32 +00:00
Christian Stimming
a9457c668d Also allow user-defined overrides for g-wrap. Necessary if build-time g-wrap is different from the run-time one during cross-compile.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14860 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-18 19:10:31 +00:00
Christian Stimming
3eb57a841a Forgot one step necessary for guile and cross-compiling.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14859 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-18 16:16:23 +00:00
Christian Stimming
85f8813c6d Fully explain a cross-compile build of gnucash/mingw32 on Linux.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14858 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-18 16:11:18 +00:00
Christian Stimming
5c9a63d5a0 Allow the user to override the guile flags. Necessary when build-time guile and run-time guile are different, i.e. when cross-compiling.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14857 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-18 15:45:10 +00:00
Christian Stimming
812bd9a1f0 Small cleanup for crufty guile version check macro
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14856 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-18 15:31:41 +00:00
Christian Stimming
a89f885af4 Convert shell scripts from DOS CR-LF linefeeds to unix LF.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14855 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-18 09:50:25 +00:00
Christian Stimming
4ed1ed400c More cross-compile preparations - goffice needs a cross-compile libtool as well.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14854 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-17 13:45:18 +00:00
Christian Stimming
850323276d More cross-compile preparations.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14853 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-17 11:03:02 +00:00
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