Commit graph

88 commits

Author SHA1 Message Date
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
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 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
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
Carlos Soriano 63011cba78 Update build-aux/flatpak/org.gnome.Nautilus.json 2018-09-18 11:15:51 +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 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
Carlos Soriano 703618c12c flatpak: Use meson for gexvi2
Life's much better now.
2018-07-26 15:40:23 +02:00
Carlos Soriano 8d3ab27e1c Flatpak: Give up on Builder formatting the JSON
Builder keeps trying to format the JSON automatically for any change,
which is quite cumbersome since it appears as a changed file on git and
also it's a mess if an actual change happens.

Just accept the defeat and go with whatever Builder wants.
2018-07-14 11:59:56 +02:00
António Fernandes 443a7ed5bf flatpak: Update dependency modules source URLs
The YAML files already use the gitlab URLs, while the json doesn't.

The gnome-apps-nightly build script reads the json file, and the
builds have been failing because of this.

Update the json file accordingly.

Closes https://gitlab.gnome.org/GNOME/nautilus/issues/485
2018-06-12 22:34:57 +01:00
Carlos Soriano 0994474acc Flatpak: Update exiv2 upstream url and build system 2018-05-28 19:50:08 +00:00
Carlos Soriano d945455178 Flatpak: Separate master dependencies from stable
So far we have been building master of all of our dependencies, also
master of the Sdk. This is good for testing the next version of the
ecosystem, but has many downsides that we now can avoid with Flatpak.

For instance, we want to be buildable at any point in the history,
specially when doing bisects. Also, we need to be a bit stable so that
when designers, users or others build the latest Nautilus they are able
to work with it regardless of its dependencies on other projects.

Even more, now with CI we can test the master of the ecosystem regularly
while not affecting our regular development and operations by depending
on that.

So let's separate in two different manifests the development version
with stable dependencies, intended for our regular operations, and a
development version with all the ecosystem on master, to test the
ecosystem regularly on the CI or on-demand locally.
2018-05-28 19:50:08 +00:00
Carlos Soriano e6a94fcef3 Flatpak/CI: Fix exiv.org being down
So the site is down, and the archive cannot be downloaded...

I uploaded the archive to an issue in GitLab
https://gitlab.gnome.org/GNOME/nautilus/issues/458.

If it works...

It works.
2018-05-25 17:10:12 +02:00
Ernestas Kulik 673c81cf9f general: Copy gnome-desktop thumbnailing code
This is one of prerequisite steps to take before fully switching to GTK+
4, as gnome-desktop has code, depending on GTK+ 3. Since the
thumbnailing machinery is self-contained, it can easily be just copied
over.
2018-05-22 16:52:48 +03:00
Carlos Soriano 2e331b6c80 CI: Use 3.28 image until master is fixed
And run only headless tests, as things are a bit on flow now and the
ostree image is missing some needed bits.
2018-05-18 15:47:09 +02:00
Carlos Soriano 487e907b81 Flatpak: Install Meson from sources
Until we can use the master runtime that includes Meson 0.46.0.
2018-05-18 08:45:27 +02:00
Carlos Soriano e212a3f703 Flatpak: Use 3.28 version
Until master is fixed, due to the rebase to fdo 1.8.
2018-05-17 16:35:04 +02:00
Carlos Soriano b4282720a9 Flatpak: Update to fdo 1.8 runtime 2018-05-17 13:01:56 +02:00
Carlos Soriano 8ac9c87306 Flatpak: Allow access to gsettings folder
Recently we have been seeing that gsettings doesn't work inside the
Flatpak build of Nautilus.

In 3f6cd2feb2
we gave full host access to Nautilus, so I expected that no more
--filesystem permission would be necessary.

For some reason... we still need to put that. Although it looks like a
bug somewhere.

For now, let's just explicitly allow access the desrt folder.
2018-04-08 18:09:28 +02:00
Ernestas Kulik fc5d9cbcbc Flatpak: Don’t rename the manifest
We can have non-matching ID and file name, and we only keep one
manifest.
2018-03-19 14:17:11 +02:00
Ernestas Kulik df583c2e4a general: Allow running in separate instance
When hacking on Nautilus, it is very inconvenient to have to close any
running instance before running the built version. This commit enables
running three different instances by changing the application ID.
Beside the default “profile” is one crafted for stable flatpak
releases and one for development. The stable flatpak profile adds an
identifying mark to the about dialog to aid collecting information in
bug reports. The development profile is that plus additional styling to
help visually identify the development instance. It also will be used
when generating Flatpak bundles with the help of CI.

Generally, the implementation is slightly hacky to allow all the
different workflows, spanning from regular installations to GNOME
Builder flatpak builds, as each comes with its own quirks.
2018-03-18 22:28:08 +02:00
Carlos Soriano 714442f53e Flatpak: Don't clean up include dirs, etc.
So we can actually enter the environment and run ninja test and other stuff.

This is pretty handy for development, and our main flatpak manifest is for that
use.
2018-03-17 23:18:00 +01:00
Carlos Soriano a4e797d974 Flatpak: Use Sdk 3.28 2018-03-16 15:00:34 +00:00
Carlos Soriano 690d79247f Flatpak: Remove disabling Selinux
Since now we have it off by default.
2018-01-30 14:39:31 +01:00
Carlos Soriano 3f6cd2feb2 Flatpak: Allow access to the whole filesystem
Nautilus as a file manager needs access to the whole file system, for
that there is a value called "host" which allows direct access to it.

Use it instead of just access to home.

Closes #201
2018-01-15 11:32:16 +01:00
Ernestas Kulik 5996435da9 flatpak: don’t build Meson
The need for 0.44 has been removed.
2018-01-04 17:38:38 +02:00
Carlos Soriano 4045ac7700 Flatpak: Build meson since we require 0.44
With the latest changes, and it's going to take a while to be present
in the Flatpak SDK.
2018-01-02 21:59:20 +01:00
Ernestas Kulik 74dd9c9f72 general: remove desktop support 2018-01-02 12:51:32 +02:00
Carlos Soriano eb8e440ebb flatpak: Remove unused build-options
We use Meson nowadays that doesn't spew tons of deprecated warnings.
2017-11-21 15:24:11 +01:00
Carlos Soriano 78ca21634d flatpak: Move file to build-aux 2017-11-20 21:15:45 +01:00
Renamed from org.gnome.Nautilus.json (Browse further)