Package Details: webkit2gtk-4.1-imgpaste 2.44.0-1

Git Clone URL: https://aur.archlinux.org/webkit2gtk-4.1-imgpaste.git (read-only, click to copy)
Package Base: webkit2gtk-4.1-imgpaste
Description: Web content engine for GTK (with patches for pasting images from clipboard)
Upstream URL: https://webkitgtk.org
Licenses: LicenseRef-custom
Conflicts: webkit2gtk-4.1
Provides: libjavascriptcoregtk-4.1.so, libwebkit2gtk-4.1.so, webkit2gtk-4.1
Submitter: q234rty
Maintainer: q234rty
Last Packager: q234rty
Votes: 1
Popularity: 0.000077
First Submitted: 2022-08-01 15:48 (UTC)
Last Updated: 2024-03-24 09:40 (UTC)

Required by (47)

Sources (4)

Pinned Comments

q234rty commented on 2022-08-01 15:49 (UTC)

This is a patched version of webkit2gtk-4.1 w/ image data pasting support.

This is based on the original patch in https://github.com/ttys3/archlinux-webkit2gtk, modified to use proper filenames and support larger images.

Latest Comments

one1grw commented on 2023-12-01 14:05 (UTC)

@q234rty Built it without issues. Now I can paste images from clipboard in applications such as Whatsapp for Linux. Thank you for your support.

q234rty commented on 2023-12-01 12:17 (UTC)

@one1grw An update was pushed, please test and report back.

one1grw commented on 2023-12-01 11:45 (UTC)

Webkitgtk-2.42.2 fails to build:

[3768/6887] Building CXX object Source/WebCore/CMakeFiles/WebCore.dir/__/__/WebCore/DerivedSources/unified-sources/UnifiedSource-42f7b70e-4.cpp.o
FAILED: Source/WebCore/CMakeFiles/WebCore.dir/__/__/WebCore/DerivedSources/unified-sources/UnifiedSource-42f7b70e-4.cpp.o 
/usr/bin/clang++ -DBUILDING_GTK__=1 -DBUILDING_WEBKIT=1 -DBUILDING_WITH_CMAKE=1 -DBUILDING_WebCore -DBWRAP_EXECUTABLE=\"/usr/bin/bwrap\" -DDBUS_PROXY_EXECUTABLE=\"/usr/bin/xdg-dbus-proxy\" -DGETTEXT_PACKAGE=\"WebKitGTK-4.1\" -DHAVE_CONFIG_H=1 -DJSC_GLIB_API_ENABLED -DPAS_BMALLOC=1 -DSTATICALLY_LINKED_WITH_PAL -DUSE_SYSTEM_EGL -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/build -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/build/WebCore/DerivedSources -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/ShapeDetection -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/ShapeDetection/Interfaces -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/WebGPU -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/WebGPU/InternalAPI -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/WebGPU/Implementation -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/airplay -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/applepay -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/applepay/paymentrequest -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/applicationmanifest -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/async-clipboard -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/audiosession -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/badge -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/beacon -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/cache -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/compression -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/contact-picker -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/cookie-consent -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/cookie-store -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/credentialmanagement -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/encryptedmedia -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/encryptedmedia/legacy -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/entriesapi -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/fetch -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/filesystemaccess -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/geolocation -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/highlight -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/indexeddb -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/indexeddb/client -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/indexeddb/server -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/indexeddb/shared -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/mediacapabilities -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/mediacontrols -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/mediarecorder -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/mediasession -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/mediasource -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/mediastream -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/model-element -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/model-element/dummy -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/navigatorcontentutils -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/notifications -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/paymentrequest -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/permissions -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/pictureinpicture -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/plugins -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/push-api -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/remoteplayback -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/reporting -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/screen-wake-lock -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/speech -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/storage -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/streams -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/web-locks -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/webaudio -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/webauthn -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/webauthn/cbor -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/webauthn/fido -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/webcodecs -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/webdatabase -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/webdriver -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/websockets -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/webxr -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/accessibility -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/accessibility/isolatedtree -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/animation -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/bindings -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/bindings/js -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/bridge -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/bridge/c -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/bridge/jsc -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/contentextensions -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/crypto -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/crypto/algorithms -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/crypto/keys -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/crypto/parameters -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/css -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/css/calc -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/css/color -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/css/parser -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/css/query -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/css/typedom -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/css/typedom/color -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/css/typedom/numeric -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/css/typedom/transform -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/cssjit -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/display -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/display/compositing -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/display/css -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/dom -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/dom/messageports -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/domjit -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/editing -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/fileapi -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/history -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/html -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/html/canvas -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/html/forms -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/html/parser -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/html/shadow -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/html/track -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/inspector -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/inspector/agents -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/inspector/agents/page -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/inspector/agents/worker -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/layout -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/layout/formattingContexts -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/layout/formattingContexts/block -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/layout/formattingContexts/block/tablewrapper -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/layout/formattingContexts/flex -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/layout/floats -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/layout/formattingContexts/inline -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/layout/formattingContexts/inline/display -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/layout/formattingContexts/inline/invalidation -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/layout/formattingContexts/inline/text -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/layout/integration -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/layout/integration/flex -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/layout/integration/inline -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/layout/layouttree -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/layout/formattingContexts/table -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/loader -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/loader/appcache -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/loader/archive -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/loader/archive/mhtml -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/loader/cache -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/loader/icon -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/mathml -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/page -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/page/csp -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/page/scrolling -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/animation -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/audio -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/calc -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/encryptedmedia -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/gamepad -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/graphics -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/graphics/cpu/arm -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/graphics/cpu/arm/filters -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/graphics/displaylists -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/graphics/filters -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/graphics/filters/software -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/graphics/controls -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/graphics/iso -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/graphics/opentype -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/graphics/transforms -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/mediacapabilities -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/mediarecorder -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/mediastream -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/mock -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/mock/mediasource -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/network -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/sql -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/text -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/xr -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/plugins -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/rendering -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/rendering/line -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/rendering/mathml -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/rendering/shapes -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/rendering/style -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/rendering/svg -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/rendering/updating -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/replay -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/storage -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/style -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/svg -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/svg/animation -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/svg/graphics -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/svg/graphics/filters -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/svg/properties -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/websockets -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/workers -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/workers/service -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/workers/service/background-fetch -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/workers/service/context -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/workers/service/server -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/workers/shared -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/workers/shared/context -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/worklets -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/xml -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/xml/parser -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/gamepad -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/graphics/angle -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/graphics/lcms -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/ThirdParty/xdgmime/src -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/adwaita -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/graphics/cairo -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/graphics/freetype -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/graphics/harfbuzz -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/graphics/harfbuzz/ng -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/Modules/mediastream/gstreamer -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/graphics/gstreamer -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/graphics/gstreamer/mse -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/graphics/gstreamer/eme -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/gstreamer -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/mediarecorder/gstreamer -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/audio/gstreamer -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/image-decoders -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/image-decoders/avif -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/image-decoders/bmp -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/image-decoders/gif -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/image-decoders/ico -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/image-decoders/jpeg -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/image-decoders/jpeg2000 -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/image-decoders/jpegxl -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/image-decoders/png -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/image-decoders/webp -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/network/soup -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/graphics/texmap -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/graphics/nicosia -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/page/scrolling/nicosia -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/graphics/texmap/coordinated -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/graphics/nicosia/cairo -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/graphics/nicosia/texmap -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/accessibility/atspi -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/crypto/openssl -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/page/gtk -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/audio/glib -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/generic -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/glib -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/gtk -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/graphics/egl -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/graphics/epoxy -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/graphics/gbm -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/graphics/gtk -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/graphics/libwpe -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/graphics/opengl -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/graphics/wayland -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/graphics/x11 -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/mediastream/gtk -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/mediastream/gstreamer -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/network/glib -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/platform/text/gtk -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/build/ANGLE/Headers -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/build/JavaScriptCore/Headers -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/build/JavaScriptCore/PrivateHeaders -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/build/JavaScriptCoreGLib/Headers -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/build/JavaScriptCoreGLib/DerivedSources -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/build/WTF/Headers -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/build/bmalloc/Headers -I/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/build/PAL/Headers -isystem /usr/include/gstreamer-1.0 -isystem /usr/include/glib-2.0 -isystem /usr/lib/glib-2.0/include -isystem /usr/include/sysprof-6 -isystem /usr/include/orc-0.4 -isystem /usr/lib/gstreamer-1.0/include -isystem /usr/include/libdrm -isystem /usr/include/gudev-1.0 -isystem /usr/include/libsoup-3.0 -isystem /usr/include/enchant-2 -isystem /usr/include/gio-unix-2.0 -isystem /usr/include/libmount -isystem /usr/include/blkid -isystem /usr/include/libsecret-1 -isystem /usr/include/tss2 -isystem /usr/include/libxml2 -isystem /usr/include/cairo -isystem /usr/include/freetype2 -isystem /usr/include/harfbuzz -isystem /usr/include/openjpeg-2.5 -isystem /usr/include/avif -isystem /usr/include/gtk-3.0 -isystem /usr/include/pango-1.0 -isystem /usr/include/gdk-pixbuf-2.0 -isystem /usr/include/dbus-1.0 -isystem /usr/lib/dbus-1.0/include -isystem /usr/include/atk-1.0 -isystem /usr/include/cloudproviders -isystem /usr/include/libpng16 -isystem /usr/include/pixman-1 -isystem /usr/include/fribidi -isystem /usr/include/at-spi2-atk/2.0 -isystem /usr/include/at-spi-2.0 -isystem /usr/include/wpe-1.0 -isystem /usr/include/libmanette -fdiagnostics-color=always -fcolor-diagnostics -Wextra -Wall -pipe -Wno-noexcept-type -Wno-psabi -Wno-misleading-indentation -Wno-parentheses-equality -Qunused-arguments -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-tautological-compare -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -g1 -fno-strict-aliasing -fno-exceptions -fno-rtti -O3 -DNDEBUG -std=c++20 -fPIC -fvisibility=hidden -pthread -DHWY_SHARED_DEFINE -DAVIF_DLL -DWPE_ENABLE_XKB=1 -MD -MT Source/WebCore/CMakeFiles/WebCore.dir/__/__/WebCore/DerivedSources/unified-sources/UnifiedSource-42f7b70e-4.cpp.o -MF Source/WebCore/CMakeFiles/WebCore.dir/__/__/WebCore/DerivedSources/unified-sources/UnifiedSource-42f7b70e-4.cpp.o.d -o Source/WebCore/CMakeFiles/WebCore.dir/__/__/WebCore/DerivedSources/unified-sources/UnifiedSource-42f7b70e-4.cpp.o -c /home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/build/WebCore/DerivedSources/unified-sources/UnifiedSource-42f7b70e-4.cpp
In file included from /home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/build/WebCore/DerivedSources/unified-sources/UnifiedSource-42f7b70e-4.cpp:3:
/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/xml/XSLStyleSheetLibxslt.cpp:139:28: error: no matching constructor for initialization of 'XMLDocumentParserScope'
    XMLDocumentParserScope scope(cachedResourceLoader(), XSLTProcessor::genericErrorFunc, XSLTProcessor::parseErrorFunc, console);
                           ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/xml/parser/XMLDocumentParserScope.h:47:9: note: candidate constructor not viable: no known conversion from 'void (void *, xmlError *)' (aka 'void (void *, _xmlError *)') to 'xmlStructuredErrorFunc' (aka 'void (*)(void *, const _xmlError *)') for 3rd argument
        XMLDocumentParserScope(CachedResourceLoader*, xmlGenericErrorFunc, xmlStructuredErrorFunc structuredErrorFunc = 0, void* errorContext = nullptr);
        ^
/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/xml/parser/XMLDocumentParserScope.h:39:30: note: candidate constructor not viable: requires 1 argument, but 4 were provided
        WTF_MAKE_NONCOPYABLE(XMLDocumentParserScope);
                             ^
/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/xml/parser/XMLDocumentParserScope.h:41:18: note: candidate constructor not viable: requires 1 argument, but 4 were provided
        explicit XMLDocumentParserScope(CachedResourceLoader*);
                 ^
In file included from /home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/build/WebCore/DerivedSources/unified-sources/UnifiedSource-42f7b70e-4.cpp:6:
/home/$MY_USERNAME/webkit2gtk-4.1-imgpaste/src/webkitgtk-2.42.2/Source/WebCore/xml/XSLTProcessorLibxslt.cpp:131:9: error: no matching function for call to 'xmlSetStructuredErrorFunc'
        xmlSetStructuredErrorFunc(console, XSLTProcessor::parseErrorFunc);
        ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libxml2/libxml/xmlerror.h:897:5: note: candidate function not viable: no known conversion from 'void (void *, xmlError *)' (aka 'void (void *, _xmlError *)') to 'xmlStructuredErrorFunc' (aka 'void (*)(void *, const _xmlError *)') for 2nd argument
    xmlSetStructuredErrorFunc   (void *ctx,
    ^
2 errors generated.
[3775/6887] Building CXX object Source/WebCore/CMakeFiles/WebCoreTestSupport.dir/testing/Internals.cpp.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...

q234rty commented on 2022-08-01 15:49 (UTC)

This is a patched version of webkit2gtk-4.1 w/ image data pasting support.

This is based on the original patch in https://github.com/ttys3/archlinux-webkit2gtk, modified to use proper filenames and support larger images.