public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Savchenko" <bircoph@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/stardict/
Date: Sat,  3 Dec 2016 16:47:39 +0000 (UTC)	[thread overview]
Message-ID: <1480783654.a9260fb4dfb5b76b7a258c2de680494c75557079.bircoph@gentoo> (raw)

commit:     a9260fb4dfb5b76b7a258c2de680494c75557079
Author:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Sat Dec  3 06:14:31 2016 +0000
Commit:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Sat Dec  3 16:47:34 2016 +0000
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 <bircoph <AT> 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. 
 	 </longdescription>
 	<use>
-		<flag name="espeak">Enable text to speech synthesizer using espeak
-			 engine</flag>
+		<flag name="advertisement">Enable stardict advertisements plugin</flag>
+		<flag name="dictdotcn">Enable dict.cn network plugin (for Chinese language)</flag>
+		<flag name="espeak">Enable text to speech synthesizer plugin using
+			<pkg>app-accessibility/espeak</pkg> engine</flag>
+		<flag name="gucharmap">Enable plugin for unicode symbols description
+			using <pkg>gnome-extra/gucharmap</pkg></flag>
+		<flag name="htmlparse">Enable plugin to parse dictionaries with html content</flag>
+		<flag name="man">Enable plugin to read manual pages</flag>
 		<flag name="pronounce">Install WyabdcRealPeopleTTS package (it is just
 			 many .wav files) to make StarDict pronounce English words</flag>
 		<flag name="qqwry">Enable QQWry plugin, which provides information (in
 			 Chinese language) about geographical positions, owner, etc. for IP
 			 addresses</flag>
-		<flag name="tools">Build and install dictionary management
-			tools and converters from various dictionary formats</flag>
+		<flag name="powerwordparse">Enable plugin to parse powerword dictionaries</flag>
+		<flag name="tools">Build and install dictionary management tools and
+			converters from various dictionary formats</flag>
+		<flag name="updateinfo">Enable plugin to check for stardict updates</flag>
+		<flag name="wikiparse">Enable plugin to parse dictionaries in wikimedia format</flag>
+		<flag name="wordnet">Enable wordnet plugin to find similar English words
+			using lexical database</flag>
+		<flag name="xdxfparse">Enable plugin to parse dictionaries
+			in xdxf (XML Dictionary eXchange Format)</flag>
 	</use>
 	<upstream>
 		<remote-id type="sourceforge">stardict-4</remote-id>

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 \
-		--disable-schemas-install
+		$(use_enable powerwordparse) \
+		$(use_enable spell) \
+		$(use_enable tools) \
+		$(use_enable updateinfo) \
+		$(use_enable wikiparse) \
+		$(use_enable wordnet) \
+		$(use_enable xdxfparse)
 }
 
 src_install() {


             reply	other threads:[~2016-12-03 16:47 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-03 16:47 Andrew Savchenko [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-05-06 14:18 [gentoo-commits] repo/gentoo:master commit in: app-text/stardict/ Sam James
2023-04-03  5:54 Sam James
2020-09-19  8:04 Michał Górny
2020-02-02 19:35 Mart Raudsepp
2018-08-25 14:45 Andrew Savchenko
2018-08-25 14:45 Andrew Savchenko
2018-08-25 14:45 Andrew Savchenko
2017-11-25 19:55 David Seifert
2017-01-03 21:22 Andrew Savchenko
2017-01-02 11:09 Andrew Savchenko
2017-01-02 11:09 Andrew Savchenko
2016-12-30  9:39 Agostino Sarubbo
2016-12-26 12:30 Aaron Bauman
2016-12-05 12:06 Andrew Savchenko
2016-12-05 12:06 Andrew Savchenko
2016-12-05 12:06 Andrew Savchenko
2016-12-05 12:06 Andrew Savchenko
2016-12-05 12:06 Andrew Savchenko
2016-12-05 12:06 Andrew Savchenko
2016-12-03 17:11 Andrew Savchenko
2016-12-03 16:47 Andrew Savchenko
2016-12-03 16:47 Andrew Savchenko
2016-12-03 16:47 Andrew Savchenko
2016-12-03 16:47 Andrew Savchenko
2016-12-02  7:14 Andrew Savchenko
2016-03-17 10:59 Michael Palimaka
2016-03-17 10:50 Agostino Sarubbo
2015-12-26 10:36 Agostino Sarubbo
2015-12-25 15:13 Agostino Sarubbo
2015-11-21 12:58 Pacho Ramos
2015-11-21 12:58 Pacho Ramos
2015-11-09 21:51 Pacho Ramos
2015-09-23 12:52 Agostino Sarubbo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1480783654.a9260fb4dfb5b76b7a258c2de680494c75557079.bircoph@gentoo \
    --to=bircoph@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox