Commit Graph

575 Commits

Author SHA1 Message Date
Andreas Köhler
9f1078dd53 Add support for printing reports with GtkPrint.
Also add gnc_{save,restore}_print_settings so that those are shared
between report and check prints.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15733 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-17 17:29:35 +00:00
Andreas Köhler
9ec20373ab If PKG_CHECK_MODULES fails, always print result "no".
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15731 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-17 17:29:24 +00:00
Andreas Köhler
8603ae302c Reorder the sequence of some GUI library tests. Allow libgtkhtml-3.14.
Merge the two gnc_build_gui=true blocks, only move regex adjustments to
the windows specific part.  Test for gtkhtml later than before and allow
libgtkhtml-3.14 iff gtk+-2.0 >= 2.10 and gog-renderer-cairo.h is
available.  To actually print with GtkPrint further code is needed.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15730 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-17 17:29:19 +00:00
Andreas Köhler
cc00692a51 Harden tests for HtmlHelpW on Windows.
Check both, in install.sh and configure.in, whether we can link a test
source for HtmlHelpW against the html help import library, instead of
just testing for htmlhelp.h or some htmlhelp library thing.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15727 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-16 09:20:45 +00:00
Andreas Köhler
3242b9c3fd Add help support on Windows by using the HtmlHelp API.
Find the correct CHM file according to the active locale and call
gnc_show_help in src/app-utils/gnc-help-utils.[ch].  These new files
were necessary because <windows.h> does not like things like GUID.  If
no htmlhelp.h was found, spawn hh to show the chm file.  Otherwise parse
the GKeyFile ending on .hhmap to determine a numeric ID for the given
anchor and use HtmlHelpW.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15713 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-14 01:00:06 +00:00
David Hampton
fae458ad81 Make the new check printing code compile on systems that don't have
glib 2.12.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15710 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-13 15:18:11 +00:00
David Hampton
2af48fcb16 Convert the check printing code from Scheme to C. Add support for
using the GtkPrint API when compiled against gtk+ 2.10 or later.  Add
support for reading check description files instead of hard coding
check descriptions.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15709 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-13 03:43:24 +00:00
Andreas Köhler
5354305dc6 Add GOFFICE_WITH_CAIRO to enable build without GogRendererPixbuf.
Check whether we find gog-renderer-cairo.h with the help of
GOFFICE_CFLAGS.  If it is found, use GogRendererCairo instead of
GogRendererPixbuf.  Newer goffice releases do not ship the latter any
more.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15704 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-09 22:44:33 +00:00
Andreas Köhler
5400c53b2a Drop internal copies of libgsf and goffice.
Targeted distributions should have goffice packages by now.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15701 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-09 19:26:03 +00:00
David Hampton
ad231f4c57 Patch from Bill Nottingham to remove redundant ofx checks.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15675 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-28 05:57:19 +00:00
Joshua Sled
5f8e410f89 Remove src/network-utils/, module, lingering usages of (obsolete/stubbed-out) gnc-http, form-submission.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15658 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-25 16:21:46 +00:00
Derek Atkins
e87a6014f7 Fix the configure tests.. Need a comma instead of a period. Oops.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15525 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-08 16:25:54 +00:00
Derek Atkins
513bccca0d If we're not building from SVN then make sure that
swig-runtime.h and gnc-svninfo.h exist in the source tree.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15524 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-08 16:03:24 +00:00
Andreas Köhler
fad14daab2 Add -mms-bitfields and -mwindows to configure.in.
On Windows, all C source files should be compiled with
-mms-bitfields. But this was only the case for those in modules
depending on gtk+. Fixes make check in src/app-utils.

Link with -mwindows, making the DLLs and gnucash-bin.exe to run in the
GUI subsystem. Clicking the bat will not open a console for gnucash,
starting from MSYS will not print messages, anymore.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15493 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-03 01:47:09 +00:00
Christian Stimming
e6e07fdc1a Added Canadian French account templates by Serge P. Leblanc
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15491 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-02 14:18:52 +00:00
Joshua Sled
68f9050a4b Force --enable-debug to strip spurious optimization added by AC_PROG_CC (for gcc). But if the user has optimization in their CFLAGS, make sure it's respected.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15477 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-31 02:36:53 +00:00
Andreas Köhler
5d79c1a22f Add a few functions from GLib 2.8 in lib/glib28.
Remove empty directory lib/glib26. Add lib/glib28 instead with the
necessary sources and headers to have the following functions even on a
GLib 2.6 system (!defined(HAVE_GLIB_2_8))
- g_access, g_chmod,
- g_file_set_contents,
- g_win32_locale_filename_from_utf8.
Make use of them, improving r15429 and r15430.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15445 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-28 05:13:54 +00:00
Andreas Köhler
35f43c0a1a Raise dependencies: GLib 2.6, Pango 1.8, GTK+ 2.6.
Ask for GLib 2.6 and GTK+ 2.6. Let the included GOffice 0.0.4 and LibGSF
1.12.3 use their native base dependencies. Remove all #ifdefs and
compatibility code that were necessary to make GnuCash, GOffice and
LibGSF compile on an older setup (GLib 2.4, Pango 1.6, GTK+ 2.4).


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15400 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-20 15:21:35 +00:00
Andreas Köhler
f1de45a420 Drop gnucash-config and gnucash.m4.
GnuCashs APIs, ABIs, and libraries are not designed for third-party
development, so do not encourage it at this point of time.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15379 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-14 19:38:11 +00:00
Andreas Köhler
5d8552f07c Drop variables GNC_LIBDIR and GNC_MODULE_DIR.
Both are equal to pkglibdir and only used in src/bin/, even mixed with
pkglibdir. The module installation paths are hard-coded to pkglibdir
anyway, so we do not provide that flexibility right now.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15378 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-14 19:38:05 +00:00
Christian Stimming
19cd819a0f For enabled hbci, link not only to aqbanking but also gwenhywfar because we use some of its functions directly. This became obvious on win32.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15351 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-13 15:40:03 +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
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
29c158335a Remove configure argument --with-locale-dir because it is unused anyway
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15134 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-11-24 14:04:43 +00:00
Christian Stimming
462cebb82f Fix gnc_path_get_localedir() because binreloc's implementation did not
respect the choice of DATADIRNAME from AM_GLIB_GNU_GETTEXT in configure.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15132 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-11-24 13:14:41 +00:00
Chris Shoemaker
31e926c486 Merge swig-redo branch back into trunk.
g-wrap is gone.  I, for one, welcome our new swig overlords.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15024 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-10-15 19:02:05 +00:00
Andreas Köhler
39eeb73fca Unconditionally call AC_CONFIG_HEADERS for libgsf and goffice config
header files. This way automake and config.status agree upon the list of
these files. Otherwise, in rare cases, make distclean might not remove a
file stamp-h5, making distcheck fail.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14932 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-10-06 16:02:37 +00:00
Christian Stimming
93c6848ebf Add -no-undefined to LDFLAGS because libtool on Windows requires this argument and we fulfil it anyway
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14880 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-22 13:28:33 +00:00
Christian Stimming
557723f256 Remove mt940 module completely from the build and SVN because all of
its functionality has been moved into the hbci (aqbanking) module.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14871 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-19 18:44:56 +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
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
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
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
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
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
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
9fbd42d09b Move win32 check out of libgsf-1.12.3 configure section into the general configure section
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14744 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-28 11:29:22 +00:00
Christian Stimming
44ddca68cd Add REGEX_LIBS linker flag that is needed on win32 platform
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14743 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-28 09:31:29 +00:00
Derek Atkins
f314229927 Check for libgoffice-0.3 before libgoffice-1.
(So we find "native" goffice-0.3.x on win32


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14732 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-26 22:59:23 +00:00
Christian Stimming
9238bdaa29 Increase aqbanking dependency to >= 1.6.0; has been released on 2005-09-22
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14710 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-22 19:26:10 +00:00
David Hampton
aa7cda2a16 Update so that bug-buddy 2.16 will still allow you to file bugs
against gnucash.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14695 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-20 03:32:21 +00:00
Christian Stimming
7ca685e5a9 Find absolute path of gconftool-2 during configure. Make gconftool rules to
fail if gconftool-2 could not be found. bug#349851.
BP



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14607 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-08 09:39:12 +00:00
Derek Atkins
43dbf78b80 check for SLIB. (#347922)
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14551 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-07-22 15:47:46 +00:00
Andreas Köhler
1ff9e38a42 Make tabs within one notebook reorderable by dnd for gtk>=2.10.
Fixes #343454.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14550 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-07-21 17:20:49 +00:00
Christian Stimming
55a0b44a88 Re-use existing GUILE_LOAD_PATH variable in order not to override existing search paths.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14540 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-07-18 11:38:45 +00:00
Derek Atkins
10e122f19e check for (g-wrap) module (#347680)
Apparently some distributions ship g-wrap-config separately
 from the g-wrap.scm guile module.
 BP
 


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14518 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-07-16 16:17:58 +00:00
Derek Atkins
37bfd1de1c check for (g-wrap gw-glib-spec) instead of (g-wrap) #347404.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14501 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-07-15 04:02:02 +00:00
Derek Atkins
0863f9d7ae make sure that po/POTFILES.in exists so configure doens't complain.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14500 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-07-15 01:33:53 +00:00