summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <rhill@gentoo.org>2009-11-23 00:22:01 +0000
committerRyan Hill <rhill@gentoo.org>2009-11-23 00:22:01 +0000
commit070a7a2edbb7858f703ab12997c23d9aee4615d1 (patch)
treec1a569fd70a5566639b5cd65c251a2cbb3700f21 /app-dicts/opendict
parentFix bug #286012 also in qemu (diff)
downloadhistorical-070a7a2edbb7858f703ab12997c23d9aee4615d1.tar.gz
historical-070a7a2edbb7858f703ab12997c23d9aee4615d1.tar.bz2
historical-070a7a2edbb7858f703ab12997c23d9aee4615d1.zip
Version bump. Require wxpython:2.8. Keyword ~amd64.
Package-Manager: portage-2.2_rc51/cvs/Linux x86_64
Diffstat (limited to 'app-dicts/opendict')
-rw-r--r--app-dicts/opendict/ChangeLog9
-rw-r--r--app-dicts/opendict/Manifest14
-rw-r--r--app-dicts/opendict/opendict-0.6.3.ebuild84
3 files changed, 104 insertions, 3 deletions
diff --git a/app-dicts/opendict/ChangeLog b/app-dicts/opendict/ChangeLog
index 5eb24aa4c320..5c14d0b5a7a2 100644
--- a/app-dicts/opendict/ChangeLog
+++ b/app-dicts/opendict/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-dicts/opendict
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-dicts/opendict/ChangeLog,v 1.16 2008/05/29 15:33:19 hawking Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-dicts/opendict/ChangeLog,v 1.17 2009/11/23 00:22:01 dirtyepic Exp $
+
+*opendict-0.6.3 (23 Nov 2009)
+
+ 23 Nov 2009; Ryan Hill <dirtyepic@gentoo.org> +opendict-0.6.3.ebuild:
+ Version bump. Require wxpython:2.8. Keyword ~amd64.
29 May 2008; Ali Polatel <hawking@gentoo.org> opendict-0.6.1.ebuild:
python_mod_optimize is ROOT aware. Fixed python_mod_cleanup.
diff --git a/app-dicts/opendict/Manifest b/app-dicts/opendict/Manifest
index c4d784ee7fb6..8073449183c9 100644
--- a/app-dicts/opendict/Manifest
+++ b/app-dicts/opendict/Manifest
@@ -1,5 +1,17 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX opendict-0.6.1-desktop.patch 698 RMD160 b8d1e56e702097ac71d4e92d7edcb8c6d47e5df1 SHA1 1e1dcea77a25db2b3e05e4c2959718d5bfa02fac SHA256 289ba5286d3bd51d99b01761818f69ff61ff1f413cdd4bf298e72efd784fe4af
DIST OpenDict-0.6.1.tar.gz 125534 RMD160 cf4a324c0be17e6f811f3ba4b42ec76dcc459dc4 SHA1 6a2f5c2f687973a85e66462cbec5fc0cf44ad2b8 SHA256 4ad993a98ed57ce78604060bff32a39fd0862a28d0d072795c46d50cfc215f1b
+DIST opendict-0.6.3.tar.gz 132515 RMD160 76c18452e09f4990114e7920cfe502aa632873bd SHA1 fca2857fe9a764d7b5b07ebd6eb069494e6b3768 SHA256 dad7723512768aeae65fead0f06a3c973b161a86658b94a66c4945beb12f45dc
EBUILD opendict-0.6.1.ebuild 2314 RMD160 71976bdaa8a4e275b90fafc1ff1da591be5a7b6a SHA1 c38b8ad5bde06d2fb084934efe82cdf03e3be16b SHA256 89d4e22d1f477442a1e8e6c6d27a349c03d4ac45e767568897069d4495e31fcb
-MISC ChangeLog 2161 RMD160 64082390ed3b874b485ee064bd57fea827dc1bf1 SHA1 2d4f1e93bef901f652de14c2defd55d15ec69ce2 SHA256 62c41a5be2c1099ed41ed90c71a6f975c770f27adea2d5fbfa915fc69513913f
+EBUILD opendict-0.6.3.ebuild 2077 RMD160 4f18d3e644dd44ddef6a5d9adeb075488090b644 SHA1 a5ce7d197b4fe39f9d4c8c703f185b142897bd70 SHA256 59a63b881fff2131c375165f0245c3767f36544d1cc119cbf5b954d92fd674aa
+MISC ChangeLog 2321 RMD160 ae6020c3fb2b77c115d31dcdd84e744e23b31ecf SHA1 81453d84a629cc85f327b171996f670e5bcfeae3 SHA256 d4d0dcefb3064e9b469f6c100173ad5e88f1d2ed26fabbcfab0b85e606ca8996
MISC metadata.xml 162 RMD160 c039a69ee8efb8cbbbf4b67df25a6e8506ae2610 SHA1 ef137d109c76b893201870840b179f4c42c0f3ff SHA256 fab42f6a31209847529447a2bea2b9dd746521fe5d59d967470736120712f093
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.11 (GNU/Linux)
+
+iEYEARECAAYFAksJ1gkACgkQiqiDRvmkBmKUqwCgoDSPHZcgYSjH6d/sQ5klXcU6
+zMQAnixR9hyI9H3v66DnNxgaFYdyRMCO
+=OOQF
+-----END PGP SIGNATURE-----
diff --git a/app-dicts/opendict/opendict-0.6.3.ebuild b/app-dicts/opendict/opendict-0.6.3.ebuild
new file mode 100644
index 000000000000..ac8ad7e7ea5c
--- /dev/null
+++ b/app-dicts/opendict/opendict-0.6.3.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-dicts/opendict/opendict-0.6.3.ebuild,v 1.1 2009/11/23 00:22:01 dirtyepic Exp $
+
+EAPI=2
+
+inherit eutils python gnome2
+
+DESCRIPTION="OpenDict is a free cross-platform dictionary program."
+HOMEPAGE="http://opendict.sourceforge.net/"
+SRC_URI="http://opendict.idiles.com/files/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND=">=virtual/python-2.3
+ dev-python/wxpython:2.8
+ dev-python/pyxml"
+
+src_prepare() {
+ #epatch "${FILESDIR}/${PN}-0.6.1-desktop.patch"
+ sed -e "s:), '..')):), '../../../../..', 'share', 'opendict')):g" \
+ -i "${S}/lib/info.py"
+}
+
+src_configure() {
+ :
+}
+
+src_compile() {
+ :
+}
+
+src_install() {
+ python_version
+ DHOME="/usr/lib/python${PYVER}/site-packages/opendict"
+
+ 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
+
+ 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 README.txt TODO.txt doc/Plugin-HOWTO.html
+}
+
+pkg_postinst() {
+ python_mod_optimize \
+ /usr/$(get_libdir)/python${PYVER}/site-packages/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
+ gnome2_icon_cache_update
+}