summaryrefslogtreecommitdiff
path: root/games-mud/gmudix
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /games-mud/gmudix
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'games-mud/gmudix')
-rw-r--r--games-mud/gmudix/Manifest5
-rw-r--r--games-mud/gmudix/files/gmudix-1.0-as-needed.patch28
-rw-r--r--games-mud/gmudix/files/gmudix-1.0-format.patch11
-rw-r--r--games-mud/gmudix/gmudix-1.0-r1.ebuild36
-rw-r--r--games-mud/gmudix/metadata.xml8
5 files changed, 88 insertions, 0 deletions
diff --git a/games-mud/gmudix/Manifest b/games-mud/gmudix/Manifest
new file mode 100644
index 000000000000..65c69a696eab
--- /dev/null
+++ b/games-mud/gmudix/Manifest
@@ -0,0 +1,5 @@
+AUX gmudix-1.0-as-needed.patch 1086 BLAKE2B 8e85a01154f336450888b8e42939a7328ea90ce17c6b05e72fb15d25fcbbbadc026af7f0a08803701c049389c9bfa5f9f210a813c7964446f3f52c1660aa7780 SHA512 74abd6878a94ab149977baa665c11881f56bfc33b8515bce9fa1582c488ea765f7ef84e65dd45c6fdf681f3e1d21d8052319c6e9b56da6da8180e2de1c69cbdc
+AUX gmudix-1.0-format.patch 514 BLAKE2B e223a4b8ba17237fed51c3f0eb3e541c4589e8d85a82e84caec693970af4d334c5a1018214d4c5cd754db37e73a3b87a773ccb6427dfb707472a16cf4f731a9f SHA512 009826ea4ece40a7f1face057eca8161d517aa5e498a3dc4cce84b8fa1dbfbe4bd5e0dff93cea8cc60c312ceffb18b857266062762d8f60681e25df67cd8bce9
+DIST gmudix-1.0.tar.gz 137548 BLAKE2B 5b6b5cb75a41967e8a436651397e2560303006f34a88cf47991b331a60589b9e47835657155bf284f569180169f10a5f8871659d1d380a1cf211b8d853e2c575 SHA512 c22a725af6914d5177a737c1abf1ee38c133854fab8723dc01a89739b58214937008c3931ccc5928e88ee1ecbda385304ff862606eacec377addd6ee8de02b38
+EBUILD gmudix-1.0-r1.ebuild 700 BLAKE2B 5a5425181665122036de40ac91f36b450c6641ff8783e1dfb0d07e874c7462518b1c764348a86baf605f9983bf93805d2b0ffc919a79f4d0851051d6e7638ba1 SHA512 060e0970cc1eca5a1baf5df5fdd13a344b90b60447bceea033f6fb4657793b7039d510053a0f4ced7a038767cc4ad5a30600afdeafc06702f83c51979d8ec2d2
+MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118
diff --git a/games-mud/gmudix/files/gmudix-1.0-as-needed.patch b/games-mud/gmudix/files/gmudix-1.0-as-needed.patch
new file mode 100644
index 000000000000..fe1de7b8cbdc
--- /dev/null
+++ b/games-mud/gmudix/files/gmudix-1.0-as-needed.patch
@@ -0,0 +1,28 @@
+--- a/configure.in
++++ b/configure.in
+@@ -8,7 +8,8 @@
+ AC_PROG_MAKE_SET
+
+ dnl Checks for libraries.
+-PKG_CHECK_MODULES(BASE_DEPENDENCIES, gtk+-2.0 >= 2.0.0)
++PKG_CHECK_MODULES(GTK, gtk+-2.0)
++PKG_CHECK_MODULES(GTHREAD, gthread-2.0)
+
+ dnl Checks for header files.
+ AC_HEADER_STDC
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -1,10 +1,5 @@
+ bin_PROGRAMS = gmudix
+ gmudix_SOURCES = alias.c commands.c file.c gui_alias.c gui_capture.c gui_character.c gui_color.c gui_font.c gui_general.c gui_macro.c gui_main.c gui_path.c gui_preferences.c gui_tab.c gui_timer.c gui_trigger.c gui_user.c gui_variable.c history.c log.c macro.c mccp.c mudix.c net.c path.c process.c string.c tabs.c telnet.c timer.c trigger.c user.c variable.c
+-INCLUDES = -Wall -I.. -I../include `pkg-config --cflags gtk+-2.0`
+-gmudix_LDFLAGS = -lz `pkg-config --libs gtk+-2.0` `pkg-config --libs gthread-2.0`
+-
+-if DEBUG_SYMBOLS
+-CFLAGS := $(CFLAGS) -O2 -g
+-else
+-CFLAGS := $(CFLAGS) -O2
+-endif
++AM_CFLAGS = -Wall
++INCLUDES = -I.. -I../include $(GTK_CFLAGS) $(GTHREAD_CFLAGS)
++LDADD = -lz $(GTK_LIBS) $(GTHREAD_LIBS)
diff --git a/games-mud/gmudix/files/gmudix-1.0-format.patch b/games-mud/gmudix/files/gmudix-1.0-format.patch
new file mode 100644
index 000000000000..4bb9729840e8
--- /dev/null
+++ b/games-mud/gmudix/files/gmudix-1.0-format.patch
@@ -0,0 +1,11 @@
+--- a/src/gui_user.c 2016-02-04 21:21:15.141455597 +0100
++++ b/src/gui_user.c 2016-02-04 21:21:31.016156493 +0100
+@@ -820,7 +820,7 @@
+
+ dialog = gtk_message_dialog_new(GTK_WINDOW(user->gui_user.g_window),
+ GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_INFO,
+- GTK_BUTTONS_CLOSE, msg);
++ GTK_BUTTONS_CLOSE, "%s", msg);
+
+ gtk_window_set_transient_for(GTK_WINDOW(user->gui_user.g_window),
+ GTK_WINDOW(dialog));
diff --git a/games-mud/gmudix/gmudix-1.0-r1.ebuild b/games-mud/gmudix/gmudix-1.0-r1.ebuild
new file mode 100644
index 000000000000..fa4c5f6bdf05
--- /dev/null
+++ b/games-mud/gmudix/gmudix-1.0-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools eutils
+
+DESCRIPTION="GTK+ MUD client with many features and an easy scripting language"
+HOMEPAGE="http://dw.nl.eu.org/mudix.html"
+SRC_URI="http://dw.nl.eu.org/gmudix/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/gtk+:2"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-as-needed.patch
+ "${FILESDIR}"/${P}-format.patch
+)
+
+src_prepare() {
+ default
+
+ mv configure.in configure.ac || die
+ rm -f missing || die
+ eautoreconf
+}
+
+src_install() {
+ dobin src/${PN}
+ dodoc AUTHORS ChangeLog README TODO doc/*txt
+}
diff --git a/games-mud/gmudix/metadata.xml b/games-mud/gmudix/metadata.xml
new file mode 100644
index 000000000000..78274e0fa550
--- /dev/null
+++ b/games-mud/gmudix/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+</maintainer>
+</pkgmetadata>