Journal Viewer update for aarch 64 possible

Hello - can anybody update/port the app Journal Viewer from here please? It is unpossible to install on Xperia 10ii. Thanks in advance

Ik I have time tomorrow, and I can get the sdk to work again, I’ll give it a try.

Thanks in advance and this with SDK I will also learn. Tomorrow I will install this and start as beginner :grinning:

2 Likes

Did not have enough time to finish this, but I will continue tomorrow (Tuesday).

Thanks I fighting with Sailfish SDK because I don’t have Win10 64bit :sweat_smile:

I just tried on my side and I’m unable to compile it. There is a missing package called libsystemd-journal and I’m unable to find it. I’m not an expert at all.

The same issue here. I can find the package for other distributions, and the reference should be correct (systemd/Journal - ArchWiki - the journalctl command does work). But the package does not turn up in a zypper search, I cannot find it in openrepos (nor chum) and I do not see it anywhere in the repo / project (https://github.com/CODeRUS/systemd-journal-viewer).
Might it be a package that was provided in an older build of SF? Or is it included in another systemd library? Looks like it: https://github.com/sailfishos/systemd/blob/faf08dde973a9d865c8740184a47b49dcb4da45f/rpm/systemd-mini.spec#L583

I don’t have much experience with the spec-files, I do know a bit about the yaml, but this project doesn’t use the latter.

The library disappeared in this commit which talks about a -compat package, which Jolla as usual does not provide (or once did but does not anymore).

I can’t well read C, but maybe just moving to libsystemd will work? this seems to suggest the libraries were merged.

It seems to have been merged into libsystemd: [solved] libsystemd-journal? => It was merged into libsystemd / Newbie Corner / Arch Linux Forums
I’ll try again later this week with that lib, if I have the time.

Also, there are some hard refences to user nemo and files in /home/nemo. They will have to be fixed also.

[EDIT:] nevermind, found it. :slight_smile: Do you have a forked repo already? I may be able to contribute some things.

1 Like

Ah that wasn’t that hard.

Please test the version from the following location. Note that it is utterly and completely untested by me and may break many things. Probably won’t though.

https://build.sailfishos.org/package/show/home:nephros:devel/systemd-journal-viewer

Especially note that this changes /etc/systemd/journald.conf when installing, setting log to ‘perstistent’ and disabling rate limiting. It has always done that (so if you’re fine with 0.5.5 nothing should change with this one), but I wanted to point it out.

Also, the “Save Log” feature will only work for Device Owner users (nemo or defaultuser, UID/GID 100000) but I think that is an OK limitation.

@xmasjos in case you want to take over maintainership, my changes are here: Commits · nephros/systemd-journal-viewer · GitHub. I have tried to separate out any modifications in self-contained commits which is why there are a dozen or so, all very small.

Myself I will NOT maintain this, especially as the licensing situation is unclear, and there are references to OMP in the code.

Is it possible to have this in the Store?