ledger

Rating: 
5
Your rating: None Average: 5 (3 votes)

Ledger is a powerful, double-entry accounting system that is accessed
from the UNIX command-line. This may put off some users as there is
no flashy UI but for those who want unparalleled reporting access to
their data, there really is no alternative.

Application versions: 
AttachmentSizeDate
File ledger-3.1.1-1.armv7hl.rpm33.43 MB06/01/2019 - 17:24
File ledger-3.1.2-1.armv7hl.rpm33.49 MB05/03/2019 - 16:43
File ledger-3.1.3-1.armv7hl.rpm5.31 MB01/05/2019 - 15:12
File ledger-3.1.3-1.i486.rpm5.77 MB01/05/2019 - 16:38
Changelog: 

- New upstream release

Comments

arepo's picture

After upgrading and the obligatory pkcon refresh and zypper refresh I was able to install ledger through storeman and it works.
Thanks, I have been waiting 2 years for this.

razcampagne's picture

You're welcome!

arepo's picture

I'm afraid you're right about me being behind. libstc++: Version: 4.8.3-1.1.8.jolla, Repository: jolla.
Will upgrade and try again, thanks.

arepo's picture

Xperia X, sorry I said Jolla, it's a Sony, SailfishX 3.0, build 3.0.1.11, device adaptation 0.2.1.11.
Hoops: installed store manager, had to do
# pkcon refresh && pkcon install zypper
# zypper refresh
Then tried to install ledger by selecting 'install' in the store manager, which immediately resulted in that error.

razcampagne's picture

It seems your sailfishos is several versions behind (the latest is 3.1.0.11).

I can't find when libstdc++ was last updated but as the package ledger-3.1.3-1 was built when sailfishos 3.0.3 was released, I'd suggest you update your device.

If for whatever reason you can't update it, you might be able to install an older package for ledger but you would need to download it manually from openrepos.net

Just to be sure, could you copy/paste the result of the following command on your device?

$ zypper info libstdc++
arepo's picture

Great was my joy finding a ledger instance for my jolla but after going through some hoops I got stuck at: "Nothing provides libstdc++.so. 6(CXXABI_1.3.8) needed by ledger-3.1.3-1.armv7hl".

razcampagne's picture

What is your jolla device and sailfishos version and how are you trying to install this package?
What kind of hoops did you go through?

nobodyinperson's picture

Really nice to have ledger on my Jolla. Did you build it on-device?

razcampagne's picture

Thanks!
Yes, I couldn't build it in the sdk due to memory exhausted issues so it was easier to build it on-device.

3vixan's picture

Amazing see ledger on SFOS! But with the last update something brokes it: the command "ledger" is no more known.

razcampagne's picture

Yes, it has likely been uninstalled during the update because one of its dependencies is no longer satisfied.

I'll update the package when the sdk for the latest version is available.

cy8aer's picture

Yup, seems to be the solution

cy8aer's picture

oups - unfortunately I need a python3 version because the qml infra works with py3. Don't put too much work into it. But thank you for your effort.

razcampagne's picture

Oops indeed. As far as I can tell upstream ledger doesn't support python3 so we are out of luck.

even though, ledger is pretty much unix-styled so I think you can still build an application centered around its cli interface.

cy8aer's picture

Great news that someone made this work. Would it be possible to also build the python-ledger support e.g. into an additional package? I use ledger but it would be nice to have some mobile app for tickering in stuff when just purchasing something on the street. So I also thougt about some useful implementation but the main ledger engine was missing by now...

razcampagne's picture

Well, it was easier than I thought. You'll find the package python2-ledger in my repository.

But because I used a wrong version scheme for the packaging you might get an error if you don't remove this package first by hand. Sorry about that.

razcampagne's picture

Hi,

Glad somebody find this useful. While building this package there were some missing dependencies for python support so I left it out for the time being because I mostly use ledger within emacs but I'll look into it. It would be great to have a graphical application on sailfishos.

I'm anything but an expert on rpm packaging so please bear with me…