Commit graph

83 commits

Author SHA1 Message Date
Niels De Graef
e08e3a8c0c flatpak: Add test-args
This should fix several failures when running the test suite in our
Flatpak build, as they are not able to reach the Wayland compositor.
2025-11-24 23:39:15 +01:00
Niels De Graef
3ff4fe5b6a flatpak: Use local directory for geary module
While we're at it, set "run-tests" to true to make sure people are
running tests with flatpak-builder.
2025-11-24 12:26:29 +01:00
Niels De Graef
fa129c5bbf Revert "flatpak: Fix gmime build"
The patch got merged upstream, so no need for us to carry it anymore.

This reverts commit 2572bef6dd.
2025-11-24 09:13:37 +01:00
Niels De Graef
70791ac59f flatpak: Adjust snowball patch for latest master
Add a bit more comments in the patch file.
2025-11-24 01:01:41 +01:00
Niels De Graef
2572bef6dd flatpak: Fix gmime build
Apparently it does a explicit version check for automake, but in such a
way that it needs to be patched on new automake versions. Patch this out
while we await the PR upstream to be merged into master.

See: https://github.com/jstedfast/gmime/pull/180
2025-11-24 00:44:03 +01:00
Niels De Graef
de42107661 flatpak: Update libical version
The current version doesn't build anymore, which is breaking CI
2025-11-24 00:22:26 +01:00
Balló György
e56734a97d build: Use appstream for appdata validation test
appstream-glib is under heavy maintenance mode and recommends using
appstream instead.
2025-02-28 17:33:22 +00:00
Niels De Graef
e91c2ecb47 flatpak: folks now uses main instead of master 2025-02-24 22:21:21 +01:00
Niels De Graef
efb2d2b815 flatpak: Add appstream-glib module
It's no longer part of the SDK, so we have to build it ourselves
2024-09-14 12:22:04 +02:00
Niels De Graef
ae459a7240 flatpak: Update gmime module
It looks like gmime moved to github a while ago already [1], which
should hopefully contain some fixes that are preventing our flatpak
builds from, well, actually building.

[1]: https://github.com/jstedfast/gmime/issues/119
2024-09-13 19:43:45 +02:00
Niels De Graef
3bc6452f63 flatpak: gspell switched to meson on master 2024-08-17 10:17:22 +00:00
Niels De Graef
b79bbad8ae flatpak: Bump libsecret version
And build with Meson now that autotools support has been removed.
2024-08-17 10:17:22 +00:00
Cédric Bellegarde
9faf1659c0 flatpak: stick to libpeas1 for now 2023-03-24 06:52:06 +01:00
Cédric Bellegarde
a1f227dd1b flatpak: Allows org.freedesktop.login1 2023-02-05 17:11:52 +01:00
Cédric Bellegarde
7503950a38 flatpak: move to gitlab.gnome.org GMime version
duplicate_mailbox() unit test fails since this commit:
4a80ae527d

The commit is ok because it respects RFC 5322: 1 max From/To/Cc/Bcc
header.

We can't fix the unit test without breaking Ubuntu/Fedora builds so just
use same version.
2022-08-25 16:29:29 +02:00
Cédric Bellegarde
0d066955b7 flatpak: Fix branch name 2022-08-03 21:49:52 +02:00
Cédric Bellegarde
796845aaa7 build: Fix building against libsoup3
- Move to WebKitGTK 4.1
- Remove commit hold on EDS
2022-07-13 20:10:22 +02:00
Cédric Bellegarde
fdc2828d1b build: Update Flatpak manifest
- Update libstemmer patch
- Some buildsystem changes
- evolution-data-server moved to libsoup3. Fixed commit until Folks is
  ported to libsoup3
2022-07-05 21:55:07 +02:00
Cédric Bellegarde
adca034818 build: Use JSON Flatpak manifest
Generating JSON from meson does not work as flatpak-builder needs it
earlier
2022-07-05 21:55:03 +02:00
Cédric Bellegarde
71c3100eec client: accounts: Use new GNOME Settings app-id
Fix #1371
2022-07-02 22:50:20 +02:00
Michael Gratton
b0ad8274a5 build: Unpin GMime back to mainline for nightly Flatpak
It's had a pre-release version bump, so we can now tell the difference
if it's been built with the recent incompatible GI/VAPI changes.

See !699
2021-05-15 14:54:13 +10:00
Michael Gratton
ec3cc82bea build: Remove handy from Flatpak nightly manifest
Nightly SDK now ships 1.2.1, so this is no longer needed.
2021-04-28 08:47:57 +10:00
Michael Gratton
c0577d4bf6 build: Fix Flatpak CI FTB with GMime mainline
See !699 and https://github.com/jstedfast/gmime/pull/101
2021-04-22 22:39:16 +10:00
Adrien Plazas
5f0f9b57b2 flatpak: Don't drop the libhandy VAPI
This avoids prematurely cleaning /share for libhandy, which would drop
its VAPI and hence make Geary not build.
2021-04-14 12:54:37 +02:00
Michael Gratton
11882a1055 build: Pull in libhandy as a submodule until 1.2.1 is packaged 2021-04-14 00:49:45 +10:00
Michael Gratton
38231f04fc Merge branch 'mjog/1147-flatpak-libsecret-hang' into 'mainline'
org.gnome.Geary.yaml: Work around password look hang when sandboxed

Closes #1147

See merge request GNOME/geary!672
2021-02-27 00:43:56 +00:00
Michael Gratton
61570501a5 org.gnome.Geary.yaml: Work around password look hang when sandboxed
Libsecret 0.20's portal support is completely hosed at the moment.
Ship 0.19 until that is resolved. See GNOME/libsecret#58

Fixes #1147
2021-02-27 11:15:35 +11:00
Michael Gratton
46cf245440 org.gnome.Geary.yaml: Fix EDS contacts not working under flatpak, again
Stop trying to chase EDS DBus versioning, just allow access to any
EDS endpoint.
2021-02-25 20:45:28 +11:00
Michael Gratton
29f6ae63b0 org.gnome.Geary.yaml: Workaround for WebKitGTK not printing under Flatpak
Since WebKitGTK does not currently support printing under Flatpak,
enable RW access to XDG downloads folder, so at least people can print
to a PDF, then print that.

See https://github.com/flathub/org.gnome.Geary/issues/42
2021-01-17 20:19:36 +11:00
Michael Gratton
9da2a57c6f org.gnome.Geary.yaml: Remove libhandy module, it is now in the SDK 2020-10-25 19:43:52 +11:00
Michael Gratton
2e27a06889 build: Fix flatpak CI failing
Build libstemmer as a shared library. Use current mainline since that
at least supports build system args.

Shared lib patch courtesy of Stefano Rivera <stefanor@debian.org>,
updated to current head.
2020-10-14 20:05:15 +11:00
Michael Gratton
899834189c org.gnome.Geary.yaml: Enable copying release config for nightlies 2020-10-14 09:21:34 +11:00
Michael Gratton
2d12b25e2c build: Switch over to use libhandy-1
Add as a optional submodule for people who don't have it installed yet.
2020-08-18 22:10:34 +10:00
Michael Gratton
d5856bf72d org.gnome.Geary.json: Include missed fix from the yaml version 2020-05-06 18:33:08 +10:00
Michael Gratton
f3a3f2c6e6 org.gnome.Geary.yaml: Bump libical version and sort build args 2020-05-04 09:41:47 +10:00
Michael Gratton
1887d18c21 org.gnome.Geary.yaml: Unpin GSpell now that master is building again 2020-05-04 09:41:09 +10:00
Michael Gratton
f7db76a594 org.gnome.Geary.yaml: Pin ytnef to last known good version
While https://github.com/Yeraze/ytnef/issues/81 remains an issue, pin
to 1.9.3 so CI goes green again.
2020-05-04 09:22:44 +10:00
Michael Gratton
c7ea11a2c2 org.gnome.Geary.yaml: Fix the actual problem, bad GSound git URI 2020-04-06 09:37:43 +10:00
Michael Gratton
c9c5eb15dc org.gnome.Geary.yaml: Explicitly specify master branch for git sources
Hopefully fix current Flatpak CI FTB
2020-04-06 09:37:43 +10:00
Michael Gratton
9402e71500 org.gnome.Geary.yaml: Include libcanberra in build anyway for GSound 2020-04-03 11:21:43 +11:00
Michael Gratton
f443f671f2 org.gnome.Geary.yaml: Disable libcanberra in EDS now it is not shipped
Fixes CI build.
2020-04-03 10:03:01 +11:00
Michael Gratton
3fa1665690 org.gnome.Geary.yaml: Remove unused EDS config opts, sort remaining 2020-04-03 10:02:07 +11:00
Michael Gratton
ab635f4937 org.gnome.Geary.yaml: Add Pulse Audio and FDO sound theme
Former fixes Sent Mail plugin from being able to play, latter provides
it with something to play.

Fixes #752
2020-03-30 17:01:19 +11:00
Michael Gratton
22ab242f94 org.gnome.Geary.yaml: Add forgotten GSound dep 2020-03-22 08:45:39 +11:00
Michael Gratton
e8c48a9ae5 org.gnome.Geary.yml: Rename to org.gnome.Geary.yaml 2020-03-13 17:13:58 +11:00
Niels De Graef
361cf5ae69 ci: Don't build BlueZ backend
We figured out in libfolks that we were accidentally not properly
requiring the `python3-dbusmock` module that is necessary for the BlueZ
tests. We might want to be smarter about this in the future, but let's
just lose the offending backend for now.

Fixes https://gitlab.gnome.org/GNOME/geary/issues/695
2020-02-06 07:41:19 +01:00
Michael Gratton
8bc00e2fa6 Update flatpak libical to 3.0.7 2020-01-24 09:47:21 +11:00
Michael Gratton
3d86c345be Remove libhandy git submodule, bump minimum version to 0.10
Fixes Flatpak CI FTB, distros are all packaging it anyway.
2020-01-24 09:47:21 +11:00
Torben
c6be77ba85 Remove last occurences of GMime 2.6 2019-12-03 11:37:45 +01:00
Michael Gratton
f7f72143e0 Add a compatibility JSON-based flatpak manifest
GNOME Builder doesn't support YAML manifests, so generate one and
commit it.

Revert this once GNOME/gnome-builder#520 is fixed and deployed.
2019-10-25 11:48:09 +11:00