Commit graph

15 commits

Author SHA1 Message Date
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
Ernestas Kulik 510a8303dd build: make all tests optional
This can help cut down on link times a bit when working on things.
2018-03-16 06:22:36 +02:00
Ernestas Kulik 6934578ebf sendto-extension: move under extensions/
Now that the image property page is an extension, both extensions can be
held under the same subdirectory. This commit also makes the image
property extension optional.
2018-02-09 06:32:38 +02:00
Carlos Soriano c2da3680a2 build: Set graphical tests off by default
When nautilus is automatically tests we cannot assume there is a
display, if we do and we run inside a displayless scenario nautilus
cannot run the application and the tests fail.

Graphical tests were enabled by default, but this breaks most common
automatic tests scenarios, so let's disable it by default and let the
developers enable if required.

We should focus more in unit testing and integration tests without an
actual display, and let tools like OpenQA, etc. to handle actual display
testing. Alternatively we can use Xvfb to simulate a graphical env.
2018-01-30 14:39:31 +01:00
Carlos Soriano 1f8f83137f build: Turn Selinux support off by default
We were enabling Selinux support by default, which is just to show the
Selinux labels in the properties dialog.

However, this gives problem when trying to create a release since
Flatpak Sdk doesn't have Selinux I guess to be able to work in most
distros.

So with the purpose of having a proper default that works in different
distributions, let set it off by default.
2018-01-30 14:27:03 +01:00
Carlos Soriano 12601e9204 tests: Split between display and displayless
Some tests require gtk_init, which requires a display and therefore
cannot be part of the tests to be ran in the GitLab CI.

Split those so we can pass an option to meson to only test the
displayless tests for GitLab CI.
2018-01-06 01:17:29 +01:00
Ernestas Kulik 983892a656 build: general cleanups
This commit does the following:
  * Canonicalize the style:
    * Use two-space indentations.
    * Un-Autotools-ify option names.
    * Don’t align arguments, simply increase indentation.
    * Don’t add a space before opening parenthesis in calls.
  * Remove unused variables.
  * Remove unused dependencies.
  * Remove config.h.meson.
  * Optimize dependencies.
  * Use disabler functionality for libselinux dependency, to save lines.
2018-01-02 12:51:32 +02:00
Ernestas Kulik 74dd9c9f72 general: remove desktop support 2018-01-02 12:51:32 +02:00
Carlos Soriano 23eacd3155 general: Remove exempi and exempi-xmp
Since now we use gexiv2 these are not longer necessary.
2017-11-20 15:43:45 +01:00
Bastien Nocera e367134de0 build: Make tracker a hard dependency
A large number of core features require Tracker to work, and many of the
new features using Tracker don't have any fallback support, failing to
build when Tracker is not available, so make tracker a hard requirement.

https://bugzilla.gnome.org/show_bug.cgi?id=784940
2017-07-18 03:25:03 +02:00
Bastien Nocera 4ac20d7b6a build: Fix tracker detection
Make sure that tracker-sparql is optional and auto-detected by default
and that tracker-sparql-1.0 is still supported.

https://bugzilla.gnome.org/show_bug.cgi?id=784940
2017-07-18 03:25:03 +02:00
Ernestas Kulik 2c22594624 meson: make doc generation opt-in
Since Continuous does not have GTK-Doc and jhbuild users don’t usually
care about generating documentation, it makes sense to disable it by
default.

https://bugzilla.gnome.org/show_bug.cgi?id=779420
2017-03-01 18:15:20 +02:00
Ernestas Kulik ec92b8ab60 general: remove empty view
Since testing is planned to be done with actual views and no one has
built Nautilus with the empty view enabled recently, it is safe to say
that it should go. This commit removes the empty view.

https://bugzilla.gnome.org/show_bug.cgi?id=779255
2017-02-27 16:47:51 +02:00
Ernestas Kulik 2475e9a1f7 meson: don’t look for update-mime-database
Since Nautilus no longer install a mime type
(5951fadbef), updating the mime database
is not something that should be done anymore.

https://bugzilla.gnome.org/show_bug.cgi?id=779250
2017-02-27 15:11:07 +02:00
Ernestas Kulik ed5652c89a general: add support for Meson
Since it’s 2017 already, Nautilus should use a build system that doesn’t
take longer to set up the build than it takes to actually build. An
observed build time using Ninja of roughly one-fifth of what it took
Autotools is more than reason enough to add support for Meson. Along
with that, this commit adds a convenience script to generate a tarball
for releases, since we use libgd as a submodule and Meson does not
handle source distributions.

https://bugzilla.gnome.org/show_bug.cgi?id=778167
2017-02-24 00:24:27 +02:00