Commit Graph

29 Commits

Author SHA1 Message Date
Geert Janssens
b430744fb5 Merge branch 'maint' 2017-07-10 20:22:35 +02:00
Geert Janssens
b1f9f80110 Add CMakeLists.txt files to dist tarball generated by autotools
This is half of the work to align the cmake and autotools generated dist tarballs.
What's missing in the cmake dist tarball on my system are all the files generated
or installed by running autogen.sh. I can't test this because cmake can't run
my version of automake (1.15), or at least our CMake configuration prevents this from happening.
2017-07-10 20:06:31 +02:00
Geert Janssens
dcce2d79cd Remove final dependencies on GOFFICE
This was still pulled in via the now removed gnc-csv-model.
In order to remove this, the fixed format csv importer
has been tweaked to get the required features from
the c++ csv importer code instead.
2017-02-20 17:54:09 +01:00
Geert Janssens
d858c7d51d Internalize parts of the goffice code
We're using only a tiny fraction of that library.
Adding it directly in the gnucash source saves a large dependency chain.

Note this is a verbatim copy of these files from
https://github.com/GNOME/goffice/tree/GOFFICE_0_8_17
to preserve a clean link with it's origin.
It will only build correctly after the next commit.
2017-02-20 17:41:27 +01:00
Geert Janssens
25256c1ba7 Remove unused function yahoo-get-historical-quotes
This gets rid of the dependency on guile-www as well
2014-04-24 11:10:55 +02:00
Christian Stimming
00511d25ea Bug #671737: Let configure --disable-gui only build gui code
Patch by Kuang-che Wu.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22105 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-03-21 20:15:17 +00:00
John Ralls
a2cd913a5c Fix clean targets and DIST_SOURCES
Several subdirectories have a subdirectory "gnucash", which clean tried to remove by including in the CLEANFILES variable in Makefile.am. This doesn't work, because directories can't be removed with rm, they require rm -r. Add a clean-local: target which calls rm -r on the gnucash subdirectory.

Some Makefile.ams used an AC_SUBSTed variable to define an optionally-compiled subdirectory, then included the variable in SUBDIRS and the actual directory name in DIST_SUBDIRS. This breaks the distclean and maintainer-clean targets when the optional directory is built, because it is then processed twice, and there is no Makefile the second time so make halts. Replaced the AC_SUBSTed variables with ones local to the Makefile.am, switched with an AM_CONDITIONAL. That way automake can figure out the dist_subdirs on its own.

BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21570 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-11-17 21:27:40 +00:00
Geert Janssens
54324efc7f Remove local srfi's and require guile 1.6.7 or better.
All now supported versions of guile come bundled with these
srfi's, so there's no need to keep our own copies.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18995 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-05 16:48:09 +00:00
Geert Janssens
86c7ae019c Bump glib2 minimum requirement to 2.12.
At the same time, remove all the conditional code and workarounds
that were in the code to cater for glib < 2.12.

Note: this commit will require a rerun of autogen.sh and configure.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18696 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-20 13:57:10 +00:00
Phil Longstaff
89bfcce989 Rename lib/libqof -> src/libqof
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18029 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-04-07 00:48:53 +00:00
Andreas Köhler
a6839478a4 Merge csv-import branch back into trunk.
configure.in                                       |    2
 lib/Makefile.am                                    |    4
 lib/stf/Makefile.am                                |   13
 lib/stf/README                                     |    2
 lib/stf/stf-parse.c                                | 1414 +++++++++++++++++++++
 lib/stf/stf-parse.h                                |  112 +
 src/bin/gnucash-bin.c                              |    1
 src/import-export/Makefile.am                      |    4
 src/import-export/csv/Makefile.am                  |   59
 src/import-export/csv/example-file.csv             |    4
 src/import-export/csv/gnc-csv-gnumeric-popup.c     |  194 ++
 src/import-export/csv/gnc-csv-gnumeric-popup.h     |   78 +
 src/import-export/csv/gnc-csv-import.c             | 1173 +++++++++++++++++
 src/import-export/csv/gnc-csv-import.h             |   33
 src/import-export/csv/gnc-csv-model.c              | 1199 +++++++++++++++++
 src/import-export/csv/gnc-csv-model.h              |  122 +
 src/import-export/csv/gnc-csv-preview-dialog.glade |  496 +++++++
 src/import-export/csv/gnc-csv2glist.c              |  187 --
 src/import-export/csv/gnc-csv2glist.h              |   39
 src/import-export/csv/gnc-plugin-csv-ui.xml        |   11
 src/import-export/csv/gnc-plugin-csv.c             |  160 ++
 src/import-export/csv/gnc-plugin-csv.h             |   60
 src/import-export/csv/gncmod-csv-import.c          |   91 +
 23 files changed, 5228 insertions(+), 230 deletions(-)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16561 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-10-12 22:51:34 +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
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
Derek Atkins
eb7c14d20b No need for the blank SUBDIRS +=
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13074 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-02 04:12:19 +00:00
Derek Atkins
ed2263acdb Get "make distcheck" to work....
* src/import-export/test/Makefile.am:
	  Added src/scm directory to test environment
	* lib/goffice-0.0.4/Makefile.am:
	  Don't install libgoffice-1.pc, but distribute it
	* lib/libgsf-1.12.3/tests/Makefile.am:
	  Link to the proper location of libgsf-1.la
	* lib/libgsf-1.12.3/Makefile.am:
	  Don't install the gsf .pc files, but distribute them.
	* lib/Makefile.am:
	  Use DIST_SUBDIRS to distribute qof, gsf, and goffice
	* configure.in:
	  fix QOF_LIBS to use builddir, not srcdir
	* Makefile.am:
	  add po/POTFILES.in to the dist
	  link gsf into the srcdir, not the builddir
	* src/report/report-system/Makefile.am:
	  make sure we distribute gw-report-system.h
	* src/bin/Makefile.am:
	  clean i18n.h in distclean



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12992 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-27 21:49:03 +00:00
Joshua Sled
94e9fe5e6f Fold branches/goffice-update/ back into trunk/.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12096 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-12-04 21:27:17 +00:00
David Hampton
5b906bd598 Remove all remaining references to guppi.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12070 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-30 01:58:05 +00:00
Neil Williams
466781acef move QOF files to lib/libqof/
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11917 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-13 13:22:34 +00:00
Neil Williams
b170f4a34f reverting lib/libqof changes to prepare for svn move
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11885 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-07 18:23:46 +00:00
Neil Williams
5cebd80a31 lib Makefile.am changes for new directory
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11881 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-07 15:45:00 +00:00
David Hampton
f28d033d74 Collapse the gnome2 branch back into HEAD.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11565 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-02 03:32:36 +00:00
Christian Stimming
694375f3cf 2003-05-30 Christian Stimming <stimming@tuhh.de>
* lib/guppi-legend.patch: Include patch for Guppi that fixes
	reversed legend problem.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8470 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-30 19:30:34 +00:00
David Hampton
3ce1d63e1a Pogma's initial Mac OS X patches.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6833 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-07 23:22:24 +00:00
Rob Browning
4dd0f87132 *** empty log message ***
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5869 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-16 20:32:12 +00:00
Rob Browning
b88af602e4 * lib/Makefile.am (SUBDIRS): add srfi.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4205 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-15 15:51:01 +00:00
Dave Peticolas
1a63b7f75d 2001-04-17 Rob Browning <rlb@cs.utexas.edu>
* src/scm/utilities.scm (string-split): used to be string-split-on
	in qif-utils.scm

	* src/scm/qif-import/qif-utils.scm: move string-split-on to
	utilities.scm as string-split to better match string-join.

	* src/scm/qif-import/qif-to-gnc.scm (qif-import:qif-to-gnc):
	string-split-on -> string-split.

	* src/scm/qif-import/qif-dialog-utils.scm
	(qif-import:get-all-accts): string-split-on -> string-split.

	* src/scm/price-quotes.scm (yahoo-get-historical-quotes): new
	function - retrieve lists of historical quote information.

	* src/scm/bootstrap.scm.in (%load-path): add new guile-modules
	directory so we can use-modules from there.

	* src/guile/Makefile.am (CLEANFILES): add gnucash.c so it goes
	away on "make clean" in addition to "make distclean".

	* src/engine/gnc-pricedb.c: minor doc updates.

	* src/engine/gnc-pricedb.h: much more documentation.

	* lib/guile-www: new directory - contains guile-www CVS module.
	Used by new historical quote function.  Several new files added.
	Installed to new install directory GNC_SHAREDIR/guile-modules such
	that it is available via (use-modules (www main)), etc.

	* lib/Makefile.am (SUBDIRS): add guile-www

	* configure.in (AC_OUTPUT): add lib/guile-www/Makefile


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3988 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-17 21:37:38 +00:00
Dave Peticolas
4b013b67dd Add gtkhtml to lib.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2544 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-07-08 12:30:13 +00:00
Dave Peticolas
dd13bbf553 Rob Browning's make dist patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2410 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-06-05 05:51:39 +00:00