Live data from Hacker News

Foliate – A simple and modern GTK eBook viewer

github.com

71–80 of 120 posts

Re: Foliate – A simple and modern GTK eBook viewer

#71

Earlier quoted context omitted.

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.

> released in February.

Yeah, that's not how Debian stable works.

Re: Foliate – A simple and modern GTK eBook viewer

#72
post #71

Earlier quoted context omitted.

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

> released in February. Yeah, that's not how Debian stable works.

It's when the point release was done[0]. Obviously not everything was new then. I'm assuming most people who package applications for Linux have an understanding of how Debian works.

[0]: https://www.debian.org/News/2019/20190216

Re: Foliate – A simple and modern GTK eBook viewer

#73

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 propose on building native tools that have all relevant libraries statically linked. Yeah, executable will grow in size, but it's the best of both world : portability, speed and not using javascript.

Re: Foliate – A simple and modern GTK eBook viewer

#74

Earlier quoted context omitted.

This scheme of naming binaries is popular amongst Elementary os apps. Maybe that's were the Dev took the idea from. I don't mind it, and if it bothers you, you can easily alias it to something else

It is a scheme used by Flatpak. The package prefix is mandatory, in order for flatpaks not to stomp on each other.

To be exact Flatpak only requires that for exported data files. Since binaries are not exported they can be named anything.

Re: Foliate – A simple and modern GTK eBook viewer

#75
post #2

I'm using Linux and trying to find a e-reader recently. Here is what I tested on Arch: Calibre: Failed to open Okular: Ugly, cannot modify margin bookworm: No two-page view, only scrolling-mode, and scrolling-mode cannot get the reading progress zathura: too simplify resulting in not know how to use lector: cannot recognize epub...... Buka: cannot open the book. (I don't get the logic flow, create a list first, then…

Regarding Zathura the most readily available resource can be found by running man zathura and man zathurarc. The same info is of course on the web.

It does 2 page view, optionally shows progress, and with the mupdf backend supports epub and pdf and a few more.

Now it doesn't support mobi but calibre can automatically create an epub from the mobi on import.

Calibre is still useful in 17 different ways even if you don't actually use it to read the book.

Re: Foliate – A simple and modern GTK eBook viewer

#76
post #2

I'm using Linux and trying to find a e-reader recently. Here is what I tested on Arch: Calibre: Failed to open Okular: Ugly, cannot modify margin bookworm: No two-page view, only scrolling-mode, and scrolling-mode cannot get the reading progress zathura: too simplify resulting in not know how to use lector: cannot recognize epub...... Buka: cannot open the book. (I don't get the logic flow, create a list first, then…

Impressive, you've tried so much e-readers except the right one: FBreader.

Re: Foliate – A simple and modern GTK eBook viewer

#77
post #71

Earlier quoted context omitted.

> released in February. Yeah, that's not how Debian stable works.

It's when the point release was done[0]. Obviously not everything was new then. I'm assuming most people who package applications for Linux have an understanding of how Debian works. [0]: https://www.debian.org/News/2019/20190216

> Obviously not everything was new then.

Nothing was! Debian stable doesn't update packages (not even minor releases or bugfixes). They only backport security fixes or very critical bugfixes.

Debian 9 was freezed on 2017-02-05. You'll have the version of every package from this date, point release don't change that.

Re: Foliate – A simple and modern GTK eBook viewer

#78

Earlier quoted context omitted.

It is a scheme used by Flatpak. The package prefix is mandatory, in order for flatpaks not to stomp on each other.

To be exact Flatpak only requires that for exported data files. Since binaries are not exported they can be named anything.

Binaries are not exported, but helper launch scripts are (those that do "exec flatpak run ...").

Re: Foliate – A simple and modern GTK eBook viewer

#79
post #2

I'm using Linux and trying to find a e-reader recently. Here is what I tested on Arch: Calibre: Failed to open Okular: Ugly, cannot modify margin bookworm: No two-page view, only scrolling-mode, and scrolling-mode cannot get the reading progress zathura: too simplify resulting in not know how to use lector: cannot recognize epub...... Buka: cannot open the book. (I don't get the logic flow, create a list first, then…

I've never personally used it for epub, but apparently mupdf works with epub files. It's my go-to PDF viewer at least. Just be sure to read the man pages as most operations are keyboard hotkeys.

Mupdf is a better backend for zathura than it is a reader in its own right. It's UI is lacking most notably lacking the ability to access the index.

Re: Foliate – A simple and modern GTK eBook viewer

#80
post #51

Earlier quoted context omitted.

> I tought Vala was the cool language for that kind of apps... I think you’re about ten years behind the trend.

Nope, new applications are commonly being written in Vala. For example bookworm, a GTK eBook viewer.

I didn't say all new applications were being written in JS, did I? So any number of counterexamples does not disprove what I said. We were talking about the trend of what people were looking at using now.
Post reply on HN