summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngmar Vanhassel <ingmar@gentoo.org>2008-06-16 23:58:34 +0000
committerIngmar Vanhassel <ingmar@gentoo.org>2008-06-16 23:58:34 +0000
commit93d4ed45f508671a694dfa7f95a7122fd6dd16a4 (patch)
tree9435eb9da40600bb2aec10f03cfd3dc4faa7031c /kde-misc
parentAdd kio_perldoc to KDE 4 mask. (diff)
downloadhistorical-93d4ed45f508671a694dfa7f95a7122fd6dd16a4.tar.gz
historical-93d4ed45f508671a694dfa7f95a7122fd6dd16a4.tar.bz2
historical-93d4ed45f508671a694dfa7f95a7122fd6dd16a4.zip
Initial import of kio_perldoc, a KIO slave to read perldoc output. Ebuild by Tanktalus, fixes bug 227661.
Package-Manager: portage-2.1.5.5
Diffstat (limited to 'kde-misc')
-rw-r--r--kde-misc/kio_perldoc/ChangeLog11
-rw-r--r--kde-misc/kio_perldoc/Manifest15
-rw-r--r--kde-misc/kio_perldoc/files/kio_perldoc-0.9-kdeexport.patch23
-rw-r--r--kde-misc/kio_perldoc/kio_perldoc-0.9.ebuild27
-rw-r--r--kde-misc/kio_perldoc/metadata.xml5
5 files changed, 81 insertions, 0 deletions
diff --git a/kde-misc/kio_perldoc/ChangeLog b/kde-misc/kio_perldoc/ChangeLog
new file mode 100644
index 000000000000..d5d3f75a42fc
--- /dev/null
+++ b/kde-misc/kio_perldoc/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for kde-misc/kio_perldoc
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/kio_perldoc/ChangeLog,v 1.1 2008/06/16 23:58:34 ingmar Exp $
+
+*kio_perldoc-0.9 (16 Jun 2008)
+
+ 16 Jun 2008; Ingmar Vanhassel <ingmar@gentoo.org>
+ +files/kio_perldoc-0.9-kdeexport.patch, +kio_perldoc-0.9.ebuild:
+ Initial import of kio_perldoc, a KIO slave to read perldoc output. Ebuild
+ by Tanktalus, fixes bug 227661.
+
diff --git a/kde-misc/kio_perldoc/Manifest b/kde-misc/kio_perldoc/Manifest
new file mode 100644
index 000000000000..c72d8f01a4e4
--- /dev/null
+++ b/kde-misc/kio_perldoc/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX kio_perldoc-0.9-kdeexport.patch 622 RMD160 94027f3e7bd69751fcf0c44c54ab2ea6602886f5 SHA1 461fec927831c194e5de2c8e2a7de33b40ce139c SHA256 5a3302be4e184a362149036a92f4b40448d64a92bf6eae6577518b564e5bbf23
+DIST kio_perldoc-0.9.tar.bz2 21704 RMD160 1a8a43f59c527657994b027908ffc35b2b8c20bf SHA1 385d3e89249867a9135ddbac639775a58cafd45d SHA256 636e2585c67c39f444623f53c44a93cb479643060b6a20e19822a51ce81719c9
+EBUILD kio_perldoc-0.9.ebuild 682 RMD160 1e5ba1403b24b0ed410375c1f5766474f241a96f SHA1 c4a312e9e7f2afe20c06acb31f4ab9fface1cedf SHA256 786ff53a09de9c6b6eecfdfa1e1f1fa636fd56e4fdb8f6707d493dc9554e3b04
+MISC ChangeLog 475 RMD160 d0e5c3b5dc8c2e7c44577135eea666408362a2c4 SHA1 5f9dd5230d04e9992fd46aca2f583b2fa65b4183 SHA256 f347f89ff54dd1f006ea3bb14e3673529a7bb64e7c7e1e3fc4a4fd883983624d
+MISC metadata.xml 157 RMD160 09fb7b798f3f68127626e97c69e5215a0513ecbb SHA1 d5ffebb2f4248fc8f65ab21c3af6e4f5dbf8bf6e SHA256 01f6fa4357ce08e8b0f7900a51fa78c7f060fefc7c7da98acaec1e283dd59892
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.9 (GNU/Linux)
+
+iEYEARECAAYFAkhW/egACgkQB18eXLOpYdlZagCgkHDynSJ0vH6uSCZDY8iJXop5
+jKYAoI209WXtzKct2T+5TQ7PNBurRdz0
+=jZ80
+-----END PGP SIGNATURE-----
diff --git a/kde-misc/kio_perldoc/files/kio_perldoc-0.9-kdeexport.patch b/kde-misc/kio_perldoc/files/kio_perldoc-0.9-kdeexport.patch
new file mode 100644
index 000000000000..0bade39f4c29
--- /dev/null
+++ b/kde-misc/kio_perldoc/files/kio_perldoc-0.9-kdeexport.patch
@@ -0,0 +1,23 @@
+Patch from upstream, to fix compilation.
+
+Index: perldoc.cpp
+===================================================================
+--- perldoc.cpp (revision 27)
++++ perldoc.cpp (working copy)
+@@ -38,6 +38,7 @@
+ #include <kstandarddirs.h>
+ #include <kaboutdata.h>
+ #include <kcomponentdata.h>
++#include <kdemacros.h>
+
+ // Embed version info. Using const char[] instead of const char* const
+ // places it in a read-only section.
+@@ -291,7 +292,7 @@
+
+ extern "C" {
+
+- int kdemain(int argc, char **argv)
++ int KDE_EXPORT kdemain(int argc, char **argv)
+ {
+ KAboutData aboutData(
+ "kio_perldoc",
diff --git a/kde-misc/kio_perldoc/kio_perldoc-0.9.ebuild b/kde-misc/kio_perldoc/kio_perldoc-0.9.ebuild
new file mode 100644
index 000000000000..c5a3fe9f5bb3
--- /dev/null
+++ b/kde-misc/kio_perldoc/kio_perldoc-0.9.ebuild
@@ -0,0 +1,27 @@
+# Copyright 2008-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/kio_perldoc/kio_perldoc-0.9.ebuild,v 1.1 2008/06/16 23:58:34 ingmar Exp $
+
+EAPI="1"
+NEED_KDE="4"
+inherit kde4-base
+
+DESCRIPTION="Kio slave to search perldoc"
+HOMEPAGE="http://www.purinchu.net/wp/2007/12/01/kio_perldoc/"
+SRC_URI="http://www.purinchu.net/dumping-ground/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="kde-4"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=dev-lang/perl-5.8.0"
+
+PATCHES=( "${FILESDIR}/${P}-kdeexport.patch" )
+PREFIX="${KDEDIR}"
+
+src_install() {
+ kde4-base_src_install
+ dodoc CHANGES || die 'dodoc CHANGES failed.'
+}
+
diff --git a/kde-misc/kio_perldoc/metadata.xml b/kde-misc/kio_perldoc/metadata.xml
new file mode 100644
index 000000000000..a23f444b67d6
--- /dev/null
+++ b/kde-misc/kio_perldoc/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>kde</herd>
+</pkgmetadata>