-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Add recipe for webkit2gtk4.1 #30699
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
Merged
Merged
Add recipe for webkit2gtk4.1 #30699
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
4021dd1
first draft recipe for webkit2gtk4.1
haecker-felix c376879
Update, enable more webkit2gtk features
haecker-felix 93f54d0
Try with variants.yaml instead of conda_build_config.yaml
haecker-felix e7e1af3
Try it with number instead of string again
haecker-felix 8aa2760
Disable bubblewrap for now as we don't have xdg-dbus-proxy packaged
haecker-felix 1384c17
Include licenses / tests
haecker-felix 7d3a1ae
Depend on gst-plugins-bad
haecker-felix 41beba2
Move conda_build_config.yaml into recipes directory
haecker-felix e3ce276
Add woff2/hyphen dep, remove some no longer needed feature flags
haecker-felix File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
c_stdlib_version: | ||
- 2.34 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,118 @@ | ||
context: | ||
version: "2.48.4" | ||
|
||
package: | ||
name: webkit2gtk4.1 | ||
version: ${{ version }} | ||
|
||
source: | ||
url: https://webkitgtk.org/releases/webkitgtk-${{ version }}.tar.xz | ||
sha256: f62c1077d3a0f63d50259a802d1143be5d4d0c7c4c05e581819af1ce935afab3 | ||
|
||
build: | ||
number: 0 | ||
skip: not linux | ||
script: | ||
- | | ||
args=( | ||
-DPORT=GTK | ||
-DENABLE_DOCUMENTATION=OFF | ||
-DENABLE_GAMEPAD=OFF | ||
-DUSE_GTK4=OFF | ||
-DUSE_LIBBACKTRACE=OFF | ||
# libmesa package is built without screen rendering capabilities so we can't enable GBM | ||
# https://github.com/conda-forge/mesalib-feedstock/blob/f0c17a763eda1e0ef13cd1aa81d597d50fde0d80/recipe/meta.yaml#L54 | ||
-DUSE_GBM=OFF | ||
-DUSE_SYSTEM_SYSPROF_CAPTURE=NO | ||
) | ||
- cmake ${CMAKE_ARGS} -S . -B build -GNinja "${args[@]}" | ||
- cmake --build build | ||
- cmake --install build | ||
|
||
requirements: | ||
build: | ||
- ${{ compiler('c') }} | ||
- ${{ compiler('cxx') }} | ||
- ${{ stdlib('c') }} | ||
- pkg-config | ||
- cmake | ||
- ninja | ||
host: | ||
- bubblewrap | ||
- enchant | ||
- epoxy | ||
- expat | ||
- flite-dev | ||
- fontconfig | ||
- glib | ||
- gobject-introspection | ||
- gperf | ||
- gst-plugins-bad | ||
- gst-plugins-base | ||
- gst-plugins-good | ||
- gstreamer | ||
- gtk3 | ||
- hyphen | ||
- lcms2 | ||
- libavif | ||
- libdrm | ||
- libegl-devel | ||
- libgcrypt | ||
- libjxl | ||
- liblzma-devel | ||
- libpng | ||
- libseccomp | ||
- libsecret | ||
- libsoup | ||
- libsystemd | ||
- libtasn1 | ||
- libxslt | ||
- perl | ||
- ruby | ||
- unifdef | ||
- wayland-protocols | ||
- woff2 | ||
- xdg-dbus-proxy | ||
- xorg-xorgproto | ||
- zlib | ||
|
||
tests: | ||
- package_contents: | ||
include: | ||
- webkitgtk-4.1/JavaScriptCore/JavaScript.h | ||
- webkitgtk-4.1/jsc/jsc.h | ||
- webkitgtk-4.1/webkit/WebKitVersion.h | ||
- webkitgtk-4.1/webkit2/webkit2.h | ||
- webkitgtk-4.1/webkitdom/webkitdom.h | ||
lib: | ||
- libjavascriptcoregtk-4.1 | ||
- libwebkit2gtk-4.1 | ||
files: | ||
- bin/WebKitWebDriver | ||
|
||
about: | ||
homepage: https://webkitgtk.org | ||
summary: WebKitGTK for GTK 3 and libsoup 3 | ||
description: | | ||
WebKitGTK is a full-featured port of the WebKit rendering engine, | ||
suitable for projects requiring any kind of web integration, from | ||
hybrid HTML/CSS applications to full-fledged web browsers. | ||
license: LGPL-2.1-only AND BSD-2-Clause AND BSD-3-Clause AND ISC AND bzip2-1.0.6 AND NCSA AND MIT AND GPL-2.0-only AND MPL-1.1 AND SunPro AND Unicode-TOU AND Apache-2.0 AND GPL-3.0-or-later WITH Bison-exception-2.2 AND GPL-3.0-only WITH Autoconf-exception-3.0 AND MPL-2.0 AND OFL-1.1 AND (AFL-2.0 OR GPL-2.0-or-later) AND BSD-Source-Code AND BSD-2-Clause-Views AND LGPL-2.1-or-later AND (NCSA OR MIT) AND Apache-2.0 WITH LLVM-exception AND ICU AND BSL-1.0 | ||
license_file: | ||
- Source/JavaScriptCore/COPYING.LIB | ||
- Source/ThirdParty/ANGLE/LICENSE | ||
- Source/ThirdParty/ANGLE/src/third_party/libXNVCtrl/LICENSE | ||
- Source/WebCore/LICENSE-APPLE | ||
- Source/WebCore/LICENSE-LGPL-2 | ||
- Source/WebCore/LICENSE-LGPL-2.1 | ||
- Source/WebInspectorUI/UserInterface/External/CodeMirror/LICENSE | ||
- Source/WebInspectorUI/UserInterface/External/Esprima/LICENSE | ||
- Source/WebInspectorUI/UserInterface/External/three.js/LICENSE | ||
- Source/WTF/icu/LICENSE | ||
- Source/WTF/wtf/dtoa/COPYING | ||
- Source/WTF/wtf/dtoa/LICENSE | ||
|
||
extra: | ||
recipe-maintainers: | ||
- haecker-felix | ||
- Hofer-Julian |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we expect a
webkit2gtk5.0
etc. anytime soon? Just wondering.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
webkit2gtk-5.0
already got obsoleted bywebkitgtk6.0
.webkitgtk naming is a little bit confusing:
webkitgtk6.0
: WebKitGTK for GTK4, libsoup 3-DPORT=GTK
webkit2gtk4.1
: WebKitGTK for GTK3, libsoup 3-DPORT=GTK -DUSE_GTK3=ON
webkit2gtk4.0
: WebKitGTK for GTK3, libsoup 2-DPORT=GTK -DUSE_GTK3=ON -DUSE_SOUP2=ON
For more details: https://blogs.gnome.org/mcatanzaro/2025/04/28/webkitgtk-api-versions/