summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2015-06-04 23:01:01 +0000
committerJames Le Cuirot <chewi@gentoo.org>2015-06-04 23:01:01 +0000
commit98ead985101a8d10660fbb64a72b813569892e32 (patch)
tree37c128df876794bbbf63afc06e9d18aa3c06eb98 /media-libs/leptonica
parentVersion bump, as requested by Dennis Schridde and tested by Jaco Kroon. Close... (diff)
downloadgentoo-2-98ead985101a8d10660fbb64a72b813569892e32.tar.gz
gentoo-2-98ead985101a8d10660fbb64a72b813569892e32.tar.bz2
gentoo-2-98ead985101a8d10660fbb64a72b813569892e32.zip
Undo use of ADD_LEPTONICA_SUBDIR. I didn't realise this had any effect
outside of the test suite and it probably broke every other usage of the library. Unfortunately the test suite spams tons of files to /tmp and intentionally leaves them there. Setting ADD_LEPTONICA_SUBDIR at least confined the mess to a single directory. Quite frankly, Leptonica should use something like glib instead of badly reinventing the wheel. I will speak to upstream and at least try to get it to respect TMPDIR, which would allow Portage to clean up the mess. (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 9C6D7DE4)
Diffstat (limited to 'media-libs/leptonica')
-rw-r--r--media-libs/leptonica/ChangeLog15
-rw-r--r--media-libs/leptonica/leptonica-1.72-r2.ebuild (renamed from media-libs/leptonica/leptonica-1.72-r1.ebuild)6
2 files changed, 15 insertions, 6 deletions
diff --git a/media-libs/leptonica/ChangeLog b/media-libs/leptonica/ChangeLog
index c976e17f0628..59e4c0c964f3 100644
--- a/media-libs/leptonica/ChangeLog
+++ b/media-libs/leptonica/ChangeLog
@@ -1,6 +1,19 @@
# ChangeLog for media-libs/leptonica
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/leptonica/ChangeLog,v 1.37 2015/05/02 15:59:06 chewi Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/leptonica/ChangeLog,v 1.38 2015/06/04 23:01:01 chewi Exp $
+
+*leptonica-1.72-r2 (04 Jun 2015)
+
+ 04 Jun 2015; James Le Cuirot <chewi@gentoo.org> +leptonica-1.72-r2.ebuild,
+ -leptonica-1.72-r1.ebuild:
+ Undo use of ADD_LEPTONICA_SUBDIR. I didn't realise this had any effect outside
+ of the test suite and it probably broke every other usage of the library.
+ Unfortunately the test suite spams tons of files to /tmp and intentionally
+ leaves them there. Setting ADD_LEPTONICA_SUBDIR at least confined the mess to
+ a single directory. Quite frankly, Leptonica should use something like glib
+ instead of badly reinventing the wheel. I will speak to upstream and at least
+ try to get it to respect TMPDIR, which would allow Portage to clean up the
+ mess.
*leptonica-1.72-r1 (02 May 2015)
diff --git a/media-libs/leptonica/leptonica-1.72-r1.ebuild b/media-libs/leptonica/leptonica-1.72-r2.ebuild
index aee24222fe19..72f13464dfb7 100644
--- a/media-libs/leptonica/leptonica-1.72-r1.ebuild
+++ b/media-libs/leptonica/leptonica-1.72-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/leptonica/leptonica-1.72-r1.ebuild,v 1.1 2015/05/02 15:59:06 chewi Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/leptonica/leptonica-1.72-r2.ebuild,v 1.1 2015/06/04 23:01:01 chewi Exp $
EAPI=5
@@ -39,10 +39,6 @@ src_prepare() {
rm -f -- "${X}.html"
done
- # Don't spam /tmp.
- sed -i -r 's/(#define\s+ADD_LEPTONICA_SUBDIR\s+)0/\11/' \
- src/environ.h || die
-
autotools-utils_src_prepare
}