Commit Graph

319 Commits

Author SHA1 Message Date
Geert Janssens
ce748cceb8 Merge branch 'maint'
Resolved conflicts:
	src/import-export/csv-imp/gnc-csv-model.h
	src/libqof/qof/gnc-date.h
	src/optional/gtkmm/test/Makefile.am
2016-01-22 11:43:23 +01:00
John Ralls
60ae4ac8ec Fix new cdv-import tests for running in a separate build directory. 2016-01-21 12:07:29 -08:00
Geert Janssens
afff8102f4 csv-imp - add initial (empty) test framework 2016-01-20 15:49:53 +01:00
John Ralls
db0fd2e908 Replace the TP pt.po with the directly-contributed pt_PT.po
The TP translation hadn't been maintained in over 10 years and there's
no evidence of an active TP pt team. TP coordinator has marked pt as
'external' in TP configuration.
2016-01-19 13:50:57 -08:00
fell
cf26b5c86b Fix a mistyped error message in configure.ac 2016-01-17 21:39:54 +01:00
John Ralls
f67faa24c6 Release 2.6.11 2016-01-10 15:42:14 -08:00
John Ralls
e0495fe269 Fully identify the boost header that needs to be fixed for C++11 compilation. 2015-12-26 11:54:28 -08:00
John Ralls
e4d3e90070 Merge branch 'maint' 2015-12-21 10:26:59 -08:00
John Ralls
a1c7f6456c Release 2.6.10 2015-12-19 12:32:54 -08:00
Pedro Albuquerque
cc765b053b Add new Portugal-Portuguese Translation. 2015-12-19 09:57:43 -08:00
John Ralls
5498f614fd Merge branch 'maint' 2015-12-14 13:13:29 -08:00
John Ralls
5f0cb0731f Use @SHELL@ instead of hardcode /bin/sh in test shell scripts.
This is a workaround for MacOS X 10.11's System Integrity Protection,
aka SIP, which among other things prevents system binaries from passing
linker environment variables to children. Anything in /bin or /usr/bin
qualifies as a system binary, and that includes /bin/sh and /bin/bash.
Not being able to pass linker paths breaks all of our guile tests which
need to tell Guile where to look for the libraries being tested.

To apply the workaround one needs to first have a shell outside of /bin
and /usr/bin. Simply copying /bin/sh to your home direcory works, as
does building a suitable shell somewhere. Just pass the path to that
shell in $CONFIG_SHELL to configure and all of the shell scripts and
libtool .la files will be created with it in the shebang line and the
linker environment variables will be passed in.

In order to build GnuCash in the first place you'll also need to edit
guild to use the alternate shell.
2015-12-14 13:11:12 -08:00
Geert Janssens
0e53cf89aa Merge branch 'maint'
Resolved conflicts:
	src/engine/test/Makefile.am
	src/gnome/dialog-sx-editor.c
2015-12-07 21:54:41 +01:00
John Ralls
90601ac464 Fix libdbi-0.9 crash on shutdown.
Must include the header before checking the version! Since this also
corrects the deprecation warnings, also reverts commit 29138bc.
2015-12-03 10:49:36 -08:00
John Ralls
29138bc793 Silence deprecation warnings.
Required because libdbi-0.9 emits them when using libdbi-0.8 API.
2015-12-01 16:40:31 -08:00
Geert Janssens
68f1db9ed6 Bug 756720 - configure fails to find libgoffice 0.10-10 (0.10.18-1)
While we can't support libgoffice 0.10 because that would require gtk3
we can improve the error message if no libgoffice 0.8.x version is found.
2015-11-03 12:19:52 +01:00
John Ralls
ac34d316a5 Merge branch 'maint' 2015-10-27 17:28:45 -07:00
John Ralls
ce838d3cfc Rename GNOME_COMPILE_WARNINGS to just COMPILE_WARNINGS.
Poaching someone else's macro name is a really dumb idea, because aclocal
looks in our macros directory only if it can't find the macro in the system
directories. Our config code doesn't work with Gnome's macro, it exports
WARN_CFLAGS rather than modifying CFLAGS directly the way ours does.
2015-10-27 17:25:48 -07:00
John Ralls
42415056d0 Release 2.6.9 2015-10-05 12:57:12 -07:00
John Ralls
12f760228c Release Gnucash-2.6.8 2015-09-26 12:05:50 -07:00
John Ralls
986bb368cd Merge branch 'maint' 2015-09-19 16:58:13 -07:00
John Ralls
04a6f4cfc5 Rearrange the LINGUAS as suggested by Frank Ellenberger in the wiki.
And remove the binary message catalog accidentally added in the last commit.
2015-09-19 16:19:00 -07:00
John Ralls
42859b91bb Set -std=gnu99, matching master.
Fixes broken build on win32
2015-09-16 17:59:50 -07:00
John Ralls
44d4365046 Bug 754617 - Gnucash should use PKG_PROG_PKG_CONFIG
Actually we already do, making this fragment unnecessary. What's more
Ximian Desktop is long gone so the work-around is redundant as well.
2015-09-12 18:01:36 -07:00
John Ralls
e7aa53a75e Remove gmtime_r and localtime_r from lib/libc. They're no longer used. 2015-07-25 12:50:17 -07:00
John Ralls
290dd611d7 More fiddling with gtest linkage.
This time for when we don't have a system installation.
2015-07-25 12:23:35 -07:00
John Ralls
d3e70217cd Move libgtest.a arg from Makefile to configure, add -pthread flag. 2015-07-07 16:46:13 -07:00
John Ralls
757a50c9ec Release 2.6.7 2015-06-27 11:31:44 -07:00
John Ralls
06d5d0a20a Change the Glib version test for C-standard to a compile check.
The actual problem occurred in only a couple of Glib releases before
being reverted.
2015-06-18 15:02:30 -07:00
John Ralls
9914a046d7 src/app-utils/gfec.a requires _XOPEN_EXTENDED, defined by -std=gnu99. 2015-06-07 11:59:05 -07:00
John Ralls
fefec86f64 Remove stray quote that ate all the CFLAGS. 2015-05-31 17:45:07 -07:00
John Ralls
80034b39bc Refine forcing C11 to handle case where AC_PROG_CC_C99 doesn't set -std= 2015-05-25 11:06:50 -07:00
John Ralls
54bf84af0e Force -std=c11 when compiling against GLib-2.44 or greater.
Required for new G_DECLARE_INTERFACE macro.
2015-05-24 18:02:24 -07:00
John Ralls
847e2c2717 Ensure BOOST_CPPFLAGS are included for boost test.
Necessary on Windows due to non-standard installation paths for dependencies.
2015-05-22 13:26:38 -07:00
John Ralls
8a77e139ce Better check for C++11 compile error in custom_time_zone.hpp
It turns out that F20's boost-1.53 already has this fixed, so set the
boost version to 1.53 and test for the actual problem.
2015-05-11 16:55:15 -07:00
John Ralls
d0fc57a5a7 Change minimum boost version to 1.55
There was a C++11 compilation bust in
date_time/local_time/custom_time_zone.hpp, which was fixed in that
version. Since we also require C++11, that makes it the minimum
necessary.
2015-05-11 12:32:24 -07:00
John Ralls
90f0d9952c Set gmock_root to gmock_src_path if the latter is detected.
Otherwise configure thinks gmock isn't installed.
2015-05-04 15:05:53 -07:00
John Ralls
725622f613 Ensure we compile C for at least C99. 2015-05-04 15:05:53 -07:00
John Ralls
280b7223bf Partial posix implementation 2015-04-28 10:48:53 -07:00
John Ralls
45170bb5eb Basic tests for TimeZoneProvider. 2015-04-28 10:48:53 -07:00
John Ralls
15a0d5d25f Merge branch 'maint' 2015-04-28 10:47:47 -07:00
Geert Janssens
405a26b6ac Add missing language in configure.ac
This was intended to be part of the previous commit...
2015-04-28 18:53:17 +02:00
Bill Nottingham
e54af98b05 Bug 747812 - unset LDFLAGS when unsetting CFLAGS
Since some LDFLAGS settings depend on corresponding CFLAGS ones,
e.g. -fPIC, unsetting only CFLAGS will cause the test-compile to
fail because of the mismatched flags.
2015-04-25 16:11:23 -07:00
Geert Janssens
df1fc7d903 Fix dbi driver detection on linux and similar
This is a follow up on the fix for
Bug 747300 - SQL backend missing from most recent DMG?
which broke dbi driver detection on linux
2015-04-25 09:27:57 +02:00
John Ralls
c97ab47379 Merge branch 'maint' 2015-04-07 14:36:01 -07:00
John Ralls
1d6fd55767 Bug 747300 - SQL backend missing from most recent DMG?
Fix configure.ac so that ${prefix}/lib/dbd is searched for modules.
Use gnc_path_get_libdir() to check for modules in the event that
$GNC_DBD_DIR is either empty or wrong and the path compiled into libdbi
itself is invalid. This applies mostly to Mac as other OSes tend to
leave their binaries where configure installs them.
2015-04-03 14:01:17 -07:00
John Ralls
b24cd7708d Merge branch 'maint' 2015-03-31 13:16:05 -07:00
John Ralls
46f7551523 Change gtk-mac-integration package name and includes.
Reflecting change in the dependency.
2015-03-31 13:15:33 -07:00
Frank H. Ellenberger
daf66df6c7 Merge branch 'maint' 2015-03-31 10:05:22 +02:00
Frank H. Ellenberger
10b3ac4489 Build system: Rename SCM_TYPE to VCS_TYPE
Follow up of the 2 previous commits.
2015-03-31 07:12:24 +02:00