From: "Pacho Ramos" <pacho@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/stardict/
Date: Mon, 9 Nov 2015 21:51:38 +0000 (UTC) [thread overview]
Message-ID: <1447105865.77447874d0f09af14476e964fe89ed794c465e92.pacho@gentoo> (raw)
commit: 77447874d0f09af14476e964fe89ed794c465e92
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 9 21:24:14 2015 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Mon Nov 9 21:51:05 2015 +0000
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 0000000..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 in "Commandline" with:'
+ elog '"echo %s | festival --tts"'
+ 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}-"
+
+ gnome2_pkg_postinst
+}
next reply other threads:[~2015-11-09 21:51 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-09 21:51 Pacho Ramos [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-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-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=1447105865.77447874d0f09af14476e964fe89ed794c465e92.pacho@gentoo \
--to=pacho@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