[gentoo-commits] repo/gentoo:master commit in: app-text/stardict/, app-text/stardict/files/, profiles/

2023-06-11 Thread Matt Turner
commit: cb140e2e6bf42b5ca7f88f53afd2806c252a6ac4
Author: Matt Turner  gentoo  org>
AuthorDate: Sun Jun 11 22:25:31 2023 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sun Jun 11 22:30:22 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb140e2e

app-text/stardict: Delete

Bug: https://bugs.gentoo.org/676920
Bug: https://bugs.gentoo.org/710450
Bug: https://bugs.gentoo.org/733006
Bug: https://bugs.gentoo.org/735670
Closes: https://bugs.gentoo.org/905901
Signed-off-by: Matt Turner  gentoo.org>

 app-text/stardict/Manifest |   4 -
 .../files/stardict-4.0.0_pre20160518-tabfile.patch |  38 
 app-text/stardict/metadata.xml |  39 
 app-text/stardict/stardict-3.0.6-r5.ebuild | 189 ---
 .../stardict/stardict-4.0.0_pre20170304-r2.ebuild  | 207 -
 profiles/package.mask  |  10 -
 6 files changed, 487 deletions(-)

diff --git a/app-text/stardict/Manifest b/app-text/stardict/Manifest
deleted file mode 100644
index 6eaa470c5b06..
--- a/app-text/stardict/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-DIST QQWry.Dat.bz2 4114875 BLAKE2B 
3fb1a3b223b799645fcc7adc3d8158c80551bd1d35689a44d4e24978ef3535def3c8c45c37f066ea3969d141aef0c34c6040dcdaf6b3f337b178bbffaf52d86f
 SHA512 
46fd677359a2144429eb9d16131ca6b19db1c086fa93e275aa3d702d3024a65d54064df931d1ed2ba5b0c1f7d9595a284f2a8995d9cd5aac96a45216422dc9ae
-DIST WyabdcRealPeopleTTS.tar.bz2 84329208 BLAKE2B 
1dd9c00e4e914b0d747876aa566db59a4b973b3ec61fa1ed7a55f885d7f415f573f2f8783eca46c565bc52df4ba3576b3a0f4e863b4f7ba688007f6d6b375209
 SHA512 
1553e62c139ecb005bb04163147d94aa58e4ba7f9ee3172b760c6e4776587c12bf816c42e0131c82195b7c738ec9ee5082f39b974790f5cacd522367919beaa0
-DIST stardict-3.0.6.tar.bz2 9341740 BLAKE2B 
df0ccfbd485dfb514bdcf4edaf92b2faf3c11016b025ca09596adcc12738027395a049d9d27420427acdf5c46923cb43ba521d334f875070f5451b7ff147e36f
 SHA512 
81d93324b6e8954af7c20ea6d2a3054bb564d786a21b1cb541c728da7a18a6e7ddb23e595055ccc77e6866bbb8c89fb4f17023e33664761dbe1ee8cd55768658
-DIST stardict-4.0.0_pre20170304.tar.xz 3603012 BLAKE2B 
c9ac41f1e27c013e9c20e5b5477889cb4933ebaf35629311362ec48e820b10a7492d464ac7eddded697ca49f56f65032a1af36088e8e731643e83532e0586e48
 SHA512 
ec27bb95069d727fd96cb30f2d7ad94992cc53e55903b373612e29265263ea5da2c8a25f6c9618db50dc38c33efebe13324c2b8eb09b198559a1ee70029f0b6a

diff --git a/app-text/stardict/files/stardict-4.0.0_pre20160518-tabfile.patch 
b/app-text/stardict/files/stardict-4.0.0_pre20160518-tabfile.patch
deleted file mode 100644
index 49cb284253af..
--- a/app-text/stardict/files/stardict-4.0.0_pre20160518-tabfile.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From adb01aafd94b6bd5b5cc49889f4f09d483ee5ac4 Mon Sep 17 00:00:00 2001
-From: Nikolay Korotkiy 
-Date: Thu, 1 Sep 2016 14:11:41 +0300
-Subject: [PATCH] tabfile: incorrectly handles whitespace in file name
-
-Signed-off-by: Andrew Savchenko 

- tools/src/libtabfile.cpp | 6 --
- 1 file changed, 4 insertions(+), 2 deletions(-)
-
-diff --git a/tools/src/libtabfile.cpp b/tools/src/libtabfile.cpp
-index dda256a..2ee9dfd 100644
 a/tools/src/libtabfile.cpp
-+++ b/tools/src/libtabfile.cpp
-@@ -22,6 +22,7 @@
- #include 
- #include 
- #include 
-+#include 
- #include 
- #include 
- 
-@@ -228,9 +229,10 @@ static bool write_dictionary(const char *filename, GArray 
*array)
-   g_message("%s wordcount: %d.", get_impl(basefilename), array->len);
- 
- #ifndef _WIN32
--  std::string command(std::string("dictzip ") + dicfilename);
-+  std::stringstream command;
-+  command << "dictzip \"" << dicfilename << "\"";
-   int result;
--  result = system(command.c_str());
-+  result = system(command.str().c_str());
-   if (result == -1) {
-   g_print("system() error!\n");
-   }
--- 
-2.10.2
-

diff --git a/app-text/stardict/metadata.xml b/app-text/stardict/metadata.xml
deleted file mode 100644
index 51c3d5af9d72..
--- a/app-text/stardict/metadata.xml
+++ /dev/null
@@ -1,39 +0,0 @@
-
-https://www.gentoo.org/dtd/metadata.dtd;>
-
-   
-   birc...@gentoo.org
-   Andrew Savchenko
-   
-   
-   StarDict is an international dictionary Software. It has 
powerful features
-   such as "Glob-style pattern matching", "Scan selection word," 
"Fuzzy
-   query," etc. Stardict Version3.0 has developed a lot of new 
functions, such
-   as Full-text translation, Net Dict.
-   
-   
-   Enable stardict advertisements 
plugin
-   Enable calendar support using cal 
program
-   Enable dict.cn network plugin (for 
Chinese language)
-   Enable text to speech synthesizer plugin 
using app-accessibility/espeak-ng engine
-   Enable text to speech synthesizer plugin 
using app-accessibility/flite engine
-   Enable plugin to read fortune 

[gentoo-commits] repo/gentoo:master commit in: app-text/stardict/

2023-05-06 Thread Sam James
commit: f60d058e1c323acb165482d92532d2c82af67f62
Author: Sam James  gentoo  org>
AuthorDate: Sat May  6 14:05:59 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat May  6 14:17:53 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f60d058e

app-text/stardict: switch to espeak-ng

At this point, you can't really have espeak installed anyway because so much
stuff unconditionally depends on espeak-ng, so hard-switch this too.

Closes: https://bugs.gentoo.org/835096
Signed-off-by: Sam James  gentoo.org>

 app-text/stardict/metadata.xml| 2 +-
 .../stardict/{stardict-3.0.6-r4.ebuild => stardict-3.0.6-r5.ebuild}   | 4 ++--
 ...0.0_pre20170304-r1.ebuild => stardict-4.0.0_pre20170304-r2.ebuild} | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/app-text/stardict/metadata.xml b/app-text/stardict/metadata.xml
index 2734425ad0ed..51c3d5af9d72 100644
--- a/app-text/stardict/metadata.xml
+++ b/app-text/stardict/metadata.xml
@@ -15,7 +15,7 @@
Enable stardict advertisements 
plugin
Enable calendar support using cal 
program
Enable dict.cn network plugin (for 
Chinese language)
-   Enable text to speech synthesizer plugin 
using app-accessibility/espeak engine
+   Enable text to speech synthesizer plugin 
using app-accessibility/espeak-ng engine
Enable text to speech synthesizer plugin 
using app-accessibility/flite engine
Enable plugin to read fortune messages 
using games-misc/fortune-mod. You may consider installing 
games-misc/fortune-mod-all to get all fortune messages.
Enable plugin for unicode symbols 
description using gnome-extra/gucharmap

diff --git a/app-text/stardict/stardict-3.0.6-r4.ebuild 
b/app-text/stardict/stardict-3.0.6-r5.ebuild
similarity index 98%
rename from app-text/stardict/stardict-3.0.6-r4.ebuild
rename to app-text/stardict/stardict-3.0.6-r5.ebuild
index 717768451a5b..dff06821c281 100644
--- a/app-text/stardict/stardict-3.0.6-r4.ebuild
+++ b/app-text/stardict/stardict-3.0.6-r5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -43,7 +43,7 @@ COMMON_DEPEND="
)
 "
 RDEPEND="${COMMON_DEPEND}
-   espeak? ( >=app-accessibility/espeak-1.29 )
+   espeak? ( >=app-accessibility/espeak-ng-1.29 )
perl? ( dev-lang/perl )
 "
 DEPEND="${COMMON_DEPEND}

diff --git a/app-text/stardict/stardict-4.0.0_pre20170304-r1.ebuild 
b/app-text/stardict/stardict-4.0.0_pre20170304-r2.ebuild
similarity index 99%
rename from app-text/stardict/stardict-4.0.0_pre20170304-r1.ebuild
rename to app-text/stardict/stardict-4.0.0_pre20170304-r2.ebuild
index b1e6adf80770..05ddfeb52ff6 100644
--- a/app-text/stardict/stardict-4.0.0_pre20170304-r1.ebuild
+++ b/app-text/stardict/stardict-4.0.0_pre20170304-r2.ebuild
@@ -38,7 +38,7 @@ COMMON_DEPEND="
x11-libs/gtk+:3
x11-libs/libX11
x11-libs/pango
-   espeak? ( >=app-accessibility/espeak-1.29 )
+   espeak? ( >=app-accessibility/espeak-ng-1.29 )
flite? ( app-accessibility/flite )
gucharmap? ( gnome-extra/gucharmap:2.90= )
spell? ( >=app-text/enchant-1.2:0 )



[gentoo-commits] repo/gentoo:master commit in: app-text/stardict/

2023-04-02 Thread Sam James
commit: b4b2e0b372a75685e5e308b5e49188bc676962e6
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr  3 05:53:03 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr  3 05:53:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4b2e0b3

app-text/stardict: adapt to gnome.org.eclass change

See 2933a4a80112e0efc31c9fe0b249bf3762974ed5.

Closes: https://bugs.gentoo.org/903691
Signed-off-by: Sam James  gentoo.org>

 app-text/stardict/stardict-4.0.0_pre20170304-r1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/app-text/stardict/stardict-4.0.0_pre20170304-r1.ebuild 
b/app-text/stardict/stardict-4.0.0_pre20170304-r1.ebuild
index 5f1a969db7bd..b1e6adf80770 100644
--- a/app-text/stardict/stardict-4.0.0_pre20170304-r1.ebuild
+++ b/app-text/stardict/stardict-4.0.0_pre20170304-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -17,6 +17,7 @@ HOMEPAGE="http://stardict-4.sourceforge.net/
 SRC_URI="https://dev.gentoo.org/~bircoph/distfiles/${P}.tar.xz
pronounce? ( 
https://${PN}-3.googlecode.com/files/WyabdcRealPeopleTTS.tar.bz2 )
qqwry? ( mirror://gentoo/QQWry.Dat.bz2 )"
+S="${WORKDIR}"/${P}
 
 LICENSE="CPL-1.0 GPL-3 LGPL-2"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: app-text/stardict/

2020-09-19 Thread Michał Górny
commit: 68496933adcb964398fd00f85adc8d703266a771
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Sep 19 07:53:03 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Sep 19 08:04:41 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68496933

app-text/stardict: Eradicate python2

Closes: https://bugs.gentoo.org/735248
Signed-off-by: Michał Górny  gentoo.org>

 ...ict-3.0.6-r3.ebuild => stardict-3.0.6-r4.ebuild} | 21 ++---
 ebuild => stardict-4.0.0_pre20170304-r1.ebuild} | 21 ++---
 2 files changed, 4 insertions(+), 38 deletions(-)

diff --git a/app-text/stardict/stardict-3.0.6-r3.ebuild 
b/app-text/stardict/stardict-3.0.6-r4.ebuild
similarity index 87%
rename from app-text/stardict/stardict-3.0.6-r3.ebuild
rename to app-text/stardict/stardict-3.0.6-r4.ebuild
index 66ab1895618..c41fc396803 100644
--- a/app-text/stardict/stardict-3.0.6-r3.ebuild
+++ b/app-text/stardict/stardict-3.0.6-r4.ebuild
@@ -8,9 +8,8 @@ EAPI=6
 #   seperate for now.
 
 GNOME2_LA_PUNT=yes
-PYTHON_COMPAT=( python2_7 )
 
-inherit flag-o-matic gnome2 python-single-r1
+inherit flag-o-matic gnome2
 
 DESCRIPTION="A international dictionary supporting fuzzy and glob style 
matching"
 HOMEPAGE="http://stardict-4.sourceforge.net/;
@@ -22,7 +21,7 @@ LICENSE="CPL-1.0 GPL-3 LGPL-2"
 SLOT="0"
 KEYWORDS="amd64 ~arm ~arm64 ppc ppc64 sparc x86"
 IUSE="advertisement debug dictdotcn espeak examples +gucharmap
-+htmlparse man perl +powerwordparse pronounce python qqwry spell
++htmlparse man perl +powerwordparse pronounce qqwry spell
 tools updateinfo +wikiparse +wordnet +xdxfparse"
 
 RESTRICT="test"
@@ -41,7 +40,6 @@ COMMON_DEPEND="
dev-db/mysql-connector-c
dev-libs/libpcre:=
dev-libs/libxml2:=
-   python? ( ${PYTHON_DEPS} )
)
 "
 RDEPEND="${COMMON_DEPEND}
@@ -56,7 +54,6 @@ DEPEND="${COMMON_DEPEND}
sys-devel/gettext
virtual/pkgconfig
 "
-REQUIRED_USE="tools? ( python? ( ${PYTHON_REQUIRED_USE} ) )"
 
 # docs are messy, installed manually below
 DOCS=""
@@ -71,17 +68,6 @@ src_prepare() {
# libsigc++ started to require c++11 support
append-cxxflags "-std=c++11"
 
-   if use python; then
-   local f
-   # force python shebangs handlable by python_doscript
-   for f in tools/src/*.py; do
-   [[ $(head -n1 "${f}") =~ ^#! ]] || continue
-   sed -i '1 s|.*|#!/usr/bin/python|' tools/src/*.py || die
-   done
-   # script contains UTF-8 symbols, but has no ecoding set
-   sed -i '1 a # -*- coding: utf-8 -*-' tools/src/uyghur2dict.py 
|| die
-   fi
-
eapply_user
gnome2_src_prepare
 }
@@ -162,8 +148,6 @@ src_install() {
${PN}-bin2text ${PN}-repair"
 
use perl && apps+=" dicts-dump.pl ncce2stardict.pl 
parse-oxford.perl"
-   use python && apps+=" hanzim2dict.py jm2stardict.py 
lingea-trd-decoder.py
-   makevietdict.py uyghur2dict.py"
 
for app in ${apps}; do
if [[ "${app}" =~ ^${PN} ]]; then
@@ -172,7 +156,6 @@ src_install() {
newbin "tools/src/${app}" "${PN}_${app}"
fi
done
-   use python && python_doscript "${ED}"usr/bin/*.py
 
docinto tools
dodoc tools/{AUTHORS,ChangeLog,README}

diff --git a/app-text/stardict/stardict-4.0.0_pre20170304.ebuild 
b/app-text/stardict/stardict-4.0.0_pre20170304-r1.ebuild
similarity index 88%
rename from app-text/stardict/stardict-4.0.0_pre20170304.ebuild
rename to app-text/stardict/stardict-4.0.0_pre20170304-r1.ebuild
index 068d4a3d51c..41900b018b6 100644
--- a/app-text/stardict/stardict-4.0.0_pre20170304.ebuild
+++ b/app-text/stardict/stardict-4.0.0_pre20170304-r1.ebuild
@@ -8,9 +8,8 @@ EAPI=6
 #   seperate for now.
 
 GNOME2_LA_PUNT=yes
-PYTHON_COMPAT=( python2_7 )
 
-inherit autotools flag-o-matic gnome2 python-single-r1
+inherit autotools flag-o-matic gnome2
 
 DESCRIPTION="A international dictionary supporting fuzzy and glob style 
matching"
 HOMEPAGE="http://stardict-4.sourceforge.net/
@@ -24,7 +23,7 @@ SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
 IUSE="advertisement cal debug dictdotcn espeak examples flite
 fortune gucharmap +htmlparse info man perl +powerwordparse
-pronounce python qqwry spell tools updateinfo +wikiparse +wordnet
+pronounce qqwry spell tools updateinfo +wikiparse +wordnet
 +xdxfparse youdaodict"
 
 RESTRICT="test"
@@ -47,7 +46,6 @@ COMMON_DEPEND="
dev-libs/expat
dev-libs/libpcre:=
dev-libs/libxml2:=
-   python? ( ${PYTHON_DEPS} )
)
 "
 RDEPEND="${COMMON_DEPEND}
@@ -63,7 +61,6 @@ DEPEND="${COMMON_DEPEND}
sys-devel/gettext
virtual/pkgconfig
 "

[gentoo-commits] repo/gentoo:master commit in: app-text/stardict/

2020-02-02 Thread Mart Raudsepp
commit: ea9bd2f9f15ede489af626c282c7a48ef493a07c
Author: Mart Raudsepp  gentoo  org>
AuthorDate: Sun Feb  2 18:30:11 2020 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Sun Feb  2 19:34:23 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea9bd2f9

app-text/stardict: lock enchant dep to SLOT=0

configure checks only for enchant.pc, not enchant-2.pc

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Mart Raudsepp  gentoo.org>

 app-text/stardict/stardict-3.0.6-r3.ebuild  | 4 ++--
 app-text/stardict/stardict-4.0.0_pre20170304.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/app-text/stardict/stardict-3.0.6-r3.ebuild 
b/app-text/stardict/stardict-3.0.6-r3.ebuild
index 6d913303f55..66ab1895618 100644
--- a/app-text/stardict/stardict-3.0.6-r3.ebuild
+++ b/app-text/stardict/stardict-3.0.6-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -36,7 +36,7 @@ COMMON_DEPEND="
x11-libs/libX11
x11-libs/pango
gucharmap? ( gnome-extra/gucharmap:0= )
-   spell? ( >=app-text/enchant-1.2 )
+   spell? ( >=app-text/enchant-1.2:0 )
tools? (
dev-db/mysql-connector-c
dev-libs/libpcre:=

diff --git a/app-text/stardict/stardict-4.0.0_pre20170304.ebuild 
b/app-text/stardict/stardict-4.0.0_pre20170304.ebuild
index 7ef439a91b4..068d4a3d51c 100644
--- a/app-text/stardict/stardict-4.0.0_pre20170304.ebuild
+++ b/app-text/stardict/stardict-4.0.0_pre20170304.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -41,7 +41,7 @@ COMMON_DEPEND="
espeak? ( >=app-accessibility/espeak-1.29 )
flite? ( app-accessibility/flite )
gucharmap? ( gnome-extra/gucharmap:2.90= )
-   spell? ( >=app-text/enchant-1.2 )
+   spell? ( >=app-text/enchant-1.2:0 )
tools? (
dev-db/mysql-connector-c
dev-libs/expat



[gentoo-commits] repo/gentoo:master commit in: app-text/stardict/

2018-08-25 Thread Andrew Savchenko
commit: df13b6011c2a8117b6c596d72fd944cfd14317fc
Author: Andrew Savchenko  gentoo  org>
AuthorDate: Sat Aug 25 14:34:26 2018 +
Commit: Andrew Savchenko  gentoo  org>
CommitDate: Sat Aug 25 14:34:26 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df13b601

app-text/stardict: remove old

Signed-off-by: Andrew Savchenko  gentoo.org>
Package-Manager: Portage-2.3.48, Repoman-2.3.10

 app-text/stardict/Manifest |   1 -
 .../stardict/stardict-4.0.0_pre20160518-r1.ebuild  | 233 -
 2 files changed, 234 deletions(-)

diff --git a/app-text/stardict/Manifest b/app-text/stardict/Manifest
index f88a0975552..6eaa470c5b0 100644
--- a/app-text/stardict/Manifest
+++ b/app-text/stardict/Manifest
@@ -1,5 +1,4 @@
 DIST QQWry.Dat.bz2 4114875 BLAKE2B 
3fb1a3b223b799645fcc7adc3d8158c80551bd1d35689a44d4e24978ef3535def3c8c45c37f066ea3969d141aef0c34c6040dcdaf6b3f337b178bbffaf52d86f
 SHA512 
46fd677359a2144429eb9d16131ca6b19db1c086fa93e275aa3d702d3024a65d54064df931d1ed2ba5b0c1f7d9595a284f2a8995d9cd5aac96a45216422dc9ae
 DIST WyabdcRealPeopleTTS.tar.bz2 84329208 BLAKE2B 
1dd9c00e4e914b0d747876aa566db59a4b973b3ec61fa1ed7a55f885d7f415f573f2f8783eca46c565bc52df4ba3576b3a0f4e863b4f7ba688007f6d6b375209
 SHA512 
1553e62c139ecb005bb04163147d94aa58e4ba7f9ee3172b760c6e4776587c12bf816c42e0131c82195b7c738ec9ee5082f39b974790f5cacd522367919beaa0
 DIST stardict-3.0.6.tar.bz2 9341740 BLAKE2B 
df0ccfbd485dfb514bdcf4edaf92b2faf3c11016b025ca09596adcc12738027395a049d9d27420427acdf5c46923cb43ba521d334f875070f5451b7ff147e36f
 SHA512 
81d93324b6e8954af7c20ea6d2a3054bb564d786a21b1cb541c728da7a18a6e7ddb23e595055ccc77e6866bbb8c89fb4f17023e33664761dbe1ee8cd55768658
-DIST stardict-4.0.0_pre20160518.tar.xz 3605324 BLAKE2B 
bd160edddef547c72f3002e8a6c290a1538ea25335c8eb66b77d0bc261fe7666019b6e746b1a7d47d3098d5b35fdd091f47132a511cfa118dc3c44dea8361dbe
 SHA512 
5fb04d7870019f17038e0750a2250a0dca44c427f427cd987542eea2bdfab91223e2c01bae844c43f7d8991d51c0420bd4d77ad6d3f7d86cf6f9c50dae7ca50e
 DIST stardict-4.0.0_pre20170304.tar.xz 3603012 BLAKE2B 
c9ac41f1e27c013e9c20e5b5477889cb4933ebaf35629311362ec48e820b10a7492d464ac7eddded697ca49f56f65032a1af36088e8e731643e83532e0586e48
 SHA512 
ec27bb95069d727fd96cb30f2d7ad94992cc53e55903b373612e29265263ea5da2c8a25f6c9618db50dc38c33efebe13324c2b8eb09b198559a1ee70029f0b6a

diff --git a/app-text/stardict/stardict-4.0.0_pre20160518-r1.ebuild 
b/app-text/stardict/stardict-4.0.0_pre20160518-r1.ebuild
deleted file mode 100644
index 554d2eb7bce..000
--- a/app-text/stardict/stardict-4.0.0_pre20160518-r1.ebuild
+++ /dev/null
@@ -1,233 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-# NOTE: Even though the *.dict.dz are the same as dictd/freedict's files,
-#   their indexes seem to be in a different format. So we'll keep them
-#   seperate for now.
-
-GNOME2_LA_PUNT=yes
-PYTHON_COMPAT=( python2_7 )
-
-inherit autotools flag-o-matic gnome2 python-single-r1
-
-DESCRIPTION="A international dictionary supporting fuzzy and glob style 
matching"
-HOMEPAGE="http://stardict-4.sourceforge.net/
-   https://github.com/huzheng001/stardict-3;
-SRC_URI="https://dev.gentoo.org/~bircoph/distfiles/${P}.tar.xz
-   pronounce? ( 
https://${PN}-3.googlecode.com/files/WyabdcRealPeopleTTS.tar.bz2 )
-   qqwry? ( mirror://gentoo/QQWry.Dat.bz2 )"
-
-LICENSE="CPL-1.0 GPL-3 LGPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="advertisement cal debug dictdotcn espeak examples flite
-fortune gnome gucharmap +htmlparse info man perl +powerwordparse
-pronounce python qqwry spell tools updateinfo +wikiparse +wordnet
-+xdxfparse youdaodict"
-
-RESTRICT="test"
-
-COMMON_DEPEND="
-   >=dev-libs/glib-2.32:2
-   dev-libs/libsigc++:2=
-   media-libs/libcanberra[gtk3]
-   sys-libs/zlib:=
-   x11-libs/gdk-pixbuf:2
-   x11-libs/gtk+:3
-   x11-libs/libX11
-   x11-libs/pango
-   espeak? ( >=app-accessibility/espeak-1.29 )
-   flite? ( app-accessibility/flite )
-   gnome? (
-   gnome-base/gconf:2
-   gnome-base/libbonobo
-   gnome-base/libgnome
-   gnome-base/orbit:2
-   )
-   gucharmap? ( gnome-extra/gucharmap:0= )
-   spell? ( >=app-text/enchant-1.2 )
-   tools? (
-   dev-libs/expat
-   dev-libs/libpcre:=
-   dev-libs/libxml2:=
-   virtual/mysql
-   python? ( ${PYTHON_DEPS} )
-   )
-"
-RDEPEND="${COMMON_DEPEND}
-   info? ( sys-apps/texinfo )
-   fortune? ( games-misc/fortune-mod )
-   perl? ( dev-lang/perl )
-"
-DEPEND="${COMMON_DEPEND}
-   app-text/docbook-xml-dtd:4.3
-   app-text/gnome-doc-utils
-   dev-libs/libxslt
-   dev-util/intltool
-   sys-devel/gettext
-   virtual/pkgconfig
-"
-REQUIRED_USE="tools? ( python? ( ${PYTHON_REQUIRED_USE} ) )"
-
-# docs 

[gentoo-commits] repo/gentoo:master commit in: app-text/stardict/

2018-08-25 Thread Andrew Savchenko
commit: 8d0fcece2dd2cc2f6998e6bc9ac81175779c5af9
Author: Andrew Savchenko  gentoo  org>
AuthorDate: Sat Aug 25 14:11:30 2018 +
Commit: Andrew Savchenko  gentoo  org>
CommitDate: Sat Aug 25 14:11:30 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d0fcece

app-text/stardict: version bump

- Update to the latest git snapshot.
- Migrate to dev-db/mysql-connector-c (bug 631230).
- Remove deprecated gnome2 support (bug 644346).
- Update gucharmap slot dependency (bug 664374).

Closes: https://bugs.gentoo.org/664374
Closes: https://bugs.gentoo.org/644346
Closes: https://bugs.gentoo.org/631230
Signed-off-by: Andrew Savchenko  gentoo.org>
Package-Manager: Portage-2.3.48, Repoman-2.3.10

 app-text/stardict/Manifest |   1 +
 .../stardict/stardict-4.0.0_pre20170304.ebuild | 221 +
 2 files changed, 222 insertions(+)

diff --git a/app-text/stardict/Manifest b/app-text/stardict/Manifest
index 5eada587fbf..f88a0975552 100644
--- a/app-text/stardict/Manifest
+++ b/app-text/stardict/Manifest
@@ -2,3 +2,4 @@ DIST QQWry.Dat.bz2 4114875 BLAKE2B 
3fb1a3b223b799645fcc7adc3d8158c80551bd1d35689
 DIST WyabdcRealPeopleTTS.tar.bz2 84329208 BLAKE2B 
1dd9c00e4e914b0d747876aa566db59a4b973b3ec61fa1ed7a55f885d7f415f573f2f8783eca46c565bc52df4ba3576b3a0f4e863b4f7ba688007f6d6b375209
 SHA512 
1553e62c139ecb005bb04163147d94aa58e4ba7f9ee3172b760c6e4776587c12bf816c42e0131c82195b7c738ec9ee5082f39b974790f5cacd522367919beaa0
 DIST stardict-3.0.6.tar.bz2 9341740 BLAKE2B 
df0ccfbd485dfb514bdcf4edaf92b2faf3c11016b025ca09596adcc12738027395a049d9d27420427acdf5c46923cb43ba521d334f875070f5451b7ff147e36f
 SHA512 
81d93324b6e8954af7c20ea6d2a3054bb564d786a21b1cb541c728da7a18a6e7ddb23e595055ccc77e6866bbb8c89fb4f17023e33664761dbe1ee8cd55768658
 DIST stardict-4.0.0_pre20160518.tar.xz 3605324 BLAKE2B 
bd160edddef547c72f3002e8a6c290a1538ea25335c8eb66b77d0bc261fe7666019b6e746b1a7d47d3098d5b35fdd091f47132a511cfa118dc3c44dea8361dbe
 SHA512 
5fb04d7870019f17038e0750a2250a0dca44c427f427cd987542eea2bdfab91223e2c01bae844c43f7d8991d51c0420bd4d77ad6d3f7d86cf6f9c50dae7ca50e
+DIST stardict-4.0.0_pre20170304.tar.xz 3603012 BLAKE2B 
c9ac41f1e27c013e9c20e5b5477889cb4933ebaf35629311362ec48e820b10a7492d464ac7eddded697ca49f56f65032a1af36088e8e731643e83532e0586e48
 SHA512 
ec27bb95069d727fd96cb30f2d7ad94992cc53e55903b373612e29265263ea5da2c8a25f6c9618db50dc38c33efebe13324c2b8eb09b198559a1ee70029f0b6a

diff --git a/app-text/stardict/stardict-4.0.0_pre20170304.ebuild 
b/app-text/stardict/stardict-4.0.0_pre20170304.ebuild
new file mode 100644
index 000..7ef439a91b4
--- /dev/null
+++ b/app-text/stardict/stardict-4.0.0_pre20170304.ebuild
@@ -0,0 +1,221 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# NOTE: Even though the *.dict.dz are the same as dictd/freedict's files,
+#   their indexes seem to be in a different format. So we'll keep them
+#   seperate for now.
+
+GNOME2_LA_PUNT=yes
+PYTHON_COMPAT=( python2_7 )
+
+inherit autotools flag-o-matic gnome2 python-single-r1
+
+DESCRIPTION="A international dictionary supporting fuzzy and glob style 
matching"
+HOMEPAGE="http://stardict-4.sourceforge.net/
+   https://github.com/huzheng001/stardict-3;
+SRC_URI="https://dev.gentoo.org/~bircoph/distfiles/${P}.tar.xz
+   pronounce? ( 
https://${PN}-3.googlecode.com/files/WyabdcRealPeopleTTS.tar.bz2 )
+   qqwry? ( mirror://gentoo/QQWry.Dat.bz2 )"
+
+LICENSE="CPL-1.0 GPL-3 LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="advertisement cal debug dictdotcn espeak examples flite
+fortune gucharmap +htmlparse info man perl +powerwordparse
+pronounce python qqwry spell tools updateinfo +wikiparse +wordnet
++xdxfparse youdaodict"
+
+RESTRICT="test"
+
+COMMON_DEPEND="
+   >=dev-libs/glib-2.32:2
+   dev-libs/libsigc++:2=
+   media-libs/libcanberra[gtk3]
+   sys-libs/zlib:=
+   x11-libs/gdk-pixbuf:2
+   x11-libs/gtk+:3
+   x11-libs/libX11
+   x11-libs/pango
+   espeak? ( >=app-accessibility/espeak-1.29 )
+   flite? ( app-accessibility/flite )
+   gucharmap? ( gnome-extra/gucharmap:2.90= )
+   spell? ( >=app-text/enchant-1.2 )
+   tools? (
+   dev-db/mysql-connector-c
+   dev-libs/expat
+   dev-libs/libpcre:=
+   dev-libs/libxml2:=
+   python? ( ${PYTHON_DEPS} )
+   )
+"
+RDEPEND="${COMMON_DEPEND}
+   info? ( sys-apps/texinfo )
+   fortune? ( games-misc/fortune-mod )
+   perl? ( dev-lang/perl )
+"
+DEPEND="${COMMON_DEPEND}
+   app-text/docbook-xml-dtd:4.3
+   app-text/gnome-doc-utils
+   dev-libs/libxslt
+   dev-util/intltool
+   sys-devel/gettext
+   virtual/pkgconfig
+"
+REQUIRED_USE="tools? ( python? ( ${PYTHON_REQUIRED_USE} ) )"
+
+# docs are messy, installed manually below
+DOCS=""
+
+PATCHES=( 

[gentoo-commits] repo/gentoo:master commit in: app-text/stardict/

2018-08-25 Thread Andrew Savchenko
commit: c20f85f8c5cd3ef3c1f8436e81a2e4c49cfeb96e
Author: Andrew Savchenko  gentoo  org>
AuthorDate: Sat Aug 25 14:44:15 2018 +
Commit: Andrew Savchenko  gentoo  org>
CommitDate: Sat Aug 25 14:44:15 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c20f85f8

app-text/stardict: migrate stable to dev-db/mysql-connector-c

Backport mysql migration dependency for the stable version.

Bug: https://bugs.gentoo.org/631230
Signed-off-by: Andrew Savchenko  gentoo.org>
Package-Manager: Portage-2.3.48, Repoman-2.3.10

 app-text/stardict/stardict-3.0.6-r3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-text/stardict/stardict-3.0.6-r3.ebuild 
b/app-text/stardict/stardict-3.0.6-r3.ebuild
index 677af881150..6d913303f55 100644
--- a/app-text/stardict/stardict-3.0.6-r3.ebuild
+++ b/app-text/stardict/stardict-3.0.6-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -38,9 +38,9 @@ COMMON_DEPEND="
gucharmap? ( gnome-extra/gucharmap:0= )
spell? ( >=app-text/enchant-1.2 )
tools? (
+   dev-db/mysql-connector-c
dev-libs/libpcre:=
dev-libs/libxml2:=
-   virtual/mysql
python? ( ${PYTHON_DEPS} )
)
 "



[gentoo-commits] repo/gentoo:master commit in: app-text/stardict/

2017-11-25 Thread David Seifert
commit: 7b69e48ac9a87696795c277f331ed8c78fdaa76a
Author: David Seifert  gentoo  org>
AuthorDate: Sat Nov 25 18:07:50 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Nov 25 19:54:49 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b69e48a

app-text/stardict: [QA] Consistent whitespace in metadata.xml

 app-text/stardict/metadata.xml | 40 +++-
 1 file changed, 15 insertions(+), 25 deletions(-)

diff --git a/app-text/stardict/metadata.xml b/app-text/stardict/metadata.xml
index e9fe6413591..6f654ddb742 100644
--- a/app-text/stardict/metadata.xml
+++ b/app-text/stardict/metadata.xml
@@ -1,4 +1,4 @@
-
+
 http://www.gentoo.org/dtd/metadata.dtd;>
 

@@ -6,40 +6,30 @@
Andrew Savchenko


-StarDict is an international dictionary Software. It has powerful 
features
-such as "Glob-style pattern matching", "Scan selection word," "Fuzzy
-query," etc. Stardict Version3.0 has developed a lot of new functions, 
such
-as Full-text translation, Net Dict.
-
+   StarDict is an international dictionary Software. It has 
powerful features
+   such as "Glob-style pattern matching", "Scan selection word," 
"Fuzzy
+   query," etc. Stardict Version3.0 has developed a lot of new 
functions, such
+   as Full-text translation, Net Dict.
+   

Enable stardict advertisements 
plugin
Enable calendar support using cal 
program
Enable dict.cn network plugin (for 
Chinese language)
-   Enable text to speech synthesizer plugin 
using
-   app-accessibility/espeak engine
-   Enable text to speech synthesizer plugin 
using
-   app-accessibility/flite engine
-   Enable plugin to read fortune messages 
using
-   games-misc/fortune-mod. You may consider 
installing
-   games-misc/fortune-mod-all to get all 
fortune messages.
-   Enable plugin for unicode symbols 
description using
-   gnome-extra/gucharmap
+   Enable text to speech synthesizer plugin 
using app-accessibility/espeak engine
+   Enable text to speech synthesizer plugin 
using app-accessibility/flite engine
+   Enable plugin to read fortune messages 
using games-misc/fortune-mod. You may consider installing 
games-misc/fortune-mod-all to get all fortune messages.
+   Enable plugin for unicode symbols 
description using gnome-extra/gucharmap
Enable plugin to parse dictionaries with 
html content
Enable plugin to read info pages
Enable plugin to read manual pages
Enable plugin to parse powerword 
dictionaries
-   Install WyabdcRealPeopleTTS package (it 
is just many .wav files)
-   to make StarDict pronounce English words
-   Enable QQWry plugin, which provides 
information (in Chinese language)
-   about geographical positions, owner, etc. for IP 
addresses
-   Build and install dictionary management 
tools and converters from
-   various dictionary formats
+   Install WyabdcRealPeopleTTS package (it 
is just many .wav files) to make StarDict pronounce English words
+   Enable QQWry plugin, which provides 
information (in Chinese language) about geographical positions, owner, etc. for 
IP addresses
+   Build and install dictionary management 
tools and converters from various dictionary formats
Enable plugin to check for stardict 
updates
Enable plugin to parse dictionaries in 
wikimedia format
-   Enable wordnet plugin to find similar 
English words using
-   lexical database
-   Enable plugin to parse dictionaries in 
xdxf (XML Dictionary
-   eXchange Format)
+   Enable wordnet plugin to find similar 
English words using lexical database
+   Enable plugin to parse dictionaries in 
xdxf (XML Dictionary eXchange Format)
Enable youdao.com network plugin (for 
Chinese language)





[gentoo-commits] repo/gentoo:master commit in: app-text/stardict/

2017-01-03 Thread Andrew Savchenko
commit: 7313b0ba4d6941af1298e341a696b4952a1f9184
Author: Andrew Savchenko  gentoo  org>
AuthorDate: Tue Jan  3 20:39:16 2017 +
Commit: Andrew Savchenko  gentoo  org>
CommitDate: Tue Jan  3 21:22:44 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7313b0ba

app-text/stardict: remove old

Package-Manager: Portage-2.3.3, Repoman-2.3.1
Signed-off-by: Andrew Savchenko  gentoo.org>

 app-text/stardict/stardict-3.0.6-r2.ebuild | 140 -
 1 file changed, 140 deletions(-)

diff --git a/app-text/stardict/stardict-3.0.6-r2.ebuild 
b/app-text/stardict/stardict-3.0.6-r2.ebuild
deleted file mode 100644
index 3984b6d..
--- a/app-text/stardict/stardict-3.0.6-r2.ebuild
+++ /dev/null
@@ -1,140 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-# NOTE: Even though the *.dict.dz are the same as dictd/freedict's files,
-#   their indexes seem to be in a different format. So we'll keep them
-#   seperate for now.
-
-# NOTE: Festival plugin crashes, bug 188684. Disable for now.
-
-GNOME2_LA_PUNT=yes
-GCONF_DEBUG=no
-
-inherit eutils flag-o-matic gnome2
-
-DESCRIPTION="A international dictionary supporting fuzzy and glob style 
matching"
-HOMEPAGE="http://stardict-4.sourceforge.net/;
-SRC_URI="mirror://sourceforge/${PN}-4/${P}.tar.bz2
-   pronounce? ( 
https://${PN}-3.googlecode.com/files/WyabdcRealPeopleTTS.tar.bz2 )
-   qqwry? ( mirror://gentoo/QQWry.Dat.bz2 )"
-
-LICENSE="CPL-1.0 GPL-3 LGPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ppc ppc64 sparc x86"
-IUSE="espeak qqwry pronounce spell tools"
-
-RESTRICT="test"
-
-COMMON_DEPEND="
-   >=dev-libs/glib-2.16:2
-   dev-libs/libsigc++:2=
-   sys-libs/zlib:=
-   x11-libs/gdk-pixbuf:2
-   >=x11-libs/gtk+-2.20:2
-   x11-libs/libX11
-   x11-libs/pango
-   spell? ( >=app-text/enchant-1.2 )
-   tools? (
-   dev-libs/libpcre:=
-   dev-libs/libxml2:=
-   virtual/mysql
-   )
-"
-RDEPEND="${COMMON_DEPEND}
-   espeak? ( >=app-accessibility/espeak-1.29 )
-"
-DEPEND="${COMMON_DEPEND}
-   app-text/docbook-xml-dtd:4.3
-   app-text/gnome-doc-utils
-   dev-libs/libxslt
-   dev-util/intltool
-   sys-devel/gettext
-   virtual/pkgconfig
-"
-
-src_prepare() {
-   # From Fedora
-   # Remove unneeded sigc++ header files to make it sure
-   # that we are using system-wide libsigc++
-   # (and these does not work on gcc43)
-   find dict/src/sigc++* -name \*.h -or -name \*.cc | xargs rm -f || die
-
-   # libsigc++ started to require c++11 support
-   append-cxxflags "-std=c++11"
-
-   gnome2_src_prepare
-}
-
-src_configure() {
-   # Hint: EXTRA_ECONF="--enable-gnome-support" and manual install of
-   # libbonobo-2, libgnome-2, libgnomeui-2, gconf-2 and orbit-2 will
-   # give you GNOME 2.x support, that is otherwise considered deprecated
-   # because of the deep GNOME 2.x core library dependencies
-   gnome2_src_configure \
-   $(use_enable tools) \
-   --disable-scrollkeeper \
-   $(use_enable spell) \
-   --disable-gucharmap \
-   --disable-festival \
-   $(use_enable espeak) \
-   $(use_enable qqwry) \
-   --disable-updateinfo \
-   --disable-gnome-support \
-   --disable-gpe-support \
-   --disable-schemas-install
-}
-
-src_install() {
-   gnome2_src_install
-
-   dodoc 
dict/doc/{Documentation,FAQ,HACKING,HowToCreateDictionary,Skins,StarDictFileFormat,Translation}
-
-   if use qqwry; then
-   insinto /usr/share/${PN}/data
-   doins ../QQWry.Dat
-   fi
-
-   if use pronounce; then
-   docinto WyabdcRealPeopleTTS
-   dodoc ../WyabdcRealPeopleTTS/{README,readme.txt}
-   rm -f ../WyabdcRealPeopleTTS/{README,readme.txt}
-   insinto /usr/share
-   doins -r ../WyabdcRealPeopleTTS
-   fi
-
-   # noinst_PROGRAMS with ${PN}_ prefix from tools/src/Makefile.am wrt 
#292773
-   if use tools; then
-   local app
-   local apps="${PN}-editor pydict2dic olddic2newdic oxford2dic 
directory2dic
-   dictd2dic wquick2dic ec50 directory2treedic 
treedict2dir jdictionary mova
-   xmlinout soothill kanjidic2 powerword kdic 21tech 
21shiji buddhist
-   tabfile cedict edict duden ${PN}-dict-update degb2utf 
frgb2utf
-   jpgb2utf gmx2utf rucn kingsoft wikipedia wikipediaImage 
babylon
-   ${PN}2txt ${PN}-verify fest2dict i2e2dict downloadwiki
-   ooo2dict myspell2dic exc2i2e dictbuilder tabfile2sql 
KangXi Unihan
-   xiaoxuetang-ja wubi ydp2dict wordnet lingvosound2resdb
- 

[gentoo-commits] repo/gentoo:master commit in: app-text/stardict/

2017-01-02 Thread Andrew Savchenko
commit: 5fe1e546873657e2a6bc724225883e872cb625e6
Author: Andrew Savchenko  gentoo  org>
AuthorDate: Mon Jan  2 11:09:16 2017 +
Commit: Andrew Savchenko  gentoo  org>
CommitDate: Mon Jan  2 11:09:49 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fe1e546

app-text/stardict: remove old

Package-Manager: Portage-2.3.3, Repoman-2.3.1
Signed-off-by: Andrew Savchenko  gentoo.org>

 .../stardict/stardict-4.0.0_pre20160518.ebuild | 223 -
 1 file changed, 223 deletions(-)

diff --git a/app-text/stardict/stardict-4.0.0_pre20160518.ebuild 
b/app-text/stardict/stardict-4.0.0_pre20160518.ebuild
deleted file mode 100644
index 5a09f99..
--- a/app-text/stardict/stardict-4.0.0_pre20160518.ebuild
+++ /dev/null
@@ -1,223 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-
-# NOTE: Even though the *.dict.dz are the same as dictd/freedict's files,
-#   their indexes seem to be in a different format. So we'll keep them
-#   seperate for now.
-
-GNOME2_LA_PUNT=yes
-PYTHON_COMPAT=( python2_7 )
-
-inherit autotools flag-o-matic gnome2 python-single-r1
-
-DESCRIPTION="A international dictionary supporting fuzzy and glob style 
matching"
-HOMEPAGE="http://stardict-4.sourceforge.net/
-   https://github.com/huzheng001/stardict-3;
-SRC_URI="https://dev.gentoo.org/~bircoph/distfiles/${P}.tar.xz
-   pronounce? ( 
https://${PN}-3.googlecode.com/files/WyabdcRealPeopleTTS.tar.bz2 )
-   qqwry? ( mirror://gentoo/QQWry.Dat.bz2 )"
-
-LICENSE="CPL-1.0 GPL-3 LGPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="advertisement cal debug dictdotcn espeak examples flite
-fortune gucharmap +htmlparse info man perl +powerwordparse
-pronounce python qqwry spell tools updateinfo +wikiparse +wordnet
-+xdxfparse youdaodict"
-
-RESTRICT="test"
-
-COMMON_DEPEND="
-   >=dev-libs/glib-2.32:2
-   dev-libs/libsigc++:2=
-   media-libs/libcanberra[gtk3]
-   sys-libs/zlib:=
-   x11-libs/gdk-pixbuf:2
-   x11-libs/gtk+:3
-   x11-libs/libX11
-   x11-libs/pango
-   espeak? ( >=app-accessibility/espeak-1.29 )
-   flite? ( app-accessibility/flite )
-   gucharmap? ( gnome-extra/gucharmap:0= )
-   spell? ( >=app-text/enchant-1.2 )
-   tools? (
-   dev-libs/expat
-   dev-libs/libpcre:=
-   dev-libs/libxml2:=
-   virtual/mysql
-   python? ( ${PYTHON_DEPS} )
-   )
-"
-RDEPEND="${COMMON_DEPEND}
-   info? ( sys-apps/texinfo )
-   fortune? ( games-misc/fortune-mod )
-   perl? ( dev-lang/perl )
-"
-DEPEND="${COMMON_DEPEND}
-   app-text/docbook-xml-dtd:4.3
-   app-text/gnome-doc-utils
-   dev-libs/libxslt
-   dev-util/intltool
-   sys-devel/gettext
-   virtual/pkgconfig
-"
-REQUIRED_USE="tools? ( python? ( ${PYTHON_REQUIRED_USE} ) )"
-
-# docs are messy, installed manually below
-DOCS=""
-
-PATCHES=( "${FILESDIR}/${P}-tabfile.patch" )
-
-src_prepare() {
-   # From Fedora
-   # Remove unneeded sigc++ header files to make it sure
-   # that we are using system-wide libsigc++
-   # (and these does not work on gcc43)
-   find dict/src/sigc++* -name \*.h -or -name \*.cc | xargs rm -f || die
-
-   # libsigc++ started to require c++11 support
-   append-cxxflags "-std=c++11"
-
-   if use python; then
-   local f
-   # force python shebangs handlable by python_doscript
-   for f in tools/src/*.py; do
-   [[ $(head -n1 "${f}") =~ ^#! ]] || continue
-   sed -i '1 s|.*|#!/usr/bin/python|' tools/src/*.py || die
-   done
-   # script contains UTF-8 symbols, but has no ecoding set
-   sed -i '1 a # -*- coding: utf-8 -*-' tools/src/uyghur2dict.py 
|| die
-   fi
-
-   eapply_user
-   eautoreconf
-   gnome2_src_prepare
-}
-
-src_configure() {
-   # Hint: EXTRA_ECONF="--enable-gnome-support" and manual install of
-   # libbonobo-2, libgnome-2, libgnomeui-2, gconf-2 and orbit-2 will
-   # give you GNOME 2.x support, that is otherwise considered deprecated
-   # because of the deep GNOME 2.x core library dependencies
-
-   # Festival plugin crashes, bug 188684. Disable for now.
-   gnome2_src_configure \
-   --disable-darwin-support \
-   --disable-festival \
-   --disable-gnome-support \
-   --disable-gpe-support \
-   --disable-maemo-support \
-   --disable-schemas-install \
-   --disable-scrollkeeper \
-   $(use_enable advertisement) \
-   $(use_enable cal) \
-   $(use_enable debug) \
-   $(use_enable dictdotcn) \
-   $(use_enable espeak) \
-   $(use_enable flite) \
-   $(use_enable fortune) \
-

[gentoo-commits] repo/gentoo:master commit in: app-text/stardict/

2017-01-02 Thread Andrew Savchenko
commit: e294063cea186ec5842a8795a4e98c019789
Author: Andrew Savchenko  gentoo  org>
AuthorDate: Mon Jan  2 11:07:58 2017 +
Commit: Andrew Savchenko  gentoo  org>
CommitDate: Mon Jan  2 11:09:49 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e294

app-text/stardict: add gnome support

Add conditional gnome-2 support, when it is disabled, remove
AM_GCONF_SOURCE_2 as recommended by upstream (doc/Building) to fix
bug 604318.

Package-Manager: Portage-2.3.3, Repoman-2.3.1
Signed-off-by: Andrew Savchenko  gentoo.org>

 .../stardict/stardict-4.0.0_pre20160518-r1.ebuild  | 234 +
 1 file changed, 234 insertions(+)

diff --git a/app-text/stardict/stardict-4.0.0_pre20160518-r1.ebuild 
b/app-text/stardict/stardict-4.0.0_pre20160518-r1.ebuild
new file mode 100644
index ..0935b86
--- /dev/null
+++ b/app-text/stardict/stardict-4.0.0_pre20160518-r1.ebuild
@@ -0,0 +1,234 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+# NOTE: Even though the *.dict.dz are the same as dictd/freedict's files,
+#   their indexes seem to be in a different format. So we'll keep them
+#   seperate for now.
+
+GNOME2_LA_PUNT=yes
+PYTHON_COMPAT=( python2_7 )
+
+inherit autotools flag-o-matic gnome2 python-single-r1
+
+DESCRIPTION="A international dictionary supporting fuzzy and glob style 
matching"
+HOMEPAGE="http://stardict-4.sourceforge.net/
+   https://github.com/huzheng001/stardict-3;
+SRC_URI="https://dev.gentoo.org/~bircoph/distfiles/${P}.tar.xz
+   pronounce? ( 
https://${PN}-3.googlecode.com/files/WyabdcRealPeopleTTS.tar.bz2 )
+   qqwry? ( mirror://gentoo/QQWry.Dat.bz2 )"
+
+LICENSE="CPL-1.0 GPL-3 LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="advertisement cal debug dictdotcn espeak examples flite
+fortune gnome gucharmap +htmlparse info man perl +powerwordparse
+pronounce python qqwry spell tools updateinfo +wikiparse +wordnet
++xdxfparse youdaodict"
+
+RESTRICT="test"
+
+COMMON_DEPEND="
+   >=dev-libs/glib-2.32:2
+   dev-libs/libsigc++:2=
+   media-libs/libcanberra[gtk3]
+   sys-libs/zlib:=
+   x11-libs/gdk-pixbuf:2
+   x11-libs/gtk+:3
+   x11-libs/libX11
+   x11-libs/pango
+   espeak? ( >=app-accessibility/espeak-1.29 )
+   flite? ( app-accessibility/flite )
+   gnome? (
+   gnome-base/gconf:2
+   gnome-base/libbonobo
+   gnome-base/libgnome
+   gnome-base/orbit:2
+   )
+   gucharmap? ( gnome-extra/gucharmap:0= )
+   spell? ( >=app-text/enchant-1.2 )
+   tools? (
+   dev-libs/expat
+   dev-libs/libpcre:=
+   dev-libs/libxml2:=
+   virtual/mysql
+   python? ( ${PYTHON_DEPS} )
+   )
+"
+RDEPEND="${COMMON_DEPEND}
+   info? ( sys-apps/texinfo )
+   fortune? ( games-misc/fortune-mod )
+   perl? ( dev-lang/perl )
+"
+DEPEND="${COMMON_DEPEND}
+   app-text/docbook-xml-dtd:4.3
+   app-text/gnome-doc-utils
+   dev-libs/libxslt
+   dev-util/intltool
+   sys-devel/gettext
+   virtual/pkgconfig
+"
+REQUIRED_USE="tools? ( python? ( ${PYTHON_REQUIRED_USE} ) )"
+
+# docs are messy, installed manually below
+DOCS=""
+
+PATCHES=( "${FILESDIR}/${P}-tabfile.patch" )
+
+src_prepare() {
+   # From Fedora
+   # Remove unneeded sigc++ header files to make it sure
+   # that we are using system-wide libsigc++
+   # (and these does not work on gcc43)
+   find dict/src/sigc++* -name \*.h -or -name \*.cc | xargs rm -f || die
+
+   # libsigc++ started to require c++11 support
+   append-cxxflags "-std=c++11"
+
+   if use python; then
+   local f
+   # force python shebangs handlable by python_doscript
+   for f in tools/src/*.py; do
+   [[ $(head -n1 "${f}") =~ ^#! ]] || continue
+   sed -i '1 s|.*|#!/usr/bin/python|' tools/src/*.py || die
+   done
+   # script contains UTF-8 symbols, but has no ecoding set
+   sed -i '1 a # -*- coding: utf-8 -*-' tools/src/uyghur2dict.py 
|| die
+   fi
+
+   # bug 604318
+   if ! use gnome; then
+   sed -i '/AM_GCONF_SOURCE_2/d' dict/configure.ac || die
+   fi
+
+   eapply_user
+   eautoreconf
+   gnome2_src_prepare
+}
+
+src_configure() {
+   # Hint: EXTRA_ECONF="--enable-gnome-support" and manual install of
+   # libbonobo-2, libgnome-2, libgnomeui-2, gconf-2 and orbit-2 will
+   # give you GNOME 2.x support, that is otherwise considered deprecated
+   # because of the deep GNOME 2.x core library dependencies
+
+   # Festival plugin crashes, bug 188684. Disable for now.
+   gnome2_src_configure \
+   --disable-darwin-support \
+   --disable-festival \
+   

[gentoo-commits] repo/gentoo:master commit in: app-text/stardict/

2016-12-30 Thread Agostino Sarubbo
commit: 120444bbb09272d054898af674f1e05a8a888fc6
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Dec 30 09:37:10 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Dec 30 09:37:10 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=120444bb

app-text/stardict: sparc stable wrt bug #603676

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-text/stardict/stardict-3.0.6-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/stardict/stardict-3.0.6-r3.ebuild 
b/app-text/stardict/stardict-3.0.6-r3.ebuild
index 0a8927c..4a9062e 100644
--- a/app-text/stardict/stardict-3.0.6-r3.ebuild
+++ b/app-text/stardict/stardict-3.0.6-r3.ebuild
@@ -21,7 +21,7 @@ SRC_URI="mirror://sourceforge/${PN}-4/${P}.tar.bz2
 
 LICENSE="CPL-1.0 GPL-3 LGPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 sparc x86"
 IUSE="advertisement debug dictdotcn espeak examples +gucharmap
 +htmlparse man perl +powerwordparse pronounce python qqwry spell
 tools updateinfo +wikiparse +wordnet +xdxfparse"



[gentoo-commits] repo/gentoo:master commit in: app-text/stardict/

2016-12-26 Thread Aaron Bauman
commit: cc2ee4d95bef8fc1f1ee2deddab5afe211688e13
Author: Aaron Bauman  gentoo  org>
AuthorDate: Mon Dec 26 12:29:41 2016 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Mon Dec 26 12:29:41 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc2ee4d9

app-text/stardict: amd64 stable wrt bug #603676

 app-text/stardict/stardict-3.0.6-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/stardict/stardict-3.0.6-r3.ebuild 
b/app-text/stardict/stardict-3.0.6-r3.ebuild
index 475d4f4..b1dba7f 100644
--- a/app-text/stardict/stardict-3.0.6-r3.ebuild
+++ b/app-text/stardict/stardict-3.0.6-r3.ebuild
@@ -21,7 +21,7 @@ SRC_URI="mirror://sourceforge/${PN}-4/${P}.tar.bz2
 
 LICENSE="CPL-1.0 GPL-3 LGPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
 IUSE="advertisement debug dictdotcn espeak examples +gucharmap
 +htmlparse man perl +powerwordparse pronounce python qqwry spell
 tools updateinfo +wikiparse +wordnet +xdxfparse"



[gentoo-commits] repo/gentoo:master commit in: app-text/stardict/

2016-12-05 Thread Andrew Savchenko
commit: e12d6c0cf94e3663e24d198aa8edec3f7c29e5aa
Author: Andrew Savchenko  gentoo  org>
AuthorDate: Sat Dec  3 18:50:23 2016 +
Commit: Andrew Savchenko  gentoo  org>
CommitDate: Mon Dec  5 12:06:38 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e12d6c0c

app-text/stardict: tools: add new and update dependencies

Package-Manager: portage-2.3.2
Signed-off-by: Andrew Savchenko  gentoo.org>

 app-text/stardict/stardict-4.0.0_pre20160518.ebuild | 21 +++--
 1 file changed, 11 insertions(+), 10 deletions(-)

diff --git a/app-text/stardict/stardict-4.0.0_pre20160518.ebuild 
b/app-text/stardict/stardict-4.0.0_pre20160518.ebuild
index 7003a0d..56ec1b7 100644
--- a/app-text/stardict/stardict-4.0.0_pre20160518.ebuild
+++ b/app-text/stardict/stardict-4.0.0_pre20160518.ebuild
@@ -40,6 +40,7 @@ COMMON_DEPEND="
gucharmap? ( gnome-extra/gucharmap:0= )
spell? ( >=app-text/enchant-1.2 )
tools? (
+   dev-libs/expat
dev-libs/libpcre:=
dev-libs/libxml2:=
virtual/mysql
@@ -153,16 +154,16 @@ src_install() {
# and additional scripts from tools dir
if use tools; then
local app
-   local apps="${PN}-editor pydict2dic olddic2newdic oxford2dic 
directory2dic
-   dictd2dic wquick2dic ec50 directory2treedic 
treedict2dir jdictionary mova
-   xmlinout soothill kanjidic2 powerword kdic 21tech 
21shiji buddhist
-   tabfile cedict edict duden ${PN}-dict-update degb2utf 
frgb2utf
-   jpgb2utf gmx2utf rucn kingsoft wikipedia wikipediaImage 
babylon
-   ${PN}2txt ${PN}-verify fest2dict i2e2dict downloadwiki
-   ooo2dict myspell2dic exc2i2e dictbuilder tabfile2sql 
KangXi Unihan
-   xiaoxuetang-ja wubi ydp2dict wordnet lingvosound2resdb
-   resdatabase2dir dir2resdatabase ${PN}-index sd2foldoc 
${PN}-text2bin
-   ${PN}-bin2text ${PN}-repair"
+   local apps="${PN}-editor pydict2dic olddic2newdic oxford2dic 
directory2dic dictd2dic
+   wquick2dic ec50 directory2treedic treedict2dir 
jdictionary mova xmlinout
+   soothill kanjidic2 powerword kdic 21tech 21shiji 
buddhist tabfile
+   cedict edict duden ${PN}-dict-update degb2utf frgb2utf 
jpgb2utf gmx2utf
+   rucn kingsoft kingsoft2 wikipedia wikipediaImage 
babylon ${PN}2txt ${PN}-verify
+   fest2dict i2e2dict downloadwiki ooo2dict myspell2dic 
exc2i2e
+   dictbuilder tabfile2sql KangXi Unihan xiaoxuetang-ja 
wubi ydp2dict
+   wordnet lingvosound2resdb resdatabase2dir 
dir2resdatabase ${PN}-index
+   sd2foldoc
+   ${PN}-text2bin ${PN}-bin2text ${PN}-repair"
 
use perl && apps+=" dicts-dump.pl ncce2stardict.pl 
parse-oxford.perl"
use python && apps+=" hanzim2dict.py jm2stardict.py 
lingea-trd-decoder.py



[gentoo-commits] repo/gentoo:master commit in: app-text/stardict/

2016-12-05 Thread Andrew Savchenko
commit: 1a7d4604c67c838923c5d2ce028de6e8aed5a140
Author: Andrew Savchenko  gentoo  org>
AuthorDate: Sat Dec  3 18:33:47 2016 +
Commit: Andrew Savchenko  gentoo  org>
CommitDate: Mon Dec  5 12:06:37 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a7d4604

app-text/stardict: install wiki docs

Package-Manager: portage-2.3.2
Signed-off-by: Andrew Savchenko  gentoo.org>

 app-text/stardict/stardict-4.0.0_pre20160518.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app-text/stardict/stardict-4.0.0_pre20160518.ebuild 
b/app-text/stardict/stardict-4.0.0_pre20160518.ebuild
index 5582bd2..7003a0d 100644
--- a/app-text/stardict/stardict-4.0.0_pre20160518.ebuild
+++ b/app-text/stardict/stardict-4.0.0_pre20160518.ebuild
@@ -126,6 +126,7 @@ src_install() {
docinto dict
dodoc dict/{AUTHORS,ChangeLog,README,TODO}
dodoc 
dict/doc/{Documentation,FAQ,HowToCreateDictionary,Skins,StarDictFileFormat,TextualDictionaryFileFormat,Translation}
+   dodoc -r dict/doc/wiki
 
docinto lib
dodoc lib/{AUTHORS,ChangeLog,README}



[gentoo-commits] repo/gentoo:master commit in: app-text/stardict/

2016-12-05 Thread Andrew Savchenko
commit: cfcc53f3d4734e98680e3f51444235c9fec38c21
Author: Andrew Savchenko  gentoo  org>
AuthorDate: Mon Dec  5 10:18:16 2016 +
Commit: Andrew Savchenko  gentoo  org>
CommitDate: Mon Dec  5 12:06:40 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfcc53f3

app-text/stardict: update gtk/glib deps

Package-Manager: portage-2.3.2
Signed-off-by: Andrew Savchenko  gentoo.org>

 app-text/stardict/stardict-4.0.0_pre20160518.ebuild | 7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/app-text/stardict/stardict-4.0.0_pre20160518.ebuild 
b/app-text/stardict/stardict-4.0.0_pre20160518.ebuild
index c638d0f..da192f9 100644
--- a/app-text/stardict/stardict-4.0.0_pre20160518.ebuild
+++ b/app-text/stardict/stardict-4.0.0_pre20160518.ebuild
@@ -31,11 +31,12 @@ pronounce python qqwry spell tools updateinfo +wikiparse 
+wordnet
 RESTRICT="test"
 
 COMMON_DEPEND="
-   >=dev-libs/glib-2.16:2
+   >=dev-libs/glib-2.32:2
dev-libs/libsigc++:2=
+   media-libs/libcanberra[gtk3]
sys-libs/zlib:=
x11-libs/gdk-pixbuf:2
-   >=x11-libs/gtk+-2.20:2
+   x11-libs/gtk+:3
x11-libs/libX11
x11-libs/pango
espeak? ( >=app-accessibility/espeak-1.29 )
@@ -102,9 +103,11 @@ src_configure() {
 
# Festival plugin crashes, bug 188684. Disable for now.
gnome2_src_configure \
+   --disable-darwin-support \
--disable-festival \
--disable-gnome-support \
--disable-gpe-support \
+   --disable-maemo-support \
--disable-schemas-install \
--disable-scrollkeeper \
$(use_enable advertisement) \



[gentoo-commits] repo/gentoo:master commit in: app-text/stardict/files/, app-text/stardict/

2016-12-05 Thread Andrew Savchenko
commit: c11676602622fd25323682d41237ddba5433d7d1
Author: Andrew Savchenko  gentoo  org>
AuthorDate: Mon Dec  5 10:58:02 2016 +
Commit: Andrew Savchenko  gentoo  org>
CommitDate: Mon Dec  5 12:06:41 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1167660

app-text/stardict: fix whitespace handling in tabfile tool

Patch by Nikolay Korotkiy  gmail.com>,
git commit adb01aafd94b6bd5b5cc49889f4f09d483ee5ac4 from
https://github.com/sikmir/stardict-3.git repository.

Package-Manager: portage-2.3.2
Signed-off-by: Andrew Savchenko  gentoo.org>

 .../files/stardict-4.0.0_pre20160518-tabfile.patch | 38 ++
 .../stardict/stardict-4.0.0_pre20160518.ebuild |  2 ++
 2 files changed, 40 insertions(+)

diff --git a/app-text/stardict/files/stardict-4.0.0_pre20160518-tabfile.patch 
b/app-text/stardict/files/stardict-4.0.0_pre20160518-tabfile.patch
new file mode 100644
index ..49cb284
--- /dev/null
+++ b/app-text/stardict/files/stardict-4.0.0_pre20160518-tabfile.patch
@@ -0,0 +1,38 @@
+From adb01aafd94b6bd5b5cc49889f4f09d483ee5ac4 Mon Sep 17 00:00:00 2001
+From: Nikolay Korotkiy 
+Date: Thu, 1 Sep 2016 14:11:41 +0300
+Subject: [PATCH] tabfile: incorrectly handles whitespace in file name
+
+Signed-off-by: Andrew Savchenko 
+---
+ tools/src/libtabfile.cpp | 6 --
+ 1 file changed, 4 insertions(+), 2 deletions(-)
+
+diff --git a/tools/src/libtabfile.cpp b/tools/src/libtabfile.cpp
+index dda256a..2ee9dfd 100644
+--- a/tools/src/libtabfile.cpp
 b/tools/src/libtabfile.cpp
+@@ -22,6 +22,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ #include 
+ #include 
+ 
+@@ -228,9 +229,10 @@ static bool write_dictionary(const char *filename, GArray 
*array)
+   g_message("%s wordcount: %d.", get_impl(basefilename), array->len);
+ 
+ #ifndef _WIN32
+-  std::string command(std::string("dictzip ") + dicfilename);
++  std::stringstream command;
++  command << "dictzip \"" << dicfilename << "\"";
+   int result;
+-  result = system(command.c_str());
++  result = system(command.str().c_str());
+   if (result == -1) {
+   g_print("system() error!\n");
+   }
+-- 
+2.10.2
+

diff --git a/app-text/stardict/stardict-4.0.0_pre20160518.ebuild 
b/app-text/stardict/stardict-4.0.0_pre20160518.ebuild
index da192f9..5a09f99 100644
--- a/app-text/stardict/stardict-4.0.0_pre20160518.ebuild
+++ b/app-text/stardict/stardict-4.0.0_pre20160518.ebuild
@@ -69,6 +69,8 @@ REQUIRED_USE="tools? ( python? ( ${PYTHON_REQUIRED_USE} ) )"
 # docs are messy, installed manually below
 DOCS=""
 
+PATCHES=( "${FILESDIR}/${P}-tabfile.patch" )
+
 src_prepare() {
# From Fedora
# Remove unneeded sigc++ header files to make it sure



[gentoo-commits] repo/gentoo:master commit in: app-text/stardict/

2016-12-05 Thread Andrew Savchenko
commit: 825ecef7a3461d84ac667b32cb5217d5bac4aca4
Author: Andrew Savchenko  gentoo  org>
AuthorDate: Sat Dec  3 18:24:38 2016 +
Commit: Andrew Savchenko  gentoo  org>
CommitDate: Mon Dec  5 12:06:35 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=825ecef7

app-text/stardict: version bump

Use latest git snapshot.

Package-Manager: portage-2.3.2
Signed-off-by: Andrew Savchenko  gentoo.org>

 app-text/stardict/Manifest |   1 +
 .../stardict/stardict-4.0.0_pre20160518.ebuild | 206 +
 2 files changed, 207 insertions(+)

diff --git a/app-text/stardict/Manifest b/app-text/stardict/Manifest
index bf64d7c..25ac5e2 100644
--- a/app-text/stardict/Manifest
+++ b/app-text/stardict/Manifest
@@ -1,3 +1,4 @@
 DIST QQWry.Dat.bz2 4114875 SHA256 
3eda90ee8ea13ec88767336b078d2dfe2c971d6a31df60f409d526e3e29a4f83 SHA512 
46fd677359a2144429eb9d16131ca6b19db1c086fa93e275aa3d702d3024a65d54064df931d1ed2ba5b0c1f7d9595a284f2a8995d9cd5aac96a45216422dc9ae
 WHIRLPOOL 
456bab65658a8af76160f162fc66868c8a74653a88a1a115e2a20dd90ba9ae8a93b1aa1ee9856cc811d1b1229ca910868ea5db764a119ae9b31cbabf962cab5f
 DIST WyabdcRealPeopleTTS.tar.bz2 84329208 SHA256 
96a398eaef3e84f6f23e61683e6439913a4d44055e695dd4a1936f9340d64870 SHA512 
1553e62c139ecb005bb04163147d94aa58e4ba7f9ee3172b760c6e4776587c12bf816c42e0131c82195b7c738ec9ee5082f39b974790f5cacd522367919beaa0
 WHIRLPOOL 
210c121c25c7726cee62c2f2beb3186f0799d68c5537442eda967694f176cbbbc6d09a8c3759de093226e283ae651348ed7173a9f93bbf776325fb656e19720c
 DIST stardict-3.0.6.tar.bz2 9341740 SHA256 
6a0a695a8977604e0509a3db1bc6a67e53599b14f29494ba942f21d2c26b82e7 SHA512 
81d93324b6e8954af7c20ea6d2a3054bb564d786a21b1cb541c728da7a18a6e7ddb23e595055ccc77e6866bbb8c89fb4f17023e33664761dbe1ee8cd55768658
 WHIRLPOOL 
9502af310d5eba5ed23457fff9e9f00e2d8453873cece3c20e2c5daf861bd665fc7b9c8e292be5b1d886f9a9fd0d5ad9bd1d8fbd043d221e6637c1c8185f444f
+DIST stardict-4.0.0_pre20160518.tar.xz 3605324 SHA256 
8257c215b7da56c1ce9b3abbdac5c6381cf0702c172cd92f2629fb446a0cb86a SHA512 
5fb04d7870019f17038e0750a2250a0dca44c427f427cd987542eea2bdfab91223e2c01bae844c43f7d8991d51c0420bd4d77ad6d3f7d86cf6f9c50dae7ca50e
 WHIRLPOOL 
618261ed89db9acaad6f5fa4f44e49abae1d7c272987dce37c49ee81736d77bde977d57743182c77d95d930b7ca0c12e4ff59a85b31f93a1990674ba6e33e2ea

diff --git a/app-text/stardict/stardict-4.0.0_pre20160518.ebuild 
b/app-text/stardict/stardict-4.0.0_pre20160518.ebuild
new file mode 100644
index ..5582bd2
--- /dev/null
+++ b/app-text/stardict/stardict-4.0.0_pre20160518.ebuild
@@ -0,0 +1,206 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+# NOTE: Even though the *.dict.dz are the same as dictd/freedict's files,
+#   their indexes seem to be in a different format. So we'll keep them
+#   seperate for now.
+
+GNOME2_LA_PUNT=yes
+PYTHON_COMPAT=( python2_7 )
+
+inherit autotools flag-o-matic gnome2 python-single-r1
+
+DESCRIPTION="A international dictionary supporting fuzzy and glob style 
matching"
+HOMEPAGE="http://stardict-4.sourceforge.net/
+   https://github.com/huzheng001/stardict-3;
+SRC_URI="https://dev.gentoo.org/~bircoph/distfiles/${P}.tar.xz
+   pronounce? ( 
https://${PN}-3.googlecode.com/files/WyabdcRealPeopleTTS.tar.bz2 )
+   qqwry? ( mirror://gentoo/QQWry.Dat.bz2 )"
+
+LICENSE="CPL-1.0 GPL-3 LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="advertisement debug dictdotcn espeak examples +gucharmap
++htmlparse man perl +powerwordparse pronounce python qqwry spell
+tools updateinfo +wikiparse +wordnet +xdxfparse"
+
+RESTRICT="test"
+
+COMMON_DEPEND="
+   >=dev-libs/glib-2.16:2
+   dev-libs/libsigc++:2=
+   sys-libs/zlib:=
+   x11-libs/gdk-pixbuf:2
+   >=x11-libs/gtk+-2.20:2
+   x11-libs/libX11
+   x11-libs/pango
+   gucharmap? ( gnome-extra/gucharmap:0= )
+   spell? ( >=app-text/enchant-1.2 )
+   tools? (
+   dev-libs/libpcre:=
+   dev-libs/libxml2:=
+   virtual/mysql
+   python? ( ${PYTHON_DEPS} )
+   )
+"
+RDEPEND="${COMMON_DEPEND}
+   espeak? ( >=app-accessibility/espeak-1.29 )
+   perl? ( dev-lang/perl )
+"
+DEPEND="${COMMON_DEPEND}
+   app-text/docbook-xml-dtd:4.3
+   app-text/gnome-doc-utils
+   dev-libs/libxslt
+   dev-util/intltool
+   sys-devel/gettext
+   virtual/pkgconfig
+"
+REQUIRED_USE="tools? ( python? ( ${PYTHON_REQUIRED_USE} ) )"
+
+# docs are messy, installed manually below
+DOCS=""
+
+src_prepare() {
+   # From Fedora
+   # Remove unneeded sigc++ header files to make it sure
+   # that we are using system-wide libsigc++
+   # (and these does not work on gcc43)
+   find dict/src/sigc++* -name \*.h -or -name \*.cc | xargs rm -f || die
+
+   # libsigc++ started to require c++11 support
+   append-cxxflags "-std=c++11"
+
+   if 

[gentoo-commits] repo/gentoo:master commit in: app-text/stardict/

2016-12-05 Thread Andrew Savchenko
commit: c6808cd503e49c9882c0fe7d7ffdf0ee751f1d38
Author: Andrew Savchenko  gentoo  org>
AuthorDate: Mon Dec  5 08:01:47 2016 +
Commit: Andrew Savchenko  gentoo  org>
CommitDate: Mon Dec  5 12:06:40 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6808cd5

app-text/stardict: add support for new plugins

Package-Manager: portage-2.3.2
Signed-off-by: Andrew Savchenko  gentoo.org>

 app-text/stardict/metadata.xml |  5 +
 .../stardict/stardict-4.0.0_pre20160518.ebuild | 24 +++---
 2 files changed, 22 insertions(+), 7 deletions(-)

diff --git a/app-text/stardict/metadata.xml b/app-text/stardict/metadata.xml
index 8cb938c..b6f257e 100644
--- a/app-text/stardict/metadata.xml
+++ b/app-text/stardict/metadata.xml
@@ -13,11 +13,15 @@
 

Enable stardict advertisements 
plugin
+   Enable calendar support using cal 
program
Enable dict.cn network plugin (for 
Chinese language)
Enable text to speech synthesizer plugin 
using
app-accessibility/espeak engine
Enable text to speech synthesizer plugin 
using
app-accessibility/flite engine
+   Enable plugin to read fortune messages 
using
+   games-misc/fortune-mod. You may consider 
installing
+   games-misc/fortune-mod-all to get all 
fortune messages.
Enable plugin for unicode symbols 
description using
gnome-extra/gucharmap
Enable plugin to parse dictionaries with 
html content
@@ -36,6 +40,7 @@
lexical database
Enable plugin to parse dictionaries in 
xdxf (XML Dictionary
eXchange Format)
+   Enable youdao.com network plugin (for 
Chinese language)


stardict-4

diff --git a/app-text/stardict/stardict-4.0.0_pre20160518.ebuild 
b/app-text/stardict/stardict-4.0.0_pre20160518.ebuild
index 56ec1b7..c638d0f 100644
--- a/app-text/stardict/stardict-4.0.0_pre20160518.ebuild
+++ b/app-text/stardict/stardict-4.0.0_pre20160518.ebuild
@@ -23,9 +23,10 @@ 
SRC_URI="https://dev.gentoo.org/~bircoph/distfiles/${P}.tar.xz
 LICENSE="CPL-1.0 GPL-3 LGPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="advertisement debug dictdotcn espeak examples +gucharmap
-+htmlparse man perl +powerwordparse pronounce python qqwry spell
-tools updateinfo +wikiparse +wordnet +xdxfparse"
+IUSE="advertisement cal debug dictdotcn espeak examples flite
+fortune gucharmap +htmlparse info man perl +powerwordparse
+pronounce python qqwry spell tools updateinfo +wikiparse +wordnet
++xdxfparse youdaodict"
 
 RESTRICT="test"
 
@@ -37,6 +38,8 @@ COMMON_DEPEND="
>=x11-libs/gtk+-2.20:2
x11-libs/libX11
x11-libs/pango
+   espeak? ( >=app-accessibility/espeak-1.29 )
+   flite? ( app-accessibility/flite )
gucharmap? ( gnome-extra/gucharmap:0= )
spell? ( >=app-text/enchant-1.2 )
tools? (
@@ -48,7 +51,8 @@ COMMON_DEPEND="
)
 "
 RDEPEND="${COMMON_DEPEND}
-   espeak? ( >=app-accessibility/espeak-1.29 )
+   info? ( sys-apps/texinfo )
+   fortune? ( games-misc/fortune-mod )
perl? ( dev-lang/perl )
 "
 DEPEND="${COMMON_DEPEND}
@@ -104,19 +108,25 @@ src_configure() {
--disable-schemas-install \
--disable-scrollkeeper \
$(use_enable advertisement) \
-   $(use_enable dictdotcn) \
+   $(use_enable cal) \
$(use_enable debug) \
+   $(use_enable dictdotcn) \
$(use_enable espeak) \
+   $(use_enable flite) \
+   $(use_enable fortune) \
$(use_enable gucharmap) \
$(use_enable htmlparse) \
-   $(use_enable qqwry) \
+   $(use_enable info) \
+   $(use_enable man) \
$(use_enable powerwordparse) \
+   $(use_enable qqwry) \
$(use_enable spell) \
$(use_enable tools) \
$(use_enable updateinfo) \
$(use_enable wikiparse) \
$(use_enable wordnet) \
-   $(use_enable xdxfparse)
+   $(use_enable xdxfparse) \
+   $(use_enable youdaodict)
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: app-text/stardict/

2016-12-05 Thread Andrew Savchenko
commit: d581c747b5022e250d921c19cf86dbb7876ac697
Author: Andrew Savchenko  gentoo  org>
AuthorDate: Mon Dec  5 07:15:40 2016 +
Commit: Andrew Savchenko  gentoo  org>
CommitDate: Mon Dec  5 12:06:39 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d581c747

app-text/stardict: fix missed man configure flag

Package-Manager: portage-2.3.2
Signed-off-by: Andrew Savchenko  gentoo.org>

 app-text/stardict/metadata.xml | 30 --
 app-text/stardict/stardict-3.0.6-r3.ebuild |  5 +++--
 2 files changed, 19 insertions(+), 16 deletions(-)

diff --git a/app-text/stardict/metadata.xml b/app-text/stardict/metadata.xml
index 8b2d995..8cb938c 100644
--- a/app-text/stardict/metadata.xml
+++ b/app-text/stardict/metadata.xml
@@ -9,31 +9,33 @@
 StarDict is an international dictionary Software. It has powerful 
features
 such as "Glob-style pattern matching", "Scan selection word," "Fuzzy
 query," etc. Stardict Version3.0 has developed a lot of new functions, 
such
-as Full-text translation, Net Dict. 
+as Full-text translation, Net Dict.
 

Enable stardict advertisements 
plugin
Enable dict.cn network plugin (for 
Chinese language)
Enable text to speech synthesizer plugin 
using
app-accessibility/espeak engine
-   Enable plugin for unicode symbols 
description
-   using gnome-extra/gucharmap
+   Enable text to speech synthesizer plugin 
using
+   app-accessibility/flite engine
+   Enable plugin for unicode symbols 
description using
+   gnome-extra/gucharmap
Enable plugin to parse dictionaries with 
html content
+   Enable plugin to read info pages
Enable plugin to read manual pages
-   Install WyabdcRealPeopleTTS package (it 
is just
-many .wav files) to make StarDict pronounce English 
words
-   Enable QQWry plugin, which provides 
information (in
-Chinese language) about geographical positions, owner, 
etc. for IP
-addresses
Enable plugin to parse powerword 
dictionaries
-   Build and install dictionary management 
tools and
-   converters from various dictionary formats
+   Install WyabdcRealPeopleTTS package (it 
is just many .wav files)
+   to make StarDict pronounce English words
+   Enable QQWry plugin, which provides 
information (in Chinese language)
+   about geographical positions, owner, etc. for IP 
addresses
+   Build and install dictionary management 
tools and converters from
+   various dictionary formats
Enable plugin to check for stardict 
updates
Enable plugin to parse dictionaries in 
wikimedia format
-   Enable wordnet plugin to find similar 
English words
-   using lexical database
-   Enable plugin to parse dictionaries
-   in xdxf (XML Dictionary eXchange Format)
+   Enable wordnet plugin to find similar 
English words using
+   lexical database
+   Enable plugin to parse dictionaries in 
xdxf (XML Dictionary
+   eXchange Format)


stardict-4

diff --git a/app-text/stardict/stardict-3.0.6-r3.ebuild 
b/app-text/stardict/stardict-3.0.6-r3.ebuild
index 771c820..475d4f4 100644
--- a/app-text/stardict/stardict-3.0.6-r3.ebuild
+++ b/app-text/stardict/stardict-3.0.6-r3.ebuild
@@ -101,13 +101,14 @@ src_configure() {
--disable-schemas-install \
--disable-scrollkeeper \
$(use_enable advertisement) \
-   $(use_enable dictdotcn) \
$(use_enable debug) \
+   $(use_enable dictdotcn) \
$(use_enable espeak) \
$(use_enable gucharmap) \
$(use_enable htmlparse) \
-   $(use_enable qqwry) \
+   $(use_enable man) \
$(use_enable powerwordparse) \
+   $(use_enable qqwry) \
$(use_enable spell) \
$(use_enable tools) \
$(use_enable updateinfo) \



[gentoo-commits] repo/gentoo:master commit in: app-text/stardict/

2016-12-03 Thread Andrew Savchenko
commit: da045a09e0595bc42b3db904b1ed377fbe563669
Author: Andrew Savchenko  gentoo  org>
AuthorDate: Sat Dec  3 17:09:54 2016 +
Commit: Andrew Savchenko  gentoo  org>
CommitDate: Sat Dec  3 17:11:54 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da045a09

app-text/stardict: add omitted perl rdep

Package-Manager: portage-2.3.2
Signed-off-by: Andrew Savchenko  gentoo.org>

 app-text/stardict/stardict-3.0.6-r3.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app-text/stardict/stardict-3.0.6-r3.ebuild 
b/app-text/stardict/stardict-3.0.6-r3.ebuild
index aaf45c1..771c820 100644
--- a/app-text/stardict/stardict-3.0.6-r3.ebuild
+++ b/app-text/stardict/stardict-3.0.6-r3.ebuild
@@ -47,6 +47,7 @@ COMMON_DEPEND="
 "
 RDEPEND="${COMMON_DEPEND}
espeak? ( >=app-accessibility/espeak-1.29 )
+   perl? ( dev-lang/perl )
 "
 DEPEND="${COMMON_DEPEND}
app-text/docbook-xml-dtd:4.3



[gentoo-commits] repo/gentoo:master commit in: app-text/stardict/

2016-12-03 Thread Andrew Savchenko
commit: d615f8f9d771a4e52ea5d4a27ec2e0bdd37e0dcb
Author: Andrew Savchenko  gentoo  org>
AuthorDate: Sat Dec  3 16:47:06 2016 +
Commit: Andrew Savchenko  gentoo  org>
CommitDate: Sat Dec  3 16:47:35 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d615f8f9

app-text/stardict: provide python tools as well

Package-Manager: portage-2.3.2
Signed-off-by: Andrew Savchenko  gentoo.org>

 app-text/stardict/stardict-3.0.6-r3.ebuild | 24 
 1 file changed, 20 insertions(+), 4 deletions(-)

diff --git a/app-text/stardict/stardict-3.0.6-r3.ebuild 
b/app-text/stardict/stardict-3.0.6-r3.ebuild
index e793103..aaf45c1 100644
--- a/app-text/stardict/stardict-3.0.6-r3.ebuild
+++ b/app-text/stardict/stardict-3.0.6-r3.ebuild
@@ -9,8 +9,9 @@ EAPI=6
 #   seperate for now.
 
 GNOME2_LA_PUNT=yes
+PYTHON_COMPAT=( python2_7 )
 
-inherit flag-o-matic gnome2
+inherit flag-o-matic gnome2 python-single-r1
 
 DESCRIPTION="A international dictionary supporting fuzzy and glob style 
matching"
 HOMEPAGE="http://stardict-4.sourceforge.net/;
@@ -22,8 +23,8 @@ LICENSE="CPL-1.0 GPL-3 LGPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
 IUSE="advertisement debug dictdotcn espeak examples +gucharmap
-+htmlparse man perl +powerwordparse pronounce qqwry spell tools
-updateinfo +wikiparse +wordnet +xdxfparse"
++htmlparse man perl +powerwordparse pronounce python qqwry spell
+tools updateinfo +wikiparse +wordnet +xdxfparse"
 
 RESTRICT="test"
 
@@ -41,6 +42,7 @@ COMMON_DEPEND="
dev-libs/libpcre:=
dev-libs/libxml2:=
virtual/mysql
+   python? ( ${PYTHON_DEPS} )
)
 "
 RDEPEND="${COMMON_DEPEND}
@@ -54,6 +56,7 @@ DEPEND="${COMMON_DEPEND}
sys-devel/gettext
virtual/pkgconfig
 "
+REQUIRED_USE="tools? ( python? ( ${PYTHON_REQUIRED_USE} ) )"
 
 # docs are messy, installed manually below
 DOCS=""
@@ -68,6 +71,17 @@ src_prepare() {
# libsigc++ started to require c++11 support
append-cxxflags "-std=c++11"
 
+   if use python; then
+   local f
+   # force python shebangs handlable by python_doscript
+   for f in tools/src/*.py; do
+   [[ $(head -n1 "${f}") =~ ^#! ]] || continue
+   sed -i '1 s|.*|#!/usr/bin/python|' tools/src/*.py || die
+   done
+   # script contains UTF-8 symbols, but has no ecoding set
+   sed -i '1 a # -*- coding: utf-8 -*-' tools/src/uyghur2dict.py 
|| die
+   fi
+
eapply_user
gnome2_src_prepare
 }
@@ -147,6 +161,8 @@ src_install() {
${PN}-bin2text ${PN}-repair"
 
use perl && apps+=" dicts-dump.pl ncce2stardict.pl 
parse-oxford.perl"
+   use python && apps+=" hanzim2dict.py jm2stardict.py 
lingea-trd-decoder.py
+   makevietdict.py uyghur2dict.py"
 
for app in ${apps}; do
if [[ "${app}" =~ ^${PN} ]]; then
@@ -155,12 +171,12 @@ src_install() {
newbin "tools/src/${app}" "${PN}_${app}"
fi
done
+   use python && python_doscript "${ED}"usr/bin/*.py
 
docinto tools
dodoc tools/{AUTHORS,ChangeLog,README}
 
if use examples; then
-   insinto tools
insinto /usr/share/doc/${PF}/tools
doins 
tools/src/{dictbuilder.{example,readme},example.ifo,example_treedict.tar.bz2}
fi



[gentoo-commits] repo/gentoo:master commit in: app-text/stardict/

2016-12-03 Thread Andrew Savchenko
commit: 423ab92ca20594d5974fc04cc7d9ed841512f0a3
Author: Andrew Savchenko  gentoo  org>
AuthorDate: Sat Dec  3 14:16:25 2016 +
Commit: Andrew Savchenko  gentoo  org>
CommitDate: Sat Dec  3 16:47:35 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=423ab92c

app-text/stardict: fix tools installation

- install perl tools on demand;
- do not rename tools with names already stared with "stardict";
- install tools-related examples.

Package-Manager: portage-2.3.2
Signed-off-by: Andrew Savchenko  gentoo.org>

 app-text/stardict/stardict-3.0.6-r3.ebuild | 17 +++--
 1 file changed, 15 insertions(+), 2 deletions(-)

diff --git a/app-text/stardict/stardict-3.0.6-r3.ebuild 
b/app-text/stardict/stardict-3.0.6-r3.ebuild
index 03ccdc0..e793103 100644
--- a/app-text/stardict/stardict-3.0.6-r3.ebuild
+++ b/app-text/stardict/stardict-3.0.6-r3.ebuild
@@ -22,7 +22,7 @@ LICENSE="CPL-1.0 GPL-3 LGPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
 IUSE="advertisement debug dictdotcn espeak examples +gucharmap
-+htmlparse man +powerwordparse pronounce qqwry spell tools
++htmlparse man perl +powerwordparse pronounce qqwry spell tools
 updateinfo +wikiparse +wordnet +xdxfparse"
 
 RESTRICT="test"
@@ -132,6 +132,7 @@ src_install() {
fi
 
# noinst_PROGRAMS with ${PN}_ prefix from tools/src/Makefile.am wrt 
#292773
+   # and additional scripts from tools dir
if use tools; then
local app
local apps="${PN}-editor pydict2dic olddic2newdic oxford2dic 
directory2dic
@@ -145,12 +146,24 @@ src_install() {
resdatabase2dir dir2resdatabase ${PN}-index sd2foldoc 
${PN}-text2bin
${PN}-bin2text ${PN}-repair"
 
+   use perl && apps+=" dicts-dump.pl ncce2stardict.pl 
parse-oxford.perl"
+
for app in ${apps}; do
-   newbin tools/src/${app} ${PN}_${app}
+   if [[ "${app}" =~ ^${PN} ]]; then
+   dobin "tools/src/${app}"
+   else
+   newbin "tools/src/${app}" "${PN}_${app}"
+   fi
done
 
docinto tools
dodoc tools/{AUTHORS,ChangeLog,README}
+
+   if use examples; then
+   insinto tools
+   insinto /usr/share/doc/${PF}/tools
+   doins 
tools/src/{dictbuilder.{example,readme},example.ifo,example_treedict.tar.bz2}
+   fi
fi
 }
 



[gentoo-commits] repo/gentoo:master commit in: app-text/stardict/

2016-12-03 Thread Andrew Savchenko
commit: a9260fb4dfb5b76b7a258c2de680494c75557079
Author: Andrew Savchenko  gentoo  org>
AuthorDate: Sat Dec  3 06:14:31 2016 +
Commit: Andrew Savchenko  gentoo  org>
CommitDate: Sat Dec  3 16:47:34 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9260fb4

app-text/stardict: handle stardict plugins using USE flags

Previously many stardict plugins were unconditionally enabled or
disabled, they are controllable now, except for festival, where
app-accessibility/festival should be updated first, and plugins for
unsupported interfaces, like maemo or gpe.

Package-Manager: portage-2.3.2
Signed-off-by: Andrew Savchenko  gentoo.org>

 app-text/stardict/metadata.xml | 21 
 app-text/stardict/stardict-3.0.6-r3.ebuild | 32 --
 2 files changed, 38 insertions(+), 15 deletions(-)

diff --git a/app-text/stardict/metadata.xml b/app-text/stardict/metadata.xml
index 283525d..8b2d995 100644
--- a/app-text/stardict/metadata.xml
+++ b/app-text/stardict/metadata.xml
@@ -12,15 +12,28 @@
 as Full-text translation, Net Dict. 
 

-   Enable text to speech synthesizer using 
espeak
-engine
+   Enable stardict advertisements 
plugin
+   Enable dict.cn network plugin (for 
Chinese language)
+   Enable text to speech synthesizer plugin 
using
+   app-accessibility/espeak engine
+   Enable plugin for unicode symbols 
description
+   using gnome-extra/gucharmap
+   Enable plugin to parse dictionaries with 
html content
+   Enable plugin to read manual pages
Install WyabdcRealPeopleTTS package (it 
is just
 many .wav files) to make StarDict pronounce English 
words
Enable QQWry plugin, which provides 
information (in
 Chinese language) about geographical positions, owner, 
etc. for IP
 addresses
-   Build and install dictionary management
-   tools and converters from various dictionary 
formats
+   Enable plugin to parse powerword 
dictionaries
+   Build and install dictionary management 
tools and
+   converters from various dictionary formats
+   Enable plugin to check for stardict 
updates
+   Enable plugin to parse dictionaries in 
wikimedia format
+   Enable wordnet plugin to find similar 
English words
+   using lexical database
+   Enable plugin to parse dictionaries
+   in xdxf (XML Dictionary eXchange Format)


stardict-4

diff --git a/app-text/stardict/stardict-3.0.6-r3.ebuild 
b/app-text/stardict/stardict-3.0.6-r3.ebuild
index 1f059fa..2ee16b3 100644
--- a/app-text/stardict/stardict-3.0.6-r3.ebuild
+++ b/app-text/stardict/stardict-3.0.6-r3.ebuild
@@ -21,7 +21,9 @@ SRC_URI="mirror://sourceforge/${PN}-4/${P}.tar.bz2
 LICENSE="CPL-1.0 GPL-3 LGPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="debug espeak pronounce spell tools qqwry"
+IUSE="advertisement debug dictdotcn espeak +gucharmap +htmlparse
+man +powerwordparse pronounce qqwry spell tools updateinfo
++wikiparse +wordnet +xdxfparse"
 
 RESTRICT="test"
 
@@ -33,6 +35,7 @@ COMMON_DEPEND="
>=x11-libs/gtk+-2.20:2
x11-libs/libX11
x11-libs/pango
+   gucharmap? ( gnome-extra/gucharmap:0= )
spell? ( >=app-text/enchant-1.2 )
tools? (
dev-libs/libpcre:=
@@ -67,25 +70,32 @@ src_prepare() {
 }
 
 src_configure() {
-   # NOTE: Festival plugin crashes, bug 188684. Disable for now.
-
# Hint: EXTRA_ECONF="--enable-gnome-support" and manual install of
# libbonobo-2, libgnome-2, libgnomeui-2, gconf-2 and orbit-2 will
# give you GNOME 2.x support, that is otherwise considered deprecated
# because of the deep GNOME 2.x core library dependencies
+
+   # Festival plugin crashes, bug 188684. Disable for now.
gnome2_src_configure \
-   $(use_enable tools) \
+   --disable-festival \
+   --disable-gnome-support \
+   --disable-gpe-support \
+   --disable-schemas-install \
--disable-scrollkeeper \
-   $(use_enable spell) \
-   --disable-gucharmap \
+   $(use_enable advertisement) \
+   $(use_enable dictdotcn) \
$(use_enable debug) \
-   --disable-festival \
$(use_enable espeak) \
+   $(use_enable gucharmap) \
+   $(use_enable htmlparse) \
$(use_enable qqwry) \
-   --disable-updateinfo \
-   --disable-gnome-support \
-   --disable-gpe-support \
-   

[gentoo-commits] repo/gentoo:master commit in: app-text/stardict/

2016-12-03 Thread Andrew Savchenko
commit: 9296b5ddf49633f09d0188114e57f1d9cdd2556b
Author: Andrew Savchenko  gentoo  org>
AuthorDate: Fri Dec  2 16:32:20 2016 +
Commit: Andrew Savchenko  gentoo  org>
CommitDate: Sat Dec  3 16:47:33 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9296b5dd

app-text/stardict: update to EAPI 6

Package-Manager: portage-2.3.2
Signed-off-by: Andrew Savchenko  gentoo.org>

 app-text/stardict/stardict-3.0.6-r3.ebuild | 141 +
 1 file changed, 141 insertions(+)

diff --git a/app-text/stardict/stardict-3.0.6-r3.ebuild 
b/app-text/stardict/stardict-3.0.6-r3.ebuild
new file mode 100644
index ..1f059fa
--- /dev/null
+++ b/app-text/stardict/stardict-3.0.6-r3.ebuild
@@ -0,0 +1,141 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+# NOTE: Even though the *.dict.dz are the same as dictd/freedict's files,
+#   their indexes seem to be in a different format. So we'll keep them
+#   seperate for now.
+
+GNOME2_LA_PUNT=yes
+
+inherit flag-o-matic gnome2
+
+DESCRIPTION="A international dictionary supporting fuzzy and glob style 
matching"
+HOMEPAGE="http://stardict-4.sourceforge.net/;
+SRC_URI="mirror://sourceforge/${PN}-4/${P}.tar.bz2
+   pronounce? ( 
https://${PN}-3.googlecode.com/files/WyabdcRealPeopleTTS.tar.bz2 )
+   qqwry? ( mirror://gentoo/QQWry.Dat.bz2 )"
+
+LICENSE="CPL-1.0 GPL-3 LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="debug espeak pronounce spell tools qqwry"
+
+RESTRICT="test"
+
+COMMON_DEPEND="
+   >=dev-libs/glib-2.16:2
+   dev-libs/libsigc++:2=
+   sys-libs/zlib:=
+   x11-libs/gdk-pixbuf:2
+   >=x11-libs/gtk+-2.20:2
+   x11-libs/libX11
+   x11-libs/pango
+   spell? ( >=app-text/enchant-1.2 )
+   tools? (
+   dev-libs/libpcre:=
+   dev-libs/libxml2:=
+   virtual/mysql
+   )
+"
+RDEPEND="${COMMON_DEPEND}
+   espeak? ( >=app-accessibility/espeak-1.29 )
+"
+DEPEND="${COMMON_DEPEND}
+   app-text/docbook-xml-dtd:4.3
+   app-text/gnome-doc-utils
+   dev-libs/libxslt
+   dev-util/intltool
+   sys-devel/gettext
+   virtual/pkgconfig
+"
+
+src_prepare() {
+   # From Fedora
+   # Remove unneeded sigc++ header files to make it sure
+   # that we are using system-wide libsigc++
+   # (and these does not work on gcc43)
+   find dict/src/sigc++* -name \*.h -or -name \*.cc | xargs rm -f || die
+
+   # libsigc++ started to require c++11 support
+   append-cxxflags "-std=c++11"
+
+   eapply_user
+   gnome2_src_prepare
+}
+
+src_configure() {
+   # NOTE: Festival plugin crashes, bug 188684. Disable for now.
+
+   # Hint: EXTRA_ECONF="--enable-gnome-support" and manual install of
+   # libbonobo-2, libgnome-2, libgnomeui-2, gconf-2 and orbit-2 will
+   # give you GNOME 2.x support, that is otherwise considered deprecated
+   # because of the deep GNOME 2.x core library dependencies
+   gnome2_src_configure \
+   $(use_enable tools) \
+   --disable-scrollkeeper \
+   $(use_enable spell) \
+   --disable-gucharmap \
+   $(use_enable debug) \
+   --disable-festival \
+   $(use_enable espeak) \
+   $(use_enable qqwry) \
+   --disable-updateinfo \
+   --disable-gnome-support \
+   --disable-gpe-support \
+   --disable-schemas-install
+}
+
+src_install() {
+   gnome2_src_install
+
+   dodoc 
dict/doc/{Documentation,FAQ,HACKING,HowToCreateDictionary,Skins,StarDictFileFormat,Translation}
+
+   if use qqwry; then
+   insinto /usr/share/${PN}/data
+   doins ../QQWry.Dat
+   fi
+
+   if use pronounce; then
+   docinto WyabdcRealPeopleTTS
+   dodoc ../WyabdcRealPeopleTTS/{README,readme.txt}
+   rm -f ../WyabdcRealPeopleTTS/{README,readme.txt}
+   insinto /usr/share
+   doins -r ../WyabdcRealPeopleTTS
+   fi
+
+   # noinst_PROGRAMS with ${PN}_ prefix from tools/src/Makefile.am wrt 
#292773
+   if use tools; then
+   local app
+   local apps="${PN}-editor pydict2dic olddic2newdic oxford2dic 
directory2dic
+   dictd2dic wquick2dic ec50 directory2treedic 
treedict2dir jdictionary mova
+   xmlinout soothill kanjidic2 powerword kdic 21tech 
21shiji buddhist
+   tabfile cedict edict duden ${PN}-dict-update degb2utf 
frgb2utf
+   jpgb2utf gmx2utf rucn kingsoft wikipedia wikipediaImage 
babylon
+   ${PN}2txt ${PN}-verify fest2dict i2e2dict downloadwiki
+   ooo2dict myspell2dic exc2i2e dictbuilder tabfile2sql 
KangXi Unihan
+   xiaoxuetang-ja wubi ydp2dict 

[gentoo-commits] repo/gentoo:master commit in: app-text/stardict/

2016-12-03 Thread Andrew Savchenko
commit: 0199fbe7d6a4830259302f243a53b428e2a7099f
Author: Andrew Savchenko  gentoo  org>
AuthorDate: Sat Dec  3 06:51:22 2016 +
Commit: Andrew Savchenko  gentoo  org>
CommitDate: Sat Dec  3 16:47:34 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0199fbe7

app-text/stardict: documentation fixes

- install all docs, but omit zero or dummy files;
- install tools docs on demand;
- install examples on demand.

Package-Manager: portage-2.3.2
Signed-off-by: Andrew Savchenko  gentoo.org>

 app-text/stardict/stardict-3.0.6-r3.ebuild | 33 +-
 1 file changed, 28 insertions(+), 5 deletions(-)

diff --git a/app-text/stardict/stardict-3.0.6-r3.ebuild 
b/app-text/stardict/stardict-3.0.6-r3.ebuild
index 2ee16b3..03ccdc0 100644
--- a/app-text/stardict/stardict-3.0.6-r3.ebuild
+++ b/app-text/stardict/stardict-3.0.6-r3.ebuild
@@ -21,9 +21,9 @@ SRC_URI="mirror://sourceforge/${PN}-4/${P}.tar.bz2
 LICENSE="CPL-1.0 GPL-3 LGPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="advertisement debug dictdotcn espeak +gucharmap +htmlparse
-man +powerwordparse pronounce qqwry spell tools updateinfo
-+wikiparse +wordnet +xdxfparse"
+IUSE="advertisement debug dictdotcn espeak examples +gucharmap
++htmlparse man +powerwordparse pronounce qqwry spell tools
+updateinfo +wikiparse +wordnet +xdxfparse"
 
 RESTRICT="test"
 
@@ -55,6 +55,9 @@ DEPEND="${COMMON_DEPEND}
virtual/pkgconfig
 "
 
+# docs are messy, installed manually below
+DOCS=""
+
 src_prepare() {
# From Fedora
# Remove unneeded sigc++ header files to make it sure
@@ -101,7 +104,19 @@ src_configure() {
 src_install() {
gnome2_src_install
 
-   dodoc 
dict/doc/{Documentation,FAQ,HACKING,HowToCreateDictionary,Skins,StarDictFileFormat,Translation}
+   dodoc AUTHORS ChangeLog README
+
+   docinto dict
+   dodoc dict/{AUTHORS,ChangeLog,README,TODO}
+   dodoc 
dict/doc/{Documentation,FAQ,HowToCreateDictionary,Skins,StarDictFileFormat,TextualDictionaryFileFormat,Translation}
+
+   docinto lib
+   dodoc lib/{AUTHORS,ChangeLog,README}
+
+   if use examples; then
+   insinto /usr/share/doc/${PF}/dict
+   doins dict/doc/stardict-textual-dict*
+   fi
 
if use qqwry; then
insinto /usr/share/${PN}/data
@@ -133,10 +148,14 @@ src_install() {
for app in ${apps}; do
newbin tools/src/${app} ${PN}_${app}
done
+
+   docinto tools
+   dodoc tools/{AUTHORS,ChangeLog,README}
fi
 }
 
 pkg_postinst() {
+   elog
elog "Note: festival text to speech (TTS) plugin is not built. To use 
festival"
elog 'TTS plugin, please, emerge festival and enable "Use TTS program." 
at:'
elog '"Preferences -> Dictionary -> Sound" and fill in "Commandline" 
with:'
@@ -144,8 +163,12 @@ pkg_postinst() {
elog
elog "You will now need to install ${PN} dictionary files. If"
elog "you have not, execute the below to get a list of dictionaries:"
-   elog
elog "  emerge -s ${PN}-"
+   elog
+   elog "Additionally you may install any stardict dictionary from the net"
+   elog "by unpacking it to:"
+   elog "  /usr/share/stardict/dic"
+   elog
 
gnome2_pkg_postinst
 }



[gentoo-commits] repo/gentoo:master commit in: app-text/stardict/

2016-12-01 Thread Andrew Savchenko
commit: 43df9a20afbe8c3785e865a3f663632fbfef7112
Author: Andrew Savchenko  gentoo  org>
AuthorDate: Fri Dec  2 07:14:40 2016 +
Commit: Andrew Savchenko  gentoo  org>
CommitDate: Fri Dec  2 07:14:40 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43df9a20

app-text/stardict: fix bug 600718

Package-Manager: portage-2.3.2
Signed-off-by: Andrew Savchenko  gentoo.org>

 app-text/stardict/metadata.xml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/app-text/stardict/metadata.xml b/app-text/stardict/metadata.xml
index 9c042a7..283525d 100644
--- a/app-text/stardict/metadata.xml
+++ b/app-text/stardict/metadata.xml
@@ -19,7 +19,8 @@
Enable QQWry plugin, which provides 
information (in
 Chinese language) about geographical positions, owner, 
etc. for IP
 addresses
-   Build and install the extra stardict 
tools
+   Build and install dictionary management
+   tools and converters from various dictionary 
formats


stardict-4



[gentoo-commits] repo/gentoo:master commit in: app-text/stardict/

2016-03-19 Thread Michael Palimaka
commit: f6ff58add069083cf3ef3039d97e5a3fdf142694
Author: Michael Palimaka  gentoo  org>
AuthorDate: Thu Mar 17 10:58:39 2016 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Thu Mar 17 10:58:55 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6ff58ad

app-text/stardict: remove old

Package-Manager: portage-2.2.28

 app-text/stardict/metadata.xml  |   1 -
 app-text/stardict/stardict-3.0.6.ebuild | 121 
 2 files changed, 122 deletions(-)

diff --git a/app-text/stardict/metadata.xml b/app-text/stardict/metadata.xml
index 65c92c8..ae51a80 100644
--- a/app-text/stardict/metadata.xml
+++ b/app-text/stardict/metadata.xml
@@ -11,7 +11,6 @@

Enable text to speech synthesizer using 
espeak
 engine
-   Enable gucharmap dictionary plugin
Install WyabdcRealPeopleTTS package (it 
is just
 many .wav files) to make StarDict pronounce English 
words
Enable QQWry plugin, which provides 
information (in

diff --git a/app-text/stardict/stardict-3.0.6.ebuild 
b/app-text/stardict/stardict-3.0.6.ebuild
deleted file mode 100644
index 84a1545..000
--- a/app-text/stardict/stardict-3.0.6.ebuild
+++ /dev/null
@@ -1,121 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-# NOTE: Even though the *.dict.dz are the same as dictd/freedict's files,
-#   their indexes seem to be in a different format. So we'll keep them
-#   seperate for now.
-
-# NOTE: Festival plugin crashes, bug 188684. Disable for now.
-
-GNOME2_LA_PUNT=yes
-GCONF_DEBUG=no
-
-inherit eutils gnome2
-
-DESCRIPTION="A international dictionary supporting fuzzy and glob style 
matching"
-HOMEPAGE="http://stardict-4.sourceforge.net/;
-SRC_URI="mirror://sourceforge/${PN}-4/${P}.tar.bz2
-   pronounce? ( 
https://${PN}-3.googlecode.com/files/WyabdcRealPeopleTTS.tar.bz2 )
-   qqwry? ( mirror://gentoo/QQWry.Dat.bz2 )"
-
-LICENSE="CPL-1.0 GPL-3 LGPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ppc ppc64 sparc x86"
-IUSE="espeak gucharmap qqwry pronounce spell tools"
-
-RESTRICT="test"
-
-COMMON_DEPEND=">=dev-libs/glib-2.16:2=
-   dev-libs/libsigc++:2=
-   sys-libs/zlib:=
-   >=x11-libs/gtk+-2.20:2=
-   gucharmap? ( >=gnome-extra/gucharmap-2.22.1:0 )
-   spell? ( >=app-text/enchant-1.2 )
-   tools? (
-   dev-libs/libpcre:=
-   dev-libs/libxml2:=
-   virtual/mysql
-   )"
-RDEPEND="${COMMON_DEPEND}
-   espeak? ( >=app-accessibility/espeak-1.29 )"
-DEPEND="${COMMON_DEPEND}
-   app-text/docbook-xml-dtd:4.3
-   app-text/gnome-doc-utils
-   dev-libs/libxslt
-   dev-util/intltool
-   sys-devel/gettext
-   virtual/pkgconfig"
-
-src_configure() {
-   # Hint: EXTRA_ECONF="--enable-gnome-support" and manual install of
-   # libbonobo-2, libgnome-2, libgnomeui-2, gconf-2 and orbit-2 will
-   # give you GNOME 2.x support, that is otherwise considered deprecated
-   # because of the deep GNOME 2.x core library dependencies
-   gnome2_src_configure \
-   $(use_enable tools) \
-   --disable-scrollkeeper \
-   $(use_enable spell) \
-   $(use_enable gucharmap) \
-   --disable-festival \
-   $(use_enable espeak) \
-   $(use_enable qqwry) \
-   --disable-updateinfo \
-   --disable-gnome-support \
-   --disable-gpe-support \
-   --disable-schemas-install
-}
-
-src_install() {
-   gnome2_src_install
-
-   dodoc 
dict/doc/{Documentation,FAQ,HACKING,HowToCreateDictionary,Skins,StarDictFileFormat,Translation}
-
-   if use qqwry; then
-   insinto /usr/share/${PN}/data
-   doins ../QQWry.Dat
-   fi
-
-   if use pronounce; then
-   docinto WyabdcRealPeopleTTS
-   dodoc ../WyabdcRealPeopleTTS/{README,readme.txt}
-   rm -f ../WyabdcRealPeopleTTS/{README,readme.txt}
-   insinto /usr/share
-   doins -r ../WyabdcRealPeopleTTS
-   fi
-
-   # noinst_PROGRAMS with ${PN}_ prefix from tools/src/Makefile.am wrt 
#292773
-   if use tools; then
-   local app
-   local apps="${PN}-editor pydict2dic olddic2newdic oxford2dic 
directory2dic
-   dictd2dic wquick2dic ec50 directory2treedic 
treedict2dir jdictionary mova
-   xmlinout soothill kanjidic2 powerword kdic 21tech 
21shiji buddhist
-   tabfile cedict edict duden ${PN}-dict-update degb2utf 
frgb2utf
-   jpgb2utf gmx2utf rucn kingsoft wikipedia wikipediaImage 
babylon
-   ${PN}2txt ${PN}-verify fest2dict i2e2dict downloadwiki
-   ooo2dict myspell2dic exc2i2e 

[gentoo-commits] repo/gentoo:master commit in: app-text/stardict/

2016-03-19 Thread Agostino Sarubbo
commit: 0532dcf83824f8877244031d1a99eca931f645c9
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Mar 17 10:49:31 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Mar 17 10:49:31 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0532dcf8

app-text/stardict: ppc64 stable wrt bug #566380

Package-Manager: portage-2.2.26
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-text/stardict/stardict-3.0.6-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/stardict/stardict-3.0.6-r2.ebuild 
b/app-text/stardict/stardict-3.0.6-r2.ebuild
index 3ff2a0a..3984b6d 100644
--- a/app-text/stardict/stardict-3.0.6-r2.ebuild
+++ b/app-text/stardict/stardict-3.0.6-r2.ebuild
@@ -23,7 +23,7 @@ SRC_URI="mirror://sourceforge/${PN}-4/${P}.tar.bz2
 
 LICENSE="CPL-1.0 GPL-3 LGPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ppc ~ppc64 sparc x86"
+KEYWORDS="amd64 ~arm ~arm64 ppc ppc64 sparc x86"
 IUSE="espeak qqwry pronounce spell tools"
 
 RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: app-text/stardict/

2015-12-26 Thread Agostino Sarubbo
commit: 68dc099842fce7b0be000eacbaab04aaca27
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Dec 26 10:35:11 2015 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Dec 26 10:35:11 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68dc0998

app-text/stardict: ppc stable wrt bug #566380

Package-Manager: portage-2.2.24
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-text/stardict/stardict-3.0.6-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/stardict/stardict-3.0.6-r2.ebuild 
b/app-text/stardict/stardict-3.0.6-r2.ebuild
index 28a699a..f869561 100644
--- a/app-text/stardict/stardict-3.0.6-r2.ebuild
+++ b/app-text/stardict/stardict-3.0.6-r2.ebuild
@@ -23,7 +23,7 @@ SRC_URI="mirror://sourceforge/${PN}-4/${P}.tar.bz2
 
 LICENSE="CPL-1.0 GPL-3 LGPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc x86"
+KEYWORDS="amd64 ~arm ~arm64 ppc ~ppc64 ~sparc x86"
 IUSE="espeak qqwry pronounce spell tools"
 
 RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: app-text/stardict/

2015-12-25 Thread Agostino Sarubbo
commit: 7a6eddae859e814a8d0d177677146d410f90fa3f
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Dec 25 15:12:10 2015 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Dec 25 15:12:10 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a6eddae

app-text/stardict: amd64 stable wrt bug #566380

Package-Manager: portage-2.2.24
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-text/stardict/stardict-3.0.6-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/stardict/stardict-3.0.6-r2.ebuild 
b/app-text/stardict/stardict-3.0.6-r2.ebuild
index 26b96b1..41242db 100644
--- a/app-text/stardict/stardict-3.0.6-r2.ebuild
+++ b/app-text/stardict/stardict-3.0.6-r2.ebuild
@@ -23,7 +23,7 @@ SRC_URI="mirror://sourceforge/${PN}-4/${P}.tar.bz2
 
 LICENSE="CPL-1.0 GPL-3 LGPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
 IUSE="espeak qqwry pronounce spell tools"
 
 RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: app-text/stardict/

2015-11-21 Thread Pacho Ramos
commit: 98929124cf899e1ec9b087c862f5d1a3730d2266
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sat Nov 21 12:57:55 2015 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sat Nov 21 12:57:55 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98929124

app-text/stardict: Fix compilation with new libsigc++, ensure system libsigc++ 
is used, fix RDEPENDs (#566078 by iGentoo)

Package-Manager: portage-2.2.24

 app-text/stardict/stardict-3.0.6-r2.ebuild | 140 +
 1 file changed, 140 insertions(+)

diff --git a/app-text/stardict/stardict-3.0.6-r2.ebuild 
b/app-text/stardict/stardict-3.0.6-r2.ebuild
new file mode 100644
index 000..26b96b1
--- /dev/null
+++ b/app-text/stardict/stardict-3.0.6-r2.ebuild
@@ -0,0 +1,140 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# NOTE: Even though the *.dict.dz are the same as dictd/freedict's files,
+#   their indexes seem to be in a different format. So we'll keep them
+#   seperate for now.
+
+# NOTE: Festival plugin crashes, bug 188684. Disable for now.
+
+GNOME2_LA_PUNT=yes
+GCONF_DEBUG=no
+
+inherit eutils flag-o-matic gnome2
+
+DESCRIPTION="A international dictionary supporting fuzzy and glob style 
matching"
+HOMEPAGE="http://stardict-4.sourceforge.net/;
+SRC_URI="mirror://sourceforge/${PN}-4/${P}.tar.bz2
+   pronounce? ( 
https://${PN}-3.googlecode.com/files/WyabdcRealPeopleTTS.tar.bz2 )
+   qqwry? ( mirror://gentoo/QQWry.Dat.bz2 )"
+
+LICENSE="CPL-1.0 GPL-3 LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="espeak qqwry pronounce spell tools"
+
+RESTRICT="test"
+
+COMMON_DEPEND="
+   >=dev-libs/glib-2.16:2
+   dev-libs/libsigc++:2=
+   sys-libs/zlib:=
+   x11-libs/gdk-pixbuf:2
+   >=x11-libs/gtk+-2.20:2
+   x11-libs/libX11
+   x11-libs/pango
+   spell? ( >=app-text/enchant-1.2 )
+   tools? (
+   dev-libs/libpcre:=
+   dev-libs/libxml2:=
+   virtual/mysql
+   )
+"
+RDEPEND="${COMMON_DEPEND}
+   espeak? ( >=app-accessibility/espeak-1.29 )
+"
+DEPEND="${COMMON_DEPEND}
+   app-text/docbook-xml-dtd:4.3
+   app-text/gnome-doc-utils
+   dev-libs/libxslt
+   dev-util/intltool
+   sys-devel/gettext
+   virtual/pkgconfig
+"
+
+src_prepare() {
+   # From Fedora
+   # Remove unneeded sigc++ header files to make it sure
+   # that we are using system-wide libsigc++
+   # (and these does not work on gcc43)
+   find dict/src/sigc++* -name \*.h -or -name \*.cc | xargs rm -f || die
+
+   # libsigc++ started to require c++11 support
+   append-cxxflags "-std=c++11"
+
+   gnome2_src_prepare
+}
+
+src_configure() {
+   # Hint: EXTRA_ECONF="--enable-gnome-support" and manual install of
+   # libbonobo-2, libgnome-2, libgnomeui-2, gconf-2 and orbit-2 will
+   # give you GNOME 2.x support, that is otherwise considered deprecated
+   # because of the deep GNOME 2.x core library dependencies
+   gnome2_src_configure \
+   $(use_enable tools) \
+   --disable-scrollkeeper \
+   $(use_enable spell) \
+   --disable-gucharmap \
+   --disable-festival \
+   $(use_enable espeak) \
+   $(use_enable qqwry) \
+   --disable-updateinfo \
+   --disable-gnome-support \
+   --disable-gpe-support \
+   --disable-schemas-install
+}
+
+src_install() {
+   gnome2_src_install
+
+   dodoc 
dict/doc/{Documentation,FAQ,HACKING,HowToCreateDictionary,Skins,StarDictFileFormat,Translation}
+
+   if use qqwry; then
+   insinto /usr/share/${PN}/data
+   doins ../QQWry.Dat
+   fi
+
+   if use pronounce; then
+   docinto WyabdcRealPeopleTTS
+   dodoc ../WyabdcRealPeopleTTS/{README,readme.txt}
+   rm -f ../WyabdcRealPeopleTTS/{README,readme.txt}
+   insinto /usr/share
+   doins -r ../WyabdcRealPeopleTTS
+   fi
+
+   # noinst_PROGRAMS with ${PN}_ prefix from tools/src/Makefile.am wrt 
#292773
+   if use tools; then
+   local app
+   local apps="${PN}-editor pydict2dic olddic2newdic oxford2dic 
directory2dic
+   dictd2dic wquick2dic ec50 directory2treedic 
treedict2dir jdictionary mova
+   xmlinout soothill kanjidic2 powerword kdic 21tech 
21shiji buddhist
+   tabfile cedict edict duden ${PN}-dict-update degb2utf 
frgb2utf
+   jpgb2utf gmx2utf rucn kingsoft wikipedia wikipediaImage 
babylon
+   ${PN}2txt ${PN}-verify fest2dict i2e2dict downloadwiki
+   ooo2dict myspell2dic exc2i2e dictbuilder tabfile2sql 
KangXi Unihan
+   xiaoxuetang-ja wubi ydp2dict wordnet 

[gentoo-commits] repo/gentoo:master commit in: app-text/stardict/

2015-11-21 Thread Pacho Ramos
commit: 6d2a5f0fce1c79ecfcf802ba0c2f6279cee2ac8f
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sat Nov 21 12:58:32 2015 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sat Nov 21 12:58:32 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d2a5f0f

app-text/stardict: Drop old

Package-Manager: portage-2.2.24

 app-text/stardict/stardict-3.0.6-r1.ebuild | 124 -
 1 file changed, 124 deletions(-)

diff --git a/app-text/stardict/stardict-3.0.6-r1.ebuild 
b/app-text/stardict/stardict-3.0.6-r1.ebuild
deleted file mode 100644
index 1ae0e74..000
--- a/app-text/stardict/stardict-3.0.6-r1.ebuild
+++ /dev/null
@@ -1,124 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-# NOTE: Even though the *.dict.dz are the same as dictd/freedict's files,
-#   their indexes seem to be in a different format. So we'll keep them
-#   seperate for now.
-
-# NOTE: Festival plugin crashes, bug 188684. Disable for now.
-
-GNOME2_LA_PUNT=yes
-GCONF_DEBUG=no
-
-inherit eutils gnome2
-
-DESCRIPTION="A international dictionary supporting fuzzy and glob style 
matching"
-HOMEPAGE="http://stardict-4.sourceforge.net/;
-SRC_URI="mirror://sourceforge/${PN}-4/${P}.tar.bz2
-   pronounce? ( 
https://${PN}-3.googlecode.com/files/WyabdcRealPeopleTTS.tar.bz2 )
-   qqwry? ( mirror://gentoo/QQWry.Dat.bz2 )"
-
-LICENSE="CPL-1.0 GPL-3 LGPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="espeak qqwry pronounce spell tools"
-
-RESTRICT="test"
-
-COMMON_DEPEND="
-   >=dev-libs/glib-2.16:2
-   dev-libs/libsigc++:2=
-   sys-libs/zlib:=
-   >=x11-libs/gtk+-2.20:2
-   spell? ( >=app-text/enchant-1.2 )
-   tools? (
-   dev-libs/libpcre:=
-   dev-libs/libxml2:=
-   virtual/mysql
-   )
-"
-RDEPEND="${COMMON_DEPEND}
-   espeak? ( >=app-accessibility/espeak-1.29 )
-"
-DEPEND="${COMMON_DEPEND}
-   app-text/docbook-xml-dtd:4.3
-   app-text/gnome-doc-utils
-   dev-libs/libxslt
-   dev-util/intltool
-   sys-devel/gettext
-   virtual/pkgconfig
-"
-
-src_configure() {
-   # Hint: EXTRA_ECONF="--enable-gnome-support" and manual install of
-   # libbonobo-2, libgnome-2, libgnomeui-2, gconf-2 and orbit-2 will
-   # give you GNOME 2.x support, that is otherwise considered deprecated
-   # because of the deep GNOME 2.x core library dependencies
-   gnome2_src_configure \
-   $(use_enable tools) \
-   --disable-scrollkeeper \
-   $(use_enable spell) \
-   --disable-gucharmap \
-   --disable-festival \
-   $(use_enable espeak) \
-   $(use_enable qqwry) \
-   --disable-updateinfo \
-   --disable-gnome-support \
-   --disable-gpe-support \
-   --disable-schemas-install
-}
-
-src_install() {
-   gnome2_src_install
-
-   dodoc 
dict/doc/{Documentation,FAQ,HACKING,HowToCreateDictionary,Skins,StarDictFileFormat,Translation}
-
-   if use qqwry; then
-   insinto /usr/share/${PN}/data
-   doins ../QQWry.Dat
-   fi
-
-   if use pronounce; then
-   docinto WyabdcRealPeopleTTS
-   dodoc ../WyabdcRealPeopleTTS/{README,readme.txt}
-   rm -f ../WyabdcRealPeopleTTS/{README,readme.txt}
-   insinto /usr/share
-   doins -r ../WyabdcRealPeopleTTS
-   fi
-
-   # noinst_PROGRAMS with ${PN}_ prefix from tools/src/Makefile.am wrt 
#292773
-   if use tools; then
-   local app
-   local apps="${PN}-editor pydict2dic olddic2newdic oxford2dic 
directory2dic
-   dictd2dic wquick2dic ec50 directory2treedic 
treedict2dir jdictionary mova
-   xmlinout soothill kanjidic2 powerword kdic 21tech 
21shiji buddhist
-   tabfile cedict edict duden ${PN}-dict-update degb2utf 
frgb2utf
-   jpgb2utf gmx2utf rucn kingsoft wikipedia wikipediaImage 
babylon
-   ${PN}2txt ${PN}-verify fest2dict i2e2dict downloadwiki
-   ooo2dict myspell2dic exc2i2e dictbuilder tabfile2sql 
KangXi Unihan
-   xiaoxuetang-ja wubi ydp2dict wordnet lingvosound2resdb
-   resdatabase2dir dir2resdatabase ${PN}-index sd2foldoc 
${PN}-text2bin
-   ${PN}-bin2text ${PN}-repair"
-
-   for app in ${apps}; do
-   newbin tools/src/${app} ${PN}_${app}
-   done
-   fi
-}
-
-pkg_postinst() {
-   elog "Note: festival text to speech (TTS) plugin is not built. To use 
festival"
-   elog 'TTS plugin, please, emerge festival and enable "Use TTS program." 
at:'
-   elog '"Preferences -> Dictionary -> Sound" and fill in "Commandline" 
with:'
-  

[gentoo-commits] repo/gentoo:master commit in: app-text/stardict/

2015-11-09 Thread Pacho Ramos
commit: 77447874d0f09af14476e964fe89ed794c465e92
Author: Pacho Ramos  gentoo  org>
AuthorDate: Mon Nov  9 21:24:14 2015 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Mon Nov  9 21:51:05 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77447874

app-text/stardict: Disable support of obsolete gucharmap slot

Package-Manager: portage-2.2.24

 app-text/stardict/stardict-3.0.6-r1.ebuild | 124 +
 1 file changed, 124 insertions(+)

diff --git a/app-text/stardict/stardict-3.0.6-r1.ebuild 
b/app-text/stardict/stardict-3.0.6-r1.ebuild
new file mode 100644
index 000..1ae0e74
--- /dev/null
+++ b/app-text/stardict/stardict-3.0.6-r1.ebuild
@@ -0,0 +1,124 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# NOTE: Even though the *.dict.dz are the same as dictd/freedict's files,
+#   their indexes seem to be in a different format. So we'll keep them
+#   seperate for now.
+
+# NOTE: Festival plugin crashes, bug 188684. Disable for now.
+
+GNOME2_LA_PUNT=yes
+GCONF_DEBUG=no
+
+inherit eutils gnome2
+
+DESCRIPTION="A international dictionary supporting fuzzy and glob style 
matching"
+HOMEPAGE="http://stardict-4.sourceforge.net/;
+SRC_URI="mirror://sourceforge/${PN}-4/${P}.tar.bz2
+   pronounce? ( 
https://${PN}-3.googlecode.com/files/WyabdcRealPeopleTTS.tar.bz2 )
+   qqwry? ( mirror://gentoo/QQWry.Dat.bz2 )"
+
+LICENSE="CPL-1.0 GPL-3 LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="espeak qqwry pronounce spell tools"
+
+RESTRICT="test"
+
+COMMON_DEPEND="
+   >=dev-libs/glib-2.16:2
+   dev-libs/libsigc++:2=
+   sys-libs/zlib:=
+   >=x11-libs/gtk+-2.20:2
+   spell? ( >=app-text/enchant-1.2 )
+   tools? (
+   dev-libs/libpcre:=
+   dev-libs/libxml2:=
+   virtual/mysql
+   )
+"
+RDEPEND="${COMMON_DEPEND}
+   espeak? ( >=app-accessibility/espeak-1.29 )
+"
+DEPEND="${COMMON_DEPEND}
+   app-text/docbook-xml-dtd:4.3
+   app-text/gnome-doc-utils
+   dev-libs/libxslt
+   dev-util/intltool
+   sys-devel/gettext
+   virtual/pkgconfig
+"
+
+src_configure() {
+   # Hint: EXTRA_ECONF="--enable-gnome-support" and manual install of
+   # libbonobo-2, libgnome-2, libgnomeui-2, gconf-2 and orbit-2 will
+   # give you GNOME 2.x support, that is otherwise considered deprecated
+   # because of the deep GNOME 2.x core library dependencies
+   gnome2_src_configure \
+   $(use_enable tools) \
+   --disable-scrollkeeper \
+   $(use_enable spell) \
+   --disable-gucharmap \
+   --disable-festival \
+   $(use_enable espeak) \
+   $(use_enable qqwry) \
+   --disable-updateinfo \
+   --disable-gnome-support \
+   --disable-gpe-support \
+   --disable-schemas-install
+}
+
+src_install() {
+   gnome2_src_install
+
+   dodoc 
dict/doc/{Documentation,FAQ,HACKING,HowToCreateDictionary,Skins,StarDictFileFormat,Translation}
+
+   if use qqwry; then
+   insinto /usr/share/${PN}/data
+   doins ../QQWry.Dat
+   fi
+
+   if use pronounce; then
+   docinto WyabdcRealPeopleTTS
+   dodoc ../WyabdcRealPeopleTTS/{README,readme.txt}
+   rm -f ../WyabdcRealPeopleTTS/{README,readme.txt}
+   insinto /usr/share
+   doins -r ../WyabdcRealPeopleTTS
+   fi
+
+   # noinst_PROGRAMS with ${PN}_ prefix from tools/src/Makefile.am wrt 
#292773
+   if use tools; then
+   local app
+   local apps="${PN}-editor pydict2dic olddic2newdic oxford2dic 
directory2dic
+   dictd2dic wquick2dic ec50 directory2treedic 
treedict2dir jdictionary mova
+   xmlinout soothill kanjidic2 powerword kdic 21tech 
21shiji buddhist
+   tabfile cedict edict duden ${PN}-dict-update degb2utf 
frgb2utf
+   jpgb2utf gmx2utf rucn kingsoft wikipedia wikipediaImage 
babylon
+   ${PN}2txt ${PN}-verify fest2dict i2e2dict downloadwiki
+   ooo2dict myspell2dic exc2i2e dictbuilder tabfile2sql 
KangXi Unihan
+   xiaoxuetang-ja wubi ydp2dict wordnet lingvosound2resdb
+   resdatabase2dir dir2resdatabase ${PN}-index sd2foldoc 
${PN}-text2bin
+   ${PN}-bin2text ${PN}-repair"
+
+   for app in ${apps}; do
+   newbin tools/src/${app} ${PN}_${app}
+   done
+   fi
+}
+
+pkg_postinst() {
+   elog "Note: festival text to speech (TTS) plugin is not built. To use 
festival"
+   elog 'TTS plugin, please, emerge festival and enable "Use TTS program." 
at:'
+   elog '"Preferences -> Dictionary -> Sound" and fill 

[gentoo-commits] repo/gentoo:master commit in: app-text/stardict/

2015-09-23 Thread Agostino Sarubbo
commit: e54cfc95b31b8487403dfd2dfd3c2db2a3209ab0
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Sep 23 12:51:07 2015 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Sep 23 12:51:53 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e54cfc95

app-text/stardict: ppc64 stable wrt bug #551280

Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="ppc64"

 app-text/stardict/stardict-3.0.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/stardict/stardict-3.0.6.ebuild 
b/app-text/stardict/stardict-3.0.6.ebuild
index 97d031f..84a1545 100644
--- a/app-text/stardict/stardict-3.0.6.ebuild
+++ b/app-text/stardict/stardict-3.0.6.ebuild
@@ -23,7 +23,7 @@ SRC_URI="mirror://sourceforge/${PN}-4/${P}.tar.bz2
 
 LICENSE="CPL-1.0 GPL-3 LGPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ppc ~ppc64 sparc x86"
+KEYWORDS="amd64 ~arm ~arm64 ppc ppc64 sparc x86"
 IUSE="espeak gucharmap qqwry pronounce spell tools"
 
 RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: app-text/stardict/files/, app-text/stardict/

2015-09-23 Thread Michael Palimaka
commit: 6f4d2e0e63058d50ee9560884c111a2f0b900aa0
Author: Michael Palimaka  gentoo  org>
AuthorDate: Wed Sep 23 12:57:00 2015 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Wed Sep 23 12:59:09 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f4d2e0e

app-text/stardict: remove old.

Package-Manager: portage-2.2.20.1

 app-text/stardict/Manifest |   1 -
 .../files/stardict-3.0.3-zlib-1.2.5.2.patch|  39 --
 app-text/stardict/stardict-3.0.4.ebuild| 132 -
 3 files changed, 172 deletions(-)

diff --git a/app-text/stardict/Manifest b/app-text/stardict/Manifest
index c8cbd9e..bf64d7c 100644
--- a/app-text/stardict/Manifest
+++ b/app-text/stardict/Manifest
@@ -1,4 +1,3 @@
 DIST QQWry.Dat.bz2 4114875 SHA256 
3eda90ee8ea13ec88767336b078d2dfe2c971d6a31df60f409d526e3e29a4f83 SHA512 
46fd677359a2144429eb9d16131ca6b19db1c086fa93e275aa3d702d3024a65d54064df931d1ed2ba5b0c1f7d9595a284f2a8995d9cd5aac96a45216422dc9ae
 WHIRLPOOL 
456bab65658a8af76160f162fc66868c8a74653a88a1a115e2a20dd90ba9ae8a93b1aa1ee9856cc811d1b1229ca910868ea5db764a119ae9b31cbabf962cab5f
 DIST WyabdcRealPeopleTTS.tar.bz2 84329208 SHA256 
96a398eaef3e84f6f23e61683e6439913a4d44055e695dd4a1936f9340d64870 SHA512 
1553e62c139ecb005bb04163147d94aa58e4ba7f9ee3172b760c6e4776587c12bf816c42e0131c82195b7c738ec9ee5082f39b974790f5cacd522367919beaa0
 WHIRLPOOL 
210c121c25c7726cee62c2f2beb3186f0799d68c5537442eda967694f176cbbbc6d09a8c3759de093226e283ae651348ed7173a9f93bbf776325fb656e19720c
-DIST stardict-3.0.4.tar.bz2 8961622 SHA256 
c38b9d953fe0b2380a8aed4c98cb121ad83aff91a32af3c665198d8268b1dce8 SHA512 
a1cbf58202b5430b0869955bfb7df961debab12abf55022f7c07537246c81dc182c3be50fa66273c13c289471c15afba74d15933cb202ae292f4388aa2fb6fd5
 WHIRLPOOL 
b0476e5f38862e4c2a747206a8f1d8c55dc889d1138961390aa9f415ec310cabce242e7a4f484a4c260a004e3a8a152726cf936f0ec030586ddcd91979912aa0
 DIST stardict-3.0.6.tar.bz2 9341740 SHA256 
6a0a695a8977604e0509a3db1bc6a67e53599b14f29494ba942f21d2c26b82e7 SHA512 
81d93324b6e8954af7c20ea6d2a3054bb564d786a21b1cb541c728da7a18a6e7ddb23e595055ccc77e6866bbb8c89fb4f17023e33664761dbe1ee8cd55768658
 WHIRLPOOL 
9502af310d5eba5ed23457fff9e9f00e2d8453873cece3c20e2c5daf861bd665fc7b9c8e292be5b1d886f9a9fd0d5ad9bd1d8fbd043d221e6637c1c8185f444f

diff --git a/app-text/stardict/files/stardict-3.0.3-zlib-1.2.5.2.patch 
b/app-text/stardict/files/stardict-3.0.3-zlib-1.2.5.2.patch
deleted file mode 100644
index 6a320bd..000
--- a/app-text/stardict/files/stardict-3.0.3-zlib-1.2.5.2.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-http://bugs.gentoo.org/401887
-
-diff --git a/lib/src/libcommon.cpp b/lib/src/libcommon.cpp
-index 16770a3..a4299e7 100644
 a/lib/src/libcommon.cpp
-+++ b/lib/src/libcommon.cpp
-@@ -614,7 +614,7 @@ int unpack_zlib(const char* arch_file_name, const char* 
out_file_name)
-   return EXIT_FAILURE;
-   }
-   while(true) {
--  len = gzread(get_impl(in), buf, buffer_size);
-+  len = gzread((gzFile)get_impl(in), buf, buffer_size);
-   if(len < 0) {
-   g_critical(read_file_err, arch_file_name, "");
-   return EXIT_FAILURE;
-@@ -871,3 +871,8 @@ int remove_recursive(const std::string& path)
-   return res;
-   }
- }
-+
-+int gzclose_compat(void * file)
-+{
-+return gzclose ((gzFile)file);
-+}
-diff --git a/lib/src/libcommon.h b/lib/src/libcommon.h
-index 10f13b4..bdcbf2f 100644
 a/lib/src/libcommon.h
-+++ b/lib/src/libcommon.h
-@@ -187,8 +187,9 @@ namespace clib {
-   typedef ResourceWrapper File;
- }
- 
-+extern int gzclose_compat(void * file);
- namespace zip {
--typedef ResourceWrapper gzFile;
-+typedef ResourceWrapper gzFile;
- }
- 
- /* Create a new temporary file. Return file name in file name encoding.

diff --git a/app-text/stardict/stardict-3.0.4.ebuild 
b/app-text/stardict/stardict-3.0.4.ebuild
deleted file mode 100644
index 0dde8d4..000
--- a/app-text/stardict/stardict-3.0.4.ebuild
+++ /dev/null
@@ -1,132 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-# NOTE: Even though the *.dict.dz are the same as dictd/freedict's files,
-#   their indexes seem to be in a different format. So we'll keep them
-#   seperate for now.
-
-# NOTE: Festival plugin crashes, bug 188684. Disable for now.
-
-GNOME2_LA_PUNT=yes
-GCONF_DEBUG=no
-
-inherit eutils gnome2
-
-DESCRIPTION="A international dictionary supporting fuzzy and glob style 
matching"
-HOMEPAGE="https://code.google.com/p/stardict-3/;
-SRC_URI="https://${PN}-3.googlecode.com/files/${P}.tar.bz2
-   pronounce? ( 
https://${PN}-3.googlecode.com/files/WyabdcRealPeopleTTS.tar.bz2 )
-   qqwry? ( mirror://gentoo/QQWry.Dat.bz2 )"
-
-LICENSE="CPL-1.0 GPL-3 LGPL-2"
-SLOT="0"