Commit graph

19 commits

Author SHA1 Message Date
Ernestas Kulik 2cca1945e1 build: Don’t build lineup-parameters by default
It’s only needed on a case-by-case basis.
2019-04-14 14:39:17 +02:00
Bilal Elmoussaoui 62a28f0e4d Meson: validate appdata file without network access
Network access is restricted on Flatpak build env, the same with other distros running tests for packages during the build process without network access. Fixes the pipeline from failing.
2019-01-15 11:24:44 +00:00
Carlos Soriano 76b84467ad Revert "Revert "build: Don't loop over icons""
This reverts commit 37799d64ca
2018-09-14 05:12:34 +00:00
Carlos Soriano 564b9dcbd7 Revert "Revert "icon: update app icon""
This reverts commit efef783dbd
2018-09-14 05:12:12 +00:00
Carlos Soriano efef783dbd Revert "icon: update app icon"
This reverts commit be862db092
2018-09-14 05:10:13 +00:00
Carlos Soriano 37799d64ca Revert "build: Don't loop over icons"
This reverts commit a7a03f6398
2018-09-14 05:09:47 +00:00
Carlos Soriano a7a03f6398 build: Don't loop over icons
Since we have only one now.
2018-09-13 14:42:07 +02:00
Jakub Steiner be862db092 icon: update app icon
- GNOME 3.32 redesign of app icons.
  See https://gitlab.gnome.org/GNOME/Initiatives/issues/2
  for more info.

/label ~"9. Initiative: AppIconRedesign"
2018-09-13 14:42:07 +02:00
Ernestas Kulik feb69b4979 build: Use install_data() to rename icons
Since 0.46.0, Meson allows renaming files when installing them. This is
useful to replace any workarounds to achieve the same (namely, the
icons).
2018-04-28 20:22:11 +03:00
Carlos Soriano 1ed0610075 meson.build: Use proper FIXME notation 2018-04-27 14:30:57 +00:00
Ernestas Kulik 5633b13f92 build: Fix icon renaming
Currently, when looping over icon sizes, each icon is copied to
$MESON_BUILD_ROOT/@appid@.png, meaning that the file is overwritten on
every iteration. This commit fixes that by copying to a subdirectory
under the build root and installing from there.

Fixes https://gitlab.gnome.org/GNOME/nautilus/issues/364
2018-04-14 12:34:38 +03:00
Ernestas Kulik 17ebc7e403 data/meson.build: Compile gschemas during the build
In particular this can be useful when running tests from the build
directory in Builder.
2018-03-24 18:22:14 +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
Ernestas Kulik 30a76b3033 Rename search provider file
flatpak-builder only exports data files that are prefixed with the
application ID. Without this, the Flatpak version does not enable shell
search functionality.
2018-03-18 22:28:08 +02:00
Jeremy Bicha dbb8bd607d build: Install appstream metadata to non-deprecated location
This was already done in 5d75a4a5
but accidentally reverted in 983892a6
2018-01-30 12:33:46 -05: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
Ernestas Kulik a762659d6c build: add tests for data files
This will help avoid potentially breaking pre-release changes in the
future.

https://bugzilla.gnome.org/show_bug.cgi?id=786104
2017-08-11 14:13:07 +03: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