public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-text/stardict/
@ 2015-09-23 12:52 Agostino Sarubbo
  0 siblings, 0 replies; 34+ messages in thread
From: Agostino Sarubbo @ 2015-09-23 12:52 UTC (permalink / raw
  To: gentoo-commits

commit:     e54cfc95b31b8487403dfd2dfd3c2db2a3209ab0
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 23 12:51:07 2015 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Wed Sep 23 12:51:53 2015 +0000
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"


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/stardict/
@ 2015-11-09 21:51 Pacho Ramos
  0 siblings, 0 replies; 34+ messages in thread
From: Pacho Ramos @ 2015-11-09 21:51 UTC (permalink / raw
  To: gentoo-commits

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
+}


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/stardict/
@ 2015-11-21 12:58 Pacho Ramos
  0 siblings, 0 replies; 34+ messages in thread
From: Pacho Ramos @ 2015-11-21 12:58 UTC (permalink / raw
  To: gentoo-commits

commit:     98929124cf899e1ec9b087c862f5d1a3730d2266
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 21 12:57:55 2015 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sat Nov 21 12:57:55 2015 +0000
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 0000000..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 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
+}


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/stardict/
@ 2015-11-21 12:58 Pacho Ramos
  0 siblings, 0 replies; 34+ messages in thread
From: Pacho Ramos @ 2015-11-21 12:58 UTC (permalink / raw
  To: gentoo-commits

commit:     6d2a5f0fce1c79ecfcf802ba0c2f6279cee2ac8f
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 21 12:58:32 2015 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sat Nov 21 12:58:32 2015 +0000
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..0000000
--- 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:'
-	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
-}


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/stardict/
@ 2015-12-25 15:13 Agostino Sarubbo
  0 siblings, 0 replies; 34+ messages in thread
From: Agostino Sarubbo @ 2015-12-25 15:13 UTC (permalink / raw
  To: gentoo-commits

commit:     7a6eddae859e814a8d0d177677146d410f90fa3f
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 25 15:12:10 2015 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Fri Dec 25 15:12:10 2015 +0000
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 <ago <AT> 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"


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/stardict/
@ 2015-12-26 10:36 Agostino Sarubbo
  0 siblings, 0 replies; 34+ messages in thread
From: Agostino Sarubbo @ 2015-12-26 10:36 UTC (permalink / raw
  To: gentoo-commits

commit:     68dc099842fce7b0be000eaaaaacbaab04aaca27
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 26 10:35:11 2015 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Sat Dec 26 10:35:11 2015 +0000
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 <ago <AT> 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"


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/stardict/
@ 2016-03-17 10:50 Agostino Sarubbo
  0 siblings, 0 replies; 34+ messages in thread
From: Agostino Sarubbo @ 2016-03-17 10:50 UTC (permalink / raw
  To: gentoo-commits

commit:     0532dcf83824f8877244031d1a99eca931f645c9
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 17 10:49:31 2016 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Thu Mar 17 10:49:31 2016 +0000
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 <ago <AT> 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"


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/stardict/
@ 2016-03-17 10:59 Michael Palimaka
  0 siblings, 0 replies; 34+ messages in thread
From: Michael Palimaka @ 2016-03-17 10:59 UTC (permalink / raw
  To: gentoo-commits

commit:     f6ff58add069083cf3ef3039d97e5a3fdf142694
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 17 10:58:39 2016 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Thu Mar 17 10:58:55 2016 +0000
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 @@
 	<use>
 		<flag name="espeak">Enable text to speech synthesizer using espeak
 			 engine</flag>
-		<flag name="gucharmap">Enable gucharmap dictionary plugin</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

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..0000000
--- 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 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
-}


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/stardict/
@ 2016-12-02  7:14 Andrew Savchenko
  0 siblings, 0 replies; 34+ messages in thread
From: Andrew Savchenko @ 2016-12-02  7:14 UTC (permalink / raw
  To: gentoo-commits

commit:     43df9a20afbe8c3785e865a3f663632fbfef7112
Author:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Fri Dec  2 07:14:40 2016 +0000
Commit:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Fri Dec  2 07:14:40 2016 +0000
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 <bircoph <AT> 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 @@
 		<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 the extra stardict tools</flag>
+		<flag name="tools">Build and install dictionary management
+			tools and converters from various dictionary formats</flag>
 	</use>
 	<upstream>
 		<remote-id type="sourceforge">stardict-4</remote-id>


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/stardict/
@ 2016-12-03 16:47 Andrew Savchenko
  0 siblings, 0 replies; 34+ messages in thread
From: Andrew Savchenko @ 2016-12-03 16:47 UTC (permalink / raw
  To: gentoo-commits

commit:     423ab92ca20594d5974fc04cc7d9ed841512f0a3
Author:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Sat Dec  3 14:16:25 2016 +0000
Commit:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Sat Dec  3 16:47:35 2016 +0000
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 <bircoph <AT> 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
 }
 


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/stardict/
@ 2016-12-03 16:47 Andrew Savchenko
  0 siblings, 0 replies; 34+ messages in thread
From: Andrew Savchenko @ 2016-12-03 16:47 UTC (permalink / raw
  To: gentoo-commits

commit:     9296b5ddf49633f09d0188114e57f1d9cdd2556b
Author:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Fri Dec  2 16:32:20 2016 +0000
Commit:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Sat Dec  3 16:47:33 2016 +0000
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 <bircoph <AT> 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 00000000..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 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
+}


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/stardict/
@ 2016-12-03 16:47 Andrew Savchenko
  0 siblings, 0 replies; 34+ messages in thread
From: Andrew Savchenko @ 2016-12-03 16:47 UTC (permalink / raw
  To: gentoo-commits

commit:     0199fbe7d6a4830259302f243a53b428e2a7099f
Author:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Sat Dec  3 06:51:22 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=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 <bircoph <AT> 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
 }


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/stardict/
@ 2016-12-03 16:47 Andrew Savchenko
  0 siblings, 0 replies; 34+ messages in thread
From: Andrew Savchenko @ 2016-12-03 16:47 UTC (permalink / raw
  To: gentoo-commits

commit:     d615f8f9d771a4e52ea5d4a27ec2e0bdd37e0dcb
Author:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Sat Dec  3 16:47:06 2016 +0000
Commit:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Sat Dec  3 16:47:35 2016 +0000
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 <bircoph <AT> 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


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/stardict/
@ 2016-12-03 16:47 Andrew Savchenko
  0 siblings, 0 replies; 34+ messages in thread
From: Andrew Savchenko @ 2016-12-03 16:47 UTC (permalink / raw
  To: gentoo-commits

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() {


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/stardict/
@ 2016-12-03 17:11 Andrew Savchenko
  0 siblings, 0 replies; 34+ messages in thread
From: Andrew Savchenko @ 2016-12-03 17:11 UTC (permalink / raw
  To: gentoo-commits

commit:     da045a09e0595bc42b3db904b1ed377fbe563669
Author:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Sat Dec  3 17:09:54 2016 +0000
Commit:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Sat Dec  3 17:11:54 2016 +0000
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 <bircoph <AT> 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


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/stardict/
@ 2016-12-05 12:06 Andrew Savchenko
  0 siblings, 0 replies; 34+ messages in thread
From: Andrew Savchenko @ 2016-12-05 12:06 UTC (permalink / raw
  To: gentoo-commits

commit:     c6808cd503e49c9882c0fe7d7ffdf0ee751f1d38
Author:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Mon Dec  5 08:01:47 2016 +0000
Commit:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Mon Dec  5 12:06:40 2016 +0000
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 <bircoph <AT> 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 @@
 	 </longdescription>
 	<use>
 		<flag name="advertisement">Enable stardict advertisements plugin</flag>
+		<flag name="cal">Enable calendar support using cal program</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="flite">Enable text to speech synthesizer plugin using
 			<pkg>app-accessibility/flite</pkg> engine</flag>
+		<flag name="fortune">Enable plugin to read fortune messages using
+			<pkg>games-misc/fortune-mod</pkg>. You may consider installing
+			<pkg>games-misc/fortune-mod-all</pkg> to get all fortune messages.</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>
@@ -36,6 +40,7 @@
 			lexical database</flag>
 		<flag name="xdxfparse">Enable plugin to parse dictionaries in xdxf (XML Dictionary
 			eXchange Format)</flag>
+		<flag name="youdaodict">Enable youdao.com network plugin (for Chinese language)</flag>
 	</use>
 	<upstream>
 		<remote-id type="sourceforge">stardict-4</remote-id>

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() {


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/stardict/
@ 2016-12-05 12:06 Andrew Savchenko
  0 siblings, 0 replies; 34+ messages in thread
From: Andrew Savchenko @ 2016-12-05 12:06 UTC (permalink / raw
  To: gentoo-commits

commit:     cfcc53f3d4734e98680e3f51444235c9fec38c21
Author:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Mon Dec  5 10:18:16 2016 +0000
Commit:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Mon Dec  5 12:06:40 2016 +0000
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 <bircoph <AT> 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) \


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/stardict/
@ 2016-12-05 12:06 Andrew Savchenko
  0 siblings, 0 replies; 34+ messages in thread
From: Andrew Savchenko @ 2016-12-05 12:06 UTC (permalink / raw
  To: gentoo-commits

commit:     e12d6c0cf94e3663e24d198aa8edec3f7c29e5aa
Author:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Sat Dec  3 18:50:23 2016 +0000
Commit:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Mon Dec  5 12:06:38 2016 +0000
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 <bircoph <AT> 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


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/stardict/
@ 2016-12-05 12:06 Andrew Savchenko
  0 siblings, 0 replies; 34+ messages in thread
From: Andrew Savchenko @ 2016-12-05 12:06 UTC (permalink / raw
  To: gentoo-commits

commit:     d581c747b5022e250d921c19cf86dbb7876ac697
Author:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Mon Dec  5 07:15:40 2016 +0000
Commit:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Mon Dec  5 12:06:39 2016 +0000
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 <bircoph <AT> 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.
 	 </longdescription>
 	<use>
 		<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="flite">Enable text to speech synthesizer plugin using
+			<pkg>app-accessibility/flite</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="info">Enable plugin to read info pages</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="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="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="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>
+		<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 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) \


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/stardict/
@ 2016-12-05 12:06 Andrew Savchenko
  0 siblings, 0 replies; 34+ messages in thread
From: Andrew Savchenko @ 2016-12-05 12:06 UTC (permalink / raw
  To: gentoo-commits

commit:     1a7d4604c67c838923c5d2ce028de6e8aed5a140
Author:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Sat Dec  3 18:33:47 2016 +0000
Commit:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Mon Dec  5 12:06:37 2016 +0000
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 <bircoph <AT> 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}


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/stardict/
@ 2016-12-05 12:06 Andrew Savchenko
  0 siblings, 0 replies; 34+ messages in thread
From: Andrew Savchenko @ 2016-12-05 12:06 UTC (permalink / raw
  To: gentoo-commits

commit:     825ecef7a3461d84ac667b32cb5217d5bac4aca4
Author:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Sat Dec  3 18:24:38 2016 +0000
Commit:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Mon Dec  5 12:06:35 2016 +0000
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 <bircoph <AT> 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 00000000..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 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-festival \
+		--disable-gnome-support \
+		--disable-gpe-support \
+		--disable-schemas-install \
+		--disable-scrollkeeper \
+		$(use_enable advertisement) \
+		$(use_enable dictdotcn) \
+		$(use_enable debug) \
+		$(use_enable espeak) \
+		$(use_enable gucharmap) \
+		$(use_enable htmlparse) \
+		$(use_enable qqwry) \
+		$(use_enable powerwordparse) \
+		$(use_enable spell) \
+		$(use_enable tools) \
+		$(use_enable updateinfo) \
+		$(use_enable wikiparse) \
+		$(use_enable wordnet) \
+		$(use_enable xdxfparse)
+}
+
+src_install() {
+	gnome2_src_install
+
+	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
+		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
+	# 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"
+
+		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
+				dobin "tools/src/${app}"
+			else
+				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 /usr/share/doc/${PF}/tools
+			doins tools/src/{dictbuilder.{example,readme},example.ifo,example_treedict.tar.bz2}
+		fi
+	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:'
+	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 "  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
+}


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/stardict/
@ 2016-12-26 12:30 Aaron Bauman
  0 siblings, 0 replies; 34+ messages in thread
From: Aaron Bauman @ 2016-12-26 12:30 UTC (permalink / raw
  To: gentoo-commits

commit:     cc2ee4d95bef8fc1f1ee2deddab5afe211688e13
Author:     Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 26 12:29:41 2016 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Mon Dec 26 12:29:41 2016 +0000
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"


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/stardict/
@ 2016-12-30  9:39 Agostino Sarubbo
  0 siblings, 0 replies; 34+ messages in thread
From: Agostino Sarubbo @ 2016-12-30  9:39 UTC (permalink / raw
  To: gentoo-commits

commit:     120444bbb09272d054898af674f1e05a8a888fc6
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 30 09:37:10 2016 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Fri Dec 30 09:37:10 2016 +0000
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 <ago <AT> 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"


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/stardict/
@ 2017-01-02 11:09 Andrew Savchenko
  0 siblings, 0 replies; 34+ messages in thread
From: Andrew Savchenko @ 2017-01-02 11:09 UTC (permalink / raw
  To: gentoo-commits

commit:     e2555594063cea186ec5842a8795a4e98c019789
Author:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  2 11:07:58 2017 +0000
Commit:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Mon Jan  2 11:09:49 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2555594

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 <bircoph <AT> 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 00000000..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 \
+		--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) \
+		$(use_enable gnome gnome-support) \
+		$(use_enable gucharmap) \
+		$(use_enable htmlparse) \
+		$(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 youdaodict)
+}
+
+src_install() {
+	gnome2_src_install
+
+	dodoc AUTHORS ChangeLog README
+
+	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}
+
+	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
+		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
+	# 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 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
+			makevietdict.py uyghur2dict.py"
+
+		for app in ${apps}; do
+			if [[ "${app}" =~ ^${PN} ]]; then
+				dobin "tools/src/${app}"
+			else
+				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 /usr/share/doc/${PF}/tools
+			doins tools/src/{dictbuilder.{example,readme},example.ifo,example_treedict.tar.bz2}
+		fi
+	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:'
+	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 "  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
+}


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/stardict/
@ 2017-01-02 11:09 Andrew Savchenko
  0 siblings, 0 replies; 34+ messages in thread
From: Andrew Savchenko @ 2017-01-02 11:09 UTC (permalink / raw
  To: gentoo-commits

commit:     5fe1e546873657e2a6bc724225883e872cb625e6
Author:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  2 11:09:16 2017 +0000
Commit:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Mon Jan  2 11:09:49 2017 +0000
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 <bircoph <AT> 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..00000000
--- 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) \
-		$(use_enable gucharmap) \
-		$(use_enable htmlparse) \
-		$(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 youdaodict)
-}
-
-src_install() {
-	gnome2_src_install
-
-	dodoc AUTHORS ChangeLog README
-
-	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}
-
-	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
-		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
-	# 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 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
-			makevietdict.py uyghur2dict.py"
-
-		for app in ${apps}; do
-			if [[ "${app}" =~ ^${PN} ]]; then
-				dobin "tools/src/${app}"
-			else
-				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 /usr/share/doc/${PF}/tools
-			doins tools/src/{dictbuilder.{example,readme},example.ifo,example_treedict.tar.bz2}
-		fi
-	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:'
-	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 "  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
-}


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/stardict/
@ 2017-01-03 21:22 Andrew Savchenko
  0 siblings, 0 replies; 34+ messages in thread
From: Andrew Savchenko @ 2017-01-03 21:22 UTC (permalink / raw
  To: gentoo-commits

commit:     7313b0ba4d6941af1298e341a696b4952a1f9184
Author:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Tue Jan  3 20:39:16 2017 +0000
Commit:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Tue Jan  3 21:22:44 2017 +0000
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 <bircoph <AT> 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..00000000
--- 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
-			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
-}


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/stardict/
@ 2017-11-25 19:55 David Seifert
  0 siblings, 0 replies; 34+ messages in thread
From: David Seifert @ 2017-11-25 19:55 UTC (permalink / raw
  To: gentoo-commits

commit:     7b69e48ac9a87696795c277f331ed8c78fdaa76a
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 25 18:07:50 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Nov 25 19:54:49 2017 +0000
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 @@
-<?xml version='1.0' encoding='UTF-8'?>
+<?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
 	<maintainer type="person">
@@ -6,40 +6,30 @@
 		<name>Andrew Savchenko</name>
 	</maintainer>
 	<longdescription>
-	 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.
-	 </longdescription>
+		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.
+	</longdescription>
 	<use>
 		<flag name="advertisement">Enable stardict advertisements plugin</flag>
 		<flag name="cal">Enable calendar support using cal program</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="flite">Enable text to speech synthesizer plugin using
-			<pkg>app-accessibility/flite</pkg> engine</flag>
-		<flag name="fortune">Enable plugin to read fortune messages using
-			<pkg>games-misc/fortune-mod</pkg>. You may consider installing
-			<pkg>games-misc/fortune-mod-all</pkg> to get all fortune messages.</flag>
-		<flag name="gucharmap">Enable plugin for unicode symbols description using
-			<pkg>gnome-extra/gucharmap</pkg></flag>
+		<flag name="espeak">Enable text to speech synthesizer plugin using <pkg>app-accessibility/espeak</pkg> engine</flag>
+		<flag name="flite">Enable text to speech synthesizer plugin using <pkg>app-accessibility/flite</pkg> engine</flag>
+		<flag name="fortune">Enable plugin to read fortune messages using <pkg>games-misc/fortune-mod</pkg>. You may consider installing <pkg>games-misc/fortune-mod-all</pkg> to get all fortune messages.</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="info">Enable plugin to read info pages</flag>
 		<flag name="man">Enable plugin to read manual pages</flag>
 		<flag name="powerwordparse">Enable plugin to parse powerword dictionaries</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="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="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>
+		<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>
 		<flag name="youdaodict">Enable youdao.com network plugin (for Chinese language)</flag>
 	</use>
 	<upstream>


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/stardict/
@ 2018-08-25 14:45 Andrew Savchenko
  0 siblings, 0 replies; 34+ messages in thread
From: Andrew Savchenko @ 2018-08-25 14:45 UTC (permalink / raw
  To: gentoo-commits

commit:     df13b6011c2a8117b6c596d72fd944cfd14317fc
Author:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 25 14:34:26 2018 +0000
Commit:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Sat Aug 25 14:34:26 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df13b601

app-text/stardict: remove old

Signed-off-by: Andrew Savchenko <bircoph <AT> 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..00000000000
--- 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 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 \
-		--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) \
-		$(use_enable gnome gnome-support) \
-		$(use_enable gucharmap) \
-		$(use_enable htmlparse) \
-		$(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 youdaodict)
-}
-
-src_install() {
-	gnome2_src_install
-
-	dodoc AUTHORS ChangeLog README
-
-	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}
-
-	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
-		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
-	# 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 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
-			makevietdict.py uyghur2dict.py"
-
-		for app in ${apps}; do
-			if [[ "${app}" =~ ^${PN} ]]; then
-				dobin "tools/src/${app}"
-			else
-				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 /usr/share/doc/${PF}/tools
-			doins tools/src/{dictbuilder.{example,readme},example.ifo,example_treedict.tar.bz2}
-		fi
-	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:'
-	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 "  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
-}


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/stardict/
@ 2018-08-25 14:45 Andrew Savchenko
  0 siblings, 0 replies; 34+ messages in thread
From: Andrew Savchenko @ 2018-08-25 14:45 UTC (permalink / raw
  To: gentoo-commits

commit:     c20f85f8c5cd3ef3c1f8436e81a2e4c49cfeb96e
Author:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 25 14:44:15 2018 +0000
Commit:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Sat Aug 25 14:44:15 2018 +0000
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 <bircoph <AT> 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} )
 	)
 "


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/stardict/
@ 2018-08-25 14:45 Andrew Savchenko
  0 siblings, 0 replies; 34+ messages in thread
From: Andrew Savchenko @ 2018-08-25 14:45 UTC (permalink / raw
  To: gentoo-commits

commit:     8d0fcece2dd2cc2f6998e6bc9ac81175779c5af9
Author:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 25 14:11:30 2018 +0000
Commit:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Sat Aug 25 14:11:30 2018 +0000
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 <bircoph <AT> 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 00000000000..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=( "${FILESDIR}/${PN}-4.0.0_pre20160518-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
+	sed -i '/AM_GCONF_SOURCE_2/d' dict/configure.ac || die
+
+	eapply_user
+	eautoreconf
+	gnome2_src_prepare
+}
+
+src_configure() {
+	# Festival plugin crashes, bug 188684. Disable for now.
+	# Gnome2 support is disabled due to deprecation request, bug 644346
+	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) \
+		$(use_enable gucharmap) \
+		$(use_enable htmlparse) \
+		$(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 youdaodict)
+}
+
+src_install() {
+	gnome2_src_install
+
+	dodoc AUTHORS ChangeLog README
+
+	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}
+
+	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
+		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
+	# 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 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
+			makevietdict.py uyghur2dict.py"
+
+		for app in ${apps}; do
+			if [[ "${app}" =~ ^${PN} ]]; then
+				dobin "tools/src/${app}"
+			else
+				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 /usr/share/doc/${PF}/tools
+			doins tools/src/{dictbuilder.{example,readme},example.ifo,example_treedict.tar.bz2}
+		fi
+	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:'
+	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 "  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
+}


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/stardict/
@ 2020-02-02 19:35 Mart Raudsepp
  0 siblings, 0 replies; 34+ messages in thread
From: Mart Raudsepp @ 2020-02-02 19:35 UTC (permalink / raw
  To: gentoo-commits

commit:     ea9bd2f9f15ede489af626c282c7a48ef493a07c
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Sun Feb  2 18:30:11 2020 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Sun Feb  2 19:34:23 2020 +0000
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 <leio <AT> 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


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/stardict/
@ 2020-09-19  8:04 Michał Górny
  0 siblings, 0 replies; 34+ messages in thread
From: Michał Górny @ 2020-09-19  8:04 UTC (permalink / raw
  To: gentoo-commits

commit:     68496933adcb964398fd00f85adc8d703266a771
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 19 07:53:03 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Sep 19 08:04:41 2020 +0000
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 <mgorny <AT> 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
 "
-REQUIRED_USE="tools? ( python? ( ${PYTHON_REQUIRED_USE} ) )"
 
 # docs are messy, installed manually below
 DOCS=""
@@ -80,17 +77,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
-
 	# bug 604318
 	sed -i '/AM_GCONF_SOURCE_2/d' dict/configure.ac || die
 
@@ -179,8 +165,6 @@ src_install() {
 			${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
-			makevietdict.py uyghur2dict.py"
 
 		for app in ${apps}; do
 			if [[ "${app}" =~ ^${PN} ]]; then
@@ -189,7 +173,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}


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/stardict/
@ 2023-04-03  5:54 Sam James
  0 siblings, 0 replies; 34+ messages in thread
From: Sam James @ 2023-04-03  5:54 UTC (permalink / raw
  To: gentoo-commits

commit:     b4b2e0b372a75685e5e308b5e49188bc676962e6
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Apr  3 05:53:03 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Apr  3 05:53:27 2023 +0000
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 <sam <AT> 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"


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/stardict/
@ 2023-05-06 14:18 Sam James
  0 siblings, 0 replies; 34+ messages in thread
From: Sam James @ 2023-05-06 14:18 UTC (permalink / raw
  To: gentoo-commits

commit:     f60d058e1c323acb165482d92532d2c82af67f62
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat May  6 14:05:59 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat May  6 14:17:53 2023 +0000
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 <sam <AT> 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 @@
 		<flag name="advertisement">Enable stardict advertisements plugin</flag>
 		<flag name="cal">Enable calendar support using cal program</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="espeak">Enable text to speech synthesizer plugin using <pkg>app-accessibility/espeak-ng</pkg> engine</flag>
 		<flag name="flite">Enable text to speech synthesizer plugin using <pkg>app-accessibility/flite</pkg> engine</flag>
 		<flag name="fortune">Enable plugin to read fortune messages using <pkg>games-misc/fortune-mod</pkg>. You may consider installing <pkg>games-misc/fortune-mod-all</pkg> to get all fortune messages.</flag>
 		<flag name="gucharmap">Enable plugin for unicode symbols description using <pkg>gnome-extra/gucharmap</pkg></flag>

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 )


^ permalink raw reply related	[flat|nested] 34+ messages in thread

end of thread, other threads:[~2023-05-06 14:18 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-21 12:58 [gentoo-commits] repo/gentoo:master commit in: app-text/stardict/ Pacho Ramos
  -- strict thread matches above, loose matches on Subject: below --
2023-05-06 14:18 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-09 21:51 Pacho Ramos
2015-09-23 12:52 Agostino Sarubbo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox