Commit graph

157 commits

Author SHA1 Message Date
Michael Gratton
597e6d7d8a Explicitly disable parsing JavaScript markup in email bodies
Fixes #78, https://bugzilla.gnome.org/show_bug.cgi?id=713656
2019-09-07 19:17:32 +10:00
Michael Gratton
ba4ab1669c Update files for 3.33.90 2019-08-30 10:21:27 +10:00
Michael Gratton
a02a1aac8b Add beta build profile 2019-08-28 22:13:01 +10:00
Michael Gratton
56b3ce9833 Ensure client displays the revno where approrpiate
This ensures that the revno is always displayed in About, the Inspector,
and at the top of log files if build from git.
2019-08-28 20:03:29 +10:00
Michael Gratton
031f02c8c9 Drop meson version req to remain buildable on Ubuntu 19.04 2019-08-28 19:17:14 +10:00
Christopher Davis
bfcee9bff7 build: Set up dual install for flatpak
Part of https://gitlab.gnome.org/GNOME/Initiatives/issues/1;
Sets up dual installation for flatpaks, allowing us to
build and run geary without affecting our system install.
This will allow testing of nightlies and CI artifacts as well
via the flatpak, so we can iterate on designs and share
bundles to test with.
2019-08-26 09:38:31 -07:00
Federico Bruni
7c42c5d803 add appstream-glib dependency
appdata.its, needed to extract all the strings of appdata xml file,
is actively maintained in appstream-glib.

Fix issue #439.
2019-06-03 10:31:52 +00:00
Michael Gratton
4dd08389df Add Gspell to dependencies and the build 2019-05-24 14:29:41 +02:00
Michael Gratton
0e660643b7 Bump version for 3.33.1 2019-04-28 20:17:38 +10:00
Michael Gratton
322bdd2d42 Use GNOME odd/even version numbering to detect if running -dev
Since switching to the GNOME release schedule, we need to do unstable
releases off of mainline, which means we need to update the version
number (and drop the "-dev" suffix) so tarballs etc get the right
version.

Instead of looking for the -dev suffix, parse the version number
to determine if we should display the revision in About.
2019-04-28 19:28:12 +10:00
Michael Gratton
5027e039fc Add a sub{module,project} for handy for those who don't have it 2019-04-26 18:22:43 +10:00
Michael Gratton
ee784379bf Merge branch 'wip/misc-build-fixes' into 'mainline'
Misc build fixes

See merge request GNOME/geary!214
2019-04-20 05:37:45 +00:00
Michael Gratton
73e894cd72 Fix messaging menu dep so it actually gets found and built 2019-04-20 15:06:30 +10:00
Michael Gratton
e5775bb674 Remove workaround for gtk_window_present_with_time() under Wayland
See GNOME/gtk#624
2019-04-19 13:26:07 +10:00
Niels De Graef
3d1032db01 Migrated from libnotify to GLib notifications. bug 766133
Signed-off-by: Niels De Graef <nielsdegraef@gmail.com>
2019-04-17 09:06:24 +10:00
Michael Gratton
4497b1275a Merge branch 'tnef-support' into 'mainline'
TNEF (winmail.dat) parsing support via libytnef

See merge request GNOME/geary!10
2019-04-16 12:38:25 +00:00
Niels De Graef
9acf5d344d Make Geary DBus-activatable. Bug 775956.
* org.gnome.Geary.service.in: create, and let it be installed by CMake.

* org.gnome.Geary.desktop.in: add `DBusActivatable=true`.

* geary-autostart.desktop.in: use `--gapplication-service` instead of
hidden.

* Change the way arguments are parsed:
  * Use the _command-line_ and _handle-local-options_ signals instead
    of _local-command-line_.
  * Remove the `--hidden` option (replaced by `--gapplication-service`)
  * Use VariantDict (which is a little cleaner)
  * Don't use global variables in Arg, but set them in
  the config instead.
  * We can no longer set a global summary due to the new option handling
  in GApplication. On IRC, I got the feedback that info like this should
  be going into a manpage.

* Since the QUIT-action can now be called without ever activating the
app, make the necessary changes to the `GearyController`:
  * `main_window` and `current_conversations` can be null.
  * use `pending_mailtos()` for the compose action as well.
  * Don't update the UNDO action if we're closing down.

* More instance variables prefixed with this (we're changing the lines
anyway, might as well do it properly).

* `Environment.set_prgname()` is already executed in GApplication.run(),
so no more need for `GearyApplication.PRGNAME`.

Signed-off-by: Niels De Graef <nielsdegraef@gmail.com>
2019-04-12 22:04:56 +10:00
Oliver Giles
18fcf0e18f TNEF (winmail.dat) parsing support via libytnef 2019-04-11 12:24:52 +03:00
Michael Gratton
ac461747c3 Depend on libhandy for the client build 2019-04-08 18:05:03 +10:00
Michael Gratton
a68cf8e029 Updates files for 3.34 development 2019-03-15 09:22:38 +11:00
Michael Gratton
742aca2b0c Add build dependencies for Folks
Flatpak manifest updates courtesy of gnome-contacts.
2019-03-09 20:17:01 +11:00
Michael Gratton
3a9b2855ed Use meson's standard approach to finding the messaging-menu library
Fixes FTB on master.
2019-02-27 12:07:30 +11:00
Christian Kellner
a0b211193a Fix valac preprocessor conditionals
Two preprocessor conditionals for vala source files were defined
in config.h, which is not picked up during vala compilation. Now,
pass the defines as command line options to valac. Fixes #264
2019-02-27 00:23:52 +01:00
Michael Gratton
b605ddc409 Validate both appdata and desktop files
Use same approach as
https://gitlab.gnome.org/GNOME/nautilus/blob/master/data/meson.build#L112-138
2019-02-24 22:09:05 +11:00
Jan Tojnar
737e42f9d9
Drop gobject-introspection dependency
Since 20cd9823a7, it is no longer used.
2019-02-23 00:37:23 +01:00
Michael Gratton
ee86739373 Flip the sense of the libunwind build option
Updates !109, see also #238
2019-02-21 12:03:11 +11:00
Thomas Moschny
b120525fd6 Turn the 'libunwind' build option into a boolean. 2019-02-19 15:40:10 +01:00
Thomas Moschny
a1377f3451 Allow to opt-out from using libunwind. 2019-02-17 17:56:46 +01:00
Michael Gratton
53b905dcfc Bump version for 3.32-dev 2019-02-18 01:57:13 +11:00
Michael Gratton
c56d86f438 Merge branch 'wip/enchant2' into 'master'
Support building with Enchant 2.x

See merge request GNOME/geary!85
2019-01-21 02:08:43 +00:00
Michael Gratton
1877c81d00 Allow configuring the location of the web extension shared lib 2019-01-17 11:08:26 +11:00
Michael Gratton
92d7b8b5c9 Remove duplicate webkitgtk dep 2019-01-16 11:12:31 +11:00
Michael Gratton
68a985a76c Support building with Enchant 2.x
This adds support for Enchant 2 named "enchant" and Enchant 2 named
"enchant-2" (!)
2019-01-16 11:12:31 +11:00
Michael Gratton
668e4b469a Merge branch 'buildfix' into 'master'
Meson build fixes for FreeBSD

See merge request GNOME/geary!78
2019-01-10 12:20:58 +00:00
Michael Gratton
6b9ae903fb Re-enable GCR support for cert pinning
This re-adds support for using GCR for pinning certs, but only if GCR
is in a known good state. If so, pinned certs will be stored using GCR,
if not, they will be stored in Geary's XDG data dirs as a fallback.
2019-01-10 17:33:37 +11:00
Greg V
b8ae8865ea Fix meson targets for contractor contract 2019-01-09 12:50:13 +03:00
Greg V
e4d368736a Use sqlite dependency when checking FTS
On FreeBSD, checking sqlite.h without the dependency would look at
/usr/include/sqlite.h (base system version) instead of
/usr/local/include/sqlite.h (ports version, which has FTS and everything).
2019-01-09 12:29:34 +03:00
Michael Gratton
70d56b179a Merge branch 'print-headers' into 'master'
Print common headers when printing messages

See merge request GNOME/geary!47
2018-09-30 13:23:01 +00:00
Federico Bruni
7094de03cf remove deprecated 'languages' parameter of gnome.yelp()
Since version 0.43 Meson automatically reads the LINGUAS file.
2018-09-28 17:40:34 +02:00
Alex Henrie
698f61e6e5 Print common headers when printing messages 2018-09-26 18:43:46 -06:00
Jan Tojnar
beec7ff0fe
build: obtain iso-codes prefix from pkg-config 2018-08-09 15:18:33 +02:00
Michael James Gratton
a3662c8155 Fix libunwind native dep so Flatpak builds once again. 2018-07-04 15:57:47 +10:00
Rico Tzschichholz
20cd9823a7 bindings: Drop custom javascriptcore-4.0 and webkit2gtk-4.0 vapi 2018-06-04 12:55:59 +02:00
Michael James Gratton
fbc6671e16 Fix up GOA branch to build with meson. 2018-05-28 00:46:31 +10:00
Michael James Gratton
2b1f0e8a90 More dependency cleanup.
* debian/control: Remove version numbers from packages that aren't
  strictly required.

* meson.build: Fix dup sqlite3 dep, sort primary deps.
2018-05-21 10:41:35 +10:00
Michael James Gratton
386f9864c7 Revert "Merge branch 'wip/ricotz/webkit'. Fixes Bug 788113."
This reverts commit 43341cd3e3, reversing
changes made to ffb4befdd8.

This is causing segfault in Geary.JS.to_string_released() when running
client tests, so reverting until a solution is found.
2018-05-19 13:57:58 +10:00
Michael James Gratton
d4aaa3c551 Bump library dependency min versions to reflect reality.
Commit 43341cd3 basically means we require vala 0.38, which excludes
Debian 9 (stretch), Ubuntu 16.04 (artful) and Fedora 26. Hence bump
minimum versions (and tidy up the list of deps) to reflect this.
2018-05-19 10:32:45 +10:00
Rico Tzschichholz
f809febed3 Drop custom webkit2gtk bindings 2018-04-23 19:38:37 +02:00
Michael James Gratton
c7c138dbdf Fix meson warning about use of version kwarg in find_library(). 2018-04-14 22:18:00 +10:00
Michael James Gratton
5456dab49c Tidy up inclusion of libunwind in the Meson build.
* meson.build: Use libunwind and libunwind-generic to avoid having to
  search for the platform-specific lib.

* src/meson.build: Set UNW_LOCAL_ONLY define to get the most optimal
  unwind impl.
2018-01-12 18:21:26 +11:00