Commit Graph

9989 Commits

Author SHA1 Message Date
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
Christian Stimming
03cf6d7d01 Fix missing include config.h. Also fix still-used deprecated typedef.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14799 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-05 17:31:13 +00:00
Christian Stimming
042ec5de5e Error out if none of the two SCANF formats are defined in config.h.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14798 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-05 15:50:29 +00:00
Christian Stimming
80684e3205 Fix typo that prevented the correct error on unrecognized scanf conventions
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14797 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-05 14:38:27 +00:00
Christian Stimming
9495945584 For windows, clean up error conditions before trying again to load the session.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14796 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-05 13:38:41 +00:00
Christian Stimming
8a25065a54 Make sure not to pass NULL to PERR() message macro
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14795 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-04 16:27:31 +00:00
Andreas Köhler
2851954e3a Add Glade-3, as it seems to run smoothly with gnome widgets and simply
looks good. One day someone could try to integrate devhelp.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14794 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-04 08:11:30 +00:00
Andreas Köhler
77220a9865 Add ActivePerl. This is a download of ~8MB only used by intltool,
providing a working XML::Parser module, but by far the easiest
solution when trying to avoid recreating configure scripts with
[no-xml]. If it is accepted, these adjustments for libgsf, goffice and
gnucash can be removed.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14793 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-03 21:48:52 +00:00
Andreas Köhler
ecf6a0fa00 Readd expat-bin (xmlparse,xmltok), freetype-dev, jpeg-bin and
zlib-dev. Correct libxml-2.0.pc.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14792 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-03 21:08:37 +00:00
Christian Stimming
3675e7470e If the file type wasn't recognized, check whether this failed because
of no read permission and give appropriate user feedback if yes.
Feel free to adjust the wording.
BP



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14791 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-03 20:14:07 +00:00
Andreas Köhler
e6464a1728 Split glade installer into small gtk/gnome/other packages, add
libglade. Still experimental.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14790 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-03 19:54:50 +00:00
Christian Stimming
6b7bb49fc4 Fix error checking for non-existing filenames. Will now always give a
"file not found" message on nonexisting paths or filenames. #351351.
BP



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14789 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-03 11:07:16 +00:00
Christian Stimming
dea41099b4 Replace hardcoded dir separator by the glib macro
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14788 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-03 10:23:34 +00:00
Andreas Köhler
438fb06fa1 Add OpenSSL install function as libgnomeui needs libssl32.dll. Add
environment variable LIBGLADE_MODULE_PATH. glade_require("gnome"); works
now, Glade-2 does not load gnome widgets, GnuCash is untested.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14787 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-03 10:13:08 +00:00
Christian Stimming
455f96a355 Fix typo
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14786 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-02 19:19:45 +00:00
Christian Stimming
6e568f1d91 For windows, fall back to the file backend if a colon was in the URL name.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14785 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-02 19:18:27 +00:00
Christian Stimming
ff27834d6d Fully specify the correct subdirectory for windows; the prefix will be determined at runtime
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14784 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-02 15:44:45 +00:00
Christian Stimming
59ab015dee Revert r14780; doesn't help for mingw/win32.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14783 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-02 08:52:32 +00:00