Botspot / pi-apps

Raspberry Pi App Store for Open Source Projects
GNU General Public License v3.0
2.02k stars 205 forks source link

Foliate #529

Open hmsjy2017 opened 3 years ago

hmsjy2017 commented 3 years ago

A simple and modern e-book reader for Linux desktop. https://github.com/johnfactotum/foliate 59A8A524-5CFF-46AA-91B6-D0B3FB1055CA It provides DEB packages https://github.com/johnfactotum/foliate/releases But I haven't tested it. I compiled it manually. This is the package I built. (armhf). com.github.johnfactotum.foliate_2.4.2_all.zip But it is not the latest version now. It can also be installed via Snapstore and Flathub. It supports both armhf and arm64.

Crilum commented 3 years ago

Do you have a .deb for arm64?

I tried to install your deb on my arm64 RPiOS, and got a Sementation Fault. I'm setting up a armhf VM to test it as well.

Crilum commented 3 years ago

If we could get a really stable arm64 build, I think this would be a good app for Pi-Apps, because the Foliate snap and flatpak package aren't that stable on arm64.

cycool29 commented 3 years ago

Hmm from the latest release deb seems to work on all architechture. (at least for armhf)

@Crilum Can you try on it?

Crilum commented 3 years ago

@cycool29 Yeah. On arm64 it has a Segmetation Fault like I said above, and in an armhf container it loads books endlessly, it can't open books, and the catalogs don't load either.

I'm going to try to build Foliate.

Crilum commented 3 years ago

Well, I built Foliate sucessfully, but it has exactly the same errors as the other debs:

$ sudo com.github.johnfactotum.Foliate

(com.github.johnfactotum.Foliate:7485): Gjs-WARNING **: 09:20:17.971: JS ERROR: Gio.IOErrorEnum: Error when getting information for file “/home/pi/%U”: No such file or directory
getFileInfoAsync/</<@resource:///com/github/johnfactotum/Foliate/js/utils.js:892:25
main@resource:///com/github/johnfactotum/Foliate/js/main.js:477:12
run@resource:///org/gnome/gjs/modules/package.js:225:12
@/usr/bin/com.github.johnfactotum.Foliate:9:1

(com.github.johnfactotum.Foliate:7485): Gjs-WARNING **: 09:20:17.973: JS ERROR: Error: File not found.
_init/<@resource:///com/github/johnfactotum/Foliate/js/epubView.js:623:57
open@resource:///com/github/johnfactotum/Foliate/js/epubView.js:1130:37
async*open@resource:///com/github/johnfactotum/Foliate/js/window.js:1033:9
_init@resource:///com/github/johnfactotum/Foliate/js/window.js:987:24
main/<@resource:///com/github/johnfactotum/Foliate/js/main.js:254:22
main@resource:///com/github/johnfactotum/Foliate/js/main.js:477:12
run@resource:///org/gnome/gjs/modules/package.js:225:12
@/usr/bin/com.github.johnfactotum.Foliate:9:1

bwrap: loopback: Failed RTM_NEWADDR: No child processes

It appears that the main eBook Reader part of the code is missing... As well as some other stuff..

It also freezes if you don't give it sudo.

It also dosen't work at all on arm64... Just has Segmetation fault. It builds just fine though..

Crilum commented 3 years ago

@hmsjy2017 It looks like yours works, if you still want to work on this, maybe you can help us. :+1:

theofficialgman commented 2 years ago

has anyone tried the latest all deb releases? https://github.com/johnfactotum/foliate/releases I just tried on bionic 64bit and the UI loads along with the store, I can download books, but most of them have blank pages or only a title page. no errors in terminal

Crilum commented 2 years ago

The official deb works for me.

archisman-panigrahi commented 2 years ago

The .deb (for all architectures) from Debian bookworm works for me https://packages.debian.org/search?keywords=foliate

theofficialgman commented 2 months ago

The flathub release should be suitable for this application should anyone want to add it.