Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/poedit/files/, app-i18n/poedit/
Date: Tue, 27 Feb 2018 22:08:04
Message-Id: 1519769276.a5525fd9f6bfd7f7ee973a440523af81f2790580.leio@gentoo
1 commit: a5525fd9f6bfd7f7ee973a440523af81f2790580
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 27 22:07:28 2018 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 27 22:07:56 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5525fd9
7
8 app-i18n/poedit: remove old
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 app-i18n/poedit/Manifest | 3 --
13 app-i18n/poedit/files/poedit-1.5.5-wx28.patch | 22 ---------
14 app-i18n/poedit/poedit-1.5.5.ebuild | 46 ------------------
15 app-i18n/poedit/poedit-1.8.7.ebuild | 67 ---------------------------
16 app-i18n/poedit/poedit-2.0.5.ebuild | 56 ----------------------
17 5 files changed, 194 deletions(-)
18
19 diff --git a/app-i18n/poedit/Manifest b/app-i18n/poedit/Manifest
20 index b0b932e28c0..32d3d47c50b 100644
21 --- a/app-i18n/poedit/Manifest
22 +++ b/app-i18n/poedit/Manifest
23 @@ -1,5 +1,2 @@
24 -DIST poedit-1.5.5.tar.gz 2594758 BLAKE2B a0c833bf657bbda89b2109b6da62e6eafc9dddc5be726c9c785836dd7deb558c19b647ac2be649adb2fead4f927d1c855099bf29c5385f56379bfeaca4c802e5 SHA512 a3524e27681dbf97babef7bf3ec56d6b7cd736370f8ed86b53c717a5a2eb36245f9ed89fcd28b57bd4d6f5ff5fb98d6c1615baae0bf10be720dcfdafa57ad4f4
25 DIST poedit-1.8.5.tar.gz 2404829 BLAKE2B f39a7e2e14dab9c0ed0b761a3feb271c8eb0e3b1fdc09c77c6a3dfaaa499e3419881e0959f5a53b07754810adc1518efd4c56a1bb4fd490c1e2a405a7d44ef1c SHA512 87eae2bcedc07eefb097edf263db10b3947956cfa504eddb259e3c3cfed6215ad0da4517fe5132b61041c39a7fbabd298ca42582570295bacbbd62d5ffc6f6a7
26 -DIST poedit-1.8.7.tar.gz 2483945 BLAKE2B 0cea4dfa19bbd7e6563a2872836cf3dd53d45de39fe65323c19daf9e87ba264f38e24a1957a391511a746be164fe8d985348c847524ea80dd99e6988176bbf73 SHA512 609022e696915cddb130c561c7eaa7dff76ce0458f58d9b8de34f0e8b98839cdccaf4a593e0e4eded67252cece08c61f961191f64cf4d76fa148f403d9705e68
27 -DIST poedit-2.0.5.tar.gz 2505740 BLAKE2B 2a10b77a12fd0c687b8c67c23f78e8be21a64461ddd5aef0bdd10626a6926b4f86c2a5b136809b4df2e8533dbcb29d98c197b37d64ff20804986f7bff4166db2 SHA512 097c93306a5b1bc74c7fa0cd49bc7077046219cb1c5e07ea4a45a0487700642eced1f186810c3bf74da74b72d5ebe84efa541229589b42603cd6c678ba4d2950
28 DIST poedit-2.0.6.tar.gz 2511777 BLAKE2B f28e8940310e80ee15fc70f10492e061097f88b62938f8a85194170fd107100c739dbfd1c1cf12516e6fe3d2a9b282986a4368615cf8fcb2ac889075fe64cc6b SHA512 e7beceeb4cd9e4e0269666d634e48622f175a7788219288ba6349a5b15f8360a929018480372e3eecb664d7d2e3093d6788640651696323d6dda0f0780aa5cd2
29
30 diff --git a/app-i18n/poedit/files/poedit-1.5.5-wx28.patch b/app-i18n/poedit/files/poedit-1.5.5-wx28.patch
31 deleted file mode 100644
32 index f10c731c597..00000000000
33 --- a/app-i18n/poedit/files/poedit-1.5.5-wx28.patch
34 +++ /dev/null
35 @@ -1,22 +0,0 @@
36 -catalog.cpp:1155:20: error: 'class wxCharBuffer' has no member named 'length'
37 -
38 -http://www.poedit.net/trac/ticket/513
39 -
40 -
41 ---- a/src/catalog.cpp
42 -+++ b/src/catalog.cpp
43 -@@ -1151,8 +1151,13 @@ inline bool CanEncodeStringToCharset(const wxString& s, wxMBConv& conv)
44 - {
45 - if (s.empty())
46 - return true;
47 -- wxCharBuffer converted(s.mb_str(conv));
48 -+ const wxCharBuffer converted(s.mb_str(conv));
49 -+#if wxCHECK_VERSION(2,9,0)
50 - if ( converted.length() == 0 )
51 -+#else
52 -+ const char *cs = (const char*)converted;
53 -+ if ( cs == NULL || strlen(cs) == 0 )
54 -+#endif
55 - return false;
56 - return true;
57 - }
58
59 diff --git a/app-i18n/poedit/poedit-1.5.5.ebuild b/app-i18n/poedit/poedit-1.5.5.ebuild
60 deleted file mode 100644
61 index ec13358d63d..00000000000
62 --- a/app-i18n/poedit/poedit-1.5.5.ebuild
63 +++ /dev/null
64 @@ -1,46 +0,0 @@
65 -# Copyright 1999-2018 Gentoo Foundation
66 -# Distributed under the terms of the GNU General Public License v2
67 -
68 -EAPI=5
69 -WX_GTK_VER=2.8
70 -
71 -inherit eutils fdo-mime flag-o-matic wxwidgets
72 -
73 -DESCRIPTION="Cross-platform gettext catalogs (.po files) editor"
74 -HOMEPAGE="http://poedit.sourceforge.net/"
75 -SRC_URI="mirror://sourceforge/poedit/${P}.tar.gz"
76 -
77 -LICENSE="MIT CC-BY-2.5 CC-BY-SA-2.5"
78 -SLOT="0"
79 -KEYWORDS="amd64 ~hppa ppc sparc x86"
80 -IUSE="spell"
81 -
82 -RDEPEND="dev-libs/boost
83 - >=sys-libs/db-4.7:*
84 - x11-libs/wxGTK:2.8[X]
85 - spell? ( app-text/gtkspell:2 )"
86 -
87 -DEPEND="${RDEPEND}
88 - virtual/pkgconfig"
89 -
90 -src_prepare() {
91 - epatch "${FILESDIR}"/${P}-wx28.patch
92 -}
93 -
94 -src_configure() {
95 - append-flags -fno-strict-aliasing
96 - econf $(use_enable spell spellchecking)
97 -}
98 -
99 -src_install() {
100 - emake DESTDIR="${D}" install
101 - dodoc AUTHORS NEWS README TODO
102 -}
103 -
104 -pkg_postinst() {
105 - fdo-mime_desktop_database_update
106 -}
107 -
108 -pkg_postrm() {
109 - fdo-mime_desktop_database_update
110 -}
111
112 diff --git a/app-i18n/poedit/poedit-1.8.7.ebuild b/app-i18n/poedit/poedit-1.8.7.ebuild
113 deleted file mode 100644
114 index 4e868c8f55a..00000000000
115 --- a/app-i18n/poedit/poedit-1.8.7.ebuild
116 +++ /dev/null
117 @@ -1,67 +0,0 @@
118 -# Copyright 1999-2017 Gentoo Foundation
119 -# Distributed under the terms of the GNU General Public License v2
120 -
121 -EAPI=6
122 -WX_GTK_VER=3.0-gtk3
123 -
124 -PLOCALES="af am an ar ast az be be@latin bg bn br bs ca ca@valencia ckb co cs da de el en_GB eo es et eu fa fi fr fur fy_NL ga gl he hi hr hu hy id is it ja ka kab kk ko ky lt lv mk mn mr ms nb ne nl nn oc pa pl pt_BR pt_PT ro ru sk sl sq sr sv ta tg th tr tt ug uk ur uz vi wa zh_CN zh_TW"
125 -
126 -inherit fdo-mime l10n wxwidgets
127 -
128 -DESCRIPTION="GUI editor for gettext translations files"
129 -HOMEPAGE="https://poedit.net"
130 -SRC_URI="https://github.com/vslavik/${PN}/releases/download/v${PV}-oss/${P}.tar.gz"
131 -
132 -LICENSE="MIT"
133 -SLOT="0"
134 -KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
135 -IUSE=""
136 -
137 -# db/expat req for legacytm (backwards support for pre 1.6)
138 -# we currently have 1.5.5 in stable so this is enabled
139 -RDEPEND="
140 - app-text/gtkspell:3
141 - dev-cpp/lucene++
142 - dev-libs/boost:=[nls]
143 - dev-libs/expat
144 - dev-libs/icu:=
145 - || (
146 - =sys-libs/db-5*:*[cxx]
147 - =sys-libs/db-4*:*[cxx]
148 - )
149 - <sys-libs/db-6:=[cxx]
150 - x11-libs/gtk+:3
151 - x11-libs/wxGTK:${WX_GTK_VER}[X]
152 - "
153 -
154 -DEPEND="${RDEPEND}
155 - virtual/pkgconfig"
156 -
157 -src_prepare() {
158 - my_rm_loc() {
159 - sed -i -e "/^POEDIT_LINGUAS = /s: ${1}::" locales/Makefile.in || die
160 - rm "locales/${1}.mo" || die
161 - }
162 - l10n_find_plocales_changes 'locales' '' '.mo'
163 - l10n_for_each_disabled_locale_do my_rm_loc
164 -
165 - setup-wxwidgets
166 - default
167 -}
168 -
169 -src_configure() {
170 - econf --without-cpprest --without-cld2
171 -}
172 -
173 -src_install() {
174 - emake DESTDIR="${D}" install
175 - dodoc AUTHORS NEWS README
176 -}
177 -
178 -pkg_postinst() {
179 - fdo-mime_desktop_database_update
180 -}
181 -
182 -pkg_postrm() {
183 - fdo-mime_desktop_database_update
184 -}
185
186 diff --git a/app-i18n/poedit/poedit-2.0.5.ebuild b/app-i18n/poedit/poedit-2.0.5.ebuild
187 deleted file mode 100644
188 index b5857296a23..00000000000
189 --- a/app-i18n/poedit/poedit-2.0.5.ebuild
190 +++ /dev/null
191 @@ -1,56 +0,0 @@
192 -# Copyright 1999-2018 Gentoo Foundation
193 -# Distributed under the terms of the GNU General Public License v2
194 -
195 -EAPI=6
196 -WX_GTK_VER=3.0-gtk3
197 -
198 -PLOCALES="an ar az be be@latin bg bs ca ckb co cs da de el en_GB es et eu fa fi fr ga gl he hr hu hy id is it ja ka kab kk ko lt lv ms nb nl oc pa pl pt_BR pt_PT ro ru sk sl sq sr sv tg th tr uk uz vi zh_CN zh_TW"
199 -
200 -inherit gnome2-utils l10n wxwidgets xdg
201 -
202 -DESCRIPTION="GUI gettext translations editor"
203 -HOMEPAGE="https://poedit.net"
204 -SRC_URI="https://github.com/vslavik/${PN}/releases/download/v${PV}-oss/${P}.tar.gz"
205 -
206 -LICENSE="MIT"
207 -SLOT="0"
208 -KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
209 -IUSE=""
210 -
211 -RDEPEND="
212 - app-text/gtkspell:3
213 - x11-libs/gtk+:3
214 - >=dev-cpp/lucene++-3.0.5
215 - dev-libs/boost:=[nls]
216 - dev-libs/icu:=
217 - >=x11-libs/wxGTK-3.0.3:${WX_GTK_VER}[X]
218 -"
219 -
220 -DEPEND="${RDEPEND}
221 - virtual/pkgconfig"
222 -
223 -src_prepare() {
224 - my_rm_loc() {
225 - sed -i -e "/^POEDIT_LINGUAS = /s: ${1}::" locales/Makefile.in || die
226 - rm "locales/${1}.mo" || die
227 - }
228 - l10n_find_plocales_changes 'locales' '' '.mo'
229 - l10n_for_each_disabled_locale_do my_rm_loc
230 -
231 - setup-wxwidgets
232 - xdg_src_prepare
233 -}
234 -
235 -src_configure() {
236 - econf --without-cpprest --without-cld2
237 -}
238 -
239 -pkg_postinst() {
240 - xdg_pkg_postinst
241 - gnome2_icon_cache_update
242 -}
243 -
244 -pkg_postrm() {
245 - xdg_pkg_postrm
246 - gnome2_icon_cache_update
247 -}