Commit graph

84 commits

Author SHA1 Message Date
Carlos Soriano 4635f34cf4 flatpak: Pin dependencies to 3.32 releases 2019-03-21 15:12:34 +01:00
Carlos Soriano e3f1b309ad Flatpak: Remove gtk4 manifest
The gtk4 branch should have the proper manifest already
2019-03-21 13:20:28 +00:00
Carlos Soriano 091db8c4dc Flatpak: Sync json from yaml
Generate the json from the yaml file.
2019-03-13 11:21:15 +01:00
Ondrej Holy 2e38753aed flatpak: Add --share=network to fix synchronous gvfs connections
GVfs communicates with daemons over abstract sockets. Currently, synchronous
GIO API doesn't work for GVfs locations, because abstract sockets seem to be
blocked by sandbox permissions. This is not problem in most cases as Nautilus
uses asynchronous API usually. But this breaks e.g. "Empty Trash" functionality
as it is for some reason based on synchronous API.

In order to fix this problems, it is necessary to allow access to sockets
beginning with `unix:abstract=/dbus-vfs-daemon/socket-`, but I am not aware of
better way than adding `--share=network`, which allows access to all abstract
sockets:
http://docs.flatpak.org/en/latest/sandbox-permissions-reference.html#f2

Just a note that it is not clear to me, why it affects only the synchronous
API as the asynchronous API also uses abstract sockets. See the corresponding
Flatpak bug:
https://github.com/flatpak/flatpak/issues/2711
2019-03-13 08:47:04 +00:00
Ernestas Kulik 7f5d6b2afc org.gnome.NautilusGtk4.yml: Fix tracker options
92e052be73 - guess what, not very.
2019-02-17 21:24:49 +00:00
Ernestas Kulik 92e052be73 org.gnome.NautilusMaster.yml: Fix tracker options
f9df2bbf7f - how deep can we go?
2019-02-17 21:23:56 +00:00
Ernestas Kulik f9df2bbf7f org.gnome.Nautilus.yml: Fix tracker options
Same thing as 288197a122, but now a gorillion other manifests need to be changed.
2019-02-17 21:22:52 +00:00
Ernestas Kulik 288197a122 org.gnome.Nautilus.json: Fix tracker options
cfab5f9604
2019-02-17 21:21:11 +00:00
Carlos Soriano 7f19a03649 files-view: Use tracked directories for star
We were using the xdg directories to check whether we can star a file
or not, since the star feature only works on directories that are
tracked by tracker.

Tracker is usually shipped in distributions tracking the
xdg-directories, so we check that as a stop gap solution for 3.30
since we didn't have time to actually query what directories tracker
is tracking and match that.

This work makes it so that we show the star action on tracked
directories.
2019-02-04 19:16:48 +01:00
Carlos Soriano 10af9a05a9 Flatpak: Use master SDK
We are close to 3.32, let's dogfood. We also need to try the new theme.
2019-01-17 13:54:30 +01:00
Ernestas Kulik 34321c9380 org.gnome.NautilusMaster.yml: Fix gexiv2 options 2019-01-11 09:27:42 +00:00
Ernestas Kulik c600aae36a org.gnome.NautilusMaster.yml: Fix gexiv2 options 2019-01-11 09:26:00 +00:00
Debarshi Ray 0f38ffd494 Use CMake's Ninja backend
The difference between Make and Ninja for full, non-incremental builds
isn't that much [1,2]; but Ninja is already being used by Meson, so
why not?

[1] https://david.rothlis.net/ninja-benchmark/
[2] http://hamelot.io/programming/make-vs-ninja-performance-comparison/

https://gitlab.gnome.org/GNOME/nautilus/merge_requests/386
2019-01-10 14:09:16 +00:00
Jordan Petridis 6b64657848
Flatpak: do not build gtk4 from source.
Gtk4 is included in the master Sdk now.
2018-12-14 01:35:48 +02:00
Jordan Petridis 0428392dde
Flatpak: remove no longer needed options
builddir: true is assumed always whenever the buildsystem is meson.

libdir no longer needs to be specified, and cmake was patched to
be able to deal with lib64. See [1] for more.

[1]: https://gitlab.gnome.org/GNOME/gnome-build-meta/issues/77
2018-12-14 01:27:44 +02:00
Jordan Petridis be1888bc50
Flatpak: get gexiv2 module to compile again
This seems to have been broken for a while now cause by default
it tries to install a python overide in the python shared packages
in /usr, but this is immutable since it comes from the runtime.

This patch disables that.
2018-12-14 01:22:05 +02:00
Ernestas Kulik 8442b4e7dd flatpak: Fix fallout from JSON-YAML conversion 2018-12-06 08:15:53 +00:00
Ernestas Kulik 3ae0c8901e flatpak: Fix JSON manifest some more
Booleans are not strings.
2018-12-06 08:06:48 +00:00
Ernestas Kulik 6580594954 flatpak: Fix JSON manifest
The profile option is set to a wrong value.
2018-12-06 08:02:37 +00:00
Vaibhav Yadav 9e166fc9ee Replacing gcovr module with gcovr.json
Currently network is used during build time because of pip fetching from
internet.
However network should not be used during build time.
To fix this issue, use gcovr.json generated by flatpak-pip-generator
and replace them with gcovr module in org.gnome.Nautilus.json and
org.gnome.Nautilus.yml and remove build option that uses network.

Closes issue https://gitlab.gnome.org/GNOME/nautilus/issues/681
2018-11-20 14:02:20 +00:00
Carlos Soriano a0f07a0445 Flatpak: Use json2yaml tool for the yaml manifest
So they are more equal and we have a simple way to generate it.
2018-10-09 13:16:24 +00:00
Carlos Soriano 837123f9ff Flatpak: Add gcovr
So we can generate coverage reports.

And do it with pip, cannot make my system run the pipToFlatpak tool
locally.
2018-10-09 13:16:24 +00:00
Carlos Soriano 9fbb8a8557 Flatpak: Update to 3.30 2018-10-09 12:08:17 +02:00
Ernestas Kulik f6d8292b57 Flatpak: Remove Automake leftovers from exiv2 2018-10-09 07:29:41 +00:00
Ernestas Kulik dd0e258d49 Flatpak: master: use url, not path for git repo 2018-10-05 20:08:56 +03:00
Jordan Petridis 61e54e4f8d Revert "Flatpak: Remove unecessary meson options"
This reverts commit a565907fe6
2018-09-20 16:49:00 +00:00
Jordan Petridis a565907fe6
Flatpak: Remove unecessary meson options 2018-09-20 19:25:22 +03:00
Jordan Petridis 60389de8f6
Flatpak: Remove duplicate modules 2018-09-20 19:19:55 +03:00
Carlos Soriano 9f45d23bfd Update build-aux/flatpak/org.gnome.NautilusGtk4.yml, build-aux/flatpak/org.gnome.NautilusMaster.yml files 2018-09-18 11:45:48 +00:00
Carlos Soriano 3b0c1da590 Update build-aux/flatpak/org.gnome.Nautilus.yml 2018-09-18 11:16:46 +00:00
Carlos Soriano 63011cba78 Update build-aux/flatpak/org.gnome.Nautilus.json 2018-09-18 11:15:51 +00:00
Carlos Soriano 77cf43762f Update build-aux/flatpak/org.gnome.Nautilus.yml 2018-09-14 07:41:12 +00:00
Carlos Soriano b4471d3c3b Update build-aux/flatpak/org.gnome.Nautilus.json 2018-09-14 07:30:03 +00:00
Carlos Soriano bfe8f49e15 Update build-aux/flatpak/org.gnome.Nautilus.json 2018-09-14 07:29:03 +00:00
Carlos Soriano 63795eb969 f 2018-09-14 09:13:13 +02:00
Carlos Soriano cb3849df58 Flatpak: Tracker moved to Meson 2018-09-14 08:46:55 +02:00
Carlos Soriano 1c8b75bcde Flatpak: Explictely set tracker bus
Otherwise a warning is raised.
2018-09-12 13:00:07 +00:00
Carlos Soriano 76f14a5cc8 Flatpak: Fix meson of the json manifest 2018-09-05 12:33:24 +00:00
Carlos Soriano 45e0fc7939 Flatpak: Use meson 0.47
Seems we use some features from 0.47 already
2018-09-05 11:44:49 +00:00
Ernestas Kulik 5a2f05d234 flatpak: pass --device=dri in the GTK+ 4 manifest
(cherry picked from commit bef68f12d7)
2018-08-13 09:05:20 +00:00
Ernestas Kulik 0b5124ab2e flatpak: Enable demos in the GTK+ 4 manifest
(cherry picked from commit f9298aa3ab)
2018-08-13 09:04:18 +00:00
Ernestas Kulik ecbba6a532 flatpak: Fix quotes in exiv2 build options 2018-08-03 06:40:16 +00:00
Ernestas Kulik 7b894b8216 flatpak: Get exiv2 sources from git
Additionally, this removes the Autotools-related shell commands.
2018-08-03 06:38:33 +00:00
Will Thompson 4401658708 flatpak: add space after (Development) prefix
Without this, the app name comes out as "(Development)Files". No
functional issue, just ugly.
2018-07-29 06:12:48 +00:00
Ernestas Kulik 40d7df88cb flatpak: Update GTK+ 4 manifest
This commit builds master Tracker with Meson and removes a redundant
finish argument.


(cherry picked from commit f42bca3852)
2018-07-28 06:18:21 +00:00
Ernestas Kulik aa11347f5d flatpak: Tweak GTK+ 4 manifest
This pins versions of most dependencies, uses quotes for strings and
removes header cleanup from GTK+ module, because CI pipelines choke on
them being absent when ninja decides to rebuild everything when running
tests.


(cherry picked from commit a9f13fc91f7319b318e75a95a89918e9cadf94cf)
2018-07-26 14:25:45 +00:00
Carlos Soriano 703618c12c flatpak: Use meson for gexvi2
Life's much better now.
2018-07-26 15:40:23 +02:00
Ernestas Kulik 51cbc4d1c1 flatpak: Disable GIR data generation in GTK+ 4 manifest 2018-07-25 19:06:53 +03:00
Ernestas Kulik 74d3b20089 flatpak: Fix GTK+ 4 manifest
Indentation was off.


(cherry picked from commit b1840664f6970010493c53f6f78cdf2a4443cad5)
2018-07-25 15:41:42 +00:00
Ernestas Kulik a93c886e09 Update org.gnome.NautilusGtk4.yml 2018-07-25 15:26:46 +00:00