You are not logged in.
Hi,
I'm stuck with an old python program and can't seem to figure out where to install gir1.2-gtk-3.0 which is a requirement for the program.
As you know what we have right now from webkit2gtk is
$ locate girepository | grep WebKit
/usr/lib/girepository-1.0/WebKit-1.0.typelib
/usr/lib/girepository-1.0/WebKit2-4.0.typelib
/usr/lib/girepository-1.0/WebKit2WebExtension-4.0.typelib
Notice there the WebKit-1.0.typelib which was provided after I installed the legacy version of WebKitgtk2 (from archlinuxcn repo) but it turns out it was the 1.0 instead of 3.0
I also tried to change the requirements of the program to have it work with what I have
gi.require_version('WebKit2', '4.0')
But it was dumb alright, it won't work with newer versions as there are quite some changes between the new typelib and the old one.
I'm guessing the only way would be compiling the old webkit from source code but which version provides git1.2-gtk3.0??
Thanks
Last edited by r0b0t (2018-10-18 18:17:05)
Offline
Ok lol, long hours have their impact, turns out I installed the wrong webkit from that repo...
For other struggling ppl here how to resolve:
Add the repo
cat /etc/pacman.conf | grep archlinuxcn
[archlinuxcn]
Server = https://cdn.repo.archlinuxcn.org/$arch
Then
pacman -S webkitgtk
resolving dependencies...
looking for conflicting packages...
Packages (1) webkitgtk-3:2.4.11-13
Total Download Size: 9.55 MiB
Offline