Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 469178 - app-office/ledger-9999 live ebuild
Summary: app-office/ledger-9999 live ebuild
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Erik Mackdanz
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-09 13:06 UTC by redneb
Modified: 2016-10-21 03:01 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
live ebuild for ledger (ledger-9999.ebuild,1.87 KB, text/plain)
2013-05-09 13:08 UTC, redneb
Details
fixed ledger live ebuild (ledger-9999.ebuild,1.88 KB, text/plain)
2014-10-21 00:33 UTC, Wolfgang Müller
Details
ledger-syntax live ebuild (ledger-syntax-99999999.ebuild,484 bytes, text/plain)
2014-10-21 00:35 UTC, Wolfgang Müller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description redneb 2013-05-09 13:06:40 UTC
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
Comment 1 redneb 2013-05-09 13:08:17 UTC
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.
Comment 2 Nick Bowler 2014-09-30 15:30:20 UTC
FWIW ledger 3.0 was released back in March of this year.  Current version is ledger-3.0.3.
Comment 3 Leho Kraav (:macmaN @lkraav) 2014-10-01 22:25:03 UTC
I may be getting interested in using this. Indeed v3 seems to be stable now. Anyone up for bumping the ebuild in the tree?
Comment 4 Leho Kraav (:macmaN @lkraav) 2014-10-02 02:10:31 UTC
It seems there's a dependency for a strange library called "utfcpp" missing from the live ebuild
Comment 5 Wolfgang Müller 2014-10-21 00:33:40 UTC
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
Comment 6 Wolfgang Müller 2014-10-21 00:35:14 UTC
Created attachment 387100 [details]
ledger-syntax live ebuild

Here's my live ebuild for ledger-syntax, for completeness sake.
Comment 7 zlg (RETIRED) gentoo-dev 2015-02-07 04:24:01 UTC
(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.
Comment 8 Pacho Ramos gentoo-dev 2015-02-07 12:06:01 UTC
Have you think in proxy-maintaining this package?https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers
Comment 9 Wolfgang Müller 2015-02-07 16:27:30 UTC
(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.
Comment 10 Pacho Ramos gentoo-dev 2015-02-07 17:01:07 UTC
True :)
Comment 11 Erik Mackdanz gentoo-dev 2016-10-21 03:01:52 UTC
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.