Commit graph

26 commits

Author SHA1 Message Date
Michael James Gratton
4cab543e1b Fix a shell warning running configure under flatpak-builder. 2017-02-28 00:24:38 +11:00
Michael James Gratton
29b5aa50e7 Fix configure whitespace, document VALADOC environment variable. 2017-02-02 15:41:45 +11:00
Michael James Gratton
8c4c1aefa9 Update configure script for compatibility with current unstable jhbuild. 2017-02-02 15:16:45 +11:00
Michael James Gratton
387db95e28 Valadoc generation fixes & updates.
* configure: Allow specifying a custom valadoc executable.

* src/CMakeLists.txt: Tidy up valadoc command, include dependencies when
  in generated HTML output, enable warnings.

* src/engine/api/geary.vala: Provide boilerplate doc comment for the
  Geary namespace.

* src/engine/api/geary-email.vala, src/engine/rfc822/rfc822.vala: Don't
  use single-line doc comments, valadoc doesn't support them (see Bug
  736483).

* src/engine/api/geary-folder-path.vala: Fix errors reported by valadoc.
2017-01-02 13:49:18 +11:00
Gautier Pelloux-Prayer
b54a1484bc Remove non standard option DEBUG and use CMAKE_BUILD_TYPE instead. Bug 772879 2016-10-22 11:04:04 +11:00
Adam Dingle
654e513f9c Transfer Yorba copyrights to Software Freedom Conservancy 2016-05-06 08:33:37 -04:00
Jim Nelson
cbb21b2f9e Dynamically detect when running under Unity: Bug #737258
This removes the --enable-unity ./configure flag in favor of detecting
the UI shell at runtime.
2014-11-14 13:55:05 -08:00
Jim Nelson
8e272f3f15 Disable SSLv3 (POODLE attack) in GnuTLS: Bug #739019
This disables SSLv3 in GnuTLS (and therefore WebKit) to avoid
susceptibility to the POODLE attack vector.  This is an extremely
unlikely vector for Geary as Javascript is disabled for all WebKit
views.
2014-10-22 17:01:31 -07:00
Viko Adi Rahmawan
66dc465d89 Contractor support: Bug #734717 2014-10-10 14:51:05 -07:00
Jim Nelson
ce269c79bf --enable-unity flag to deal with GtkHeaderBar issues: Refs bgo#727624
Unity doesn't deal well with pure GtkHeaderBar apps, so this allows
for the GtkHeaderBar to be treated like a toolbar and the window
retain its chrome.
2014-05-27 15:17:10 -07:00
Charles Lindsay
6ea5612863 Conditionally disable generating help translations
The gnome-doc-utils dependency is problematic for gnome-continuous.
This adds a configure switch --disable-documentation that turns off
generating and installing the translated help, which is the only thing
that requires xml2po and thus gnome-doc-utils.

Closes: bgo #726585
2014-03-17 17:09:55 -07:00
Jim Nelson
dc1445d6f0 Update copyrights to 2014: Closes bgo#722381 2014-02-04 19:01:09 -08:00
Colin Walters
83f59570d5 Configure and build if srcdir != builddir: Closes bgo#719874 2014-01-14 10:25:31 -08:00
Colin Walters
ff1f7b179b Ignore autotools ./configure flgs for GNOME Continuous: Closes #719874
Probably also useful for other automated build systems.
2013-12-09 17:05:40 -08:00
Jim Nelson
62af1c6f59 Disable --fatal-warnings w/ ./configure: Closes #6110 2013-09-25 15:59:37 -07:00
Charles Lindsay
dd3fe43a16 Validate desktop file when building; fix #6571 2013-04-15 18:32:35 -07:00
Charles Lindsay
910e1c3d0b Update copyright headers; fix #6195
Also removing the erroneous space that had crept in at the end of the
line in most of our header comments.
2013-04-12 12:32:39 -07:00
Mathias Hasselmann
049af6b0dd Allow configure to select valac version; fix #6704
We recognize the VALAC environment variable, or you can specify
VALAC=whatever on the ./configure command line.

Also, this cleans up some of the configure logic to be a little easier
to read and edit.
2013-04-10 17:16:08 -07:00
Jim Nelson
826e9d5f3a Memory leak and lost reference tracking: Refs #5306
This patch solves the following memory/resource leak problems:

(a) Gee.TreeSet doesn't drop references when destroyed.  Fixed by
using a subclass that clears the set when destroyed (exactly same
as patch made to Gee, however that won't be in distribution for
awhile.)

(b) Imap.ClientSession was holding refs to CommandResponses after
they'd been completed.  They're now dropped.

(c) Imap.ClientSessionManager now has an open/close_async() (called
by Imap.Account.open/close_async()) that drops all ClientSessions.

(d) All classes in Engine (and some in the client) use Geary.BaseObject,
which uses a static map to track outstanding held references to
it.  The table is dumped when Geary exits.  Must be enabled with a
./configure flag.

Two outstanding memory leaks persist (one for Imap.ResponseCodes and
another when messages are selected/deselected), so this doesn't close
the ticket, but testing and use has shown these changes to make a huge
improvement on memory usage and reducing crashes.
2013-03-07 18:08:50 -08:00
Adam Dingle
15a8398492 Fixed #4947 (Add debug build option to Geary). 2012-09-21 11:18:41 -07:00
Jim Nelson
4054f139d1 Report and autodetect libindicate and libunity availability: Closes #5670 2012-08-17 17:14:27 -07:00
Jim Nelson
fbc128cad1 Display new message count in Unity launcher: Closes #5647
"./configure --enable-libunity" must be used in order for this
feature to be available.
2012-08-16 18:33:28 -07:00
Jim Nelson
6da84dfc79 Support Ubuntu messaging menu: Closes #5648
libindicate is supported in this patch (with some framework in place
to support others, such as libmessagingmenu if/when it comes down
the pipe).  libindicate support must be configured with a ./configure
switch (which is one-half of #5607) and is off by default.

Note that this patch does not fully implement our design spec for
how new messages are cleared due to user interaction.  That is
covered by #5669.
2012-08-15 17:21:03 -07:00
Eric Gregory
bc7ca7bb96 Closes #5539. Removes build folder when ./configure is run 2012-07-26 07:22:43 -07:00
Eric Gregory
ebcfa96faa Closes #5168 Post-install steps are now optional 2012-05-01 17:18:43 -07:00
Jim Nelson
b87fe2967a configure wrapper script and top-level Makefile: closes #5143
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.
2012-04-27 19:48:33 -07:00