summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/kding')
-rw-r--r--app-text/kding/Manifest1
-rw-r--r--app-text/kding/files/kding-0.6-dtd.patch20
-rw-r--r--app-text/kding/kding-0.6-r2.ebuild26
-rw-r--r--app-text/kding/metadata.xml14
4 files changed, 61 insertions, 0 deletions
diff --git a/app-text/kding/Manifest b/app-text/kding/Manifest
new file mode 100644
index 000000000000..8ab1432b6621
--- /dev/null
+++ b/app-text/kding/Manifest
@@ -0,0 +1 @@
+DIST kding-0.6.tar.bz2 3348783 SHA256 56c070b772b406529972648822dfb45b705980d7f74a98bd009efec72f9c7f71 SHA512 362890e95c8779d188745b41b6d7ef3050740999bf49baf98c16c73debb78fb1e57ebbeaddb902b458f00088f437b86eab398dd029626e35805e8ef6f09d0b86 WHIRLPOOL 5caf0e918dd8ac1f1eafcd04b06c3f1714092523178af6ad959c717ad0a1ca63c0b3cb46655ad8e773a702330c7699239dbce70324c3b5dfd4f9f27a12857737
diff --git a/app-text/kding/files/kding-0.6-dtd.patch b/app-text/kding/files/kding-0.6-dtd.patch
new file mode 100644
index 000000000000..0f8a4d5b9343
--- /dev/null
+++ b/app-text/kding/files/kding-0.6-dtd.patch
@@ -0,0 +1,20 @@
+http://bugs.gentoo.org/338466
+
+--- doc/de/index.docbook
++++ doc/de/index.docbook
+@@ -1,5 +1,5 @@
+ <?xml version="1.0" encoding="UTF-8"?>
+-<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.1.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [
++<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [
+ <!ENTITY kding "<application>KDing</application>">
+ <!ENTITY kappname "&kding;"><!-- Do *not* replace kappname-->
+ <!ENTITY % addindex "IGNORE">
+--- doc/en/index.docbook
++++ doc/en/index.docbook
+@@ -1,5 +1,5 @@
+ <?xml version="1.0" ?>
+-<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.1.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [
++<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [
+ <!ENTITY kding "<application>KDing</application>">
+ <!ENTITY kappname "&kding;"><!-- Do *not* replace kappname-->
+ <!ENTITY % addindex "IGNORE">
diff --git a/app-text/kding/kding-0.6-r2.ebuild b/app-text/kding/kding-0.6-r2.ebuild
new file mode 100644
index 000000000000..2111fe24ffe4
--- /dev/null
+++ b/app-text/kding/kding-0.6-r2.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+KDE_HANDBOOK="optional"
+KDE_LINGUAS="de"
+inherit kde4-base
+
+DESCRIPTION="KDE port of Ding, a dictionary lookup program"
+HOMEPAGE="http://www.rexi.org/software/kding/"
+SRC_URI="http://www.rexi.org/downloads/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="4"
+KEYWORDS="amd64 x86"
+IUSE="debug"
+
+PATCHES=( "${FILESDIR}"/${P}-dtd.patch )
+
+src_prepare() {
+ sed -e "/Encoding=UTF-8/d" \
+ -i resources/kding.desktop || die "fixing .desktop file failed"
+
+ kde4-base_src_prepare
+}
diff --git a/app-text/kding/metadata.xml b/app-text/kding/metadata.xml
new file mode 100644
index 000000000000..ce6f882a6f4b
--- /dev/null
+++ b/app-text/kding/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>kde</herd>
+ <maintainer>
+ <email>tgurr@gentoo.org</email>
+ <name>Timo Gurr</name>
+ </maintainer>
+ <longdescription lang="en">
+ KDing is a KDE port of Ding, a dictionary lookup program. It is
+ a simple program sitting in KDE's system tray that can translate
+ the current clipboard content.
+ </longdescription>
+</pkgmetadata>