Package Details: ledger-git latest-3

Git Clone URL: (read-only, click to copy)
Package Base: ledger-git
Description: A double-entry accounting system with a command-line reporting interface (development version)
Upstream URL:
Licenses: BSD
Conflicts: ledger
Provides: ledger
Submitter: joni
Maintainer: the0
Last Packager: the0
Votes: 23
Popularity: 0.000000
First Submitted: 2009-05-28 01:14
Last Updated: 2019-10-12 19:54

Dependencies (10)

Required by (3)

Sources (1)

Latest Comments

1 2 3 4 5 6 ... Next › Last »

TheGoliath commented on 2020-06-11 13:09

# Maintainer: Ivan Zenin <>
# Maintainer: Johann Klahn <>
# Contributor: Felix Golatofski <>
# Contributor: Nathan Jones <>

pkgdesc='Double-entry accounting system with a command-line reporting interface (Git)'
arch=(i686 x86_64)
depends=(boost-libs libedit mpfr)
makedepends=(boost cmake git python)
        'emacs: emacs interface'
        'python: python library'

pkgver() {
        cd "${srcdir}/$_pkgname"
        # cutting off 'v' prefix that presents in the git tag
        git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'

build() {
        cd "${srcdir}/$_pkgname"

        cmake . \
                -DCMAKE_INSTALL_PREFIX:PATH=/usr \
                -DCMAKE_INSTALL_LIBDIR:PATH=lib \

check() {
        make -C "ledger" check

package () {
  cd "${srcdir}/$_pkgname"

  make DESTDIR="${pkgdir}" install
  install -Dm644 "${pkgdir}/usr/share/licenses/$_pkgname/LICENSE"

May that one be used as it is "cleaner" and closer to the upstream and favors python3 instead of python2? :)

the0 commented on 2019-10-12 19:59

Should be fixed now.

dasc commented on 2019-10-09 21:12

Fresh build fails:

[ 89%] Linking CXX executable ../ledger
/usr/bin/ld: /usr/lib64/ undefined reference to PyUnicode_AsUTF8String' /usr/bin/ld: /usr/lib64/ undefined reference toPyUnicode_FromFormat' /usr/bin/ld: /usr/lib64/ undefined reference to PyModule_Create2' /usr/bin/ld: /usr/lib64/ undefined reference toPyUnicode_FromString' /usr/bin/ld: /usr/lib64/ undefined reference to _Py_fopen' /usr/bin/ld: /usr/lib64/ undefined reference toPyUnicode_FromStringAndSize' /usr/bin/ld: /usr/lib64/ undefined reference to PyBytes_AsString' /usr/bin/ld: /usr/lib64/ undefined reference toPyBytes_Size' /usr/bin/ld: /usr/lib64/ undefined reference to PyUnicode_AsWideChar' /usr/bin/ld: ../ undefined reference toboost::python::detail::init_module(char const, void ()())' /usr/bin/ld: /usr/lib64/ undefined reference to PyUnicode_FromEncodedObject' /usr/bin/ld: /usr/lib64/ undefined reference toPyUnicode_AsUTF8' /usr/bin/ld: /usr/lib64/ undefined reference to `PyUnicode_InternFromString' collect2: error: ld returned 1 exit status

It works if I remove -DUSE_PYTHON=ON.

the0 commented on 2018-06-12 19:02

dwrz, I suppose either ledger-git (this package) or boost-libs package is outdated in your system.

dwrz commented on 2018-06-09 16:23

Getting this error when I run ledger:

ledger: error while loading shared libraries: cannot open shared object file: No such file or directory

the0 commented on 2018-04-18 21:27

arcnmx, done.

arcnmx commented on 2018-04-18 19:23

Could "-DUSE_PYTHON=ON" be added to the cmake line to enable the python interface?

csllbr commented on 2017-01-31 07:46

I've been getting this message to stderr lately. Is this a boost or a ledger problem?

sys:1: RuntimeWarning: to-Python converter for boost::shared_ptr<ledger::commodity_pool_t> already registered; second conversion method ignored.
sys:1: RuntimeWarning: to-Python converter for boost::shared_ptr<ledger::(anonymous namespace)::collector_wrapper> already registered; second conversion method ignored.

ikke commented on 2016-09-21 21:41

Applying this patch fixed it:

FlorianJacob commented on 2016-09-12 10:23

I can't compile the package anymore, probably related to the boost upgrade to 1.61 that also broke

/tmp/yaourt-tmp-florian/aur-ledger-git/src/ledger/src/item.h:127:22: required from here
/usr/include/boost/core/enable_if.hpp:41:10: Fehler: unvollständiger Typ »boost::optional_detail::is_optional_val_init_candidate<std::map<std::__cxx11::basic_string<char>, std::pair<boost::optional<ledger::value_t>, bool>, boost::function<bool(std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>)> >, const boost::optional<std::map<std::__cxx11::basic_string<char>, std::pair<boost::optional<ledger::value_t>, bool>, boost::function<bool(std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>)> > >&>« in geschachtelter Namensangabe verwendet
struct enable_if : public enable_if_c<Cond::value, T> {};