summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-07-30 09:46:31 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-07-30 09:46:31 +0000
commit4bb4a0aa6193c8204d0139edce6b97721aa4a24d (patch)
treed000e3fe6bfa0139a026c5985b309db39049c8d7 /app-text/stardict
parentapp-backup/deja-dup: Version Bump (diff)
downloadgentoo-2-4bb4a0aa6193c8204d0139edce6b97721aa4a24d.tar.gz
gentoo-2-4bb4a0aa6193c8204d0139edce6b97721aa4a24d.tar.bz2
gentoo-2-4bb4a0aa6193c8204d0139edce6b97721aa4a24d.zip
old
(Portage version: 2.2.0_alpha116/cvs/Linux x86_64)
Diffstat (limited to 'app-text/stardict')
-rw-r--r--app-text/stardict/ChangeLog10
-rw-r--r--app-text/stardict/metadata.xml1
-rw-r--r--app-text/stardict/stardict-3.0.3-r1.ebuild115
3 files changed, 9 insertions, 117 deletions
diff --git a/app-text/stardict/ChangeLog b/app-text/stardict/ChangeLog
index c78b825f9885..36c79eeaaafd 100644
--- a/app-text/stardict/ChangeLog
+++ b/app-text/stardict/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for app-text/stardict
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/stardict/ChangeLog,v 1.30 2012/07/29 16:45:05 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/stardict/ChangeLog,v 1.31 2012/07/30 09:46:31 ssuominen Exp $
+
+ 30 Jul 2012; Samuli Suominen <ssuominen@gentoo.org>
+ -stardict-3.0.3-r1.ebuild, metadata.xml:
+ old
+
+ 30 Jul 2012; Samuli Suominen <ssuominen@gentoo.org>
+ -stardict-3.0.3-r1.ebuild:
+ old
29 Jul 2012; Raúl Porcel <armin76@gentoo.org> stardict-3.0.3-r2.ebuild:
sparc stable wrt #416747
diff --git a/app-text/stardict/metadata.xml b/app-text/stardict/metadata.xml
index 57e7a9eaf2cb..9a88150c96d4 100644
--- a/app-text/stardict/metadata.xml
+++ b/app-text/stardict/metadata.xml
@@ -9,7 +9,6 @@
as Full-text translation, Net Dict.
</longdescription>
<use>
- <flag name='editor'>Build and install the stardict-editor utility</flag>
<flag name='espeak'>Enable text to speech synthesizer using espeak
engine</flag>
<flag name='gucharmap'>Enable gucharmap dictionary plugin</flag>
diff --git a/app-text/stardict/stardict-3.0.3-r1.ebuild b/app-text/stardict/stardict-3.0.3-r1.ebuild
deleted file mode 100644
index 7f396a8bd1ba..000000000000
--- a/app-text/stardict/stardict-3.0.3-r1.ebuild
+++ /dev/null
@@ -1,115 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/stardict/stardict-3.0.3-r1.ebuild,v 1.6 2012/05/04 03:33:16 jdhore Exp $
-
-# 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.
-
-EAPI=4
-
-GNOME2_LA_PUNT=yes
-GCONF_DEBUG=no
-
-inherit eutils gnome2
-
-DESCRIPTION="A international dictionary supporting fuzzy and glob style matching"
-HOMEPAGE="http://code.google.com/p/stardict-3/"
-SRC_URI="http://${PN}-3.googlecode.com/files/${P}.tar.bz2
- pronounce? ( http://${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 ppc ppc64 sparc x86"
-IUSE="editor espeak gnome gucharmap qqwry pronounce spell"
-
-COMMON_DEPEND=">=dev-libs/glib-2.16
- dev-libs/libsigc++:2
- sys-libs/zlib
- >=x11-libs/gtk+-2.20:2
- editor? (
- dev-libs/libpcre
- dev-libs/libxml2
- virtual/mysql
- )
- gnome? (
- >=gnome-base/libbonobo-2
- >=gnome-base/libgnome-2
- >=gnome-base/libgnomeui-2
- >=gnome-base/gconf-2
- >=gnome-base/orbit-2
- )
- gucharmap? ( >=gnome-extra/gucharmap-2.22.1:0 )
- spell? ( >=app-text/enchant-1.2 )"
-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
- virtual/pkgconfig
- sys-devel/gettext"
-
-RESTRICT="test"
-
-pkg_setup() {
- G2CONF="$(use_enable editor tools)
- --disable-scrollkeeper
- $(use_enable spell)
- $(use_enable gucharmap)
- --disable-festival
- $(use_enable espeak)
- $(use_enable qqwry)
- --disable-updateinfo
- $(use_enable gnome gnome-support)
- --disable-gpe-support
- --disable-schemas-install"
-}
-
-src_prepare() {
- epatch \
- "${FILESDIR}"/${P}-correct-glib-include.patch \
- "${FILESDIR}"/${P}-entry.patch \
- "${FILESDIR}"/${P}-gcc46.patch \
- "${FILESDIR}"/${P}-compositelookup_cpp.patch \
- "${FILESDIR}"/${P}-overflow.patch
-
- gnome2_src_prepare
-}
-
-src_install() {
- gnome2_src_install
-
- dodoc dict/doc/{Documentation,FAQ,HACKING,HowToCreateDictionary,Skins,StarDictFileFormat,Translation}
-
- if use qqwry; then
- insinto /usr/share/stardict/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
-}
-
-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 stardict dictionary files. If"
- elog "you have not, execute the below to get a list of dictionaries:"
- elog
- elog " emerge -s stardict-"
-
- gnome2_pkg_postinst
-}