1 |
commit: 6ede9b55e00397596b21e05060683f02d5be7842 |
2 |
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 3 22:11:16 2018 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 3 22:11:38 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ede9b55 |
7 |
|
8 |
media-libs/leptonica: Remove old 1.75.2 |
9 |
|
10 |
Package-Manager: Portage-2.3.31, Repoman-2.3.9 |
11 |
|
12 |
media-libs/leptonica/Manifest | 1 - |
13 |
media-libs/leptonica/files/gnuplot-png.patch | 29 ----------- |
14 |
media-libs/leptonica/leptonica-1.75.2.ebuild | 72 ---------------------------- |
15 |
3 files changed, 102 deletions(-) |
16 |
|
17 |
diff --git a/media-libs/leptonica/Manifest b/media-libs/leptonica/Manifest |
18 |
index a682eb6a1a5..f41ecb5fcdf 100644 |
19 |
--- a/media-libs/leptonica/Manifest |
20 |
+++ b/media-libs/leptonica/Manifest |
21 |
@@ -1,3 +1,2 @@ |
22 |
DIST leptonica-1.74.4.tar.gz 12349877 BLAKE2B 5c4a71c1c4f44b617f16b1b1029455badee268dc1ac459f1c7ffe6af5b8dbe702bdbaa6e5564af6e41d0881c59e1aa43dc40d5164f618f13ca2a563b2aa3bd0e SHA512 e74732c10218430463ca01f15e19d329dceb938e315586ed100c634c4d50809824f1d9bf7eeaf91654caf42ed78a5ae5de7c08e7a1d8884c580c536121627891 |
23 |
-DIST leptonica-1.75.2.tar.gz 12377982 BLAKE2B d2d52a5237f23a812ccd1439a13f579e5a21db51d5f9a00ba6d7d108bf9ab084aa4a032a6fe092e8f302628357a4e947064647b34496aa7c5b02c89f78497c4d SHA512 b5107673d1b94b936105cf9795e349c89bd58b80f5947f8e041867b052580215f4fb5bc728cd893c11082efdde11158562a1c93ad53387b6ffb33e7b9e089efb |
24 |
DIST leptonica-1.76.0.tar.gz 12436958 BLAKE2B 3cbb581340531762090f009393b21252d6f7ecbe3dd7c30043f42e8a437f6ae16d3e95229fedcf6845ca47e4323a35ab3e72e349c6fae35f0587c21b44461ef8 SHA512 83c77bebbf739cecab997ee08f7c9abf3ca884019c559b8f77c292ea2676c464cbf9b6812d7f12aefceef86c19d04bb3bc85119de298647a641b984dcdf3b111 |
25 |
|
26 |
diff --git a/media-libs/leptonica/files/gnuplot-png.patch b/media-libs/leptonica/files/gnuplot-png.patch |
27 |
deleted file mode 100644 |
28 |
index 4e87fca73b3..00000000000 |
29 |
--- a/media-libs/leptonica/files/gnuplot-png.patch |
30 |
+++ /dev/null |
31 |
@@ -1,29 +0,0 @@ |
32 |
-From 1b3c9b64ee204b3f9371cea624c959b3177c9c1d Mon Sep 17 00:00:00 2001 |
33 |
-From: James Le Cuirot <chewi@××××××××××××××.uk> |
34 |
-Date: Tue, 13 Feb 2018 14:37:32 +0000 |
35 |
-Subject: [PATCH] Skip gnuplot tests if it is missing PNG support |
36 |
- |
37 |
---- |
38 |
- prog/reg_wrapper.sh | 6 +++++- |
39 |
- 1 file changed, 5 insertions(+), 1 deletion(-) |
40 |
- |
41 |
-diff --git a/prog/reg_wrapper.sh b/prog/reg_wrapper.sh |
42 |
-index bc60c82..4afdc08 100755 |
43 |
---- a/prog/reg_wrapper.sh |
44 |
-+++ b/prog/reg_wrapper.sh |
45 |
-@@ -32,7 +32,11 @@ TEST_NAME="${TEST_NAME%_reg*}" |
46 |
- |
47 |
- case "${TEST_NAME}" in |
48 |
- baseline|boxa1|colormask|colorspace|dna|enhance|extrema|fpix1|italic|kernel|nearline|projection|rankbin|rankhisto|wordboxes) |
49 |
-- which gnuplot > /dev/null || which wgnuplot > /dev/null || exec ${@%${TEST}} /bin/sh -c "exit 77" ;; |
50 |
-+ GNUPLOT=$(type -P gnuplot wgnuplot) |
51 |
-+ |
52 |
-+ if [ -z "${GNUPLOT}" ] || ! "${GNUPLOT}" -e "set terminal png" 2>/dev/null ; then |
53 |
-+ exec ${@%${TEST}} /bin/sh -c "exit 77" |
54 |
-+ fi |
55 |
- esac |
56 |
- |
57 |
- exec ${@%${TEST}} /bin/sh -c "cd \"${srcdir}\" && \"${PWD}/\"${TEST} generate && \"${PWD}/\"${TEST} compare" |
58 |
--- |
59 |
-2.16.1 |
60 |
- |
61 |
|
62 |
diff --git a/media-libs/leptonica/leptonica-1.75.2.ebuild b/media-libs/leptonica/leptonica-1.75.2.ebuild |
63 |
deleted file mode 100644 |
64 |
index d72072546d5..00000000000 |
65 |
--- a/media-libs/leptonica/leptonica-1.75.2.ebuild |
66 |
+++ /dev/null |
67 |
@@ -1,72 +0,0 @@ |
68 |
-# Copyright 1999-2018 Gentoo Foundation |
69 |
-# Distributed under the terms of the GNU General Public License v2 |
70 |
- |
71 |
-EAPI=6 |
72 |
- |
73 |
-inherit eutils multilib-minimal |
74 |
- |
75 |
-DESCRIPTION="C library for image processing and analysis" |
76 |
-HOMEPAGE="http://www.leptonica.org/" |
77 |
-SRC_URI="https://github.com/DanBloomberg/${PN}/releases/download/${PV}/${P}.tar.gz" |
78 |
-LICENSE="Apache-2.0" |
79 |
-SLOT="0/5" |
80 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos" |
81 |
-IUSE="gif jpeg jpeg2k png static-libs test tiff utils webp zlib" |
82 |
- |
83 |
-# N.B. Tests need some features enabled: |
84 |
-REQUIRED_USE="test? ( jpeg png tiff zlib )" |
85 |
- |
86 |
-RDEPEND="gif? ( >=media-libs/giflib-5.1.3:=[${MULTILIB_USEDEP}] ) |
87 |
- jpeg? ( virtual/jpeg:0=[${MULTILIB_USEDEP}] ) |
88 |
- jpeg2k? ( media-libs/openjpeg:2=[${MULTILIB_USEDEP}] ) |
89 |
- png? ( media-libs/libpng:0=[${MULTILIB_USEDEP}] |
90 |
- sys-libs/zlib:=[${MULTILIB_USEDEP}] ) |
91 |
- tiff? ( media-libs/tiff:0=[${MULTILIB_USEDEP}] ) |
92 |
- webp? ( media-libs/libwebp:=[${MULTILIB_USEDEP}] ) |
93 |
- zlib? ( sys-libs/zlib:=[${MULTILIB_USEDEP}] )" |
94 |
- |
95 |
-DEPEND="${RDEPEND} |
96 |
- test? ( media-libs/tiff:0[zlib] )" |
97 |
- |
98 |
-PATCHES=( "${FILESDIR}"/gnuplot-png.patch ) |
99 |
-ECONF_SOURCE="${S}" |
100 |
-DOCS=( README version-notes ) |
101 |
- |
102 |
-src_prepare() { |
103 |
- default |
104 |
- |
105 |
- # unhtmlize docs |
106 |
- local X |
107 |
- for X in ${DOCS[@]}; do |
108 |
- awk '/<\/pre>/{s--} {if (s) print $0} /<pre>/{s++}' \ |
109 |
- "${X}.html" > "${X}" || die 'awk failed' |
110 |
- rm -f -- "${X}.html" |
111 |
- done |
112 |
-} |
113 |
- |
114 |
-multilib_src_configure() { |
115 |
- econf \ |
116 |
- --enable-shared \ |
117 |
- $(use_with gif giflib) \ |
118 |
- $(use_with jpeg) \ |
119 |
- $(use_with jpeg2k libopenjpeg) \ |
120 |
- $(use_with png libpng) \ |
121 |
- $(use_with tiff libtiff) \ |
122 |
- $(use_with webp libwebp) \ |
123 |
- $(use_with zlib) \ |
124 |
- $(use_enable static-libs static) \ |
125 |
- $(multilib_native_use_enable utils programs) |
126 |
-} |
127 |
- |
128 |
-multilib_src_test() { |
129 |
- default |
130 |
- |
131 |
- # ${TMPDIR} is not respected. It used to be but it lead to issues |
132 |
- # and there have been long debates with upstream about it. :( |
133 |
- rm -rf /tmp/lept/ || die |
134 |
-} |
135 |
- |
136 |
-src_install() { |
137 |
- multilib-minimal_src_install |
138 |
- prune_libtool_files |
139 |
-} |