summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /games-mud/kmuddy
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'games-mud/kmuddy')
-rw-r--r--games-mud/kmuddy/Manifest1
-rw-r--r--games-mud/kmuddy/files/kmuddy-1.0.1-desktopvalidation.patch84
-rw-r--r--games-mud/kmuddy/files/kmuddy-1.0.1-gcc45.patch11
-rw-r--r--games-mud/kmuddy/files/kmuddy-1.0.1-kde45.patch11
-rw-r--r--games-mud/kmuddy/files/kmuddy-1.0.1-tempnam.patch29
-rw-r--r--games-mud/kmuddy/files/kmuddy-1.0.1-underlinking.patch24
-rw-r--r--games-mud/kmuddy/kmuddy-1.0.1-r3.ebuild35
-rw-r--r--games-mud/kmuddy/metadata.xml6
8 files changed, 201 insertions, 0 deletions
diff --git a/games-mud/kmuddy/Manifest b/games-mud/kmuddy/Manifest
new file mode 100644
index 000000000000..e90c9d1204ed
--- /dev/null
+++ b/games-mud/kmuddy/Manifest
@@ -0,0 +1 @@
+DIST kmuddy-1.0.1.tar.gz 1435657 SHA256 d3db34aaddaa142da5a138b3e1179dc9b9b203058f225de037616cc24aa3e4ac SHA512 e797db9509c3dfabbbcf829d76733cceda0be53c20dc56a7f576a1562512ab23769b668b5ed08a6363c3de81577969d89a2027492560ab1731bff8fb6f3d54a2 WHIRLPOOL 89af46564e1c813c3499597c95f61285abddb48c2aa9f1d5ae798830b2252e985fe1112e7080dd4fa7a823ffcdc1557dfee4ee0376ec9fd4f4dbce1102e2a205
diff --git a/games-mud/kmuddy/files/kmuddy-1.0.1-desktopvalidation.patch b/games-mud/kmuddy/files/kmuddy-1.0.1-desktopvalidation.patch
new file mode 100644
index 000000000000..428dc94fc789
--- /dev/null
+++ b/games-mud/kmuddy/files/kmuddy-1.0.1-desktopvalidation.patch
@@ -0,0 +1,84 @@
+--- kmuddy/kmuddy.desktop
++++ kmuddy/kmuddy.desktop
+@@ -1,6 +1,5 @@
+ [Desktop Entry]
+ Version=1.0
+-Encoding=UTF-8
+ Name=KMuddy
+ Type=Application
+ Exec=kmuddy -caption "%c" %i %m
+--- libs/kmuddyplugin.desktop
++++ libs/kmuddyplugin.desktop
+@@ -1,6 +1,6 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+ Type=ServiceType
++Name=KMuddy Plugins
+ X-KDE-ServiceType=KMuddy/Plugin
+ X-KDE-Derived=KPluginInfo
+ Comment=KMuddy Plugin
+--- plugins/converter/kmuddyconverterplugin.desktop
++++ plugins/converter/kmuddyconverterplugin.desktop
+@@ -1,5 +1,4 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+ Name=Profile Converter
+ Comment=This plug-in converts profiles from old KMuddy versions.
+ ServiceTypes=KMuddy/Plugin
+--- plugins/mapper/plugins/standard/kmuddymapper_standard.desktop
++++ plugins/mapper/plugins/standard/kmuddymapper_standard.desktop
+@@ -1,6 +1,5 @@
+ [Desktop Entry]
+ Type=Service
+-Comment=The standard mapper tools and views
+ Name=Standard
+ Comment=The standard mapper tools and views
+ ServiceTypes=KMuddy/Mapper/Plugin
+--- plugins/scripting/kmuddyscriptingplugin.desktop
++++ plugins/scripting/kmuddyscriptingplugin.desktop
+@@ -1,5 +1,4 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+ Name=External Scripting
+ Comment=Adds support for external scripting.
+ ServiceTypes=KMuddy/Plugin
+--- plugins/strings/kmuddystringsplugin.desktop
++++ plugins/strings/kmuddystringsplugin.desktop
+@@ -1,5 +1,4 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+ Name=Strings
+ Comment=This plug-in adds many strings functions.
+ ServiceTypes=KMuddy/Plugin
+--- plugins/test/kmuddytestplugin.desktop
++++ plugins/test/kmuddytestplugin.desktop
+@@ -1,5 +1,4 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+ Name=Testing Plug-in
+ Comment=Testing Plug-in
+ ServiceTypes=KMuddy/Plugin
+--- plugins/vartrigs/kmuddyvartrigplugin.desktop
++++ plugins/vartrigs/kmuddyvartrigplugin.desktop
+@@ -1,5 +1,4 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+ Name=Variable Triggers
+ Comment=Adds supports for triggers that fire off variable changes.
+ ServiceTypes=KMuddy/Plugin
+--- plugins/varviewer/kmuddyvarviewerplugin.desktop
++++ plugins/varviewer/kmuddyvarviewerplugin.desktop
+@@ -1,5 +1,4 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+ Name=Variable Viewer
+ Comment=This plug-in provides a variable viewer window.
+ ServiceTypes=KMuddy/Plugin
+--- template/kmuddyplugintemplate.desktop
++++ template/kmuddyplugintemplate.desktop
+@@ -1,5 +1,4 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+ Name=Plugin Template
+ Comment=Plugin Template
+ ServiceTypes=KMuddy/Plugin
diff --git a/games-mud/kmuddy/files/kmuddy-1.0.1-gcc45.patch b/games-mud/kmuddy/files/kmuddy-1.0.1-gcc45.patch
new file mode 100644
index 000000000000..34b403c14715
--- /dev/null
+++ b/games-mud/kmuddy/files/kmuddy-1.0.1-gcc45.patch
@@ -0,0 +1,11 @@
+--- plugins/mapper/filefilters/cmapfilefilterkmudone.cpp.old 2010-06-08 17:55:09.000000000 +0200
++++ plugins/mapper/filefilters/cmapfilefilterkmudone.cpp 2010-06-08 17:55:49.000000000 +0200
+@@ -215,7 +215,7 @@
+
+ // Set room properties
+ room->setUseDefaultCol(in_room.useDefaultCol);
+- room->setColor(QColor::QColor(in_room.red,in_room.green,in_room.blue));
++ room->setColor(QColor(in_room.red,in_room.green,in_room.blue));
+ room->setLabel(label);
+ room->setDescription(description);
+
diff --git a/games-mud/kmuddy/files/kmuddy-1.0.1-kde45.patch b/games-mud/kmuddy/files/kmuddy-1.0.1-kde45.patch
new file mode 100644
index 000000000000..73ca381264bc
--- /dev/null
+++ b/games-mud/kmuddy/files/kmuddy-1.0.1-kde45.patch
@@ -0,0 +1,11 @@
+http://bugs.gentoo.org/331317
+
+--- doc/kmuddy/index.docbook
++++ doc/kmuddy/index.docbook
+@@ -1,5 +1,5 @@
+ <?xml version="1.0" ?>
+-<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.1-Based Variant V1.0//EN" "dtd/kdex.dtd" [
++<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [
+ <!ENTITY kmuddy '<application>KMuddy</application>'>
+ <!ENTITY kapp "&kmuddy;">
+ <!ENTITY % addindex "IGNORE">
diff --git a/games-mud/kmuddy/files/kmuddy-1.0.1-tempnam.patch b/games-mud/kmuddy/files/kmuddy-1.0.1-tempnam.patch
new file mode 100644
index 000000000000..c4838aa4b89d
--- /dev/null
+++ b/games-mud/kmuddy/files/kmuddy-1.0.1-tempnam.patch
@@ -0,0 +1,29 @@
+--- plugins/scripting/cunixsocket.cpp
++++ plugins/scripting/cunixsocket.cpp
+@@ -40,12 +40,21 @@
+ varlist = 0;
+ connected = false;
+
+- //first of all, we need a file name
+- char *fname = tempnam ("/tmp", "km");
+- if (fname != 0) //only if it didn't fail
++ //22 = strlen(form) + strlen(/sock) + 1
++ char form[]="/tmp/kmuddyXXXXXX", *dirname, sockname[22];
++ dirname = mkdtemp(form);
++
++ if (dirname != NULL) //only if it didn't fail
+ {
+- name = fname;
+- free (fname);
++
++ strcpy(sockname, dirname);
++ strcat(dirname, "/sock");
++
++ name = dirname;
++ free (form);
++ free (dirname);
++ free (sockname);
++
+ //now that we have the name, we create a socket and set some parameters
+ id = socket (PF_UNIX, SOCK_STREAM, 0);
+ sa.sun_family = AF_UNIX;
diff --git a/games-mud/kmuddy/files/kmuddy-1.0.1-underlinking.patch b/games-mud/kmuddy/files/kmuddy-1.0.1-underlinking.patch
new file mode 100644
index 000000000000..18c68c4742df
--- /dev/null
+++ b/games-mud/kmuddy/files/kmuddy-1.0.1-underlinking.patch
@@ -0,0 +1,24 @@
+diff -ruN kmuddy-1.0.1.orig/kmuddy/CMakeLists.txt kmuddy-1.0.1/kmuddy/CMakeLists.txt
+--- kmuddy-1.0.1.orig/kmuddy/CMakeLists.txt 2009-03-14 13:24:55.000000000 +0100
++++ kmuddy-1.0.1/kmuddy/CMakeLists.txt 2012-01-01 11:40:31.000000000 +0100
+@@ -49,7 +49,7 @@
+
+ kde4_add_executable(kmuddy ${kmuddy_SRCS})
+
+-set (KMUDDY_LIBRARIES kmuddycore dialogs ${KDE4_KDECORE_LIBS} ${KDE4_KPARTS_LIBS} ${KDE4_KUTILS_LIBS} ${KDE4_KDEUI_LIBS} ${KDE4_PHONON_LIBS} ${KDE4_KDE3SUPPORT_LIBS})
++set (KMUDDY_LIBRARIES kmuddycore dialogs ${KDE4_KDECORE_LIBS} ${KDE4_KPARTS_LIBS} ${KDE4_KUTILS_LIBS} ${KDE4_KDEUI_LIBS} ${KDE4_PHONON_LIBS} ${KDE4_KDE3SUPPORT_LIBS} z)
+
+ if (MXP_FOUND)
+ set (KMUDDY_LIBRARIES ${KMUDDY_LIBRARIES} ${MXP_LIBRARIES})
+diff -ruN kmuddy-1.0.1.orig/plugins/mapper/plugins/speedwalk/CMakeLists.txt kmuddy-1.0.1/plugins/mapper/plugins/speedwalk/CMakeLists.txt
+--- kmuddy-1.0.1.orig/plugins/mapper/plugins/speedwalk/CMakeLists.txt 2009-01-10 12:40:59.000000000 +0100
++++ kmuddy-1.0.1/plugins/mapper/plugins/speedwalk/CMakeLists.txt 2012-01-01 13:15:35.000000000 +0100
+@@ -17,7 +17,7 @@
+
+ kde4_add_plugin(kmuddymapper_speedwalk WITH_PREFIX ${kmuddymapper_speedwalk_PART_SRCS})
+
+-target_link_libraries(kmuddymapper_speedwalk ${KDE4_KDECORE_LIBS} ${KDE4_KPARTS_LIBS} ${KDE4_KDE3SUPPORT_LIBS} kmuddymapper )
++target_link_libraries(kmuddymapper_speedwalk kmuddymapper kmuddycore ${KDE4_KDECORE_LIBS} ${KDE4_KPARTS_LIBS} ${KDE4_KDE3SUPPORT_LIBS} )
+
+ install(TARGETS kmuddymapper_speedwalk DESTINATION ${PLUGIN_INSTALL_DIR} )
+
diff --git a/games-mud/kmuddy/kmuddy-1.0.1-r3.ebuild b/games-mud/kmuddy/kmuddy-1.0.1-r3.ebuild
new file mode 100644
index 000000000000..c3ff8dcd2eb0
--- /dev/null
+++ b/games-mud/kmuddy/kmuddy-1.0.1-r3.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_LINGUAS="es"
+KDE_DOC_DIRS="doc/${PN}"
+KDE_HANDBOOK=optional
+inherit kde4-base
+
+DESCRIPTION="MUD client for KDE"
+HOMEPAGE="http://www.kmuddy.com/"
+SRC_URI="http://www.kmuddy.com/releases/stable/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="4"
+KEYWORDS="amd64 ppc x86"
+IUSE="debug"
+
+DOC=( AUTHORS README CHANGELOG Scripting-HOWTO TODO DESIGN )
+
+PATCHES=(
+ "${FILESDIR}"/${P}-{gcc,kde}45.patch
+ "${FILESDIR}"/${P}-underlinking.patch
+ "${FILESDIR}"/${P}-tempnam.patch
+ "${FILESDIR}"/${P}-desktopvalidation.patch
+)
+src_configure() {
+ # not in portage yet
+ local mycmakeargs=(
+ -DWITH_MXP=OFF
+ )
+ kde4-base_src_configure
+}
diff --git a/games-mud/kmuddy/metadata.xml b/games-mud/kmuddy/metadata.xml
new file mode 100644
index 000000000000..ea290d70f97c
--- /dev/null
+++ b/games-mud/kmuddy/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+<herd>kde</herd>
+</pkgmetadata>