summaryrefslogtreecommitdiff
path: root/games-mud/kildclient
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/kildclient
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'games-mud/kildclient')
-rw-r--r--games-mud/kildclient/Manifest4
-rw-r--r--games-mud/kildclient/files/kildclient-3.0.1-gentoo.patch114
-rw-r--r--games-mud/kildclient/kildclient-3.0.1-r1.ebuild47
-rw-r--r--games-mud/kildclient/metadata.xml11
4 files changed, 176 insertions, 0 deletions
diff --git a/games-mud/kildclient/Manifest b/games-mud/kildclient/Manifest
new file mode 100644
index 000000000000..e5f3f7098e35
--- /dev/null
+++ b/games-mud/kildclient/Manifest
@@ -0,0 +1,4 @@
+AUX kildclient-3.0.1-gentoo.patch 3882 BLAKE2B 9f2bf6c8794365d17f9b1271d7ff20ede322056bd59a527e43fc82d36541c9d4b565d67271a468f82ada266265a7ae5b84bc406d75b5656df6d15dfa8e1544a9 SHA512 8f4468cab922a911486f891215cb29de667da3f99c7ac2a4b6b59c59e2c2ba2f7f11c467b7009b0bb77b1a4953a99cbf851cc09a88a905e7c2478273546fc1ea
+DIST kildclient-3.0.1.tar.gz 1838526 BLAKE2B 06243adbd682574f0ff155b9087fa81a35c2b7462b8051a9315d67eeb520dd6211e8c402d7f90a76a04d105f517645e628cec5d355c8f1b6725775fd94eb3911 SHA512 835b31b2e45a5895fd4aefcb662d6c3bf2c888836f12511ef7bc6c15a12dac8563bc9226dbc33fb75915fdf6024ed61a0a05185d0998646ba380410d6e33a706
+EBUILD kildclient-3.0.1-r1.ebuild 928 BLAKE2B 338491d726e643a48337d65772cd04dfd3be63e90bac49e60fb2c21e9c0b81acda131ef63ea7bc067a0f53c0da3a68aed72159eae6a8211777ac084f8e64fecb SHA512 f87cc640c1b2012d23d57dbadc82428d311b72d5dd4acf435cbb790e202f4c4c01b35031450b13b66b4340c301dba149dbe2cfb3988860f8c850f1bcf2fbb879
+MISC metadata.xml 333 BLAKE2B 200074c6521739d98bbf4e4c840f6ba192b480e3cf4de4ac6572df9d87b27f905c5919b83509eb69e3ff8252940e8be591b2a85fd5dca0a8c45763baff81a0a2 SHA512 7bb05074dcc9fcee20760e4d1be1d3d1bf5684a932636c9fba9b790dc9ef5ea477efe67854d0aa44561d081068418cadf4b237164ff6be7eb1cdf4f613276522
diff --git a/games-mud/kildclient/files/kildclient-3.0.1-gentoo.patch b/games-mud/kildclient/files/kildclient-3.0.1-gentoo.patch
new file mode 100644
index 000000000000..75b39cfad414
--- /dev/null
+++ b/games-mud/kildclient/files/kildclient-3.0.1-gentoo.patch
@@ -0,0 +1,114 @@
+diff -ru kildclient-3.0.1.orig/Makefile.am kildclient-3.0.1/Makefile.am
+--- kildclient-3.0.1.orig/Makefile.am 2014-09-07 11:49:16.000000000 -0400
++++ kildclient-3.0.1/Makefile.am 2015-01-03 22:33:12.578096926 -0500
+@@ -9,11 +9,7 @@
+ share
+ endif
+
+-pkgdocdir = $(datadir)/doc/kildclient
+-
+-pkgdoc_DATA = README AUTHORS NEWS COPYING
+-
+-appsdir = $(datadir)/applications
++appsdir = /usr/share/applications
+ apps_DATA = kildclient.desktop
+
+ EXTRA_DIST = kildclient.spec \
+diff -ru kildclient-3.0.1.orig/doc/C/Makefile.am kildclient-3.0.1/doc/C/Makefile.am
+--- kildclient-3.0.1.orig/doc/C/Makefile.am 2012-02-12 10:48:07.000000000 -0500
++++ kildclient-3.0.1/doc/C/Makefile.am 2015-01-04 00:11:46.422941983 -0500
+@@ -1,8 +1,8 @@
+ SUBDIRS = images
+
+-pkgdocdir = $(datadir)/doc/kildclient
++pkgdocdir = @docdir@
+
+-manualdir = $(pkgdocdir)/html
++manualdir = @htmldir@
+
+ #pkgdoc_DATA = kildclient.pdf
+
+diff -ru kildclient-3.0.1.orig/po/Makefile.in.in kildclient-3.0.1/po/Makefile.in.in
+--- kildclient-3.0.1.orig/po/Makefile.in.in 2014-12-13 05:47:22.000000000 -0500
++++ kildclient-3.0.1/po/Makefile.in.in 2015-01-04 00:13:33.357326034 -0500
+@@ -28,9 +28,8 @@
+ datarootdir = @datarootdir@
+ datadir = @datadir@
+ libdir = @libdir@
+-localedir = $(libdir)/locale
+-gnulocaledir = $(datadir)/locale
+-gettextsrcdir = $(datadir)/glib-2.0/gettext/po
++localedir = @localedir@
++gnulocaledir = @localedir@
+ subdir = po
+
+ INSTALL = @INSTALL@
+@@ -163,13 +162,6 @@
+ fi; \
+ fi; \
+ done
+- if test "$(PACKAGE)" = "glib"; then \
+- $(MKINSTALLDIRS) $(DESTDIR)$(gettextsrcdir); \
+- $(INSTALL_DATA) $(srcdir)/Makefile.in.in \
+- $(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \
+- else \
+- : ; \
+- fi
+
+ # Define this as empty until I found a useful application.
+ installcheck:
+@@ -184,9 +176,6 @@
+ rm -f $(DESTDIR)$(gnulocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE)$(INSTOBJEXT); \
+ rm -f $(DESTDIR)$(gnulocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m; \
+ done
+- if test "$(PACKAGE)" = "glib"; then \
+- rm -f $(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \
+- fi
+
+ check: all
+
+diff -ru kildclient-3.0.1.orig/share/Makefile.am kildclient-3.0.1/share/Makefile.am
+--- kildclient-3.0.1.orig/share/Makefile.am 2012-02-12 10:48:56.000000000 -0500
++++ kildclient-3.0.1/share/Makefile.am 2015-01-04 00:14:05.375243115 -0500
+@@ -5,7 +5,7 @@
+ kildclient.hlp \
+ kcworld.dtd
+
+-pixmapdir = $(datadir)/pixmaps
++pixmapdir = /usr/share/pixmaps
+ pixmap_DATA = kildclient.png kildclient.xpm
+
+
+diff -ru kildclient-3.0.1.orig/src/Makefile.am kildclient-3.0.1/src/Makefile.am
+--- kildclient-3.0.1.orig/src/Makefile.am 2014-12-13 05:40:02.000000000 -0500
++++ kildclient-3.0.1/src/Makefile.am 2015-01-04 00:14:47.606814577 -0500
+@@ -84,11 +84,11 @@
+
+ EXTRA_DIST = $(pkgdata_DATA) $(uifiles)
+
+-pkgdocdir = $(datadir)/doc/kildclient
++pkgdocdir = @docdir@
+
+-manualdir = $(pkgdocdir)/html
++manualdir = @htmldir@
+
+-localedir = $(datadir)/locale
++localedir = @localedir@
+
+ kildclient_LDADD = $(GTK_LIBS) $(KILDCLIENT_PERL_LIBS) $(GTKSPELL_LIBS) $(LIBGNUTLS_LIBS) $(INTLLIBS) -lz
+
+diff -ru kildclient-3.0.1.orig/src/mainwindow.c kildclient-3.0.1/src/mainwindow.c
+--- kildclient-3.0.1.orig/src/mainwindow.c 2014-12-13 05:40:02.000000000 -0500
++++ kildclient-3.0.1/src/mainwindow.c 2015-01-04 00:15:43.877910836 -0500
+@@ -172,9 +172,9 @@
+ window = GTK_WIDGET(gtk_builder_get_object(main_builder, "wndMain"));
+ #ifndef __WIN32__
+ gtk_window_set_icon_from_file(GTK_WINDOW(window),
+- SYSDATADIR "/pixmaps/kildclient.png",
++ "/usr/share/pixmaps/kildclient.png",
+ NULL);
+- gtk_window_set_default_icon_from_file(SYSDATADIR "/pixmaps/kildclient.png",
++ gtk_window_set_default_icon_from_file("/usr/share/pixmaps/kildclient.png",
+ NULL);
+ #endif
+
diff --git a/games-mud/kildclient/kildclient-3.0.1-r1.ebuild b/games-mud/kildclient/kildclient-3.0.1-r1.ebuild
new file mode 100644
index 000000000000..2840e2017830
--- /dev/null
+++ b/games-mud/kildclient/kildclient-3.0.1-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools eutils
+
+DESCRIPTION="Powerful MUD client with a built-in PERL interpreter"
+HOMEPAGE="http://kildclient.sourceforge.net"
+SRC_URI="mirror://sourceforge/kildclient/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc gnutls spell"
+
+RDEPEND="
+ dev-lang/perl
+ dev-perl/Locale-gettext
+ dev-perl/JSON
+ sys-libs/zlib
+ x11-libs/gtk+:3
+ virtual/libintl
+ spell? ( app-text/gtkspell:3 )
+ gnutls? ( net-libs/gnutls )"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-gentoo.patch
+)
+
+src_prepare() {
+ default
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --localedir=/usr/share/locale \
+ --docdir=/usr/share/doc/${PF} \
+ --htmldir=/usr/share/doc/${PF}/html \
+ $(use_with spell gtkspell) \
+ $(use_with gnutls libgnutls) \
+ $(use_with doc docs)
+}
diff --git a/games-mud/kildclient/metadata.xml b/games-mud/kildclient/metadata.xml
new file mode 100644
index 000000000000..9909f4b3cd17
--- /dev/null
+++ b/games-mud/kildclient/metadata.xml
@@ -0,0 +1,11 @@
+<?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>
+ <upstream>
+ <remote-id type="sourceforge">kildclient</remote-id>
+ </upstream>
+</pkgmetadata>