From dd3bae59362f0b6c3d47cc81b5c53888362e75fc Mon Sep 17 00:00:00 2001 From: Aylur <104676705+Aylur@users.noreply.github.com> Date: Fri, 11 Oct 2024 23:30:16 +0200 Subject: Update installation.md --- docs/guide/getting-started/installation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/guide/getting-started/installation.md') diff --git a/docs/guide/getting-started/installation.md b/docs/guide/getting-started/installation.md index ef5c6e8..af82cf5 100644 --- a/docs/guide/getting-started/installation.md +++ b/docs/guide/getting-started/installation.md @@ -44,7 +44,7 @@ sudo dnf install meson gcc valac gtk3-devel gtk-layer-shell-devel gobject-intros ``` ```sh [ Ubuntu] -sudo apt install meson valac libgtk3-dev libgtk-layer-shell-dev gobject-introspection +sudo apt install meson valac libgtk-3-dev libgtk-layer-shell-dev gobject-introspection libgirepository1.0-dev ``` ::: -- cgit v1.2.3 From ede8890a08b3fbbb1f6df3b8c277ab6424d1befd Mon Sep 17 00:00:00 2001 From: Aylur Date: Tue, 15 Oct 2024 01:22:24 +0000 Subject: docs: better explain ags --- docs/guide/getting-started/installation.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'docs/guide/getting-started/installation.md') diff --git a/docs/guide/getting-started/installation.md b/docs/guide/getting-started/installation.md index af82cf5..6ad951a 100644 --- a/docs/guide/getting-started/installation.md +++ b/docs/guide/getting-started/installation.md @@ -10,6 +10,8 @@ Read more about it on the [nix page](./nix#astal) maintainer: [@kotontrion](https://github.com/kotontrion) + + :::code-group ```sh [Core Library] @@ -28,7 +30,6 @@ yay -S libastal-meta ```sh git clone https://github.com/aylur/astal.git -cd astal/core ``` 2. Install the following dependencies @@ -51,7 +52,18 @@ sudo apt install meson valac libgtk-3-dev libgtk-layer-shell-dev gobject-introsp 3. Build and install with `meson` +- astal-io + +```sh +cd lib/astal/io +meson setup build +meson install -C build +``` + +- astal3 + ```sh +cd lib/astal/gtk3 meson setup build meson install -C build ``` -- cgit v1.2.3 From fe11c037bad45697451b7264ff93fa37f1fac78f Mon Sep 17 00:00:00 2001 From: Aylur Date: Tue, 15 Oct 2024 11:55:53 +0000 Subject: docs: recommend /usr prefix by default --- docs/guide/getting-started/installation.md | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'docs/guide/getting-started/installation.md') diff --git a/docs/guide/getting-started/installation.md b/docs/guide/getting-started/installation.md index 6ad951a..96cbdfa 100644 --- a/docs/guide/getting-started/installation.md +++ b/docs/guide/getting-started/installation.md @@ -56,7 +56,7 @@ sudo apt install meson valac libgtk-3-dev libgtk-layer-shell-dev gobject-introsp ```sh cd lib/astal/io -meson setup build +meson setup --prefix /usr build meson install -C build ``` @@ -64,18 +64,6 @@ meson install -C build ```sh cd lib/astal/gtk3 -meson setup build -meson install -C build -``` - -:::tip -Most distros recommend manual installs in `/usr/local`, -which is what `meson` defaults to. If you want to install to `/usr` -instead which most package managers do, set the `prefix` option: - -```sh meson setup --prefix /usr build meson install -C build ``` - -::: -- cgit v1.2.3 From bafd48d3df9b43a1d49ec015eff30619d595468b Mon Sep 17 00:00:00 2001 From: Aylur Date: Tue, 15 Oct 2024 13:25:45 +0000 Subject: update lua and gjs layout installing the gjs package through meson or npm now results in the same exposed structure lua: fix rockspec docs: aur package --- docs/guide/getting-started/installation.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'docs/guide/getting-started/installation.md') diff --git a/docs/guide/getting-started/installation.md b/docs/guide/getting-started/installation.md index 96cbdfa..aaa6d0d 100644 --- a/docs/guide/getting-started/installation.md +++ b/docs/guide/getting-started/installation.md @@ -10,12 +10,10 @@ Read more about it on the [nix page](./nix#astal) maintainer: [@kotontrion](https://github.com/kotontrion) - - :::code-group ```sh [Core Library] -yay -S libastal-git +yay -S libastal-io-git libastal-git ``` ```sh [Every Library] -- cgit v1.2.3 From 41fcfae3b5624aa16a8046c0197c35bd80257288 Mon Sep 17 00:00:00 2001 From: Aylur <104676705+Aylur@users.noreply.github.com> Date: Sat, 19 Oct 2024 14:52:31 +0200 Subject: Update installation.md --- docs/guide/getting-started/installation.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'docs/guide/getting-started/installation.md') diff --git a/docs/guide/getting-started/installation.md b/docs/guide/getting-started/installation.md index aaa6d0d..e936bc4 100644 --- a/docs/guide/getting-started/installation.md +++ b/docs/guide/getting-started/installation.md @@ -24,13 +24,8 @@ yay -S libastal-meta ## Bulding libastal from source -1. Clone the repo -```sh -git clone https://github.com/aylur/astal.git -``` - -2. Install the following dependencies +1. Install the following dependencies :::code-group @@ -46,6 +41,13 @@ sudo dnf install meson gcc valac gtk3-devel gtk-layer-shell-devel gobject-intros sudo apt install meson valac libgtk-3-dev libgtk-layer-shell-dev gobject-introspection libgirepository1.0-dev ``` +2. Clone the repo + +```sh +git clone https://github.com/aylur/astal.git +cd astal +``` + ::: 3. Build and install with `meson` -- cgit v1.2.3 From eb3912af64038fb10b35a66ed64d4d9375b612a1 Mon Sep 17 00:00:00 2001 From: Aylur Date: Sat, 19 Oct 2024 13:03:03 +0000 Subject: update installation.md --- docs/guide/getting-started/installation.md | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'docs/guide/getting-started/installation.md') diff --git a/docs/guide/getting-started/installation.md b/docs/guide/getting-started/installation.md index e936bc4..844de25 100644 --- a/docs/guide/getting-started/installation.md +++ b/docs/guide/getting-started/installation.md @@ -24,7 +24,6 @@ yay -S libastal-meta ## Bulding libastal from source - 1. Install the following dependencies :::code-group @@ -41,21 +40,20 @@ sudo dnf install meson gcc valac gtk3-devel gtk-layer-shell-devel gobject-intros sudo apt install meson valac libgtk-3-dev libgtk-layer-shell-dev gobject-introspection libgirepository1.0-dev ``` +::: + 2. Clone the repo ```sh -git clone https://github.com/aylur/astal.git -cd astal +git clone https://github.com/aylur/astal.git /tmp/astal ``` -::: - 3. Build and install with `meson` - astal-io ```sh -cd lib/astal/io +cd /tmp/astal/lib/astal/io meson setup --prefix /usr build meson install -C build ``` @@ -63,7 +61,7 @@ meson install -C build - astal3 ```sh -cd lib/astal/gtk3 +cd /tmp/astal/lib/astal/gtk3 meson setup --prefix /usr build meson install -C build ``` -- cgit v1.2.3