Commit Graph

19266 Commits

Author SHA1 Message Date
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
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
Geert Janssens
709787dafa Apply Xavier's translations for goffice
These should take precedence over automatically imported translations.
2018-01-25 22:29:57 +01:00
Geert Janssens
7fc2915687 Merge es.po from Translation Project into unstable
Rsovled conflicts:
	po/es.po

- all conflicts related to goffice strings were resolved in favor or the goffice translation
- all other conflicts were resolved in favor of the TP po file
2018-01-25 21:50:34 +01:00
Geert Janssens
9ba7ed5f61 Merge branch maint into unstable 2018-01-25 21:28:11 +01:00
Geert Janssens
4533f77904 Import new Spanish translation from the Translation Project 2018-01-25 21:15:21 +01:00
Geert Janssens
e1807c99e2 Import new Spanish translation from the Translation Project 2018-01-25 21:14:13 +01:00
Christopher Lam
f6ae9868c5 TP->T64: gnucash/report/standard-reports/transaction.scm 2018-01-25 18:57:49 +08:00
Geert Janssens
ad1267da2d Merge branch 'unstable-update-translation' of https://github.com/DiMan/gnucash into unstable 2018-01-25 10:33:50 +01:00
Geert Janssens
b4c620478c Display detected Finance::Quote version in About dialog 2018-01-25 10:33:13 +01:00
Geert Janssens
52b0c06d30 Merge branch 'maint' into unstable
Conflicts:
- gnucash/gnome-utils/gnc-main-window.c
  I have chosen to ignore the changes pulled in from maint. The same change will
  be reimplemented in a followup commit.
- po/ru.po
  Same here. The translation conflicted too much and there's a
  translation update available for unstable I will pull in soon.
2018-01-25 10:24:53 +01:00
Geert Janssens
adba439b1c Display detected Finance::Quote version in about dialog 2018-01-25 10:10:59 +01:00
John Ralls
b4877301c8 Fix test for GDK_MODIFIER_INTENT_DEFAULT_MOD_MASK
It's an enum value, so cmake_check_symbol_exists doesn't work.
2018-01-23 18:29:19 -08:00
John Ralls
1fc46fe140 Fix some dependency-checking failures.
Thanks to Robert Merkel for reporting them.
* Build gnucash-design.info if makeinfo is available, but don't complain
  if it isn't.
* Fail Cmake if LibXSLT and xsltproc aren't found. Those are required to
  build the gschemas and GnuCash won't work without them.
* Fix the WebKit detection so that it isn't faked out into thinking it has
  WebKit2Gtk-4.0 when it's WebKit2Gtk-3.0 and cmake is run with a
  CMakeCache.txt present.
2018-01-23 16:04:28 -08:00
John Ralls
d26133a37e Define GDK_MODIFIER_INTENT_DEFAULT_MOD_MASK if it isn't in Gdk.
It was added in Gtk-3.14.
2018-01-23 15:57:07 -08:00
John Ralls
f256b3bd23 Use Gtk3's GdkModifierIntent masks.
These replace certain GdkModifierType masks for better cross-platform
behavior, especially on MacOS.
2018-01-23 13:26:35 -08:00
fell
cb2b039634 Merge remote-tracking branch 'DiMan/update-trans-ru-01' into maint
4677 translated messages, 3 fuzzy translations, 4 untranslated messages.
2018-01-23 15:55:21 +01:00
Di Mang
18094e309e ru.po (unstable): adaptation to translation in project goffice
Source: https://github.com/GNOME/goffice/blob/master/po/ru.po
2018-01-22 23:03:32 +01:00
Di Mang
d35f8f966c de.po (unstable): add Dmitriy Mangul as translator 2018-01-22 20:47:32 +01:00
Di Mang
779e72461e ru.po (unstable): some improvments for translation of frequency words in gnc-frequency.glade 2018-01-22 20:19:41 +01:00
Di Mang
75bae0adfa ru.po (maint): some improvments for translation of frequency words in gnc-frequency.glade 2018-01-22 19:57:33 +01:00