Commit Graph

10067 Commits

Author SHA1 Message Date
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
Andreas Köhler
f126b2b870 Add pi.sh, a postinstall script of mingw.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14782 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-01 21:33:01 +00:00
Christian Stimming
67a081d69e Fix crash when querying data of the already deleted template_list_store of the transfer dialog.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14781 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-01 21:10:53 +00:00
Christian Stimming
549c08535a Use PATH_SEPARATOR variable for GUILE_LOAD_PATH for windows.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14780 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-01 20:29:16 +00:00
Christian Stimming
acc53e2850 Fix parallel build as proposed by Mike Alexander <mta@umich.edu>
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14779 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-01 20:23:18 +00:00
Christian Stimming
e11cb3a040 Use the PATH_SEPARATOR variable from ./configure during path creation in script. Necessary for windows ; searchpath separator
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14778 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-01 15:45:42 +00:00
Christian Stimming
bdd7cfe24e Change the searchpath separator to glib macro so that on Windows, ';' is used. Also clean up more path creation functions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14777 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-01 15:26:48 +00:00
Christian Stimming
e01902ba2f For windows, determine glade and accounts path at runtime instead of configure time.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14776 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-01 15:25:25 +00:00
Andreas Köhler
9fa8e0c1b8 Fix wget_unpacked in install.sh, once again.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14775 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-30 16:55:36 +00:00
Andreas Köhler
c616557bdc Added missing parameter in wget_unpacked in install.sh.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14774 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-30 16:52:17 +00:00
Andreas Köhler
d06912c6dc Win32 script: added wget_unpacked, $LAST_FILE, corrected
--with-modules-dir.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14773 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-30 08:30:39 +00:00
Andreas Köhler
398dabebd8 Replace set [-+]e switching by `if'.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14772 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-30 07:15:14 +00:00
Christian Stimming
765193c3c8 Add more library dirs for test runtime.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14771 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-29 21:00:47 +00:00
Christian Stimming
056e825305 Add more library dirs for test runtime.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14770 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-29 20:32:23 +00:00
Christian Stimming
e107ed98a9 At runtime one of the gnome packages also needs gail.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14769 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-29 20:31:10 +00:00
Christian Stimming
d697c4f697 For configuring gnucash, add --enable-schemas-install=no. See wiki.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14768 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-29 20:23:52 +00:00
Christian Stimming
54f3190e6e Next round of Makefile symlink cleanup.
Scheme files are now symlinked or copied into subdirectories gnucash/.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14767 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-29 08:18:56 +00:00
Christian Stimming
cff868d9cc Remove unused scm-links section
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14766 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-29 08:18:12 +00:00
Christian Stimming
d89eb73a92 Add missing include
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14765 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-29 08:07:40 +00:00
Christian Stimming
ca9485f5d9 Next round of Makefile symlink cleanup.
Scheme files are now symlinked or copied into subdirectories gnucash/ and g-wrapped/. 
Also, parallel builds should work fine now.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14764 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-29 08:05:33 +00:00
Christian Stimming
03224e7748 Add missing -f flag when symlinking the gw-.scm files
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14763 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-29 07:48:09 +00:00
Christian Stimming
76af6e96b3 Symlinking directories only works on non-win32.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14762 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-29 07:29:33 +00:00
Christian Stimming
3f36817ff9 Set g-wrap's module dir to Windows syntax. Make sure goffice exports the libgoffice_init symbol.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14752 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-28 19:28:47 +00:00