1
0
mirror of https://gitlab.gnome.org/GNOME/nautilus synced 2024-07-07 20:07:07 +00:00
Commit Graph

100 Commits

Author SHA1 Message Date
Ondrej Holy
5a74959caf flatpak: Use default libdir location for tracker
I don't see any reason to manually specify libdir for tracker as
it seemingly uses the same directory by default. Let's remove that
redundant definition.
2020-02-21 12:01:28 +01:00
António Fernandes
d95a616116 flatpak: Unpin most dependencies
We are near 3.36, so let's update the dependencies.

gexiv2 git master is failing to build locally, so I've 
updated it to the latest tag that builds locally.
2020-02-06 20:28:17 +00:00
António Fernandes
cdd9ce790f flatpak: Drop '(Development)' app name prefix
The prefix is not localized, and tends to ellipsize the name.

With the introduction of an icon for the development profile, there is
enough visual distinction in the app grip.

So, drop the prefix.

Part of https://gitlab.gnome.org/GNOME/Initiatives/issues/12
2019-10-13 17:17:53 +01:00
Ondrej Holy
7d3ae8755d ci: Update gexiv2 meson options to fix flatpak master
The -Ddisable-introspection gexiv2 meson option was renamed to -Dintrospection.
25a03fe69c

Let's reflect this in the org.gnome.NautilusMaster.yml file to fix the flatpak
master job as it currenty fails with "OSError: [Errno 30] Read-only file system:
'/usr/lib/python3.7/site-packages/gi/overrides/GExiv2.py'" error.
2019-10-13 15:09:50 +00:00
António Fernandes
81dd339634 flatpak: Update to 3.34 runtime
Also, bundle intltool, because the 3.34 Sdk doesn't include it but
tracker-miners still depends on it.

Intltool lines taken from https://github.com/flathub/shared-modules.git
2019-09-18 21:46:20 +01:00
Jordan Petridis
45fc00c5c3
flatpak: fix the yml manifests to better reflect json structure
See !467
2019-07-02 18:42:07 +03:00
Christian Hergert
daac24d50c build: fix flatpak json manifest
This allows Builder to open the Nautilus project again. I suspect that
there is also some configuration issue with the .yml file.
2019-07-01 16:42:17 -07:00
Ernestas Kulik
3862cf7980 general: Drop in-tree copy of gnome-desktop
The code was copied to avoid having an external GTK+ 3 dependency, but
at this point it’s more trouble than it’s worth.
2019-06-28 15:49:15 +02:00
Carlos Soriano
cab54308aa flatpak: Unpin dependencies for the master manifest
Doing so defeats the point...
2019-03-21 15:12:34 +01:00
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