From 8014cc91df5d03450413f15a2fd77a704421af14 Mon Sep 17 00:00:00 2001 From: Adil Hanney Date: Wed, 25 Sep 2024 09:44:29 +0100 Subject: [PATCH] linux: install webkit2gtk-4.1-dev --- .github/workflows/linux.yml | 4 ++-- .github/workflows/onyxsdk_pen_tests.yml | 2 +- .github/workflows/tests.yml | 2 +- README-cs.md | 2 +- README-de.md | 2 +- README-zh-CN.md | 2 +- README-zh-TW.md | 2 +- README.md | 2 +- snap/snapcraft.yaml | 1 + 9 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 9b325e4c0..944e389c8 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -25,7 +25,7 @@ jobs: - name: Install apt dependencies uses: awalsh128/cache-apt-pkgs-action@latest with: - packages: libgtk-3-dev libx11-dev pkg-config cmake ninja-build libblkid-dev libsecret-1-dev libjsoncpp-dev ghostscript libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libunwind-dev + packages: libgtk-3-dev libx11-dev pkg-config cmake ninja-build libblkid-dev libsecret-1-dev libjsoncpp-dev ghostscript libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libunwind-dev webkit2gtk-4.1-dev version: 1.0 execute_install_scripts: true @@ -141,7 +141,7 @@ jobs: sudo \ bash curl file git unzip xz-utils zip \ clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev libstdc++-12-dev \ - libsecret-1-dev libjsoncpp-dev \ + libsecret-1-dev libjsoncpp-dev webkit2gtk-4.1-dev \ libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libunwind-dev echo Creating nonroot user diff --git a/.github/workflows/onyxsdk_pen_tests.yml b/.github/workflows/onyxsdk_pen_tests.yml index 2b5c81361..f86b6b8bf 100644 --- a/.github/workflows/onyxsdk_pen_tests.yml +++ b/.github/workflows/onyxsdk_pen_tests.yml @@ -23,7 +23,7 @@ jobs: - name: Install apt dependencies uses: awalsh128/cache-apt-pkgs-action@latest with: - packages: libgtk-3-dev libx11-dev pkg-config cmake ninja-build libblkid-dev libsecret-1-dev libjsoncpp-dev ghostscript libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libunwind-dev + packages: libgtk-3-dev libx11-dev pkg-config cmake ninja-build libblkid-dev libsecret-1-dev libjsoncpp-dev ghostscript libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libunwind-dev webkit2gtk-4.1-dev version: 1.0 execute_install_scripts: true diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e89af4993..36460602b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -19,7 +19,7 @@ jobs: - name: Install apt dependencies uses: awalsh128/cache-apt-pkgs-action@latest with: - packages: libgtk-3-dev libx11-dev pkg-config cmake ninja-build libblkid-dev libsecret-1-dev libjsoncpp-dev ghostscript libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libunwind-dev + packages: libgtk-3-dev libx11-dev pkg-config cmake ninja-build libblkid-dev libsecret-1-dev libjsoncpp-dev ghostscript libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libunwind-dev webkit2gtk-4.1-dev version: 1.0 execute_install_scripts: true diff --git a/README-cs.md b/README-cs.md index f3673aec5..bf8f87f4c 100644 --- a/README-cs.md +++ b/README-cs.md @@ -143,7 +143,7 @@ se dá shrnout jako: #### Linux -`sudo apt install libsecret-1-dev libjsoncpp-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev` +`sudo apt install libsecret-1-dev libjsoncpp-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev webkit2gtk-4.1-dev` `flutter build linux` Toto je dostatečné pro použití na vlastním počítači, ale pokud chcete své sestavení distribuovat, diff --git a/README-de.md b/README-de.md index 09a9072bb..6eb08dbaa 100644 --- a/README-de.md +++ b/README-de.md @@ -139,7 +139,7 @@ Das Setup für das [super_clipboard](https://pub.dev/packages/super_clipboard)-P #### Linux -`sudo apt install libsecret-1-dev libjsoncpp-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev` +`sudo apt install libsecret-1-dev libjsoncpp-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev webkit2gtk-4.1-dev` `flutter build linux` Dies ist ausreichend um es auf dem eigenen Computer zu benutzen, aber falls du deinen Build anderweitig zur Verfügung stellen möchtest, solltest du ein _Predictable Environment_ verwenden: Forke dieses Repo und nutze stattdessen die Github-Aktion [Build for Linux](https://github.com/saber-notes/saber/actions/workflows/linux.yml). diff --git a/README-zh-CN.md b/README-zh-CN.md index edf96d13b..9ce9298cd 100644 --- a/README-zh-CN.md +++ b/README-zh-CN.md @@ -141,7 +141,7 @@ flutter pub get #### Linux -`sudo apt install libsecret-1-dev libjsoncpp-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev` +`sudo apt install libsecret-1-dev libjsoncpp-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev webkit2gtk-4.1-dev` `flutter build linux` 这对于在您自己的计算机上使用已经足够好了。但是如果您想重新分发您的构建,你需要使用一个可预测的环境:fork 这个仓库并使用 GitHub Action diff --git a/README-zh-TW.md b/README-zh-TW.md index 50d058c55..c09a0a6b6 100644 --- a/README-zh-TW.md +++ b/README-zh-TW.md @@ -146,7 +146,7 @@ flutter pub get #### Linux -`sudo apt install libsecret-1-dev libjsoncpp-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev` +`sudo apt install libsecret-1-dev libjsoncpp-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev webkit2gtk-4.1-dev` `flutter build linux` 這足以在您自己的電腦上使用,但如果您想重新分發您的構建, diff --git a/README.md b/README.md index 54c8f970c..edee8d4af 100644 --- a/README.md +++ b/README.md @@ -145,7 +145,7 @@ package can be summarised as: #### Linux -`sudo apt install libsecret-1-dev libjsoncpp-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev` +`sudo apt install libsecret-1-dev libjsoncpp-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev webkit2gtk-4.1-dev` `flutter build linux` This is good enough for using on your own computer, but if you want to redistribute your build, diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 63e87d2d0..4d6fb5cf2 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -46,6 +46,7 @@ parts: - libjsoncpp-dev - libgstreamer1.0-dev - libgstreamer-plugins-base1.0-dev + - webkit2gtk-4.1-dev build-snaps: - cmake stage-packages: