The last stable version of ledger (2.6.3) is 3 years old and has several bugs. A lot of work has been done on the 3.X branch but there has been no official release yet. Despite that, the author of ledger seems to encourage people to use the latest source tree from git. Reproducible: Always
Created attachment 347836 [details] live ebuild for ledger This ebuild builds ledger from the latest sources from the git repository. I had to write it from scratch as ledger now uses cmake. I have tested all USE flags and it seems that everything works fine. The only thing missing is emacs support; I am not an emacs user so I didn't know how to include support for it.
FWIW ledger 3.0 was released back in March of this year. Current version is ledger-3.0.3.
I may be getting interested in using this. Indeed v3 seems to be stable now. Anyone up for bumping the ebuild in the tree?
It seems there's a dependency for a strange library called "utfcpp" missing from the live ebuild
Created attachment 387098 [details] fixed ledger live ebuild I updated the live ebuild to exclude vim-syntax and added bash-completion. Now, for the `stable' version: Using redneb's live ebuild as a base, I tried coming up with an ebuild for 3.1. However, the packaging system used by the devs is quite poor. One of the build dependencies (utfcpp) is a git submodule: EGIT_COMMIT="3.1" worked for the main tree, but it failed trying to pull utfcpp. I am no ebuild wizard (is there a way to do this?), but a build dependency should not be a submodule anyway. Unfortunately, github omits submodules when creating .tar.gz releases. Furthermore, the vim-syntax file is now missing from the tree as it was moved to a separate git repository (ledger/vim-ledger). This is not a huge problem, as you can always use a separate ledger-syntax ebuild. In the end, I repackaged ledger 3.1 (using `utfxpp' from sourceforge) and created a ledger-syntax ebuild with the current master of `ledger/vim-ledger' for private use (I don't really like using -9999). See https://github.com/vehk/pramantha
Created attachment 387100 [details] ledger-syntax live ebuild Here's my live ebuild for ledger-syntax, for completeness sake.
(In reply to Wolfgang Mueller from comment #6) > Here's my live ebuild for ledger-syntax, for completeness sake. I can confirm that this ebuild works correctly for restoring ledger syntax support in vim. I've added it to my personal overlay in the meantime.
Have you think in proxy-maintaining this package?https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers
(In reply to Pacho Ramos from comment #8) > Have you think in proxy-maintaining this > package?https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers According to package metadata, yac is the new maintainer for app-office/ledger.
True :)
I won't add this live ebuild since it's been obsoleted by the 3.x for over a year (in ~arch anyway, over a month in stable). Is there still desire for a live ebuild (based on the 3.1.1 ebuild), or are you folks okay as long as upstream releases are promptly tracked? I only just saw the vim syntax ebuild attachment. I can try to add that soon, although I'm an emacs user so I won't personally use it.