summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Gurr <tgurr@gentoo.org>2007-09-26 20:36:10 +0000
committerTimo Gurr <tgurr@gentoo.org>2007-09-26 20:36:10 +0000
commit1f075789002ba41a089922987720dac6c754ba2b (patch)
tree17d122d8501bc2c733511a89a9623db1594308d5 /app-text/kding
parentNew series for Gnome 2.20 (diff)
downloadhistorical-1f075789002ba41a089922987720dac6c754ba2b.tar.gz
historical-1f075789002ba41a089922987720dac6c754ba2b.tar.bz2
historical-1f075789002ba41a089922987720dac6c754ba2b.zip
Initial ebuild. Bug 189125, also thanks to Tobias Roeser (bug 124466).
Package-Manager: portage-2.1.3.9
Diffstat (limited to 'app-text/kding')
-rw-r--r--app-text/kding/ChangeLog12
-rw-r--r--app-text/kding/Manifest28
-rw-r--r--app-text/kding/files/digest-kding-0.4.13
-rw-r--r--app-text/kding/files/kding-0.4.1-appsdir.patch49
-rw-r--r--app-text/kding/files/kding-0.4.1-desktopentry.patch17
-rw-r--r--app-text/kding/files/kding-0.4.1-localization-de.patch65
-rw-r--r--app-text/kding/kding-0.4.1.ebuild47
-rw-r--r--app-text/kding/metadata.xml14
8 files changed, 235 insertions, 0 deletions
diff --git a/app-text/kding/ChangeLog b/app-text/kding/ChangeLog
new file mode 100644
index 000000000000..8f6cc8033a30
--- /dev/null
+++ b/app-text/kding/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for app-text/kding
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/kding/ChangeLog,v 1.1 2007/09/26 20:36:10 tgurr Exp $
+
+*kding-0.4.1 (26 Sep 2007)
+
+ 26 Sep 2007; Timo Gurr <tgurr@gentoo.org>
+ +files/kding-0.4.1-appsdir.patch, +files/kding-0.4.1-desktopentry.patch,
+ +files/kding-0.4.1-localization-de.patch, +metadata.xml,
+ +kding-0.4.1.ebuild:
+ Initial ebuild. Bug 189125, also thanks to Tobias Roeser (bug 124466).
+
diff --git a/app-text/kding/Manifest b/app-text/kding/Manifest
new file mode 100644
index 000000000000..f6b243661272
--- /dev/null
+++ b/app-text/kding/Manifest
@@ -0,0 +1,28 @@
+AUX kding-0.4.1-appsdir.patch 1917 RMD160 36d58f2c3ae3863dc1ded40592e02058dd6dd473 SHA1 be7384d0a4f6af5d42134122753dcac2a830b694 SHA256 90ed18456e533f8f9a87958c4bed12ddae743025c37a64d4d5967c7d55663b0c
+MD5 33eca0fc0bc05c7405dddb1c8f79d1af files/kding-0.4.1-appsdir.patch 1917
+RMD160 36d58f2c3ae3863dc1ded40592e02058dd6dd473 files/kding-0.4.1-appsdir.patch 1917
+SHA256 90ed18456e533f8f9a87958c4bed12ddae743025c37a64d4d5967c7d55663b0c files/kding-0.4.1-appsdir.patch 1917
+AUX kding-0.4.1-desktopentry.patch 545 RMD160 42d353be5abc23266129d2a22cd1103aef988db4 SHA1 9fcfb39a5f38c32d315ee67007a6e308009e2bea SHA256 94b2184496e3a1a9990f2dcc45548975808fe612ee6bf5c83a5cb16c9a35ae50
+MD5 ddeab2e659ed1a8677b3a5d9e9bcafc4 files/kding-0.4.1-desktopentry.patch 545
+RMD160 42d353be5abc23266129d2a22cd1103aef988db4 files/kding-0.4.1-desktopentry.patch 545
+SHA256 94b2184496e3a1a9990f2dcc45548975808fe612ee6bf5c83a5cb16c9a35ae50 files/kding-0.4.1-desktopentry.patch 545
+AUX kding-0.4.1-localization-de.patch 2064 RMD160 1e1e4943b2de30a8b72a9d611bb138881cfb1170 SHA1 90b2a3d87c75048193879d60558255937fb804e9 SHA256 222af8febee9c29133e4eb9c8657cdfeef7e8893d3cf973fc5ff371575186b91
+MD5 7a8fbac946b33da91c90a2d17f43546d files/kding-0.4.1-localization-de.patch 2064
+RMD160 1e1e4943b2de30a8b72a9d611bb138881cfb1170 files/kding-0.4.1-localization-de.patch 2064
+SHA256 222af8febee9c29133e4eb9c8657cdfeef7e8893d3cf973fc5ff371575186b91 files/kding-0.4.1-localization-de.patch 2064
+DIST kding-0.4.1.tar.bz2 3052142 RMD160 dc7c9d367dea4bb412e5f5c438d0c729e649e08c SHA1 3f878c36c57a00cd2bf337f72ebc5ff90a8b2ab2 SHA256 e744e95ed39f8dbf7b16d8ad6479cb4d173ac0df983074ddc5272b053420f0a0
+EBUILD kding-0.4.1.ebuild 1086 RMD160 f322b283c48095cd774d0109134d3bbb7c211c57 SHA1 8cf20d7ca9e5198ef465d3cab17755a122908f01 SHA256 4b348036e959de84f52180761a4314073c275dccf7868963316def553bc65e9a
+MD5 77c8b0a27a90d4265289530b77a8a29c kding-0.4.1.ebuild 1086
+RMD160 f322b283c48095cd774d0109134d3bbb7c211c57 kding-0.4.1.ebuild 1086
+SHA256 4b348036e959de84f52180761a4314073c275dccf7868963316def553bc65e9a kding-0.4.1.ebuild 1086
+MISC ChangeLog 418 RMD160 0e39d288bbd8b6d5b0fd20005f370114076277f0 SHA1 00887cb0530be2e06b9ae017bb66e925a32da184 SHA256 a34c6b6d73ef8b89539069962d9db34d2e5788ee3b60029a81c9ee2060d005fe
+MD5 be60d3ea75e51e4f7e265ce6b85d1f60 ChangeLog 418
+RMD160 0e39d288bbd8b6d5b0fd20005f370114076277f0 ChangeLog 418
+SHA256 a34c6b6d73ef8b89539069962d9db34d2e5788ee3b60029a81c9ee2060d005fe ChangeLog 418
+MISC metadata.xml 460 RMD160 48b49e74dcd38103a34d8611d73eac198e32e960 SHA1 dc7330b7cda51392d4f766d17e70708e8fe0f115 SHA256 97f407c47872ef8516fda954afd493e5915f4e4d56c24ce8dec5e2464d05fe4e
+MD5 0e8ec787c6fef28c66414637b6a83a21 metadata.xml 460
+RMD160 48b49e74dcd38103a34d8611d73eac198e32e960 metadata.xml 460
+SHA256 97f407c47872ef8516fda954afd493e5915f4e4d56c24ce8dec5e2464d05fe4e metadata.xml 460
+MD5 488f658ba910cb8ffa530ee8f479e494 files/digest-kding-0.4.1 241
+RMD160 f20e795415cd2636f876b6d258ec99e4cb488109 files/digest-kding-0.4.1 241
+SHA256 b13dbf9fad94bdcae29436224976a00d2fdbeffb60011f59ee0b1996ca370f5a files/digest-kding-0.4.1 241
diff --git a/app-text/kding/files/digest-kding-0.4.1 b/app-text/kding/files/digest-kding-0.4.1
new file mode 100644
index 000000000000..79cfc793dd45
--- /dev/null
+++ b/app-text/kding/files/digest-kding-0.4.1
@@ -0,0 +1,3 @@
+MD5 95dc40b57eef47846a0a6ac21f409e9b kding-0.4.1.tar.bz2 3052142
+RMD160 dc7c9d367dea4bb412e5f5c438d0c729e649e08c kding-0.4.1.tar.bz2 3052142
+SHA256 e744e95ed39f8dbf7b16d8ad6479cb4d173ac0df983074ddc5272b053420f0a0 kding-0.4.1.tar.bz2 3052142
diff --git a/app-text/kding/files/kding-0.4.1-appsdir.patch b/app-text/kding/files/kding-0.4.1-appsdir.patch
new file mode 100644
index 000000000000..df2ff5de5aaa
--- /dev/null
+++ b/app-text/kding/files/kding-0.4.1-appsdir.patch
@@ -0,0 +1,49 @@
+diff -Naur kding-0.4.1/acinclude.m4 kding-0.4.1.new/acinclude.m4
+--- kding-0.4.1/acinclude.m4 2007-08-15 00:10:53.000000000 +0200
++++ kding-0.4.1.new/acinclude.m4 2007-08-16 16:01:53.931649708 +0200
+@@ -431,7 +431,7 @@
+ kde_htmldir='\${datadir}/doc/HTML'
+ fi
+ if test -z "$kde_appsdir"; then
+- kde_appsdir='\${datadir}/applnk'
++ kde_appsdir='\${datadir}/applications'
+ fi
+ if test -z "$kde_icondir"; then
+ kde_icondir='\${datadir}/icons'
+diff -Naur kding-0.4.1/admin/acinclude.m4.in kding-0.4.1.new/admin/acinclude.m4.in
+--- kding-0.4.1/admin/acinclude.m4.in 2007-08-15 00:10:53.000000000 +0200
++++ kding-0.4.1.new/admin/acinclude.m4.in 2007-08-16 16:02:25.633813343 +0200
+@@ -431,7 +431,7 @@
+ kde_htmldir='\${datadir}/doc/HTML'
+ fi
+ if test -z "$kde_appsdir"; then
+- kde_appsdir='\${datadir}/applnk'
++ kde_appsdir='\${datadir}/applications'
+ fi
+ if test -z "$kde_icondir"; then
+ kde_icondir='\${datadir}/icons'
+diff -Naur kding-0.4.1/src/Makefile.am kding-0.4.1.new/src/Makefile.am
+--- kding-0.4.1/src/Makefile.am 2007-08-15 00:10:53.000000000 +0200
++++ kding-0.4.1.new/src/Makefile.am 2007-08-16 16:03:15.762165949 +0200
+@@ -30,7 +30,7 @@
+ kde_kcfg_DATA = kding.kcfg
+
+ # this is where the desktop file will go
+-shelldesktopdir = $(kde_appsdir)/Utilities
++shelldesktopdir = $(kde_appsdir)/kde
+ shelldesktop_DATA = kding.desktop
+
+ # this is where the shell's XML-GUI resource file goes
+diff -Naur kding-0.4.1/src/Makefile.in kding-0.4.1.new/src/Makefile.in
+--- kding-0.4.1/src/Makefile.in 2007-08-15 00:17:13.000000000 +0200
++++ kding-0.4.1.new/src/Makefile.in 2007-08-16 16:03:48.074236540 +0200
+@@ -378,7 +378,7 @@
+ kde_kcfg_DATA = kding.kcfg
+
+ # this is where the desktop file will go
+-shelldesktopdir = $(kde_appsdir)/Utilities
++shelldesktopdir = $(kde_appsdir)/kde
+ shelldesktop_DATA = kding.desktop
+
+ # this is where the shell's XML-GUI resource file goes
+
diff --git a/app-text/kding/files/kding-0.4.1-desktopentry.patch b/app-text/kding/files/kding-0.4.1-desktopentry.patch
new file mode 100644
index 000000000000..7ceba8f72243
--- /dev/null
+++ b/app-text/kding/files/kding-0.4.1-desktopentry.patch
@@ -0,0 +1,17 @@
+diff -Naur kding-0.4.1/src/kding.desktop kding-0.4.1.new/src/kding.desktop
+--- kding-0.4.1/src/kding.desktop 2007-09-09 17:30:04.000000000 +0200
++++ kding-0.4.1.new/src/kding.desktop 2007-09-25 09:53:00.217229625 +0200
+@@ -1,5 +1,6 @@
+ [Desktop Entry]
+-Encoding=UTF-8
++Version=1.0
++Type=Application
+ Name=KDing
+ GenericName=German-English Translator
+ GenericName[de]=Deutsch-Englisch Übersetzer
+@@ -7,4 +8,4 @@
+ Comment[de]=Übersetzungsprogramm
+ Exec=kding
+ Icon=kding
+-Type=Application
++Categories=Qt;KDE;Office;TextTools;Dictionary;
diff --git a/app-text/kding/files/kding-0.4.1-localization-de.patch b/app-text/kding/files/kding-0.4.1-localization-de.patch
new file mode 100644
index 000000000000..f0b6270a8607
--- /dev/null
+++ b/app-text/kding/files/kding-0.4.1-localization-de.patch
@@ -0,0 +1,65 @@
+diff -Naur kding-0.4.1/po/de.po kding-0.4.1.new/po/de.po
+--- kding-0.4.1/po/de.po 2007-09-09 17:31:16.000000000 +0200
++++ kding-0.4.1.new/po/de.po 2007-09-25 09:59:33.538226041 +0200
+@@ -41,7 +41,7 @@
+
+ #: kdingsystray.cpp:47
+ msgid "Translates the current content of the clipboard or selection"
+-msgstr "Übersetzt den aktuellen Inhalt der Zwischenablage oder der Auswahl"
++msgstr "Übersetzt den aktuellen Inhalt der Zwischenablage oder der Auswahl."
+
+ #: kdingsystray.cpp:49
+ msgid "Open translation dialog"
+@@ -49,7 +49,7 @@
+
+ #: kdingsystray.cpp:50
+ msgid "Opens a dialog where you can enter the word to be translated"
+-msgstr "Öffnet einen Dialog, in dem man das zu übersetzende Wort eingeben kann"
++msgstr "Öffnet einen Dialog, in dem man das zu übersetzende Wort eingeben kann."
+
+ #: kdingsystray.cpp:58
+ msgid "&Translate"
+@@ -65,7 +65,7 @@
+
+ #: main.cpp:31
+ msgid "Translate the given phrase"
+-msgstr "Übersetzt den angegebenen Ausdruck"
++msgstr "Übersetzt den angegebenen Ausdruck."
+
+ #: main.cpp:38
+ msgid "KDE port of Ding, the DIctionary Nice Grep"
+@@ -86,7 +86,7 @@
+ #: rc.cpp:6 rc.cpp:12
+ #, no-c-format
+ msgid "Enter the word or phrase you want to translate"
+-msgstr "Geben sie das Wort oder den Ausdruck ein, den Sie übersetzen möchten"
++msgstr "Geben Sie das Wort oder den Ausdruck ein, den Sie übersetzen möchten."
+
+ #. i18n: file ./translatedialogbase.ui line 102
+ #: rc.cpp:9
+@@ -124,11 +124,11 @@
+
+ #: translatedialog.cpp:101
+ msgid "Searching for '%1'"
+-msgstr "Suche nach '%1'"
++msgstr "Suche nach '%1'."
+
+ #: translatedialog.cpp:108
+ msgid "Another search is currently running"
+-msgstr "Es läuft bereits eine Suche"
++msgstr "Es läuft bereits eine Suche."
+
+ #: translatedialog.cpp:162
+ #, c-format
+@@ -136,8 +136,8 @@
+ "_n: Found 1 match for '%1'\n"
+ "Found %n matches for '%1'"
+ msgstr ""
+-"Einen passenden Eintrag gefunden für '%1'\n"
+-"%n passende Einträge gefunden für '%1'"
++"Einen passenden Eintrag gefunden für '%1'.\n"
++"%n passende Einträge gefunden für '%1'."
+
+ #: translatedialog.cpp:203
+ msgid ""
+
diff --git a/app-text/kding/kding-0.4.1.ebuild b/app-text/kding/kding-0.4.1.ebuild
new file mode 100644
index 000000000000..ceca4a82a1b9
--- /dev/null
+++ b/app-text/kding/kding-0.4.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/kding/kding-0.4.1.ebuild,v 1.1 2007/09/26 20:36:10 tgurr Exp $
+
+inherit eutils kde
+
+DESCRIPTION="KDing is a 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="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+need-kde 3.5
+
+LANGS="de"
+LANGS_DOC="de en"
+
+for X in ${LANGS} ${LANGS_DOC} ; do
+ IUSE="${IUSE} linguas_${X}"
+done
+
+src_unpack() {
+ kde_src_unpack
+
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-desktopentry.patch"
+ epatch "${FILESDIR}/${P}-appsdir.patch"
+ epatch "${FILESDIR}/${P}-localization-de.patch"
+
+ local MAKE_LANGS
+ cd "${WORKDIR}/${P}/po"
+ for X in ${LANGS} ; do
+ use linguas_${X} && MAKE_LANGS="${MAKE_LANGS} ${X}.po"
+ done
+ sed -i -e "s:POFILES =.*:POFILES = ${MAKE_LANGS}:" Makefile.am
+
+ MAKE_LANGS=""
+ cd "${WORKDIR}/${P}/doc"
+ for X in ${LANGS_DOC} ; do
+ use linguas_${X} && MAKE_LANGS="${MAKE_LANGS} ${X}"
+ done
+ sed -i -e "s:SUBDIRS =.*:SUBDIRS = ${MAKE_LANGS}:" Makefile.am
+ rm -f "${S}"/configure
+}
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>