diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2011-10-19 16:17:14 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2011-10-19 16:17:14 +0000 |
commit | 36f06582f42ed00be40138fdbf6d17ba30a3ae5f (patch) | |
tree | c68b97661b909e76e3ebde4ef0bd06ac2eba44d1 /app-dicts/opendict | |
parent | ppc stable wrt #363877 (diff) | |
download | gentoo-2-36f06582f42ed00be40138fdbf6d17ba30a3ae5f.tar.gz gentoo-2-36f06582f42ed00be40138fdbf6d17ba30a3ae5f.tar.bz2 gentoo-2-36f06582f42ed00be40138fdbf6d17ba30a3ae5f.zip |
old
(Portage version: 2.2.0_alpha69/cvs/Linux x86_64)
Diffstat (limited to 'app-dicts/opendict')
-rw-r--r-- | app-dicts/opendict/ChangeLog | 6 | ||||
-rw-r--r-- | app-dicts/opendict/files/opendict-0.6.1-desktop.patch | 19 | ||||
-rw-r--r-- | app-dicts/opendict/opendict-0.6.1.ebuild | 87 |
3 files changed, 5 insertions, 107 deletions
diff --git a/app-dicts/opendict/ChangeLog b/app-dicts/opendict/ChangeLog index 1187f5bd2801..1e0f1cd68930 100644 --- a/app-dicts/opendict/ChangeLog +++ b/app-dicts/opendict/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-dicts/opendict # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-dicts/opendict/ChangeLog,v 1.26 2011/10/19 16:15:37 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-dicts/opendict/ChangeLog,v 1.27 2011/10/19 16:17:13 ssuominen Exp $ + + 19 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> -opendict-0.6.1.ebuild, + -files/opendict-0.6.1-desktop.patch: + old 19 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> opendict-0.6.3.ebuild: ppc stable wrt #363877 diff --git a/app-dicts/opendict/files/opendict-0.6.1-desktop.patch b/app-dicts/opendict/files/opendict-0.6.1-desktop.patch deleted file mode 100644 index eab0d23205c5..000000000000 --- a/app-dicts/opendict/files/opendict-0.6.1-desktop.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff -urN OpenDict-0.6.1.orig/misc/opendict.desktop OpenDict-0.6.1/misc/opendict.desktop ---- OpenDict-0.6.1.orig/misc/opendict.desktop 2006-04-20 19:29:01.000000000 +0300 -+++ OpenDict-0.6.1/misc/opendict.desktop 2006-04-20 20:25:48.000000000 +0300 -@@ -4,10 +4,10 @@ - Name[lt]=Žodynas „OpenDict“ - Comment=Lookup words in a local or Internet dictionary - Comment[lt]=Ieškoti žodžių kompiuterio arba Interneto žodyne --Exec=/usr/bin/opendict --Icon=/usr/share/opendict/pixmaps/icon-48x48.png -+Exec=opendict -+Icon=opendict.png -+StartupNotify=true - Terminal=false --MultipleArgs=false -+X-MultipleArgs=false - Type=Application --Categories=Application;Utility; -- -+Categories=GTK;Utility;Dictionary; diff --git a/app-dicts/opendict/opendict-0.6.1.ebuild b/app-dicts/opendict/opendict-0.6.1.ebuild deleted file mode 100644 index 2f91a6d2be94..000000000000 --- a/app-dicts/opendict/opendict-0.6.1.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-dicts/opendict/opendict-0.6.1.ebuild,v 1.10 2011/04/16 19:55:39 arfrever Exp $ - -EAPI=3 - -inherit eutils python gnome2 - -DESCRIPTION="OpenDict is a free cross-platform dictionary program." -HOMEPAGE="http://opendict.sourceforge.net/" -SRC_URI="mirror://sourceforge/opendict/OpenDict-${PV}.tar.gz" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="ppc x86" -IUSE="" -# DEPEND=">=sys-devel/gettext-0.14" # currently no xgettext run -RDEPEND=">=dev-lang/python-2.3 - =dev-python/wxpython-2.6* - dev-python/pyxml" -S="${WORKDIR}/OpenDict-${PV}" - -src_prepare() { - epatch "${FILESDIR}/${PN}-0.6.1-desktop.patch" - sed -e "s:), '..')):), '../../../../..', 'share', 'opendict')):g" \ - -i "${S}/lib/info.py" -} - -src_configure() { - default -} - -src_compile() { - : -} - -src_install() { - DHOME="$(python_get_sitedir)/opendict" - #dodir /usr/share/locale/lt/LC_MESSAGES - - dodir /usr/share/${PN} - dodir /usr/share/${PN}/dictionaries # global dictionary folder - dodir /usr/share/${PN}/dictionaries/plugins # global dictionary plugins folder - - # Needed by GUI - insinto /usr/share/${PN} - doins "${S}"/copying.html - - insinto "${DHOME}/lib" - doins -r "${S}"/lib/* - - insinto /usr/share/${PN}/pixmaps - doins "${S}"/pixmaps/* - - exeinto "${DHOME}" - doexe opendict.py - - dodir /usr/bin - dosym "${DHOME}/opendict.py" /usr/bin/opendict - - domenu misc/${PN}.desktop - - insinto /usr/share/icons/hicolor/24x24/apps/ - newins "${S}/pixmaps/icon-24x24.png" opendict.png - insinto /usr/share/icons/hicolor/32x32/apps/ - newins "${S}/pixmaps/icon-32x32.png" opendict.png - insinto /usr/share/icons/hicolor/48x48/apps/ - newins "${S}/pixmaps/icon-48x48.png" opendict.png - insinto /usr/share/icons/hicolor/scalable/apps/ - newins "${S}/pixmaps/SVG/icon-rune.svg" opendict.svg - - doman opendict.1 - dodoc ChangeLog README.txt TODO.txt doc/Plugin-HOWTO.html -} - -pkg_postinst() { - python_mod_optimize opendict - gnome2_icon_cache_update - - elog "If you want system-wide plugins, unzip them into" - elog "${ROOT}usr/share/${PN}/dictionaries/plugins" - elog "Some are available from http://opendict.sourceforge.net/?cid=3" -} - -pkg_postrm() { - python_mod_cleanup opendict - gnome2_icon_cache_update -} |