From 19c35457a6cecd0ad6c4b69f06c285620d9979fd Mon Sep 17 00:00:00 2001 From: erwinschrodinger1 Date: Sat, 2 Sep 2023 00:59:23 +0545 Subject: [PATCH 1/6] Edit:: Book for installation in windows --- book/src/installation_windows.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/book/src/installation_windows.md b/book/src/installation_windows.md index b9e2c0ff3f5d..f0c9a5b415af 100644 --- a/book/src/installation_windows.md +++ b/book/src/installation_windows.md @@ -29,13 +29,16 @@ When choosing the GTK version to build, select `gtk4` instead of `gtk3`: ``` gvsbuild build gtk4 ``` - + ### Update `Path` environment variable 2. Update your `Path` environment variable to include the GTK 4 libraries: 1. Go to settings -> Search and open `Advanced system settings` -> Click on `Environment variables` 2. Select `Path` -> Click on `Edit` -> Add `C:\gtk-build\gtk\x64\release\bin` +3. Add `New User Variable` in enviroment variable to include `PKG_CONFIG_PATH`: + 1. Go to settings -> Search and open `Advanced system settings` -> Click on `Environment variables` + 3. Select `New` -> Input `Variable name` : `PKG_CONFIG_PATH` & `Variable value` : `C:\gtk-build\gtk\x64\release\lib\pkgconfig` You can now continue with the [project setup](./project_setup.html). From 9fa9a7e6f471ac716bb27452210d62fe1dfeaa74 Mon Sep 17 00:00:00 2001 From: erwinschrodinger1 Date: Sat, 2 Sep 2023 01:04:47 +0545 Subject: [PATCH 2/6] Spelling correction --- book/src/installation_windows.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/src/installation_windows.md b/book/src/installation_windows.md index f0c9a5b415af..4c3daee4c358 100644 --- a/book/src/installation_windows.md +++ b/book/src/installation_windows.md @@ -36,7 +36,7 @@ gvsbuild build gtk4 1. Go to settings -> Search and open `Advanced system settings` -> Click on `Environment variables` 2. Select `Path` -> Click on `Edit` -> Add `C:\gtk-build\gtk\x64\release\bin` -3. Add `New User Variable` in enviroment variable to include `PKG_CONFIG_PATH`: +3. Add `New User Variable` in environment variable to include `PKG_CONFIG_PATH`: 1. Go to settings -> Search and open `Advanced system settings` -> Click on `Environment variables` 3. Select `New` -> Input `Variable name` : `PKG_CONFIG_PATH` & `Variable value` : `C:\gtk-build\gtk\x64\release\lib\pkgconfig` From 64e2291682f4c798c64c47ed8564efe478a2a4d2 Mon Sep 17 00:00:00 2001 From: Nirjal Bhurtel <81609547+erwinschrodinger1@users.noreply.github.com> Date: Sat, 2 Sep 2023 01:30:34 +0545 Subject: [PATCH 3/6] Update book/src/installation_windows.md Co-authored-by: Hofer-Julian <30049909+Hofer-Julian@users.noreply.github.com> --- book/src/installation_windows.md | 1 - 1 file changed, 1 deletion(-) diff --git a/book/src/installation_windows.md b/book/src/installation_windows.md index 4c3daee4c358..7410f5043514 100644 --- a/book/src/installation_windows.md +++ b/book/src/installation_windows.md @@ -29,7 +29,6 @@ When choosing the GTK version to build, select `gtk4` instead of `gtk3`: ``` gvsbuild build gtk4 ``` - ### Update `Path` environment variable 2. Update your `Path` environment variable to include the GTK 4 libraries: From eadb742f933b687aa8fcbcf195fae3945f7e3ddb Mon Sep 17 00:00:00 2001 From: erwinschrodinger1 Date: Sat, 2 Sep 2023 01:35:00 +0545 Subject: [PATCH 4/6] Resolved numbering --- book/src/installation_windows.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/book/src/installation_windows.md b/book/src/installation_windows.md index 4c3daee4c358..2378e457acd6 100644 --- a/book/src/installation_windows.md +++ b/book/src/installation_windows.md @@ -32,13 +32,14 @@ gvsbuild build gtk4 ### Update `Path` environment variable -2. Update your `Path` environment variable to include the GTK 4 libraries: +2. Add `New User Variable` in environment variable to include `PKG_CONFIG_PATH`: 1. Go to settings -> Search and open `Advanced system settings` -> Click on `Environment variables` - 2. Select `Path` -> Click on `Edit` -> Add `C:\gtk-build\gtk\x64\release\bin` + 3. Select `New` -> Input `Variable name` : `PKG_CONFIG_PATH` & `Variable value` : `C:\gtk-build\gtk\x64\release\lib\pkgconfig` -3. Add `New User Variable` in environment variable to include `PKG_CONFIG_PATH`: +3. Update your `Path` environment variable to include the GTK 4 libraries: 1. Go to settings -> Search and open `Advanced system settings` -> Click on `Environment variables` - 3. Select `New` -> Input `Variable name` : `PKG_CONFIG_PATH` & `Variable value` : `C:\gtk-build\gtk\x64\release\lib\pkgconfig` + 2. Select `Path` -> Click on `Edit` -> Add `C:\gtk-build\gtk\x64\release\bin` + You can now continue with the [project setup](./project_setup.html). From f983015cd2c52b168fe336294a4586f018edcb15 Mon Sep 17 00:00:00 2001 From: erwinschrodinger1 Date: Sat, 2 Sep 2023 01:36:05 +0545 Subject: [PATCH 5/6] Added previous line --- book/src/installation_windows.md | 1 + 1 file changed, 1 insertion(+) diff --git a/book/src/installation_windows.md b/book/src/installation_windows.md index 0fc1c8c49f68..2378e457acd6 100644 --- a/book/src/installation_windows.md +++ b/book/src/installation_windows.md @@ -29,6 +29,7 @@ When choosing the GTK version to build, select `gtk4` instead of `gtk3`: ``` gvsbuild build gtk4 ``` + ### Update `Path` environment variable 2. Add `New User Variable` in environment variable to include `PKG_CONFIG_PATH`: From a992a588b8ff6e78ad7de958b4c7a869e9d61e56 Mon Sep 17 00:00:00 2001 From: erwinschrodinger1 Date: Sat, 2 Sep 2023 01:46:14 +0545 Subject: [PATCH 6/6] Resolved ambiguity in instruction --- book/src/installation_windows.md | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/book/src/installation_windows.md b/book/src/installation_windows.md index 2378e457acd6..1b1a8a33b8f8 100644 --- a/book/src/installation_windows.md +++ b/book/src/installation_windows.md @@ -32,14 +32,10 @@ gvsbuild build gtk4 ### Update `Path` environment variable -2. Add `New User Variable` in environment variable to include `PKG_CONFIG_PATH`: +2. Add `New User Variable` and update `Path` in environment variable to include `PKG_CONFIG_PATH` and the GTK 4 libraries: 1. Go to settings -> Search and open `Advanced system settings` -> Click on `Environment variables` - 3. Select `New` -> Input `Variable name` : `PKG_CONFIG_PATH` & `Variable value` : `C:\gtk-build\gtk\x64\release\lib\pkgconfig` - -3. Update your `Path` environment variable to include the GTK 4 libraries: - 1. Go to settings -> Search and open `Advanced system settings` -> Click on `Environment variables` - 2. Select `Path` -> Click on `Edit` -> Add `C:\gtk-build\gtk\x64\release\bin` - + 2. Select `New` -> Input `Variable name` : `PKG_CONFIG_PATH` & `Variable value` : `C:\gtk-build\gtk\x64\release\lib\pkgconfig` + 3. Select `Path` -> Click on `Edit` -> Add `C:\gtk-build\gtk\x64\release\bin` You can now continue with the [project setup](./project_setup.html).