From 7fea585e4964fb7a1a9fbe546826d58ef8eea3e5 Mon Sep 17 00:00:00 2001 From: rhysd Date: Thu, 23 May 2024 17:11:39 +0900 Subject: [PATCH] add explicit apt `libgtk-3-dev` dependency for muda crate --- v2/Cargo.toml | 2 +- v2/docs/installation.md | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/v2/Cargo.toml b/v2/Cargo.toml index fd1c9e7..4483e0a 100644 --- a/v2/Cargo.toml +++ b/v2/Cargo.toml @@ -69,7 +69,7 @@ winresource = { version = "0.1.17", default-features = false } [package.metadata.deb] name = "shiba" copyright = "Copyright (c) 2015 rhysd" -pre-depends = ["libwebkit2gtk-4.1-dev", "libxdo-dev"] +pre-depends = ["libwebkit2gtk-4.1-dev", "libxdo-dev", "libgtk-3-dev"] section = "doc" assets = [ ["target/release/shiba", "usr/bin/", "755"], diff --git a/v2/docs/installation.md b/v2/docs/installation.md index 493a235..e59a22d 100644 --- a/v2/docs/installation.md +++ b/v2/docs/installation.md @@ -14,12 +14,17 @@ On Linux, Shiba uses GTKWebKit. Some additional shared libraries need to be inst ```sh # On Ubuntu or Debian -sudo apt install libwebkit2gtk-4.1-dev libxdo-dev +sudo apt install libwebkit2gtk-4.1-dev libxdo-dev libgtk-3-dev # On Fedora sudo dnf install gtk3-devel webkit2gtk4.1-devel libxdo + +# On Arch Linux +sudo pacman -S webkit2gtk-4.1 gtk3 xdotool ``` +Note: If you install `.deb` file through `dpkg` command, these dependencies are automatically installed. + ### Windows Shiba uses [WebView2 component][webview2]. Usually it is already installed because Windows 11 and recent Windows 10