Gentoo already has app-office/ledger, but this project is dead and didn't update for years. There are two most active forks, and hledger (written in Haskell) is the most popular one.
haskell overlay has it packaged for a while as
If it works for you we can bring it in main gentoo tree as well.
*** Bug 669158 has been marked as a duplicate of this bug. ***
I want hledger and hledger-ui. You should move hledger and its associated programs from haskell overlay to gentoo overlay.
I don't use haskell overlay because of https://bugs.gentoo.org/555266 and https://bugs.gentoo.org/449094
(In reply to crocket from comment #3)
> I don't use haskell overlay because of https://bugs.gentoo.org/555266 and
These problems are not specific to ::haskell overlay.
You're right that https://bugs.gentoo.org/449094 affects every overlay.
You can work around https://bugs.gentoo.org/555266 with stabilization process. But, haskell overlay doesn't stick to this process.
(In reply to crocket from comment #5)
> You're right that https://bugs.gentoo.org/449094 affects every overlay.
::gentoo tree is not exempted from it either.
> You can work around https://bugs.gentoo.org/555266 with stabilization
> process. But, haskell overlay doesn't stick to this process.
stabilization in gentoo does not prevent that from happening. Recent example: bug #633312
(In reply to Sergei Trofimovich from comment #6)
> > You can work around https://bugs.gentoo.org/555266 with stabilization
> > process. But, haskell overlay doesn't stick to this process.
> stabilization in gentoo does not prevent that from happening. Recent
> example: bug #633312
That bug doesn't seem to be related to https://bugs.gentoo.org/555266
Anyway, it would be good to see hledger and its associated programs on gentoo overlay.
I thought about how to use haskell overlay without hassles.
I ran "emerge -p hledger hledger-ui" and added packages to be installed to /etc/portage/packages.accept_keywords/haskell_overlay
Since specific versions of haskell overlay packages are unmasked, a gentoo upgrade will not automatically upgrade haskell overlay packages.
It is stabilization done by a user.
Another vote for this. It is one of the more well known Haskell apps out there.
I tried installing it from the Haskell overlay. After lots and lots of prompts to add this or that to package.accept_keywords, and with a lot of manual interventions, I still couldn't get it to build. The stumbling point is resourcet - I just cannot install any version of it in the overlay that hledger would need. After two nights of this I gave up.
This requires a lot more expertise than I have. Please bring into the Portage tree.
hledger is the most active ledger forks/projects - just see its release notes history: https://hledger.org/release-notes.html
It would be really awesome to have it out of the box. After all, there are way less popular packages in the Gentoo main tree...
Re: Summary: ... app-office/ledger fork
Is hledger really a fork? I thought it's a rewrite in Haskell, where ledger was written in C++?
At this stage it is neither. It does not support all of Ledger's features, and has its own features that Ledger doesn't.