summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-03-11 21:13:46 +0000
committerTim Harder <radhermit@gentoo.org>2011-03-11 21:13:46 +0000
commitba403b1e221c71e15a29da3b4582bf9138cde84e (patch)
tree93693cf4ed3de787bf6a5f1932e4623102f7842b
parentUse Python 2 (bug #315073). (diff)
downloadgentoo-2-ba403b1e221c71e15a29da3b4582bf9138cde84e.tar.gz
gentoo-2-ba403b1e221c71e15a29da3b4582bf9138cde84e.tar.bz2
gentoo-2-ba403b1e221c71e15a29da3b4582bf9138cde84e.zip
Remove old.
(Portage version: 2.2.0_alpha26/cvs/Linux x86_64)
-rw-r--r--app-office/ledger/ChangeLog8
-rw-r--r--app-office/ledger/files/ledger-2.6.1-glibc-2.10.patch38
-rw-r--r--app-office/ledger/ledger-2.6.2.ebuild72
3 files changed, 6 insertions, 112 deletions
diff --git a/app-office/ledger/ChangeLog b/app-office/ledger/ChangeLog
index ae6da059061c..9db629295deb 100644
--- a/app-office/ledger/ChangeLog
+++ b/app-office/ledger/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-office/ledger
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/ledger/ChangeLog,v 1.21 2010/09/29 17:23:51 radhermit Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/ledger/ChangeLog,v 1.22 2011/03/11 21:13:46 radhermit Exp $
+
+ 11 Mar 2011; Tim Harder <radhermit@gentoo.org>
+ -files/ledger-2.6.1-glibc-2.10.patch, -ledger-2.6.2.ebuild:
+ Remove old.
29 Sep 2010; Tim Harder <radhermit@gentoo.org> metadata.xml:
Add myself as maintainer.
diff --git a/app-office/ledger/files/ledger-2.6.1-glibc-2.10.patch b/app-office/ledger/files/ledger-2.6.1-glibc-2.10.patch
deleted file mode 100644
index c7729de0f84f..000000000000
--- a/app-office/ledger/files/ledger-2.6.1-glibc-2.10.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-diff -ur ledger-2.6.1.old/gnucash.cc ledger-2.6.1/gnucash.cc
---- ledger-2.6.1.old/gnucash.cc 2009-07-07 09:10:35.461037758 +0300
-+++ ledger-2.6.1/gnucash.cc 2009-07-07 09:29:17.462613252 +0300
-@@ -201,7 +201,7 @@
- {
- const char * num = number.c_str();
-
-- if (char * p = std::strchr(num, '/')) {
-+ if (const char * p = std::strchr(num, '/')) {
- std::string numer_str(num, p - num);
- std::string denom_str(p + 1);
-
-diff -ur ledger-2.6.1.old/option.cc ledger-2.6.1/option.cc
---- ledger-2.6.1.old/option.cc 2009-07-07 09:10:35.459038062 +0300
-+++ ledger-2.6.1/option.cc 2009-07-07 09:15:26.238434229 +0300
-@@ -893,7 +893,7 @@
- namespace {
- void parse_price_setting(const char * optarg)
- {
-- char * equals = std::strchr(optarg, '=');
-+ const char * equals = std::strchr(optarg, '=');
- if (! equals)
- return;
-
-diff -ur ledger-2.6.1.old/textual.cc ledger-2.6.1/textual.cc
---- ledger-2.6.1.old/textual.cc 2009-07-07 09:10:35.458037934 +0300
-+++ ledger-2.6.1/textual.cc 2009-07-07 09:26:23.627028972 +0300
-@@ -298,8 +298,8 @@
- DEBUG_PRINT("ledger.textual.parse", "line " << linenum << ": " <<
- "Parsed a note '" << xact->note << "'");
-
-- if (char * b = std::strchr(xact->note.c_str(), '['))
-- if (char * e = std::strchr(xact->note.c_str(), ']')) {
-+ if (const char * b = std::strchr(xact->note.c_str(), '['))
-+ if (const char * e = std::strchr(xact->note.c_str(), ']')) {
- char buf[256];
- std::strncpy(buf, b + 1, e - b - 1);
- buf[e - b - 1] = '\0';
diff --git a/app-office/ledger/ledger-2.6.2.ebuild b/app-office/ledger/ledger-2.6.2.ebuild
deleted file mode 100644
index 7c428f4383fa..000000000000
--- a/app-office/ledger/ledger-2.6.2.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/ledger/ledger-2.6.2.ebuild,v 1.3 2010/02/20 08:11:11 abcd Exp $
-
-EAPI=3
-
-inherit eutils elisp-common
-
-DESCRIPTION="A double-entry accounting system with a command-line reporting interface"
-HOMEPAGE="http://wiki.github.com/jwiegley/ledger"
-
-SRC_URI="http://cloud.github.com/downloads/jwiegley/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-macos"
-SLOT="0"
-IUSE="emacs debug gnuplot ofx xml"
-
-DEPEND="dev-libs/gmp
- dev-libs/libpcre
- ofx? ( >=dev-libs/libofx-0.9 )
- xml? ( dev-libs/expat )
- emacs? ( virtual/emacs )
- gnuplot? ( sci-visualization/gnuplot )"
-RDEPEND="${DEPEND}"
-
-SITEFILE=50${PN}-gentoo.el
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-2.6.1-glibc-2.10.patch
-}
-
-src_configure() {
- econf \
- $(use_enable xml) \
- $(use_enable ofx) \
- $(use_enable debug) \
- $(use_with emacs lispdir "${ED}${SITELISP}/${PN}")
-}
-
-src_install() {
-
- dodoc sample.dat README NEWS
-
- ## One script uses vi, the outher the Finance perl module
- ## Did not add more use flags though
- insinto /usr/share/${P}
- doins scripts/entry scripts/getquote scripts/bal scripts/bal-huquq || die
-
- einstall || die "Installation failed!"
-
- # Remove timeclock since it is part of Emacs
- rm -f "${ED}${SITELISP}/${PN}"/timeclock.*
-
- if use emacs; then
- elisp-site-file-install "${FILESDIR}/${SITEFILE}" \
- || die "elisp-site-file-install failed"
- fi
-
- if use gnuplot; then
- mv scripts/report ledger-report
- dobin ledger-report || die
- fi
-}
-
-pkg_postinst() {
- use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
- use emacs && elisp-site-regen
-}