Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[linux] Add support for WebKit2GTK 2.36+ features #2151

Merged
merged 1 commit into from
Nov 30, 2022

Conversation

stffabi
Copy link
Collaborator

@stffabi stffabi commented Nov 30, 2022

Fixes #1498

| Feature | Win | Mac | Lin |
| ----------------------- | --- | --- | ------ |
| GET | ✅ | ✅ | ✅ |
| POST | ✅ | ✅ | ✅ [^1] |
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@leaanthony , @misitebao does anybody of you know if that footnotes do work with our docs?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your best bet it to open branches on the repo itself then PRs will auto-deploy so you can see :-)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah yeah, always forget about that 😄

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The answer is no
image

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm just seen your other PR and it seems footnotes are there for the next version docs: https://622b4565.wails.pages.dev/docs/next/reference/options#assetserver

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh my bad! I wondered why it looked like nothing had happened. The superscript 1 is super hard to click and it jumps to the bottom of the page. How about a * next to is with some text right under it or maybe another column with Linux (webkit 2.36+) in it?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry already merged 😔, but will open another PR to improve that.

@leaanthony
Copy link
Member

Confirmed working on Ubuntu 22.04. Nice job!

package linux

/*
#cgo linux pkg-config: gtk+-3.0 webkit2gtk-4.0 libsoup-2.4
Copy link
Member

@leaanthony leaanthony Nov 30, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is libsoup a new dependency that we need to add to our website and package manager code? It looks like it's already installed in Ubuntu 22.04 but might not be for others?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WebKit2GTK uses libsoup internally, so I think it should not be possible to have WebKit2GTK installed without this dependency. But maybe it's better to be on the safe side and add it.

I'll add that as soon as we have merged the CLI refactoring so it doesn't interfere with that. Are you fine with that?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah sure, though I suspect you are right: it's probably installed by webkit2gtk anyway so no need to specify it 👍

@leaanthony
Copy link
Member

#2152 merged, you should be good to go with this.

@stffabi
Copy link
Collaborator Author

stffabi commented Nov 30, 2022

Awesome, thanks for approving 🙏

@stffabi stffabi merged commit 5418b87 into wailsapp:master Nov 30, 2022
@stffabi stffabi deleted the feature/webkit2gtk36 branch November 30, 2022 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[linux] Add support for WebKitGTK 2.36+
2 participants