Better instructions for translates to receive credit in the About
dialog (#5911) and includes strings in the Preferences dialog in
the .pot file. Also removes unneeded Translations.cmake file
(Gettext.cmake has all that we need) and fixes a problem in a late
release update for generating the POT file.
Because Messaging Menu isn't available on Precise, a special
debian/control.quantal file is introduced here. We should move to
using it solely when we phase out Precise support.
./configure will autodetect xgettext, and if available, "make pot_file"
will generate the po/geary.pot.
This does *not* include intltool support, so the .pot file only
contains strings from the source files.
Previous commit exposed a bug caused by moving some of the client's
resources in the source tree. Since much of the client's resources
are stored off the source root directory, it doesn't make sense to
special case the .desktop file and the GSettings file and place them
in the client source itself. This moves them out and makes the
appropriate changes in the CMake files and source code.
The problem is that the geary.desktop file is installed to
/usr/local/share/applications when PREFIX is /usr/local, which is
not monitored by GNOME. However, this is okay as long as the
desktop update util is run. It is, but it was being run *before*
the .desktop file was installed. This patch fixes it so the update
is run after, which is also how we do things in Shotwell.
This introduces a configure script that automates the basic task
of setting up a CMake build directory. It also uses a top-level
Makefile (which the configure script generates, to prevent running
it until configure has executed) which does the build and copies
the final executables into the root of the source tree.