No package 'webkit2gtk-3.0' found
Opened this issue · 12 comments
The package is installed and all other requirements as well but autogen still doesn't find the package :( I'm using GNOME Shell 3.14 on hAntergos (based on Arch Linux). Any idea how to solve this?
bump
Hi,
Do you also have a development packages installed (libwebkit2gtk-3.0-dev, libgtk-3-dev)?
You could try adjusting PKG_CONFIG_PATH environment variable.
The development files are automatically included in the main webkit2gtk and libgtk3 packages on Arch.
I managed to create a PKGBUILD that worked me in gnome 3.12. I proposed to Marta create the package in AUR, but to coincide with the upgrade to 3.14, has ceased to be compiled and the installation is interrupted.
I put the link to my AUR repo, if you want to resume the PKGBUILD and among all get to be usable again.
https://github.com/ValHue/AUR-PKGBUILDs/tree/master/gnome-books-git
Thank you so much @valhue ! That PKGBUILD works fine on 3.14 on my Antergos. But it won't load my books though:
vistaus@heimenssp3:~/OtherApps/AUR-PKGBUILDs/gnome-books-git$ gnome-books
(gnome-books:21469): GLib-GObject-WARNING **: The property GSettings:schema is deprecated and shouldn't be used anymore. It will be removed in a future version.
(gnome-books:21469): Gtk-WARNING **: Theme directory 48x48/app of theme Numix-Square has no size field
webkit_load_started: 'book:'
Path:
Failed to load book:!
webkit_load_finished: ''
(gnome-books:21469): Gtk-CRITICAL **: gtk_tree_model_foreach: assertion 'GTK_IS_TREE_MODEL (model)' failed
(gnome-books:21469): Gtk-CRITICAL **: gtk_tree_model_foreach: assertion 'GTK_IS_TREE_MODEL (model)' failed
^C
vistaus@heimenssp3:~/OtherApps/AUR-PKGBUILDs/gnome-books-git$
I did create a folder Books and put the EPUB in it.
Do you have any books in the folder $HOME/Books? As a first solution that was hard coded, be it's going to be more dynamic, and easier for the user in the future.
There are also some issues with the backend (epub library) in opening/reading some epub files. So a lot more is to be done, to make it stable and working solution.
Yes, like I said: I do have a book .epub in $HOME/Books.
To me the same thing happened.
Extracts the contents of epub file and renames the cover.jpg file by the same filename "book".epub file. Paste it with book.epub and removes the remaining contents. You'll have something like this:
XXXX.epub
XXXX.jpg
You load it. But it throws a lot of mistakes and I can not read anything.
Webkit_load_started: 'book:'
Path:
Failed to load book:!
webkit_load_finished: ''(gnome-books:23917): Gtk-CRITICAL **: gtk_tree_model_foreach: assertion 'GTK_IS_TREE_MODEL (model)' failed
undefined:1:16: CONSOLE ERROR ReferenceError: Can't find variable: ePub
undefined:1:32: CONSOLE ERROR TypeError: null is not an object (evaluating 'document.getElementById('area').innerHTML = ''')
undefined:1:5: CONSOLE ERROR TypeError: undefined is not an object (evaluating 'Book.getToc')
undefined:1:16: CONSOLE ERROR ReferenceError: Can't find variable: ePub
undefined:1:32: CONSOLE ERROR TypeError: null is not an object (evaluating 'document.getElementById('area').innerHTML = ''')
undefined:1:5: CONSOLE ERROR TypeError: undefined is not an object (evaluating 'Book.getToc')(gnome-books:23917): Gtk-CRITICAL **: gtk_tree_model_foreach: assertion 'GTK_IS_TREE_MODEL (model)' failed
undefined:1:16: CONSOLE ERROR ReferenceError: Can't find variable: ePub
undefined:1:32: CONSOLE ERROR TypeError: null is not an object (evaluating 'document.getElementById('area').innerHTML = ''')
undefined:1:5: CONSOLE ERROR TypeError: undefined is not an object (evaluating 'Book.getToc')
undefined:1:5: CONSOLE ERROR TypeError: undefined is not an object (evaluating 'Book.ready')
undefined:1:5: CONSOLE ERROR TypeError: undefined is not an object (evaluating 'Book.ready')
undefined:1:6: CONSOLE ERROR TypeError: undefined is not an object (evaluating 'Book.pagination')** (gnome-books:23917): WARNING **: Error running javascript: An exception was raised in JavaScript
I have improved the PKGBUILD, as soon as you can read something, I will publish it in the AUR repository for users of Arch and its derivatives help me to improve it.
** Sorry for my english, I'm Spanish and use google translator to avoid mistakes, but I think I do not understand. :(
Building on Fedora 21, I also stumbled across the dependency on webkit2gtk-3
, which is not supported in this GNOME based distribution anymore and seems to have been deprecated by webkitgtk4
. Therefore I am also unable to compile.
Same here as @almereyda :(
Thanks for the reports. I will try to update it, so it can be run on Fedora too.