summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-01-14 19:30:12 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-01-14 19:30:12 +0000
commit1e876b54403248e7d5b8e1cc03c67fb27dc6bd3c (patch)
tree31b160f16756a80b210ff9fb5333c15ba22ab446 /app-text/stardict
parentalpha/ia64/sh/sparc stable wrt #379045 (diff)
downloadhistorical-1e876b54403248e7d5b8e1cc03c67fb27dc6bd3c.tar.gz
historical-1e876b54403248e7d5b8e1cc03c67fb27dc6bd3c.tar.bz2
historical-1e876b54403248e7d5b8e1cc03c67fb27dc6bd3c.zip
old
Package-Manager: portage-2.2.0_alpha84/cvs/Linux x86_64
Diffstat (limited to 'app-text/stardict')
-rw-r--r--app-text/stardict/ChangeLog7
-rw-r--r--app-text/stardict/files/stardict-2.4.8-ClipboardReceivedCallback.patch20
-rw-r--r--app-text/stardict/files/stardict-2.4.8-floatwin-disappear.patch13
-rw-r--r--app-text/stardict/stardict-3.0.3.ebuild113
4 files changed, 6 insertions, 147 deletions
diff --git a/app-text/stardict/ChangeLog b/app-text/stardict/ChangeLog
index b261b1cd8b7c..a8880046dc64 100644
--- a/app-text/stardict/ChangeLog
+++ b/app-text/stardict/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-text/stardict
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/stardict/ChangeLog,v 1.16 2012/01/13 17:20:48 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/stardict/ChangeLog,v 1.17 2012/01/14 19:30:12 ssuominen Exp $
+
+ 14 Jan 2012; Samuli Suominen <ssuominen@gentoo.org>
+ -files/stardict-2.4.8-ClipboardReceivedCallback.patch,
+ -files/stardict-2.4.8-floatwin-disappear.patch, -stardict-3.0.3.ebuild:
+ old
13 Jan 2012; Mike Frysinger <vapier@gentoo.org> stardict-3.0.1-r2.ebuild,
stardict-3.0.1-r3.ebuild:
diff --git a/app-text/stardict/files/stardict-2.4.8-ClipboardReceivedCallback.patch b/app-text/stardict/files/stardict-2.4.8-ClipboardReceivedCallback.patch
deleted file mode 100644
index 630da35e83ff..000000000000
--- a/app-text/stardict/files/stardict-2.4.8-ClipboardReceivedCallback.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- trunk/src/mainwin.h 2006/08/08 12:44:42 1
-+++ trunk/src/mainwin.h 2006/08/09 19:00:35 2
-@@ -68,8 +68,6 @@
- static void on_main_menu_about_activate(GtkMenuItem *menuitem, TopWin *oTopWin);
- static void on_main_menu_quit_activate(GtkMenuItem *menuitem, TopWin *oTopWin);
-
-- static void ClipboardReceivedCallback(GtkClipboard *clipboard, const gchar *text, gpointer data);
--
- void LoadHistory(void);
- void SaveHistory(void);
- public:
-@@ -97,7 +95,7 @@
- bool HasFocus() {
- return GTK_WIDGET_HAS_FOCUS(GTK_COMBO(WordCombo)->entry);
- }
--
-+ static void ClipboardReceivedCallback(GtkClipboard *clipboard, const gchar *text, gpointer data);
- };
-
- class ListWin
diff --git a/app-text/stardict/files/stardict-2.4.8-floatwin-disappear.patch b/app-text/stardict/files/stardict-2.4.8-floatwin-disappear.patch
deleted file mode 100644
index 44f92ee9884a..000000000000
--- a/app-text/stardict/files/stardict-2.4.8-floatwin-disappear.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: stardict-2.4.8/src/floatwin.cpp
-===================================================================
---- stardict-2.4.8.orig/src/floatwin.cpp
-+++ stardict-2.4.8/src/floatwin.cpp
-@@ -788,7 +788,7 @@ gboolean FloatWin::vButtonReleaseCallbac
-
- gboolean FloatWin::vMotionNotifyCallback (GtkWidget * widget, GdkEventMotion * event , FloatWin *oFloatWin)
- {
-- if (event->window == oFloatWin->FloatWindow->window || (event->state & GDK_BUTTON1_MASK))
-+ if (event->state & GDK_BUTTON1_MASK)
- {
- gint x,y;
- x = oFloatWin->press_window_x + (gint)(event->x_root) - oFloatWin->press_x_root;
diff --git a/app-text/stardict/stardict-3.0.3.ebuild b/app-text/stardict/stardict-3.0.3.ebuild
deleted file mode 100644
index 84c5650f22d0..000000000000
--- a/app-text/stardict/stardict-3.0.3.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/stardict/stardict-3.0.3.ebuild,v 1.5 2012/01/08 18:31:37 ssuominen Exp $
-
-# NOTE: Even though the *.dict.dz are the same as dictd/freedict's files,
-# their indexes seem to be in a different format. So we'll keep them
-# seperate for now.
-
-# NOTE: Festival plugin crashes, bug 188684. Disable for now.
-
-EAPI=4
-
-GNOME2_LA_PUNT=yes
-GCONF_DEBUG=no
-
-inherit eutils gnome2
-
-DESCRIPTION="A international dictionary supporting fuzzy and glob style matching"
-HOMEPAGE="http://code.google.com/p/stardict-3/"
-SRC_URI="http://${PN}-3.googlecode.com/files/${P}.tar.bz2
- pronounce? ( http://${PN}-3.googlecode.com/files/WyabdcRealPeopleTTS.tar.bz2 )
- qqwry? ( mirror://gentoo/QQWry.Dat.bz2 )"
-
-LICENSE="CPL-1.0 GPL-3 LGPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="editor espeak gnome gucharmap qqwry pronounce spell"
-
-COMMON_DEPEND=">=dev-libs/glib-2.16
- dev-libs/libsigc++:2
- sys-libs/zlib
- >=x11-libs/gtk+-2.20:2
- editor? (
- dev-libs/libpcre
- dev-libs/libxml2
- virtual/mysql
- )
- gnome? (
- >=gnome-base/libbonobo-2
- >=gnome-base/libgnome-2
- >=gnome-base/libgnomeui-2
- >=gnome-base/gconf-2
- >=gnome-base/orbit-2
- )
- gucharmap? ( >=gnome-extra/gucharmap-2.22.1:0 )
- spell? ( >=app-text/enchant-1.2 )"
-RDEPEND="${COMMON_DEPEND}
- espeak? ( >=app-accessibility/espeak-1.29 )"
-DEPEND="${COMMON_DEPEND}
- app-text/docbook-xml-dtd:4.3
- app-text/gnome-doc-utils
- dev-libs/libxslt
- dev-util/intltool
- dev-util/pkgconfig
- sys-devel/gettext"
-
-RESTRICT="test"
-
-pkg_setup() {
- G2CONF="$(use_enable editor tools)
- --disable-scrollkeeper
- $(use_enable spell)
- $(use_enable gucharmap)
- --disable-festival
- $(use_enable espeak)
- $(use_enable qqwry)
- --disable-updateinfo
- $(use_enable gnome gnome-support)
- --disable-gpe-support
- --disable-schemas-install"
-}
-
-src_prepare() {
- epatch \
- "${FILESDIR}"/${P}-correct-glib-include.patch \
- "${FILESDIR}"/${P}-entry.patch \
- "${FILESDIR}"/${P}-gcc46.patch
-
- gnome2_src_prepare
-}
-
-src_install() {
- gnome2_src_install
-
- dodoc dict/doc/{Documentation,FAQ,HACKING,HowToCreateDictionary,Skins,StarDictFileFormat,Translation}
-
- if use qqwry; then
- insinto /usr/share/stardict/data
- doins ../QQWry.Dat
- fi
-
- if use pronounce; then
- docinto WyabdcRealPeopleTTS
- dodoc ../WyabdcRealPeopleTTS/{README,readme.txt}
- rm -f ../WyabdcRealPeopleTTS/{README,readme.txt}
- insinto /usr/share
- doins -r ../WyabdcRealPeopleTTS
- fi
-}
-
-pkg_postinst() {
- elog "Note: festival text to speech (TTS) plugin is not built. To use festival"
- elog 'TTS plugin, please, emerge festival and enable "Use TTS program." at:'
- elog '"Preferences -> Dictionary -> Sound" and fill in "Commandline" with:'
- elog '"echo %s | festival --tts"'
- elog
- elog "You will now need to install stardict dictionary files. If"
- elog "you have not, execute the below to get a list of dictionaries:"
- elog
- elog " emerge -s stardict-"
-
- gnome2_pkg_postinst
-}