diff options
author | 2008-12-18 21:20:32 +0100 | |
---|---|---|
committer | 2008-12-18 21:20:32 +0100 | |
commit | 74042da9f460be564bcca3671d4b9b15e770187e (patch) | |
tree | e6ff7507663f585893e03284a24fe0d9dda4c842 | |
parent | in tree, removing (diff) | |
download | loki_val-74042da9f460be564bcca3671d4b9b15e770187e.tar.gz loki_val-74042da9f460be564bcca3671d4b9b15e770187e.tar.bz2 loki_val-74042da9f460be564bcca3671d4b9b15e770187e.zip |
import kmuddy
-rw-r--r-- | games-mud/kmuddy/ChangeLog | 77 | ||||
-rw-r--r-- | games-mud/kmuddy/Manifest | 7 | ||||
-rw-r--r-- | games-mud/kmuddy/files/kmuddy-0.8-gcc43.patch | 12 | ||||
-rw-r--r-- | games-mud/kmuddy/files/kmuddy-0.8-idle-crash.patch | 110 | ||||
-rw-r--r-- | games-mud/kmuddy/files/kmuddy-0.8-nocrash.patch | 13 | ||||
-rw-r--r-- | games-mud/kmuddy/kmuddy-0.8.ebuild | 36 | ||||
-rw-r--r-- | games-mud/kmuddy/metadata.xml | 5 |
7 files changed, 260 insertions, 0 deletions
diff --git a/games-mud/kmuddy/ChangeLog b/games-mud/kmuddy/ChangeLog new file mode 100644 index 0000000..8c9f9bd --- /dev/null +++ b/games-mud/kmuddy/ChangeLog @@ -0,0 +1,77 @@ +# ChangeLog for games-mud/kmuddy +# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-mud/kmuddy/ChangeLog,v 1.19 2008/08/01 17:58:12 armin76 Exp $ + + 01 Aug 2008; Raúl Porcel <armin76@gentoo.org> kmuddy-0.8.ebuild: + x86 stable wrt #233441 + + 24 Jan 2008; Michael Sterrett <mr_bones_@gentoo.org> + +files/kmuddy-0.8-idle-crash.patch, kmuddy-0.8.ebuild: + add patch from Tanktalus@gmail.com to avoid crash on extreme idle time + (bug #206357) + + 14 Oct 2007; Michael Sterrett <mr_bones_@gentoo.org> + +files/kmuddy-0.8-nocrash.patch, kmuddy-0.8.ebuild: + add patch from Tanktalus@gmail.com to fix random crash (bug #190363) + + 21 Jul 2007; Tristan Heaven <nyhm@gentoo.org> kmuddy-0.8.ebuild: + HOMEPAGE update, bug #185457 + + 19 May 2007; Christian Faulhammer <opfer@gentoo.org> kmuddy-0.8.ebuild: + stable amd64, bug 176122 + +*kmuddy-0.8 (18 Nov 2006) + + 18 Nov 2006; Tristan Heaven <nyhm@gentoo.org> -files/0.6.1-gcc34.patch, + -kmuddy-0.7.ebuild, +kmuddy-0.8.ebuild: + Version bump, bug #154557 + + 31 May 2006; Diego Pettenò <flameeyes@gentoo.org> kmuddy-0.7.ebuild, + kmuddy-0.7.1.ebuild: + Make sure aRTs is required. Thanks to Jakub Moc. + +*kmuddy-0.7.1 (05 Apr 2005) + + 05 Apr 2005; Michael Sterrett <mr_bones_@gentoo.org> +kmuddy-0.7.1.ebuild: + version bump + + 12 Mar 2005; Michael Sterrett <mr_bones_@gentoo.org> -kmuddy-0.6.1.ebuild, + kmuddy-0.7.ebuild: + fix deps for bug #84988; tidy old version + + 22 Dec 2004; Joseph Jezak <josejx@gentoo.org> kmuddy-0.7.ebuild: + Marked ~ppc. + + 19 Dec 2004; Jason Huebel <jhuebel@gentoo.org> kmuddy-0.7.ebuild: + ~amd64, bug #67875 + +*kmuddy-0.7 (30 Nov 2004) + + 30 Nov 2004; Michael Sterrett <mr_bones_@gentoo.org> +kmuddy-0.7.ebuild: + version bump + + 08 Sep 2004; Michael Sterrett <mr_bones_@gentoo.org> + +files/0.6.1-gcc34.patch, kmuddy-0.6.1.ebuild: + add patch for gcc34 (bug #61313) + +*kmuddy-0.6.1 (09 Feb 2004) + + 09 Feb 2004; Michael Sterrett <mr_bones_@gentoo.org> kmuddy-0.6.1.ebuild: + version bump + + 19 Jan 2004; Michael Sterrett <mr_bones_@gentoo.org> kmuddy-0.6.ebuild: + mark stable for x86 + +*kmuddy-0.6 (08 Dec 2003) + + 08 Dec 2003; Michael Sterrett <mr_bones_@gentoo.org> kmuddy-0.6.ebuild: + version bump + + 31 Aug 2003; Michael Sterrett <msterret@gentoo.org> kmuddy-0.5.ebuild: + inherit kde-base -> inherit kde + +*kmuddy-0.5 (13 Aug 2003) + + 13 Aug 2003; Michael Sterrett <msterret@gentoo.org> kmuddy-0.5.ebuild: + initial commit. Ebuild by Rob Cakebread. (bug 26409) + diff --git a/games-mud/kmuddy/Manifest b/games-mud/kmuddy/Manifest new file mode 100644 index 0000000..8710a22 --- /dev/null +++ b/games-mud/kmuddy/Manifest @@ -0,0 +1,7 @@ +AUX kmuddy-0.8-gcc43.patch 377 RMD160 aea890c823d0fbe8dc3d7557ee70ccddecfdac0b SHA1 e7f49981009a36734010eeb7febf1c78b2d558de SHA256 3a984ef87207c628e74cc172f59489f031bd33f6be744968cc5be7865932f718 +AUX kmuddy-0.8-idle-crash.patch 3265 RMD160 d18de581108230ee07a5561644af4ee3bbb3a66a SHA1 93f7be5a481a04c225fc7c44d2bfcc9037eca8e7 SHA256 ce50456b1cd323dd82536726ce284c30572a77e14c9313d7a1f0b1f785f40776 +AUX kmuddy-0.8-nocrash.patch 635 RMD160 af716aed42c584513c57135ded6b3e9cda88df73 SHA1 3e6e9be9ae2ab257204b5128004210403af77b91 SHA256 c76a7cae08710fd163875011111140dc3a6ead94ab18c4d62fe27917aa86410d +DIST kmuddy-0.8.tar.gz 1058011 RMD160 1e8d408a6ccbc5cfe9a205f9dbe5f2e5aee9489f SHA1 372f25aa1699adc24b962d61d0d5ca45f747327e SHA256 7f65a3932696f84e11058b673fa3ec0f47d3f060191982438075a01c4d261265 +EBUILD kmuddy-0.8.ebuild 890 RMD160 4b87fee21ed54ab8dc5e4d89752cd7244879b722 SHA1 9e7dc395a2db4e9a0f43664411c1829cc41677b2 SHA256 8361e4fcdb4389d8b6898d7956e1e204ba1a2b3293db4a4237cde8aa17b0c116 +MISC ChangeLog 2500 RMD160 7f4566ed51a518b39a18ef96aa6f5292e81a9e82 SHA1 42a871f46859c4dc24b00e413ed2004ccde016fc SHA256 9ebe036eecaacb124c1cd22b79b3f35c213eb1833d67c97b26c545c060abf61e +MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 diff --git a/games-mud/kmuddy/files/kmuddy-0.8-gcc43.patch b/games-mud/kmuddy/files/kmuddy-0.8-gcc43.patch new file mode 100644 index 0000000..fb798da --- /dev/null +++ b/games-mud/kmuddy/files/kmuddy-0.8-gcc43.patch @@ -0,0 +1,12 @@ +diff -Nurpa kmuddy-0.8.orig/lib/ctextchunk.cpp kmuddy-0.8/lib/ctextchunk.cpp +--- kmuddy-0.8.orig/lib/ctextchunk.cpp 2008-12-05 07:04:05.000000000 +0300 ++++ kmuddy-0.8/lib/ctextchunk.cpp 2008-12-05 07:42:28.000000000 +0300 +@@ -22,6 +22,8 @@ + + #include <klocale.h> + ++#include <cstdlib> ++ + QColor chunkLink::linkColor = Qt::blue; + + /** state variables needed to paint a row */ diff --git a/games-mud/kmuddy/files/kmuddy-0.8-idle-crash.patch b/games-mud/kmuddy/files/kmuddy-0.8-idle-crash.patch new file mode 100644 index 0000000..948676b --- /dev/null +++ b/games-mud/kmuddy/files/kmuddy-0.8-idle-crash.patch @@ -0,0 +1,110 @@ +diff -ru kmuddy-0.8/lib/cstatus.cpp kmuddy-0.8.patch/lib/cstatus.cpp +--- kmuddy-0.8/lib/cstatus.cpp 2005-10-19 02:01:52.000000000 -0600 ++++ kmuddy-0.8.patch/lib/cstatus.cpp 2008-01-16 20:06:09.000000000 -0700 +@@ -16,6 +16,9 @@ + * * + ***************************************************************************/ + ++//Sets the size of the status buffer which controls time displayer ++#define status_size 30 ++ + #include "cstatus.h" + + #include <qdatetime.h> +@@ -37,8 +40,8 @@ + + sb->insertItem (" " + i18n ("Off-line") + " ", ID_CONNECTED, 0, true); + sb->insertItem (" ??x?? ", ID_DIMENSION, 0, true); +- sb->insertItem (" 0:00:00 ", ID_TIMER, 0, true); +- sb->insertItem (" " + i18n ("idle") + " 0:00 ", ID_IDLE, 0, true); ++ sb->insertItem (" 00D:00H:00M:00S ", ID_TIMER, 0, true); ++ sb->insertItem (" " + i18n ("idle") + " 00D:00H:00M:00S ", ID_IDLE, 0, true); + sb->insertItem ("", ID_VARIABLES); + sb->insertItem ("", ID_PARTIAL); + timerShown = true; +@@ -116,7 +119,7 @@ + if (!timerShown) + { + timerReset (); +- sb->changeItem (" 0:00:00 ", ID_TIMER); ++ sb->changeItem (" 00D:00H:00M:00S ", ID_TIMER); + } + timerShown = true; + } +@@ -138,7 +141,7 @@ + + void cStatus::dimensionsChanged (int x, int y) + { +- char s1[10]; ++ char s1[status_size]; + QString s2; + sprintf (s1, " %dx%d ", x, y); + s2 = s1; +@@ -166,8 +169,8 @@ + conntime = 0; + idletime1 = 0; + if (timerShown) +- sb->changeItem (" 0:00:00 ", ID_TIMER); +- sb->changeItem (" " + i18n ("idle") + " 0:00", ID_IDLE); ++ sb->changeItem (" 00D:00H:00M:00S ", ID_TIMER); ++ sb->changeItem (" " + i18n ("idle") + " 00D:00H:00M:00S", ID_IDLE); + timer1->start (1000); + } + +@@ -175,7 +178,7 @@ + { + sb->changeItem (" " + i18n ("Connected") + " ", ID_CONNECTED); + sb->changeItem ("", ID_PARTIAL); +- sb->changeItem (" " + i18n ("idle") + " 0:00 ", ID_IDLE); ++ sb->changeItem (" " + i18n ("idle") + " 00D:00H:00M:00S ", ID_IDLE); + showMessage (i18n ("Connected.")); + } + +@@ -209,18 +212,19 @@ + idletime1 = 0; + timer1->stop (); + timer1->start (1000); +- sb->changeItem (" " + i18n ("idle") + " 0:00 ", ID_IDLE); ++ sb->changeItem (" " + i18n ("idle") + " 00D:00H:00M:00S ", ID_IDLE); + } + } + + const QString cStatus::connTimeString () + { +- char s1[10]; +- int h = conntime / 3600; ++ char s1[status_size]; ++ int d = conntime / (3600*24); ++ int h = (conntime / 3600) % 24; + int s = conntime % 3600; + int m = s / 60; + s = s % 60; +- sprintf (s1, " %d:%02d:%02d ", h, m, s); ++ sprintf (s1, " %02dD:%02dH:%02dM:%02dS ", d, h, m, s); + QString s2 = s1; + return s2; + } +@@ -246,16 +250,14 @@ + { + ++idletime1; + +- int h, m, s; ++ int d, h, m, s; + s = idletime1 % 60; + m = ((idletime1 - s) / 60) % 60; +- h = (idletime1 - s) / 3600; ++ h = (idletime1 - s) / 3600 % 24; ++ d = (idletime1 - s) / (3600 * 24); + +- char ss[15]; +- if (h > 0) +- sprintf (ss, " %d:%02d:%02d ", h, m, s); +- else +- sprintf (ss, " %d:%02d ", m, s); ++ char ss[status_size]; ++ sprintf (ss, " %02dD:%02dH:%02dM:%02dS ", d, h, m, s); + + sb->changeItem (" " + i18n ("idle") + ss, ID_IDLE); + } +Only in kmuddy-0.8.patch/lib: cstatus.cpp.orig +Only in kmuddy-0.8.patch/lib: cstatus.cpp.rej diff --git a/games-mud/kmuddy/files/kmuddy-0.8-nocrash.patch b/games-mud/kmuddy/files/kmuddy-0.8-nocrash.patch new file mode 100644 index 0000000..c67956a --- /dev/null +++ b/games-mud/kmuddy/files/kmuddy-0.8-nocrash.patch @@ -0,0 +1,13 @@ +diff -ru kmuddy-0.8/kmuddy/cmxpmanager.cpp kmuddy-0.8.patch/kmuddy/cmxpmanager.cpp +--- kmuddy-0.8/kmuddy/cmxpmanager.cpp 2006-10-12 02:47:23.000000000 -0600 ++++ kmuddy-0.8.patch/kmuddy/cmxpmanager.cpp 2007-08-26 22:05:44.000000000 -0600 +@@ -134,7 +134,7 @@ + if (s && (strcmp (s, "\r\n") == 0)) //newlines are always sent separately + emit gotNewLine (); + else +- if ((s[0] == 0x1f) && (s[1] == '\0')) ++ if (s && (s[0] == 0x1f) && (s[1] == '\0')) + //<SBR> tag - ignored - converted into a space + emit gotNewText (QString (" ")); + else +Only in kmuddy-0.8.patch/kmuddy: cmxpmanager.cpp~ diff --git a/games-mud/kmuddy/kmuddy-0.8.ebuild b/games-mud/kmuddy/kmuddy-0.8.ebuild new file mode 100644 index 0000000..00074be --- /dev/null +++ b/games-mud/kmuddy/kmuddy-0.8.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-mud/kmuddy/kmuddy-0.8.ebuild,v 1.6 2008/08/01 17:58:12 armin76 Exp $ + +inherit base eutils kde-functions + +DESCRIPTION="MUD client for KDE" +HOMEPAGE="http://www.kmuddy.com/" +SRC_URI="http://www.kmuddy.com/files/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc x86" +IUSE="arts sdl" + +DEPEND="arts? ( kde-base/arts ) + sdl? ( media-libs/sdl-mixer )" + +need-kde 3 +PATCHES=( "${FILESDIR}/${P}-nocrash.patch" + "${FILESDIR}/${P}-gcc43.patch" + "${FILESDIR}/${P}-idle-crash.patch" + ) + +src_compile() { + econf \ + $(use_with arts) \ + $(use_with sdl) \ + || die + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS CHANGELOG DESIGN README README.MIDI Scripting-HOWTO TODO +} diff --git a/games-mud/kmuddy/metadata.xml b/games-mud/kmuddy/metadata.xml new file mode 100644 index 0000000..d3c2cc9 --- /dev/null +++ b/games-mud/kmuddy/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>games</herd> +</pkgmetadata> |