[pitivi] docs: Update meson deps build instructions
- From: Alexandru Băluț <alexbalut src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] docs: Update meson deps build instructions
- Date: Sat, 29 May 2021 00:51:24 +0000 (UTC)
commit 8aca974d03b936d32e6389486e75ddaa2a64f852
Author: Alexandru Băluț <alexandru balut gmail com>
Date: Sat Mar 13 18:02:58 2021 +0100
docs: Update meson deps build instructions
docs/HACKING.md | 28 +++++++++++++++-------------
docs/attic/Building_with_Windows.md | 4 ++--
2 files changed, 17 insertions(+), 15 deletions(-)
---
diff --git a/docs/HACKING.md b/docs/HACKING.md
index aa7a92ba5..bc67b4659 100644
--- a/docs/HACKING.md
+++ b/docs/HACKING.md
@@ -105,37 +105,39 @@ with `binstall`. See "Switching locales" below.
## Hacking on Pitivi dependencies (Meson)
-If you have to work on say, [GStreamer Editing
Services](https://gstreamer.freedesktop.org/modules/gst-editing-services.html)
+If you have to work on say, [GStreamer Editing
+Services](https://gstreamer.freedesktop.org/modules/gst-editing-services.html)
which is built using the Meson build system, first clone it into your
`pitivi-dev` folder:
```
-(ptv-flatpak) $ git clone git://anongit.freedesktop.org/gstreamer/gst-editing-services
+(ptv-flatpak) $ cd pitivi-dev
+(ptv-flatpak) $ git clone git gitlab freedesktop org:gstreamer/gst-editing-services.git
```
-Prepare its build directory (Once it has been set up, you won't have to
-run `meson` again for this build directory):
+Prepare its build directory using the `setup` alias which runs `meson`. This has
+to be done only once:
```
-(ptv-flatpak) $ cd gst-editing-services && setup
+(ptv-flatpak) $ cd pitivi-dev/gst-editing-services
+(ptv-flatpak) $ setup
Using Pitivi prefix in /.../pitivi-dev/pitivi-prefix
Running in sandbox: meson mesonbuild/ --prefix=/app --libdir=lib -Ddisable_gtkdoc=true -Ddisable_doc=true
```
Build and install it in the sandbox:
```
+(ptv-flatpak) $ cd pitivi-dev/gst-editing-services
(ptv-flatpak) $ ninja -C mesonbuild/ install
Using Pitivi prefix in /.../pitivi-dev/pitivi-prefix
Running in sandbox: ninja -C mesonbuild/ install
```
-In the `(ptv-flatpak)` development environment `meson` and `ninja` are
-aliases which run meson and ninja in the flatpak sandbox.
+In the `(ptv-flatpak)` development environment `meson` and `ninja` are aliases
+which run meson and ninja in the flatpak sandbox.
-NOTE: When updating the environment with `ptvenv --update`,
-it will use your local dependencies repositories it finds in the
-`pitivi-dev` folder, instead of the default remote repositories.
-This means you have to update them yourself.
-Also beware that it will not take into account not committed
-changes.
+NOTE: When updating the environment with `ptvenv --update`, it will use your
+local dependencies repositories it finds in the `pitivi-dev` folder, instead of
+the default remote repositories. This means you have to update them yourself.
+Also beware that it only takes into account committed changes.
## Hacking on Pitivi dependencies (Autotools, Make, etc)
diff --git a/docs/attic/Building_with_Windows.md b/docs/attic/Building_with_Windows.md
index 19ada2b4f..6eb3f98ee 100644
--- a/docs/attic/Building_with_Windows.md
+++ b/docs/attic/Building_with_Windows.md
@@ -107,14 +107,14 @@ Save the file and restart your shell.
The bootstrap will fail if git config is not set up. Do the following:
-`$ git config --global user.email `“`you example com`”\
+`$ git config --global user.email you example com`
`$ git config --global user.name `“`Your`` ``Name`”
# Compile
### Checkout cerbero
-`$ git clone
`[`git://anongit.freedesktop.org/gstreamer/cerbero`](git://anongit.freedesktop.org/gstreamer/cerbero)
+`$ git clone git gitlab freedesktop org:gstreamer/cerbero.git`
## Install dependencies
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]