MixinNetwork / MixinNetwork/flutter-plugins

[desktop_webview_window][linux] Does not compile

Open
#159 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

desktop_webview_window documentation
Dominant language
C
Stars
512
Forks
292
Avg merge
15h 8m
Merged PRs (30d)
7

Description

Hi, I have a problem with compiling an app after adding desktop_webview_window: ^0.1.6.

My Linux version is
Pop!_OS 20.04 LTS (based on Ubuntu 20.04 LTS)

Command

sudo apt install webkit2gtk-4.0

does not work, it returns

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package webkit2gtk-4.0
E: Couldn't find any package by glob 'webkit2gtk-4.0'

After running command

apt list --installed

I can see on the list of packages

...
libwebkit2gtk-4.0-37/focal-updates,focal-security,now 2.36.8-0ubuntu0.20.04.1 amd64 [installed]
libwebkit2gtk-4.0-dev/focal-updates,focal-security,now 2.36.8-0ubuntu0.20.04.1 amd64 [installed]
...
gir1.2-webkit2-4.0/focal-updates,focal-security,now 2.36.8-0ubuntu0.20.04.1 amd64 [installed,automatic]
...

It would be great if someone can point out what i have done wrong 😄

Compiling error:

flutter run lib/main.dart -v

image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported command, flutter run lib/main.dart -v, on Pop!_OS 20.04 and review the package installation output for webkit2gtk-4.0. Compare the required dependency with the installed WebKit packages; done means the sample app compiles successfully on the reported Linux environment.

Written by the indexing model from the issue text.

Assessment

Tech stack
flutter, linux
Domain
build-system, desktop-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.