Package Details: webkit2gtk-imgpaste 2.44.2-1

Git Clone URL: https://aur.archlinux.org/webkit2gtk-imgpaste.git (read-only, click to copy)
Package Base: webkit2gtk-imgpaste
Description: Web content engine for GTK (with patches for pasting images from clipboard)
Upstream URL: https://webkitgtk.org
Licenses: LicenseRef-custom
Conflicts: webkit2gtk
Provides: libjavascriptcoregtk-4.0.so, libwebkit2gtk-4.0.so, webkit2gtk
Submitter: q234rty
Maintainer: q234rty
Last Packager: q234rty
Votes: 2
Popularity: 0.023628
First Submitted: 2022-06-22 13:25 (UTC)
Last Updated: 2024-05-20 07:12 (UTC)

Required by (552)

Sources (4)

Pinned Comments

q234rty commented on 2023-09-02 04:41 (UTC)

Prebuilt packages can be found in the [archlinuxcn] repo, see https://github.com/archlinuxcn/repo for instructions.

q234rty commented on 2022-06-22 13:31 (UTC) (edited on 2022-06-22 13:32 (UTC) by q234rty)

This is a patched version of webkit2gtk 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

« First ‹ Previous 1 2

chrisqq commented on 2023-07-03 03:11 (UTC)

This package used to work with cinny (https://aur.archlinux.org/packages/cinny-desktop-bin) but the latest update causes immediate freezing for me now so I had to switch back to the non image paste extra repo package. Are there logs somewhere I could submit in the hopes of getting this fixed?

ttys3 commented on 2023-05-18 06:13 (UTC) (edited on 2023-05-18 06:17 (UTC) by ttys3)

glad that someone like my patch.

as for https://webkitgtk.org/2023/04/20/webkitgtk2.40.1-released.html pasting content using the Asynchronous Clipboard API is enabled for GTK platform. (be aware that this can only works under secure context, so http is not availabe)

I've tested that using navigator.clipboard.read() (only https supported), image paste works good.

but for legacy web pages (which using clipboardData.files or clipboardData.items), this patch is still required for image paste support.

for newest webkitgtk-6.0 (webkitgtk-2.40.1), the patch is almost the same: https://github.com/ttys3/my-fedora-packages/blob/main/src/webkitgtk/PasteboardGtk-legacy-clipboard-image-paste.patch

truongan commented on 2022-08-02 07:25 (UTC)

@q234rty:thanks alot, will try it out right now.

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

@truongan: Done in https://aur.archlinux.org/packages/webkit2gtk-4.1-imgpaste

q234rty commented on 2022-08-01 04:45 (UTC)

@truongan: I can, I just didn't have any motivation to do that because I created this package for tauri apps and I don't use epiphany my self :) Will create a new package later.

truongan commented on 2022-08-01 04:25 (UTC)

I wonder if you have any plan for a similar package for webkit2gtk-4.1. I really need image pasting into epiphany but since it use gtk-4.1, this package won't do much for epiphany :(

q234rty commented on 2022-06-22 13:31 (UTC) (edited on 2022-06-22 13:32 (UTC) by q234rty)

This is a patched version of webkit2gtk 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.