summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-mud/gmudix')
-rw-r--r--games-mud/gmudix/ChangeLog8
-rw-r--r--games-mud/gmudix/files/digest-gmudix-1.02
-rw-r--r--games-mud/gmudix/files/gmudix-1.0-as-needed.patch28
-rw-r--r--games-mud/gmudix/gmudix-1.0.ebuild25
4 files changed, 51 insertions, 12 deletions
diff --git a/games-mud/gmudix/ChangeLog b/games-mud/gmudix/ChangeLog
index ab4ca1b64fbf..c91e77eaca16 100644
--- a/games-mud/gmudix/ChangeLog
+++ b/games-mud/gmudix/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-mud/gmudix
-# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-mud/gmudix/ChangeLog,v 1.10 2005/10/24 15:50:34 dertobi123 Exp $
+# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-mud/gmudix/ChangeLog,v 1.11 2007/02/02 17:37:04 nyhm Exp $
+
+ 02 Feb 2007; Tristan Heaven <nyhm@gentoo.org>
+ +files/gmudix-1.0-as-needed.patch, gmudix-1.0.ebuild:
+ Fix for --as-needed, bug #164777
24 Oct 2005; Tobias Scherbaum <dertobi123@gentoo.org> gmudix-1.0.ebuild:
Marked ppc stable, Thanks to Owen in bug #109868
diff --git a/games-mud/gmudix/files/digest-gmudix-1.0 b/games-mud/gmudix/files/digest-gmudix-1.0
index 4b40a3bb9584..b69423922e27 100644
--- a/games-mud/gmudix/files/digest-gmudix-1.0
+++ b/games-mud/gmudix/files/digest-gmudix-1.0
@@ -1 +1,3 @@
MD5 bcdd48048fb3b483516872d1d0d593d9 gmudix-1.0.tar.gz 137548
+RMD160 117318e5cba1d599144717d81b15bcbc1374fa88 gmudix-1.0.tar.gz 137548
+SHA256 92588f498f5188ade961b7fd53951300236af105a72d0ffbd586d03a13008b03 gmudix-1.0.tar.gz 137548
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..838376ef256f
--- /dev/null
+++ b/games-mud/gmudix/files/gmudix-1.0-as-needed.patch
@@ -0,0 +1,28 @@
+--- configure.in
++++ 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
+--- src/Makefile.am
++++ 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/gmudix-1.0.ebuild b/games-mud/gmudix/gmudix-1.0.ebuild
index 961eef3c6af6..c88b65517125 100644
--- a/games-mud/gmudix/gmudix-1.0.ebuild
+++ b/games-mud/gmudix/gmudix-1.0.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-mud/gmudix/gmudix-1.0.ebuild,v 1.8 2006/06/06 06:08:26 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-mud/gmudix/gmudix-1.0.ebuild,v 1.9 2007/02/02 17:37:04 nyhm Exp $
-inherit games
+inherit autotools eutils games
DESCRIPTION="A GTK+ 2.0 MUD client with ANSI color mapping, aliasing, macros, paths, tab completions, timers, triggers, variables, and an easy-to-use script language and more"
HOMEPAGE="http://dw.nl.eu.org/mudix.html"
@@ -13,15 +13,20 @@ SLOT="0"
KEYWORDS="~amd64 ppc x86"
IUSE=""
-DEPEND="virtual/libc
- sys-libs/zlib
- >=dev-libs/atk-1.0
- >=dev-libs/glib-2.0
- >=x11-libs/pango-1.0
- >=x11-libs/gtk+-2.0"
+RDEPEND=">=x11-libs/gtk+-2"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-as-needed.patch
+ rm -f missing
+ eautoreconf
+}
src_install() {
- dogamesbin src/gmudix
+ dogamesbin src/${PN} || die "dogamesbin failed"
dodoc AUTHORS ChangeLog README TODO doc/*txt
prepgamesdirs
}