Commit Graph

19585 Commits

Author SHA1 Message Date
Geert Janssens
0f295dd439 Merge branch 'CorrectStrings27EN' of https://github.com/Mechtilde/gnucash into unstable 2018-01-31 18:37:52 +01:00
Geert Janssens
77982c71bb Remove make-gnucash-po.sh.in
This time we're really not using it any more.
2018-01-31 18:25:53 +01:00
Geert Janssens
fb2570dfe2 Revert "Fix version number inclusion in gnucash.desktop file"
This reverts commit 9d8def84f3.

Another oops. The version number in the desktop file is not the
gnucash version but the desktop file specification version.
There are more recent specification versions available, but
we should only bump it after having verified our desktop file
adheres to those higher versions. So revert for now.
2018-01-31 18:08:12 +01:00
Geert Janssens
ff24970f5f Add GENERATE_SWIG_WRAPPERS option to control the generation of swig wrappers independently of whether we're building from git
The swig wrappers don't really depend on git (but rather on swig) and there can be
situations the builder wants to generate the wrappers also from a tar ball.
2018-01-31 16:16:59 +01:00
Geert Janssens
1805972646 Revert "Allow user to override BUILDING_FROM_VCS"
This reverts commit ec9d5feba1.

This doesn't do what I had in mind. I'll come up with a
better solution shortly.
2018-01-30 21:24:39 +01:00
Geert Janssens
32a196122f Properly detect git in case of linked worktree 2018-01-30 19:21:39 +01:00
Geert Janssens
ec9d5feba1 Allow user to override BUILDING_FROM_VCS 2018-01-30 19:21:39 +01:00
Christopher Lam
862956a760 BUGFIX: invoice posted-date is no longer 0 for unposted invoices
This commit fixes business reports caused by 91f4b19039
whereby the posted-date for unposted invoice was changed
from 0 to MAXINT. Now we need to use (gncInvoiceIsPosted)
or (gncInvoiceDateExists) instead.
2018-01-30 19:29:04 +08:00
fell
00c4bac65b Merge branch 'maint' into unstable
Adjust path
2018-01-30 02:44:04 +01:00
fell
8812aae5d5 Add src/plugins/example/gnc-plugin.example.c to POTFILES.skip 2018-01-30 02:07:06 +01:00
fell
ab4010b379 Replace a missed SVN 2018-01-30 00:46:13 +01:00
Geert Janssens
99ebeb6b5d gnucash.pot target improvements
- add simple target called 'pot' so translators can run 'make pot'
- make gnucash.pot depend on all files with translatable strings. So whenever
  one of these files is changed the potfile will automatically be regenerated
  (if the current target depends on it, like 'pot' or 'dist')

Note the default target (make without anything) does not depend on gnucash.pot
so the potfile will not automatically be (re)generated when building that target.
2018-01-29 21:51:38 +01:00
Mechtilde
8c988bfc1f add some more German translations 2018-01-29 20:22:59 +01:00
Mechtilde
22cc065d39 add some more German translations 2018-01-29 20:22:59 +01:00
Mechtilde
311f8c2dc6 add even more German translations 2018-01-29 20:22:59 +01:00
Mechtilde
4198af108b add some more German translation 2018-01-29 20:22:59 +01:00
Mechtilde
f0f20d3f5b add ellipses to fit Common User Access (CUA) under the Tools menu 2018-01-29 20:22:59 +01:00
Mechtilde
cf15c78818 add some German translations 2018-01-29 20:22:59 +01:00
Geert Janssens
6e5ac2608b More translation fixes detected by Mechtilde and reported on IRC 2018-01-29 19:46:44 +01:00
Geert Janssens
c7415102fd Fix a few more translation issues discovered during code review 2018-01-29 19:46:44 +01:00
Geert Janssens
4aa1062045 Bug 792947 - Missing translatable strings
In addition
- the icon was restored on the new account button while importing
- an unused button was removed from the Tip of the day window
- a couple of whitespace issues were fixed

bug fixup
2018-01-29 19:46:44 +01:00
Geert Janssens
f319a8e2a4 Re-enable building a dist tarball from within distcheck 2018-01-29 19:46:44 +01:00
Geert Janssens
49a936c1fd Rewrite gnc_add_swig_guile_command to work in dist tarball as well
When building from git it will add targets to generate the swig files.
When building from tarball it will just point at the generated source
files from the tarball.
2018-01-29 19:46:44 +01:00
Geert Janssens
36cb167b68 Rewrite gnc_add_swig_python_command to work in dist tarball as well
When building from git it will add targets to generate the swig files.
When building from tarball it will just point at the generated source
files from the tarball.
2018-01-29 19:46:44 +01:00
Geert Janssens
ec213360f3 Review which built files are really needed in the dist tarball
Several were only there because they used to be generated via autogen.sh
and hence had to be included because autogen.sh was not supposed to be run
in a tarball based build.
A few others aren't clear so I have left them in for now:
- gnucash.1 (man page)
- gnucash-design.info (because it's unclear what we want to do with that one)

These files should clearly be in the tarball:
- gnucash.pot -> for our translators
- ChangeLog -> can't be generated outside of a git repo
- gnc-vcs-info.h -> can't be generated outside of a git repo
- guile/python bindings -> to avoid a swig dependency when building from tarball
2018-01-29 19:46:44 +01:00
Geert Janssens
9d8def84f3 Fix version number inclusion in gnucash.desktop file 2018-01-29 19:46:44 +01:00
Geert Janssens
4317d8a8f6 Improve handling of generated distributable files
- the two dist_add_... macros now both take a list of file names
as argument so more files can be added at once to the dist tarball.
- dist_add_generated now creates the right target by itself. There's
  no need to pass one any more
- make the swig generated *.py module files explicit output files
- change a couple of custom_targets into custom_commands. The only
  reason they were defined as targets was to ensure they got built
  before the dist tarball. This is now properly handled by the
  dist_add_... macros.
- correctly handle dependency on swig-runtime.h (using OBJECT_DEPENDS
  was not the way to do it according to that property's help page)
2018-01-29 19:46:44 +01:00
Geert Janssens
3dff4e5211 Fix make dist on a clean checkout
cmake with unix makefiles fails to resolve dist dependencies
added from COPY_FROM_BUILD if these dependencies aren't built yet.

This commit replaces the COPY_FROM_BUILD based logic with two new functions
'dist_add_configured' and 'dist_add_generated' to indicate which files should
be included in the dist tarball. The latter also adds a target level dependency
to the dist tarball custom command. Hence the former should
be used for files that get generated during a cmake run while the latter
should be used for files generated as the result of a 'make/ninja-build' run
(like files for which an add_custom_command rule exists).

Note: this commit also temporarily disables the dist target when building
from a tarball (and hence it won't be tested in distcheck either). This
will be handled in a future commit.
2018-01-29 19:46:44 +01:00
Geert Janssens
1258a2adfd Make potfile generation a custom target, and make the dist target depend on it 2018-01-29 19:46:44 +01:00
Geert Janssens
b12a6cf4d2 Revert "Partially revert commit 85bfbd8e8258e"
This reverts commit b6aae75317.

I was mistaken. We still need po/make-gnucash-pot.sh.in, not
make-gnucash-potfiles.in...
2018-01-29 19:46:44 +01:00
John Ralls
8622672343 Add DL_LIBS to gncmod-gnome-utils target. 2018-01-28 16:00:03 -08:00
Mechtilde
77ad62960b correct typo in horizontal 2018-01-28 21:06:19 +01:00
John Ralls
83128e2f1d Fix Webkit1 configuration for Windows Builds. 2018-01-27 16:42:56 -08:00
John Ralls
81f118740e Add googletest to the list of dependencies. 2018-01-27 15:46:04 -08:00
Geert Janssens
b6aae75317 Partially revert commit 85bfbd8e82
make-gnucash-potfiles.in is still needed after all
2018-01-27 14:13:06 +01:00
John Ralls
4fd52725bf Fix no transient for warnings from reconcile dialogs. 2018-01-26 17:01:46 -08:00
John Ralls
71a2429c13 [MacOS] Put the reconcile window menu on the screen menubar. 2018-01-26 17:01:46 -08:00
Geert Janssens
ec3ca0430a Fix test-cashflow-barchart.scm for guile 2.2
At the same time enable guile 2.2 for our arch ci test
so gnucash gets ci testing with that version as well
2018-01-26 19:00:31 +01:00
Geert Janssens
18feaa16a7 Remove support code to load qof backend in autotools based build environment 2018-01-26 18:26:06 +01:00
Geert Janssens
00396db560 Remove the .in extension from test-real-data.sh and stop configuring it for autotools
We have dropped support for autotools and cmake invokes this script using /bin/bash <script>
So the exact shebang value is not relevant any more
2018-01-26 18:26:06 +01:00
Geert Janssens
0f4a72b49f Remove unused file 2018-01-26 18:26:06 +01:00
Geert Janssens
85bfbd8e82 Some minor cleanups after the autotools removal
This includes removal of the now unused make-gnucash-potfiles.in,
checking for CMakeLists.txt rather than Makefile.am in gnc-vcs-info,
upating the HACKING file,
and generally updating references to autotools.

I have kept "Makefile.*" exclude patterns in our CMakeLists.txt files
because they may still be lingering in the source directory from
previous autogen.sh runs. At some point these should probably be
removed as well still, together with the gitignore references to them.
2018-01-26 18:22:48 +01:00
Geert Janssens
1b02517ea1 Merge branch 'unstable-TR-bugfix' of https://github.com/christopherlam/gnucash into unstable 2018-01-26 12:22:14 +01:00
fell
dfa9c526cb Merge branch 'maint' into unstable 2018-01-26 01:36:10 +01:00
fell
da648516c4 Remove obsolete GNOME2_STATUS 2018-01-26 01:34:17 +01:00
Geert Janssens
cd0ce78b9e Merge branch 'maint' into unstable
Resolved conflicts:
	po/nl.po
The current unstable version was taken as conflict resolution.
2018-01-25 23:20:03 +01:00
John Ralls
43ad7accda Remove stray addition from 34cc103e94. 2018-01-25 14:17:23 -08:00
Geert Janssens
6aa58811da Import Dutch translation by Mark Haanen from the Translation Project 2018-01-25 23:01:21 +01:00
John Ralls
a7cfedb9dd Remove overview links to nonexistant articles. 2018-01-25 13:45:02 -08:00
John Ralls
34cc103e94 Add doxygen target. 2018-01-25 13:45:02 -08:00