summaryrefslogtreecommitdiff
path: root/games-emulation/gxmame
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-01-27 18:07:28 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-01-27 18:07:28 +0000
commit67f76a858f1ac826bd8a550d756d9ec6e340ed4f (patch)
tree45f4ada6be05bc180a14e017c9d5c6b58a0eec6e /games-emulation/gxmame
parent38b7258d086dd5e263c3bbe3880c8c956676bc71 (diff)
gentoo resync : 27.01.2018
Diffstat (limited to 'games-emulation/gxmame')
-rw-r--r--games-emulation/gxmame/Manifest5
-rw-r--r--games-emulation/gxmame/files/gxmame-0.35_beta2-glib-single-include.patch13
-rw-r--r--games-emulation/gxmame/files/gxmame-0.35_beta2-ovflfix.patch29
-rw-r--r--games-emulation/gxmame/gxmame-0.35_beta2.ebuild66
-rw-r--r--games-emulation/gxmame/metadata.xml11
5 files changed, 0 insertions, 124 deletions
diff --git a/games-emulation/gxmame/Manifest b/games-emulation/gxmame/Manifest
deleted file mode 100644
index 337a61260bf5..000000000000
--- a/games-emulation/gxmame/Manifest
+++ /dev/null
@@ -1,5 +0,0 @@
-AUX gxmame-0.35_beta2-glib-single-include.patch 367 BLAKE2B 3811541ba63a5ad1f1011438751d6512126c2b77431eee238dd53fd0ee46232e692885825d60495886d99cf93ee8e4df1fa1b469a258c12a5800ebbd9e1d519f SHA512 def963684ed246027dbb2613be4960ad103bd539ac8e8bdccfdea65899198be3052d7f8f89ade363a3d53e184ec0ea0d110f0d988bad5d5ec0cb54e159040319
-AUX gxmame-0.35_beta2-ovflfix.patch 1488 BLAKE2B dbc65e23b851e4120a33fd74b0df6fd003467f8e12d3ecccf00cf2e2350a8962ac846ef6364c508c0aa52589b39b1add8f555c29bbf6d42e154fa758e0202be7 SHA512 3c13151fbb1c285dc819413be3e049f089bc246bded77df02aafa950a1822d1f84e24206b07934fda079fd6f5ecc316335daee3b5516f2a8d87791bdd04eab40
-DIST gxmame-0.35beta2.tar.gz 697013 BLAKE2B 8c7396d716d6fded1c2bd3efbc5a90fc8c1835221c208f0e807b50044a2d9d6b392fa27349d9a7a51bcedf20544ff87940a2866fe4d6d6644c80d33aaa56bbe2 SHA512 c2b47c1f3f76d86846302754b31954b81d5b7165f5778153c6e6285bdcc6040c5479009cd70dcf32c86afa245ae8b6fe98af781f0d51acfcb76c8deb76422fe2
-EBUILD gxmame-0.35_beta2.ebuild 1829 BLAKE2B 6c402e94ecbac97a3d7492ddf8c0d2f2ec5e2e8d0668a7e05ab1df60145e1fda237e7e98e889a5f1eab6d2302edb775a4cf7477c5b793840a2a648d82243fa3d SHA512 9c13972407c7b9e4f1c8f109e4fd298c29f9ab7723c30ae70979de86cb4f8b56b88ecec47ea1bea3fb5ced55c900ab4bb5e54fb00b3bbe2f38e045f63f9e5267
-MISC metadata.xml 329 BLAKE2B 1111e8ca24c449b67e5eff40b4ace3df1caa88ae21795adcdad2dc5bcaf79f1e922cf68168818c3b388f7e716a68ba1150c3d2daaedcb1ab3ef47de2ab6a0ae6 SHA512 313bc1d6e61d610abbdd7e7a95826005e6160e5ea7dc4ca3fa58b9811fbd77cf33e33221526871bc2ac383f90d8676f2264629e4898fe92d1d26b5d84c878527
diff --git a/games-emulation/gxmame/files/gxmame-0.35_beta2-glib-single-include.patch b/games-emulation/gxmame/files/gxmame-0.35_beta2-glib-single-include.patch
deleted file mode 100644
index 83ef4aa075e5..000000000000
--- a/games-emulation/gxmame/files/gxmame-0.35_beta2-glib-single-include.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: gxmame-0.35beta2/src/gxmame.c
-===================================================================
---- gxmame-0.35beta2.orig/src/gxmame.c
-+++ gxmame-0.35beta2/src/gxmame.c
-@@ -31,7 +31,7 @@
- #include <unistd.h>
- #include <signal.h>
- #include <glib/gprintf.h>
--#include <glib/gutils.h>
-+#include <glib.h>
- #include <gtk/gtkmain.h>
- #include <gtk/gtkfilesel.h>
-
diff --git a/games-emulation/gxmame/files/gxmame-0.35_beta2-ovflfix.patch b/games-emulation/gxmame/files/gxmame-0.35_beta2-ovflfix.patch
deleted file mode 100644
index 8831a3e09b61..000000000000
--- a/games-emulation/gxmame/files/gxmame-0.35_beta2-ovflfix.patch
+++ /dev/null
@@ -1,29 +0,0 @@
---- src/options.c.old 2010-12-01 10:48:45.000000000 +0100
-+++ src/options.c 2010-12-01 10:53:55.000000000 +0100
-@@ -4245,7 +4245,7 @@
- case XMAME_EXEC_SVGAFX:
- target->fxgkeepaspect = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (fxgkeepaspect_checkbutton));
- used_text = gtk_editable_get_chars (GTK_EDITABLE (fx_entry), 0, -1);
-- strncpy (target->resolution, used_text, 20);
-+ strncpy (target->resolution, used_text, sizeof(target->resolution));
- g_free (used_text);
- break;
-
-@@ -4330,7 +4330,7 @@
- }
-
- used_text = gtk_editable_get_chars (GTK_EDITABLE (soundfile_entry), 0, -1);
-- strncpy (target->soundfile, used_text, 50);
-+ strncpy (target->soundfile, used_text, sizeof(target->soundfile));
- g_free (used_text);
-
- target->timer = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (timer_checkbutton));
-@@ -4465,7 +4465,7 @@
- target->skip_disclaimer = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (disclaimer_checkbutton));
- target->skip_gameinfo = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (gameinfo_checkbutton));
- used_text = gtk_editable_get_chars (GTK_EDITABLE (debug_size_combo_entry), 0, -1);
-- strncpy (target->debug_size, used_text, 20);
-+ strncpy (target->debug_size, used_text, sizeof(target->debug_size));
- g_free (used_text);
- target->use_additional_options = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (additional_options_checkbutton));
- /* here I'm using directly the additional option because I don't know its length */
diff --git a/games-emulation/gxmame/gxmame-0.35_beta2.ebuild b/games-emulation/gxmame/gxmame-0.35_beta2.ebuild
deleted file mode 100644
index 58080b943381..000000000000
--- a/games-emulation/gxmame/gxmame-0.35_beta2.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils games
-
-MY_P="${PN}-${PV/_beta/beta}"
-DESCRIPTION="frontend for XMame using the GTK library"
-HOMEPAGE="http://gxmame.sourceforge.net/"
-SRC_URI="mirror://sourceforge/gxmame/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="nls joystick"
-
-RDEPEND="dev-libs/expat
- >=x11-libs/gtk+-2.4:2
- >=dev-libs/glib-2.4:2
- x11-themes/gnome-icon-theme
- nls? ( virtual/libintl )"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- nls? ( sys-devel/gettext )"
-
-S=${WORKDIR}/${MY_P}
-
-src_prepare() {
- epatch \
- "${FILESDIR}"/${P}-glib-single-include.patch \
- "${FILESDIR}"/${P}-ovflfix.patch
- sed -i \
- -e "s:-O2 -fomit-frame-pointer -ffast-math:${CFLAGS}:" \
- -e "s:-O2:${CFLAGS}:" \
- configure || die
- sed -i \
- -e '/Icon/s/\.png//' \
- -e '/Categories/s/Application;//' \
- gxmame.desktop.in || die
- sed -i \
- -e 's:COPYING::' \
- -e "s:^docdir = .*:docdir = /usr/share/doc/${PF}:" \
- -e "s:^htmldir = .*:htmldir = /usr/share/doc/${PF}/html:" \
- -e "s:^icondir = .*:icondir = /usr/share/icons:" \
- -e "s:^pixmapdir = .*:pixmapdir = /usr/share/pixmaps:" \
- -e "s:^gnulocaledir = .*:gnulocaledir = /usr/share/locale:" \
- -e "s:^icon2dir = .*:icon2dir = /usr/share/icons/mini:" \
- -e "s:^Graphicsdir = .*:Graphicsdir = /usr/share/applications:" \
- -e "/DDATADIR/s:\$(datadir):/usr/share/pixmaps:" \
- -e "/DPACKAGE_LOCALE_DIR/s:\$(datadir):/usr/share:" \
- Makefile.in html/Makefile.in src/Makefile.in po/Makefile.in.in || die
- sed -i -e 's/"gxmame"/""/' src/gui.c || die
-}
-
-src_configure() {
- egamesconf \
- --with-xmame-dir="${GAMES_DATADIR}"/xmame \
- $(use_enable nls) \
- $(use_enable joystick)
-}
-
-src_install() {
- DOCS="AUTHORS BUGS ChangeLog NEWS README TODO" \
- default
- prepgamesdirs
-}
diff --git a/games-emulation/gxmame/metadata.xml b/games-emulation/gxmame/metadata.xml
deleted file mode 100644
index e5c3f321f04a..000000000000
--- a/games-emulation/gxmame/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?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">gxmame</remote-id>
- </upstream>
-</pkgmetadata>