diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2021-06-09 14:57:15 -0400 |
---|---|---|
committer | Eli Schwartz <eschwartz@archlinux.org> | 2021-08-15 09:36:18 -0400 |
commit | 59d4f771d280cbea0d0afc9579e127225751c028 (patch) | |
tree | 6454a837f8d8e95ddb69331756e54bcbf03b86f1 /docs/markdown | |
parent | c2592bc921f9357a187d241b233f2be0178195e9 (diff) | |
download | meson-59d4f771d280cbea0d0afc9579e127225751c028.zip meson-59d4f771d280cbea0d0afc9579e127225751c028.tar.gz meson-59d4f771d280cbea0d0afc9579e127225751c028.tar.bz2 |
editorconfig: add setting to trim trailing whitespace
and clean up all outstanding issues
Skip 'test cases/common/141 special characters/meson.build' since it
intentionally uses trailing newlines.
Diffstat (limited to 'docs/markdown')
-rw-r--r-- | docs/markdown/Adding-new-projects-to-wrapdb.md | 2 | ||||
-rw-r--r-- | docs/markdown/Commands.md | 2 | ||||
-rw-r--r-- | docs/markdown/Getting-meson_ptbr.md | 10 | ||||
-rw-r--r-- | docs/markdown/Release-notes-for-0.57.0.md | 13 | ||||
-rw-r--r-- | docs/markdown/Release-notes-for-0.58.0.md | 3 | ||||
-rw-r--r-- | docs/markdown/Release-notes-for-0.59.0.md | 3 |
6 files changed, 15 insertions, 18 deletions
diff --git a/docs/markdown/Adding-new-projects-to-wrapdb.md b/docs/markdown/Adding-new-projects-to-wrapdb.md index 7b51c9a..03998cd 100644 --- a/docs/markdown/Adding-new-projects-to-wrapdb.md +++ b/docs/markdown/Adding-new-projects-to-wrapdb.md @@ -130,7 +130,7 @@ git commit -a -m 'Add wrap files for libfoo-1.0.0' git push -u origin libfoo ``` -Now you should create a pull request on GitHub. +Now you should create a pull request on GitHub. If packaging review requires you to do changes, use the `--amend` argument to `commit` so that your branch will have only one commit. diff --git a/docs/markdown/Commands.md b/docs/markdown/Commands.md index ea68cc8..d53f651 100644 --- a/docs/markdown/Commands.md +++ b/docs/markdown/Commands.md @@ -62,7 +62,7 @@ Builds a default or a specified target of a configured Meson project. - `NAME`: name of the target from `meson.build` (e.g. `foo` from `executable('foo', ...)`). - `PATH`: path to the target relative to the root `meson.build` file. Note: relative path for a target specified in the root `meson.build` is `./`. - `TYPE`: type of the target. Can be one of the following: 'executable', 'static_library', 'shared_library', 'shared_module', 'custom', 'run', 'jar'. - + `PATH` and/or `TYPE` can be omitted if the resulting `TARGET` can be used to uniquely identify the target in `meson.build`. diff --git a/docs/markdown/Getting-meson_ptbr.md b/docs/markdown/Getting-meson_ptbr.md index f2e2811..b5af345 100644 --- a/docs/markdown/Getting-meson_ptbr.md +++ b/docs/markdown/Getting-meson_ptbr.md @@ -1,6 +1,6 @@ # Obtendo o Meson -Meson Ă© implementado em Python 3, e requer a versĂŁo 3.6 ou mais nova. +Meson Ă© implementado em Python 3, e requer a versĂŁo 3.6 ou mais nova. se o seu sistema operacional provĂȘ um gerenciador de pacotes, vocĂȘ deve instalar o Meson com ele. Para plataformas que nĂŁo tem um gerenciador de pacotes, vocĂȘ precisa baixa-lo da [pĂĄgina inicial do Python]. Veja abaixo @@ -26,7 +26,7 @@ plataformas. O Meson estĂĄ disponĂvel no [Indice de Pacotes do Python] e pode ser instalado com `sudo pip3 install meson` que requer root e vai instala-lo para todo o sistema. -Se vocĂȘ jĂĄ baixou uma cĂłpia do cĂłdigo do Meson, vocĂȘ pode instalar com +Se vocĂȘ jĂĄ baixou uma cĂłpia do cĂłdigo do Meson, vocĂȘ pode instalar com `sudo pip3 install path/to/source/root/`. Como alternativa, vocĂȘ pode usar o `pip3 install --user meson` que vai instalar @@ -54,7 +54,7 @@ Clang, Visual Studio, MinGW, ICC, ARMCC, etc. VocĂȘ deve usar a versĂŁo provida pelo seu gerenciador de pacotes se possĂvel, caso contrĂĄrio, baixe o binĂĄrio executĂĄvel da [pĂĄgina de *release* do projeto Ninja](https://github.com/ninja-build/ninja/releases). -Se vocĂȘ apenas usa o *backend* do Visual Studio (`--backend=vs`) para gerar soluçÔes do Visual Studio no Windows ou o +Se vocĂȘ apenas usa o *backend* do Visual Studio (`--backend=vs`) para gerar soluçÔes do Visual Studio no Windows ou o *backend* do XCode (`--backend=xcode`) para gerar projetos no macOS, vocĂȘ nĂŁo precisa do Ninja. @@ -72,7 +72,7 @@ que vocĂȘ selecione as opçÔes do instalador como a seguir:  -Com isso, vocĂȘ terĂĄ o `python` e o `pip` no `PATH`, e vocĂȘ poderĂĄ instalar o Meson com o pip. VocĂȘ tambĂ©m vai poder +Com isso, vocĂȘ terĂĄ o `python` e o `pip` no `PATH`, e vocĂȘ poderĂĄ instalar o Meson com o pip. VocĂȘ tambĂ©m vai poder executar o comando `meson` em qualquer shell no Windows ao invĂ©s de ter que executar `py -3` com o caminho completo para o *script* `meson.py`. @@ -80,7 +80,7 @@ o *script* `meson.py`. Se vocĂȘ estĂĄ usando o MSYS2 no Windows como seu ambiente de desenvolvimento, por favor se certifique que vocĂȘ nĂŁo esteja usando o pacote `msys/python` para -fornecer o Python 3. Uso o `mingw32/mingw-w64-i686-python3` ou o +fornecer o Python 3. Uso o `mingw32/mingw-w64-i686-python3` ou o If you are using MSYS2 on Windows as your development environment, please make sure that you **do not use** the `msys/python` package to provide Python 3. Use either `mingw32/mingw-w64-i686-python3` or `mingw64/mingw-w64-x86_64-python3` diff --git a/docs/markdown/Release-notes-for-0.57.0.md b/docs/markdown/Release-notes-for-0.57.0.md index 595ebec..14fa030 100644 --- a/docs/markdown/Release-notes-for-0.57.0.md +++ b/docs/markdown/Release-notes-for-0.57.0.md @@ -105,7 +105,7 @@ Run Time Checking can be enabled by manually adding `/RTC1` or other RTC flags o The `debug` buildtype for clang-cl added additional arguments compared to MSVC, which had more to do with optimization than debug. The arguments removed are `/Ob0`, `/Od`, `/RTC1`. (`/Zi` was also removed, but it is already added by default when debug is enabled.) -If these are important issues for you and would like builtin toggle options, +If these are important issues for you and would like builtin toggle options, please file an issue in the Meson bug tracker. ## Buildtype remains even if dependent options are changed @@ -154,17 +154,17 @@ Currently supports `glib-compile-schemas`, `gio-querymodules`, and ## "Edit and continue" (/ZI) is no longer used by default for Visual Studio -Meson was adding the `/ZI` compiler argument as an argument for Visual Studio -in debug mode. This enables the `edit-and-continue` debugging in +Meson was adding the `/ZI` compiler argument as an argument for Visual Studio +in debug mode. This enables the `edit-and-continue` debugging in Visual Studio IDE's. -Unfortunately, it is also extremely expensive and breaks certain use cases such -as link time code generation. Edit and continue can be enabled by manually by +Unfortunately, it is also extremely expensive and breaks certain use cases such +as link time code generation. Edit and continue can be enabled by manually by adding `/ZI` to compiler arguments. The `/ZI` argument has now been replaced by the `/Zi` argument for debug builds. -If this is an important issue for you and would like a builtin toggle option, +If this is an important issue for you and would like a builtin toggle option, please file an issue in the Meson bug tracker. ## Minimum required Python version updated to 3.6 @@ -357,4 +357,3 @@ also allows `//` as the id. This way, `meson rewrite kwargs set project All keys of the `configuration_data` object can be obtained with the `keys()` method as an alphabetically sorted array. - diff --git a/docs/markdown/Release-notes-for-0.58.0.md b/docs/markdown/Release-notes-for-0.58.0.md index 9a23abb..7187dc1 100644 --- a/docs/markdown/Release-notes-for-0.58.0.md +++ b/docs/markdown/Release-notes-for-0.58.0.md @@ -266,7 +266,7 @@ argument that will be separated by space. ## Specify man page locale during installation Locale directories can now be passed to `install_man`: - + ```meson # instead of # install_data('foo.fr.1', install_dir: join_paths(get_option('mandir'), 'fr', 'man1'), rename: 'foo.1')` @@ -354,4 +354,3 @@ The `b_sanitize` option for enabling Address sanitizer now works with the Visual Studio compilers. This requires [a sufficiently new version of Visual Studio](https://devblogs.microsoft.com/cppblog/address-sanitizer-for-msvc-now-generally-available/). - diff --git a/docs/markdown/Release-notes-for-0.59.0.md b/docs/markdown/Release-notes-for-0.59.0.md index b6ce654..a8fbc35 100644 --- a/docs/markdown/Release-notes-for-0.59.0.md +++ b/docs/markdown/Release-notes-for-0.59.0.md @@ -121,7 +121,7 @@ if intl_found conf.set('ENABLE_NLS', 1) endif ``` - + one may simply use: ``` @@ -232,4 +232,3 @@ the cache upon installation. Most applications do that using a custom script, but it can now be done by Meson directly. See [`gnome.post_install()`](Gnome-module.md#gnomepost_install). - |