Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/gxmame/, games-emulation/gxmame/files/
Date: Fri, 26 Jan 2018 23:14:15
Message-Id: 1517008387.959048ec800176c4b60d50de4e58f4947495cbaa.zlogene@gentoo
1 commit: 959048ec800176c4b60d50de4e58f4947495cbaa
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 26 23:13:07 2018 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 26 23:13:07 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=959048ec
7
8 games-emulation/gxmame: remove last rited package
9
10 Closes: https://bugs.gentoo.org/602146
11
12 games-emulation/gxmame/Manifest | 1 -
13 .../gxmame-0.35_beta2-glib-single-include.patch | 13 -----
14 .../gxmame/files/gxmame-0.35_beta2-ovflfix.patch | 29 ----------
15 games-emulation/gxmame/gxmame-0.35_beta2.ebuild | 66 ----------------------
16 games-emulation/gxmame/metadata.xml | 11 ----
17 5 files changed, 120 deletions(-)
18
19 diff --git a/games-emulation/gxmame/Manifest b/games-emulation/gxmame/Manifest
20 deleted file mode 100644
21 index 7c51c79eb2b..00000000000
22 --- a/games-emulation/gxmame/Manifest
23 +++ /dev/null
24 @@ -1 +0,0 @@
25 -DIST gxmame-0.35beta2.tar.gz 697013 BLAKE2B 8c7396d716d6fded1c2bd3efbc5a90fc8c1835221c208f0e807b50044a2d9d6b392fa27349d9a7a51bcedf20544ff87940a2866fe4d6d6644c80d33aaa56bbe2 SHA512 c2b47c1f3f76d86846302754b31954b81d5b7165f5778153c6e6285bdcc6040c5479009cd70dcf32c86afa245ae8b6fe98af781f0d51acfcb76c8deb76422fe2
26
27 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
28 deleted file mode 100644
29 index 83ef4aa075e..00000000000
30 --- a/games-emulation/gxmame/files/gxmame-0.35_beta2-glib-single-include.patch
31 +++ /dev/null
32 @@ -1,13 +0,0 @@
33 -Index: gxmame-0.35beta2/src/gxmame.c
34 -===================================================================
35 ---- gxmame-0.35beta2.orig/src/gxmame.c
36 -+++ gxmame-0.35beta2/src/gxmame.c
37 -@@ -31,7 +31,7 @@
38 - #include <unistd.h>
39 - #include <signal.h>
40 - #include <glib/gprintf.h>
41 --#include <glib/gutils.h>
42 -+#include <glib.h>
43 - #include <gtk/gtkmain.h>
44 - #include <gtk/gtkfilesel.h>
45 -
46
47 diff --git a/games-emulation/gxmame/files/gxmame-0.35_beta2-ovflfix.patch b/games-emulation/gxmame/files/gxmame-0.35_beta2-ovflfix.patch
48 deleted file mode 100644
49 index 8831a3e09b6..00000000000
50 --- a/games-emulation/gxmame/files/gxmame-0.35_beta2-ovflfix.patch
51 +++ /dev/null
52 @@ -1,29 +0,0 @@
53 ---- src/options.c.old 2010-12-01 10:48:45.000000000 +0100
54 -+++ src/options.c 2010-12-01 10:53:55.000000000 +0100
55 -@@ -4245,7 +4245,7 @@
56 - case XMAME_EXEC_SVGAFX:
57 - target->fxgkeepaspect = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (fxgkeepaspect_checkbutton));
58 - used_text = gtk_editable_get_chars (GTK_EDITABLE (fx_entry), 0, -1);
59 -- strncpy (target->resolution, used_text, 20);
60 -+ strncpy (target->resolution, used_text, sizeof(target->resolution));
61 - g_free (used_text);
62 - break;
63 -
64 -@@ -4330,7 +4330,7 @@
65 - }
66 -
67 - used_text = gtk_editable_get_chars (GTK_EDITABLE (soundfile_entry), 0, -1);
68 -- strncpy (target->soundfile, used_text, 50);
69 -+ strncpy (target->soundfile, used_text, sizeof(target->soundfile));
70 - g_free (used_text);
71 -
72 - target->timer = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (timer_checkbutton));
73 -@@ -4465,7 +4465,7 @@
74 - target->skip_disclaimer = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (disclaimer_checkbutton));
75 - target->skip_gameinfo = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (gameinfo_checkbutton));
76 - used_text = gtk_editable_get_chars (GTK_EDITABLE (debug_size_combo_entry), 0, -1);
77 -- strncpy (target->debug_size, used_text, 20);
78 -+ strncpy (target->debug_size, used_text, sizeof(target->debug_size));
79 - g_free (used_text);
80 - target->use_additional_options = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (additional_options_checkbutton));
81 - /* here I'm using directly the additional option because I don't know its length */
82
83 diff --git a/games-emulation/gxmame/gxmame-0.35_beta2.ebuild b/games-emulation/gxmame/gxmame-0.35_beta2.ebuild
84 deleted file mode 100644
85 index 58080b94338..00000000000
86 --- a/games-emulation/gxmame/gxmame-0.35_beta2.ebuild
87 +++ /dev/null
88 @@ -1,66 +0,0 @@
89 -# Copyright 1999-2012 Gentoo Foundation
90 -# Distributed under the terms of the GNU General Public License v2
91 -
92 -EAPI=5
93 -inherit eutils games
94 -
95 -MY_P="${PN}-${PV/_beta/beta}"
96 -DESCRIPTION="frontend for XMame using the GTK library"
97 -HOMEPAGE="http://gxmame.sourceforge.net/"
98 -SRC_URI="mirror://sourceforge/gxmame/${MY_P}.tar.gz"
99 -
100 -LICENSE="GPL-2"
101 -SLOT="0"
102 -KEYWORDS="~amd64 ~x86"
103 -IUSE="nls joystick"
104 -
105 -RDEPEND="dev-libs/expat
106 - >=x11-libs/gtk+-2.4:2
107 - >=dev-libs/glib-2.4:2
108 - x11-themes/gnome-icon-theme
109 - nls? ( virtual/libintl )"
110 -DEPEND="${RDEPEND}
111 - virtual/pkgconfig
112 - nls? ( sys-devel/gettext )"
113 -
114 -S=${WORKDIR}/${MY_P}
115 -
116 -src_prepare() {
117 - epatch \
118 - "${FILESDIR}"/${P}-glib-single-include.patch \
119 - "${FILESDIR}"/${P}-ovflfix.patch
120 - sed -i \
121 - -e "s:-O2 -fomit-frame-pointer -ffast-math:${CFLAGS}:" \
122 - -e "s:-O2:${CFLAGS}:" \
123 - configure || die
124 - sed -i \
125 - -e '/Icon/s/\.png//' \
126 - -e '/Categories/s/Application;//' \
127 - gxmame.desktop.in || die
128 - sed -i \
129 - -e 's:COPYING::' \
130 - -e "s:^docdir = .*:docdir = /usr/share/doc/${PF}:" \
131 - -e "s:^htmldir = .*:htmldir = /usr/share/doc/${PF}/html:" \
132 - -e "s:^icondir = .*:icondir = /usr/share/icons:" \
133 - -e "s:^pixmapdir = .*:pixmapdir = /usr/share/pixmaps:" \
134 - -e "s:^gnulocaledir = .*:gnulocaledir = /usr/share/locale:" \
135 - -e "s:^icon2dir = .*:icon2dir = /usr/share/icons/mini:" \
136 - -e "s:^Graphicsdir = .*:Graphicsdir = /usr/share/applications:" \
137 - -e "/DDATADIR/s:\$(datadir):/usr/share/pixmaps:" \
138 - -e "/DPACKAGE_LOCALE_DIR/s:\$(datadir):/usr/share:" \
139 - Makefile.in html/Makefile.in src/Makefile.in po/Makefile.in.in || die
140 - sed -i -e 's/"gxmame"/""/' src/gui.c || die
141 -}
142 -
143 -src_configure() {
144 - egamesconf \
145 - --with-xmame-dir="${GAMES_DATADIR}"/xmame \
146 - $(use_enable nls) \
147 - $(use_enable joystick)
148 -}
149 -
150 -src_install() {
151 - DOCS="AUTHORS BUGS ChangeLog NEWS README TODO" \
152 - default
153 - prepgamesdirs
154 -}
155
156 diff --git a/games-emulation/gxmame/metadata.xml b/games-emulation/gxmame/metadata.xml
157 deleted file mode 100644
158 index e5c3f321f04..00000000000
159 --- a/games-emulation/gxmame/metadata.xml
160 +++ /dev/null
161 @@ -1,11 +0,0 @@
162 -<?xml version="1.0" encoding="UTF-8"?>
163 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
164 -<pkgmetadata>
165 - <maintainer type="project">
166 - <email>games@g.o</email>
167 - <name>Gentoo Games Project</name>
168 - </maintainer>
169 - <upstream>
170 - <remote-id type="sourceforge">gxmame</remote-id>
171 - </upstream>
172 -</pkgmetadata>