treewide: remove meson mention

counterpart to https://github.com/hyprwm/Hyprland/pull/12344
This commit is contained in:
Mihai Fufezan 2025-11-17 14:22:13 +02:00
parent c4ed5af32c
commit ca366ab182
Signed by: fufexan
SSH key fingerprint: SHA256:SdnKmEpJrDu1+2UO1QpB/Eg4HKcdDi6n+xSRqFNJVpg
4 changed files with 14 additions and 35 deletions

View file

@ -35,13 +35,6 @@ breakpoint and it will crash after you continue out of it.
Attach and profile in your preferred way. Attach and profile in your preferred way.
### Meson
```console
meson setup build -Dbuildtype=debug
ninja -C build
```
### Nix ### Nix
To build the package in debug mode, you have to override it like this: To build the package in debug mode, you have to override it like this:

View file

@ -407,20 +407,6 @@ make all && sudo make install
_CMake is always recommended as it's the intended way Hyprland should be _CMake is always recommended as it's the intended way Hyprland should be
installed._ installed._
### Meson
```sh
meson subprojects update --reset
meson setup build
ninja -C build
ninja -C build install --tags runtime,man
```
Custom build flags can be found in [`meson_options.txt`](https://github.com/hyprwm/Hyprland/blob/main/meson_options.txt).
Refer to [Debugging](../../Contributing-and-Debugging) to see how to build &
debug.
## Crash on launch ## Crash on launch
See [Crashes and Bugs](../../Crashes-and-Bugs). See [Crashes and Bugs](../../Crashes-and-Bugs).

View file

@ -16,7 +16,7 @@ A debug build is already provided through
Most hyprwm apps also provide their own `-debug` versions. For those that don't, Most hyprwm apps also provide their own `-debug` versions. For those that don't,
one can build the debug version from the CLI by using one can build the debug version from the CLI by using
[overrideAttrs](../Options-Overrides/#using-nix-repl) with [overrideAttrs](../Options-Overrides/#using-nix-repl) with
`cmakeBuildType = "debug";` or `mesonBuildType = "debug";`, depending on the `cmakeBuildType = "Debug";` or `mesonBuildType = "debug";`, depending on the
program. program.
## Bisecting an issue ## Bisecting an issue
@ -67,8 +67,8 @@ For CMake:
```bash ```bash
cmakeConfigurePhase # to run the CMake configure phase cmakeConfigurePhase # to run the CMake configure phase
ninjaBuildPhase # to run the Ninja build phase (or buildPhase when ninja is not available) buildPhase # to run the build phase
ninjaInstallPhase # to run the Ninja install phase (or installPhase when ninja is not available) installPhase # to run the install phase
``` ```
For Meson: For Meson:

View file

@ -53,10 +53,10 @@ nix-repl> :bl outputs.packages.x86_64-linux.hyprland.override { /* flag here */
Then you can run Hyprland from the built path. Then you can run Hyprland from the built path.
You can also use `overrideAttrs` to override `mkDerivation`'s arguments, such as You can also use `overrideAttrs` to override `mkDerivation`'s arguments, such as
`mesonBuildType`: `cmakeBuildType`:
```nix ```nix
$ nix repl $ nix repl
nix-repl> :lf github:hyprwm/Hyprland nix-repl> :lf github:hyprwm/Hyprland
nix-repl> :bl outputs.packages.x86_64-linux.hyprland.overrideAttrs (self: super: { mesonBuildType = "debug" }) nix-repl> :bl outputs.packages.x86_64-linux.hyprland.overrideAttrs (self: super: { cmakeBuildType = "Debug" })
``` ```