Live data from Hacker News

Foliate – A simple and modern GTK eBook viewer

github.com

61–70 of 120 posts

Re: Foliate – A simple and modern GTK eBook viewer

#63

Ecosystems are tough. I'd never used meson, so I installed it using apt-get. I tried to build Foliate, and got an error about wrong arguments to `project()`. Searching for the error brought results about a wrong version, so I uninstalled meson and reinstalled it using pip. The installation completed fine. I went to run Foliate (com.github.johnfactotum.Foliate, if that wasn't somehow obvious), and I got an error from…

Hi, author of Foliate here. It sounds like you're using something like Ubuntu 16.04 or similar? Foliate currently requires GJS >= 1.52 and Meson >= 0.40. There's an open issue here on supporting older systems: https://github.com/johnfactotum/foliate/issues/45

why don't you make a configure script that detects and warns about these requirements?

Re: Foliate – A simple and modern GTK eBook viewer

#64
post #15
post #11

Earlier quoted context omitted.

yep, is because Arch (basically because qt5 upgrade...), and with the issue on it: https://bugs.archlinux.org/task/63051 $ calibre Fatal Python error: PyQt5.QtCore: Unable to embed qt.conf [1] 13321 abort (core dumped) calibre At that moment, I didn't have time to workaround on it :(

Ah, too bad. It's the crappiest of the bunch UX-wise, but nothing comes close to it feature-wise. I don't use it to read (I have an e-reader for that purpose), but I'd be lost without Calibre for ebook management.

[deleted]

Re: Foliate – A simple and modern GTK eBook viewer

#66

Ecosystems are tough. I'd never used meson, so I installed it using apt-get. I tried to build Foliate, and got an error about wrong arguments to `project()`. Searching for the error brought results about a wrong version, so I uninstalled meson and reinstalled it using pip. The installation completed fine. I went to run Foliate (com.github.johnfactotum.Foliate, if that wasn't somehow obvious), and I got an error from…

Hi, author of Foliate here. It sounds like you're using something like Ubuntu 16.04 or similar? Foliate currently requires GJS >= 1.52 and Meson >= 0.40. There's an open issue here on supporting older systems: https://github.com/johnfactotum/foliate/issues/45

I'm using Debian 9.8 Stretch, released in February.

Re: Foliate – A simple and modern GTK eBook viewer

#67
post #15
post #11

Earlier quoted context omitted.

yep, is because Arch (basically because qt5 upgrade...), and with the issue on it: https://bugs.archlinux.org/task/63051 $ calibre Fatal Python error: PyQt5.QtCore: Unable to embed qt.conf [1] 13321 abort (core dumped) calibre At that moment, I didn't have time to workaround on it :(

Ah, too bad. It's the crappiest of the bunch UX-wise, but nothing comes close to it feature-wise. I don't use it to read (I have an e-reader for that purpose), but I'd be lost without Calibre for ebook management.

I really wish there was a practical alternative to Calibre for general ebook organization purposes. It's extra-painful that Books.app on Mac could almost fit that role, except that it doesn't let you edit enough metadata for your own imported files to properly manage series/publisher stuff.

Re: Foliate – A simple and modern GTK eBook viewer

#68

Earlier quoted context omitted.

This isnt electron, GJS uses native GTK controls

README mentions a dependency on webkit2gtk, probably only for the ebook rendering but it's not far from electron in that case.

Yea, webkit2gtk is pretty heavy (or at least it seems that way when trying to compile it), but it might have been the easiest way to render epub files as their render is pretty similar to HTML.

It's all about tradeoffs and I don't think this one is too bad. I'm glad it isn't a pure electron app.

Now we just need decent open hardware for Linux tablets! I'd love to use this program to read books on one of those mythical open source tablets that can run KDE Plasma.

Re: Foliate – A simple and modern GTK eBook viewer

#69

Ecosystems are tough. I'd never used meson, so I installed it using apt-get. I tried to build Foliate, and got an error about wrong arguments to `project()`. Searching for the error brought results about a wrong version, so I uninstalled meson and reinstalled it using pip. The installation completed fine. I went to run Foliate (com.github.johnfactotum.Foliate, if that wasn't somehow obvious), and I got an error from…

This is exactly what Flatpak solves. https://flathub.org/apps/details/com.github.johnfactotum.Fol...

Yes, I finally installed it via Flatpak. What a fun adventure! First, I had to install Flatpak with apt. Then, I downloaded the Foliate .flatpakref. I installed it with `flatpack install com.github.johnfactotum.Foliate.flatpakref`, which worked the first time!

No, it didn't. Of course, Flatpak let me know that my user account didn't have the ability to configure the remote repositories the Foliate flatpakref specified. I could have searched for the right way to do it, but installing as root seemed to work, and it runs fine as a regular user, too!

But, of course, it doesn't. It doesn't have the ability to open files from most folders. I see by searching that you set sandbox permissions in an application manifest file, but I'm not sure I'm that attached to doing any more of this.

Re: Foliate – A simple and modern GTK eBook viewer

#70

Ecosystems are tough. I'd never used meson, so I installed it using apt-get. I tried to build Foliate, and got an error about wrong arguments to `project()`. Searching for the error brought results about a wrong version, so I uninstalled meson and reinstalled it using pip. The installation completed fine. I went to run Foliate (com.github.johnfactotum.Foliate, if that wasn't somehow obvious), and I got an error from…

> Searching for the error brought results about a wrong version One of the bullet points from the Meson website: > * fun! So if I understand correctly, this modern build tool created to replace all the extant time-wasting build tools got memorialized in Debian in a half-baked state where it's not compatible with future versions. Also-- the fact that you had to leave the hardened bank vault of apt through the screen d…

I don't like Electron — I've brought some of my problems on myself by my love of using minimally-capable old hardware — but this is by far the best statement of the argument for it I've ever heard.
Post reply on HN