summaryrefslogtreecommitdiff
path: root/data/meson.build
AgeCommit message (Collapse)Author
2026-02-28build: List releases in metainfoPeter Eisenmann
Build date is no longer required, so drop it from meson.
2025-07-14build: Specify check parameter for run_commandKhalid Abu Shawarib
This suppresses a meson warning
2025-03-15build: Add check keyword argumentKhalid Abu Shawarib
See: https://github.com/mesonbuild/meson/issues/9300
2025-01-25flatpak: Set Tracker Miners domain using config optionSam Thursfield
The current approach dates from before the 'domain_prefix' option existed in Tracker Miners. It is already used by Totem[1] and should be used by all apps that bundle Tracker Miners. 1. https://gitlab.gnome.org/GNOME/totem/-/blob/master/flatpak/org.gnome.Totem.Devel.json#L164
2024-08-07build: Fix release scriptCorey Berla
Using stdout() added a newline, whoops
2024-08-07build: Fix version numbering for non-numericCorey Berla
For non-numeric builds we need to separate with a ~ to align with appstream standards. [1] https://www.freedesktop.org/software/appstream/docs/chap-AppStream-Misc.html#spec-vercmp-recommendations
2024-07-20build: Only set build-date for nightly buildsCorey Berla
Otherwise we are changing a comment that makes the builds not reproducible. Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/3506
2024-01-10appdata: Use non-legacy file extensionAntónio Fernandes
https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#spec-component-location
2024-01-10appdata: Use build date between releasesAntónio Fernandes
Although build date is wrong for releases, we still need a date between releases to pass appstream validation. Partly revert commit b7e44006b66b2aff2f6c51afb6100b3bab40557c To make it easy for future releases, provide copy-pastable templates and introduce release type attributes. In the future we may want to use the new "snapshot" type and drop the date, as per https://github.com/ximion/appstream/issues/570 Reference: https://www.freedesktop.org/software/appstream/docs/sect-Metadata-Releases.html
2024-01-08appdata: Don't generate release date based on current dateAntónio Fernandes
The release date should not change. The date of build is not the date of release.
2023-12-23appdata: Improve appdata for AppStream 1.0Sabri Ünal
- Add the `<developer><name>` tag - Mark the `<developer_name>` tag as deprecated - Use appstreamcli to validate appdata
2023-10-05build: autappdata build versionPeter Eisenmann
As suggested by @naheemsays on Matrix and inspired by https://gitlab.gnome.org/GNOME/gtk/-/commit/775dbec2e6a0c90015e8bc39f433f5d76f12bd41
2022-02-28meson: Update to 0.59Maximiliano Sandoval R
2021-10-26build: Remove incorrect i18n.merge_file argumentAlbert Vaca Cintora
The positional argument was being silently ignored until meson 0.60.0 where it fails with "ERROR: Function does not take positional arguments". See: https://github.com/mesonbuild/meson/issues/9441
2021-10-11ci: Use lineup-parameters python scriptOndrej Holy
The lineup-parameters.c is hard to use with meson. Let's use the python rewrite from https://gitlab.gnome.org/GNOME/epiphany/-/blob/master/data/lineup-parameters instead.
2021-04-21ci: Specify test dependencies to fix pipelineOndrej Holy
The `validate-desktop`, `validate-desktop-autorun-software` and `validate-appdata` meson tests fail currently because of the updated meson. This is because of the recent change, which requires explicit specification of dependencies. Let's specify them to fix the pipeline. https://gitlab.gnome.org/GNOME/gnome-build-meta/-/issues/372
2020-09-02Use Tracker Miners inside Flatpak when not available on the hostSam Thursfield
This means the Nautilus flatpak will be able to use Tracker on systems which don't have Tracker 3 available on the host. It comes at a cost of increased resource consumption inside the Flatpak due running an extra indexer process there.
2020-09-02Port to Tracker 3Sam Thursfield
Mostly the port is straightforward, we connect to tracker-miner-fs explicitly over D-Bus instead of the centralized tracker-store daemon we connected to previously. The search-engine-tracker test is now isolated from the user's real Tracker index using the `tracker-sandbox` script provided by Tracker, and it lets tracker-miner-fs index the test file rather than trying to synthesize the expected database contents. There are more changes in nautilus-tag-manager.c. Until now, starred file information was stored in the tracker-miner-fs database. This has some downsides, firstly the data is deleted if someone runs `tracker reset --hard`, secondly it isn't possible to do this from inside a Flatpak sandbox with Tracker 3.0. because the This commit changes the NautilusTagManager to set up a private database inside XDG_DATA_HOME/nautilus/tags. This stores the starred file information. The database is managed with Tracker, which allows us to continue using the rename-tracking that tracker-miner-fs provides. The same limitations apply as before that only files in indexed locations can be starred.
2019-10-13build: Use new nightly icon for the Devel profileAntónio Fernandes
A variant of the app icon has been introduced in the previous commit. Let's use it for the Devel profile. Part ot https://gitlab.gnome.org/GNOME/Initiatives/issues/12
2019-04-14build: Don’t build lineup-parameters by defaultErnestas Kulik
It’s only needed on a case-by-case basis.
2019-01-15Meson: validate appdata file without network accessBilal Elmoussaoui
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.
2018-09-14Revert "Revert "build: Don't loop over icons""Carlos Soriano
This reverts commit 37799d64caed4a6e06b5ed534012664b5afaf812
2018-09-14Revert "Revert "icon: update app icon""Carlos Soriano
This reverts commit efef783dbd95e875d4db5e72c438eb2457713b19
2018-09-14Revert "icon: update app icon"Carlos Soriano
This reverts commit be862db092aaa9e60bb3b958c19951dbcbd8c604
2018-09-14Revert "build: Don't loop over icons"Carlos Soriano
This reverts commit a7a03f6398d37d353cef89ce16ed4fb2f1b60962
2018-09-13build: Don't loop over iconsCarlos Soriano
Since we have only one now.
2018-09-13icon: update app iconJakub Steiner
- GNOME 3.32 redesign of app icons. See https://gitlab.gnome.org/GNOME/Initiatives/issues/2 for more info. /label ~"9. Initiative: AppIconRedesign"
2018-04-28build: Use install_data() to rename iconsErnestas Kulik
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-27meson.build: Use proper FIXME notationCarlos Soriano
2018-04-14build: Fix icon renamingErnestas Kulik
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-03-24data/meson.build: Compile gschemas during the buildErnestas Kulik
In particular this can be useful when running tests from the build directory in Builder.
2018-03-18general: Allow running in separate instanceErnestas Kulik
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-18Rename search provider fileErnestas Kulik
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-01-30build: Install appstream metadata to non-deprecated locationJeremy Bicha
This was already done in 5d75a4a5 but accidentally reverted in 983892a6
2018-01-02build: general cleanupsErnestas Kulik
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-02general: remove desktop supportErnestas Kulik
2017-08-11build: add tests for data filesErnestas Kulik
This will help avoid potentially breaking pre-release changes in the future. https://bugzilla.gnome.org/show_bug.cgi?id=786104
2017-02-24general: add support for MesonErnestas Kulik
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