1 |
commit: 66fe73747d082a6a66d10b39e2af2c77e7b9ccd8 |
2 |
Author: Sergey Popov <pinkbyte <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jul 17 11:34:22 2017 +0000 |
4 |
Commit: Sergey Popov <pinkbyte <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 17 11:37:25 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66fe7374 |
7 |
|
8 |
app-text/yagf: version bump, drop old |
9 |
|
10 |
Gentoo-Bug: 545716 |
11 |
|
12 |
Package-Manager: Portage-2.3.6, Repoman-2.3.1 |
13 |
|
14 |
app-text/yagf/Manifest | 3 +- |
15 |
app-text/yagf/yagf-0.9.2.ebuild | 43 ---------------------- |
16 |
.../{yagf-0.9.3.2.ebuild => yagf-0.9.5.ebuild} | 10 +++-- |
17 |
3 files changed, 7 insertions(+), 49 deletions(-) |
18 |
|
19 |
diff --git a/app-text/yagf/Manifest b/app-text/yagf/Manifest |
20 |
index dccb57e3072..03b1f3c3a1a 100644 |
21 |
--- a/app-text/yagf/Manifest |
22 |
+++ b/app-text/yagf/Manifest |
23 |
@@ -1,2 +1 @@ |
24 |
-DIST yagf-0.9.2.tar.gz 258305 SHA256 1099760462c029aa9919ef96809a1b0252d8d735d9d0807ce790f9d3e1e271b8 SHA512 7348b1611654e9478ef915a5c56f729495382e083bf99ad85284a19499027ad380f7781466aa6c21796859623ca3526ce0965f690c784aa2d459a22d201ef98f WHIRLPOOL b91ef8688801951fe780bdb6e005abd3b97ac42ab7f8d0e9b13ab83a7a163caa445d95b6668328ed1336137ca4bfb5391078347f06fd97ca1a3721b7a90db384 |
25 |
-DIST yagf-0.9.3.2.tar.gz 766396 SHA256 32dd2a60ac04f9b08ec06a4e2974fde2fe3af60238b6a1a8de5a0a29b6ead231 SHA512 79fd1f9fe3a6d10e568b46653d6afd8ef050b4dead58aea42f42888461a1a095ff85e0cf577cb641ba13fb4e9be1efadd000688e100675a03f2c91952211b6fc WHIRLPOOL 37d5d777de797a54676933ec4a35668a4a248d6e90f181ab2e414af5e97ab1c8d9297b5ecbe3c99b1db64d536a234e51fada3f0e1a2353119de367632c567961 |
26 |
+DIST yagf-0.9.5.tar.gz 427018 SHA256 c0e9fe4b16d39378319fe37772403104a81c58084aa918e78347f56456ed5ebc SHA512 a0b77e49c11be0ed043d3f44b1c48122cdabf0ae4ae69d84bc01eee0a8b084dae8201234e08816065d449e4d47bd704f282b1cd3b31c3539d201e9f32dfef05c WHIRLPOOL 92a7c6f02aa1bdc567b9599e6a57888a880eeba111c18645f3987f6d350770ef492d8f0394f2b429daabab4843f496819299fb2e9bdca6f6e6d187d4e1facd18 |
27 |
|
28 |
diff --git a/app-text/yagf/yagf-0.9.2.ebuild b/app-text/yagf/yagf-0.9.2.ebuild |
29 |
deleted file mode 100644 |
30 |
index c17046a7749..00000000000 |
31 |
--- a/app-text/yagf/yagf-0.9.2.ebuild |
32 |
+++ /dev/null |
33 |
@@ -1,43 +0,0 @@ |
34 |
-# Copyright 1999-2013 Gentoo Foundation |
35 |
-# Distributed under the terms of the GNU General Public License v2 |
36 |
- |
37 |
-EAPI="5" |
38 |
- |
39 |
-CMAKE_IN_SOURCE_BUILD=1 |
40 |
-PLOCALES="de lt pl ru uk" |
41 |
-inherit cmake-utils l10n |
42 |
- |
43 |
-DESCRIPTION="Graphical front-end for cuneiform and tesseract OCR tools" |
44 |
-HOMEPAGE="http://symmetrica.net/cuneiform-linux/yagf-en.html" |
45 |
-SRC_URI="http://symmetrica.net/cuneiform-linux/${P}.tar.gz" |
46 |
- |
47 |
-LICENSE="GPL-3" |
48 |
-SLOT="0" |
49 |
-KEYWORDS="~amd64 ~x86" |
50 |
-IUSE="scanner cuneiform +tesseract pdf" |
51 |
- |
52 |
-REQUIRED_USE="|| ( cuneiform tesseract )" |
53 |
- |
54 |
-DEPEND=">=dev-qt/qtgui-4.7:4 |
55 |
- app-text/aspell" |
56 |
-RDEPEND="${DEPEND} |
57 |
- cuneiform? ( app-text/cuneiform ) |
58 |
- tesseract? ( app-text/tesseract ) |
59 |
- scanner? ( media-gfx/xsane ) |
60 |
- pdf? ( || ( app-text/poppler[utils] app-text/ghostscript-gpl ) )" |
61 |
- |
62 |
-DOCS=( AUTHORS ChangeLog DESCRIPTION README ) |
63 |
- |
64 |
-src_prepare() { |
65 |
- l10n_find_plocales_changes "src/translations" "${PN}_" '.ts' |
66 |
- |
67 |
- epatch_user |
68 |
-} |
69 |
- |
70 |
-src_install() { |
71 |
- remove_translation() { |
72 |
- rm "${ED}/usr/share/yagf/translations/${PN}_${1}.qm" || die "remove '${PN}_${1}.qm' file failed" |
73 |
- } |
74 |
- cmake-utils_src_install |
75 |
- l10n_for_each_disabled_locale_do remove_translation |
76 |
-} |
77 |
|
78 |
diff --git a/app-text/yagf/yagf-0.9.3.2.ebuild b/app-text/yagf/yagf-0.9.5.ebuild |
79 |
similarity index 84% |
80 |
rename from app-text/yagf/yagf-0.9.3.2.ebuild |
81 |
rename to app-text/yagf/yagf-0.9.5.ebuild |
82 |
index 3d8fd48c7be..3ebcae73386 100644 |
83 |
--- a/app-text/yagf/yagf-0.9.3.2.ebuild |
84 |
+++ b/app-text/yagf/yagf-0.9.5.ebuild |
85 |
@@ -1,14 +1,14 @@ |
86 |
-# Copyright 1999-2014 Gentoo Foundation |
87 |
+# Copyright 1999-2017 Gentoo Foundation |
88 |
# Distributed under the terms of the GNU General Public License v2 |
89 |
|
90 |
-EAPI="5" |
91 |
+EAPI=6 |
92 |
|
93 |
PLOCALES="fr ru" |
94 |
inherit cmake-utils l10n multilib |
95 |
|
96 |
DESCRIPTION="Graphical front-end for cuneiform and tesseract OCR tools" |
97 |
-HOMEPAGE="http://symmetrica.net/cuneiform-linux/yagf-en.html" |
98 |
-SRC_URI="http://symmetrica.net/cuneiform-linux/${P}.tar.gz" |
99 |
+HOMEPAGE="http://sourceforge.net/projects/yagf-ocr/" |
100 |
+SRC_URI="mirror://sourceforge/project/yagf-ocr/${P}.tar.gz" |
101 |
|
102 |
LICENSE="GPL-3" |
103 |
SLOT="0" |
104 |
@@ -32,6 +32,8 @@ RDEPEND="${DEPEND} |
105 |
DOCS=( AUTHORS ChangeLog DESCRIPTION README ) |
106 |
|
107 |
src_prepare() { |
108 |
+ # uk translation generation is broken |
109 |
+ rm src/translations/yagf_uk.ts || die |
110 |
# respect CFLAGS and fix translations path |
111 |
sed -i \ |
112 |
-e '/add_definitions(-Wall -g)/d' \ |