From 5ebccf1ea68f81a9b3a12a07c6efbc9a05f850d8 Mon Sep 17 00:00:00 2001 From: Pratik Mota Date: Mon, 21 Oct 2024 06:32:19 +0900 Subject: [PATCH] [Documentation]Adding notes for latest linux version and libwebkit issue (#3806) * Adding notes for latest linux version and libwebkit issue * adding change log details * updating document changes to website/docs folder --------- Co-authored-by: Lea Anthony --- website/docs/gettingstarted/installation.mdx | 2 ++ website/src/pages/changelog.mdx | 2 +- .../version-v2.9.0/gettingstarted/installation.mdx | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/website/docs/gettingstarted/installation.mdx b/website/docs/gettingstarted/installation.mdx index 2a3fc76b0..d3ddac448 100644 --- a/website/docs/gettingstarted/installation.mdx +++ b/website/docs/gettingstarted/installation.mdx @@ -58,6 +58,8 @@ import TabItem from "@theme/TabItem"; Linux requires the standard gcc build tools plus libgtk3 and libwebkit. Rather than list a ton of commands for different distros, Wails can try to determine what the installation commands are for your specific distribution. Run wails doctor after installation to be shown how to install the dependencies. If your distro/package manager is not supported, please consult the Add Linux Distro guide. +
Note:
+ If you are using latest Linux version (example: Ubuntu 24.04) and it is not supporting libwebkit2gtk-4.0-dev, then you might encounter an issue in wails doctor: libwebkit not found. To resolve this issue you can install libwebkit2gtk-4.1-dev and during your build use the tag -tags webkit2_41.
``` diff --git a/website/src/pages/changelog.mdx b/website/src/pages/changelog.mdx index b8e502585..9396a6f68 100644 --- a/website/src/pages/changelog.mdx +++ b/website/src/pages/changelog.mdx @@ -43,7 +43,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Modified docs to reflect the correct password syntax for the `gon-sign.json` file [PR](https://github.com/wailsapp/wails/pull/3620) by [@ignasbernotas](github.com/ignasbernotas) - +- Updated installation docs for latest linux os version and libwebkit issue [PR](https://github.com/wailsapp/wails/pull/3806) by [@pratikmota](https://github.com/pratikmota) ## v2.9.1 - 2024-06-18 ### Fixed diff --git a/website/versioned_docs/version-v2.9.0/gettingstarted/installation.mdx b/website/versioned_docs/version-v2.9.0/gettingstarted/installation.mdx index 2a3fc76b0..d3ddac448 100644 --- a/website/versioned_docs/version-v2.9.0/gettingstarted/installation.mdx +++ b/website/versioned_docs/version-v2.9.0/gettingstarted/installation.mdx @@ -58,6 +58,8 @@ import TabItem from "@theme/TabItem"; Linux requires the standard gcc build tools plus libgtk3 and libwebkit. Rather than list a ton of commands for different distros, Wails can try to determine what the installation commands are for your specific distribution. Run wails doctor after installation to be shown how to install the dependencies. If your distro/package manager is not supported, please consult the Add Linux Distro guide. +
Note:
+ If you are using latest Linux version (example: Ubuntu 24.04) and it is not supporting libwebkit2gtk-4.0-dev, then you might encounter an issue in wails doctor: libwebkit not found. To resolve this issue you can install libwebkit2gtk-4.1-dev and during your build use the tag -tags webkit2_41.
```