Gentoo Archives: gentoo-commits

From: Michael Sterrett <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-strategy/attal/files/, games-strategy/attal/
Date: Sat, 20 Feb 2016 01:29:45
Message-Id: 1455931730.c1afe50db78182ed1032646d91728d3cb87e8a37.mr_bones_@gentoo
1 commit: c1afe50db78182ed1032646d91728d3cb87e8a37
2 Author: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 20 01:27:36 2016 +0000
4 Commit: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 20 01:28:50 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1afe50d
7
8 games-strategy/attal: games-strategy/attal is gone
9
10 games-strategy/attal/Manifest | 2 -
11 games-strategy/attal/attal-0.10.1.ebuild | 62 ----------------------
12 .../attal/files/attal-0.10.1-gcc41.patch | 33 ------------
13 .../attal/files/attal-0.10.1-gentoo.patch | 33 ------------
14 games-strategy/attal/metadata.xml | 11 ----
15 5 files changed, 141 deletions(-)
16
17 diff --git a/games-strategy/attal/Manifest b/games-strategy/attal/Manifest
18 deleted file mode 100644
19 index f516969..0000000
20 --- a/games-strategy/attal/Manifest
21 +++ /dev/null
22 @@ -1,2 +0,0 @@
23 -DIST attal-src-0.10.1.tar.bz2 283704 SHA256 9dd692daa99dbf3ec14c178b5b3334a6a4085f790749aa58cf45ddf8c5e8649b SHA512 352b044aafd5e25ebdfa2c42af3c58c91a173db39461b2c845aaee964e418976cd58afa9f92fd99e3e498f7fad005c133d1482d212250477fc20b328e2e926db WHIRLPOOL 9a6865837f7fc8ec03e2441cfde8dba3e61cef3b12d231625e545ec0e01b4e2979311d6a5a7de19354edd07dd44db3ae8f0e5bbb05d561ff645d4c921316442a
24 -DIST themes-0.10.1.tar.bz2 30744206 SHA256 1f0e9c8b70ac8fd50cf7af492177b88383b230fe400f6ffa4b5641badac5a002 SHA512 cf3362f2ca5772135ab4e1760ac42ebc8195e6285c2cb96e8b89553851953c6fe15c5c06b30a4bd4e413c212b0f81d0386fedfddb089463824dfccefc3cc252a WHIRLPOOL ba0a3e1ba3805923a491fe64e4a175c27fe377fb2cbdca24f23b84c673fe010b044f3fef63ec864ef5ecda159035e3e1d8cca12ebf1ad01b3fd3b1af3b70d9ea
25
26 diff --git a/games-strategy/attal/attal-0.10.1.ebuild b/games-strategy/attal/attal-0.10.1.ebuild
27 deleted file mode 100644
28 index f3c3206..0000000
29 --- a/games-strategy/attal/attal-0.10.1.ebuild
30 +++ /dev/null
31 @@ -1,62 +0,0 @@
32 -# Copyright 1999-2013 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -# $Id$
35 -
36 -EAPI=2
37 -inherit eutils qt4-r2 games
38 -
39 -MY_P="${PN}-src-${PV}"
40 -DESCRIPTION="turn-based strategy game project"
41 -HOMEPAGE="http://www.attal-thegame.org/"
42 -SRC_URI="mirror://sourceforge/attal/${MY_P}.tar.bz2
43 - mirror://sourceforge/attal/themes-${PV}.tar.bz2"
44 -
45 -LICENSE="GPL-2"
46 -SLOT="0"
47 -KEYWORDS="~amd64 ppc x86"
48 -IUSE=""
49 -
50 -DEPEND="dev-qt/qtgui:4
51 - dev-qt/qtsql:4
52 - dev-qt/qt3support:4
53 - media-libs/libsdl
54 - media-libs/sdl-mixer[vorbis]"
55 -
56 -S=${WORKDIR}/${MY_P}
57 -
58 -src_prepare() {
59 - mv ../themes .
60 - ecvs_clean
61 - epatch \
62 - "${FILESDIR}"/${P}-gcc41.patch \
63 - "${FILESDIR}"/${P}-gentoo.patch
64 - sed -i \
65 - -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \
66 - libCommon/displayHelp.cpp \
67 - libCommon/attalCommon.cpp \
68 - server/duel.cpp \
69 - || die "sed failed"
70 -}
71 -
72 -src_configure() {
73 - eqmake4 Makefile.pro
74 -}
75 -
76 -src_compile() {
77 - local d
78 -
79 - for d in Common Client Fight Server
80 - do
81 - emake sub-lib$d || die "emake failed"
82 - done
83 - emake || die "emake failed"
84 -}
85 -
86 -src_install() {
87 - dogamesbin attal-* || die "dogamesbin failed"
88 - dogameslib.so lib*.so* || die "dogameslib.so failed"
89 - insinto "${GAMES_DATADIR}"/${PN}
90 - doins -r themes HOWTOPLAY.html || die "doins failed"
91 - dodoc AUTHORS NEWS README TODO
92 - prepgamesdirs
93 -}
94
95 diff --git a/games-strategy/attal/files/attal-0.10.1-gcc41.patch b/games-strategy/attal/files/attal-0.10.1-gcc41.patch
96 deleted file mode 100644
97 index 161aa32..0000000
98 --- a/games-strategy/attal/files/attal-0.10.1-gcc41.patch
99 +++ /dev/null
100 @@ -1,33 +0,0 @@
101 ---- libClient/ressourceWin.h.old 2006-09-11 20:57:10.000000000 +0200
102 -+++ libClient/ressourceWin.h 2006-09-11 20:57:24.000000000 +0200
103 -@@ -54,7 +54,7 @@
104 -
105 - public:
106 - /** Construtcor */
107 -- RessourceWin( QWidget * parent = 0, const char * name = 0, WinResType type );
108 -+ RessourceWin( QWidget * parent, const char * name, WinResType type );
109 -
110 - /** Initialize player */
111 - void setPlayer( GenericPlayer * );
112 ---- libCommon/creature.h.old 2006-05-25 00:50:11.000000000 -0400
113 -+++ libCommon/creature.h 2006-05-25 00:51:51.000000000 -0400
114 -@@ -38,6 +38,7 @@
115 -
116 - class CreatureHandler;
117 - class GenericFightUnit;
118 -+int computeSequence( GenericFightUnit * unit );
119 -
120 - /** Manage a creature */
121 - enum CreatureAnimationType {
122 -
123 ---- server/serverInterface.h.old 2006-09-11 21:33:00.000000000 +0200
124 -+++ server/serverInterface.h 2006-09-11 21:33:16.000000000 +0200
125 -@@ -135,7 +135,7 @@
126 - void initStatusBar();
127 -
128 - /** Add new action */
129 -- QAction * ServerInterface::addAction( const QString & label, MENU_ACTIONS id, QSignalMapper * sigmap );
130 -+ QAction *addAction( const QString & label, MENU_ACTIONS id, QSignalMapper * sigmap );
131 -
132 - void addAI(bool hide);
133 -
134
135 diff --git a/games-strategy/attal/files/attal-0.10.1-gentoo.patch b/games-strategy/attal/files/attal-0.10.1-gentoo.patch
136 deleted file mode 100644
137 index ab8d0c6..0000000
138 --- a/games-strategy/attal/files/attal-0.10.1-gentoo.patch
139 +++ /dev/null
140 @@ -1,33 +0,0 @@
141 ---- libCommon/displayHelp.cpp.old 2006-09-11 22:41:38.000000000 +0200
142 -+++ libCommon/displayHelp.cpp 2006-09-11 22:42:20.000000000 +0200
143 -@@ -44,7 +44,7 @@
144 - _text->mimeSourceFactory()->setFilePath( QString(".") );
145 - _text->mimeSourceFactory()->setExtensionType( "html", "text/html;charset=iso8859-1" );
146 - _text->setTextFormat( Qt::RichText );
147 -- _text->setSource( "./HOWTOPLAY.html" );
148 -+ _text->setSource( "@GENTOO_DATADIR@/HOWTOPLAY.html" );
149 -
150 - QPushButton * pbOk = new QPushButton( this );
151 - pbOk->setText( QObject::tr( "Ok" ) );
152 ---- libCommon/attalCommon.cpp.old 2006-09-11 22:45:23.000000000 +0200
153 -+++ libCommon/attalCommon.cpp 2006-09-11 22:47:28.000000000 +0200
154 -@@ -52,7 +52,7 @@
155 - {
156 - QDir folder;
157 -
158 -- folder.setPath( "./themes/" + THEME );
159 -+ folder.setPath( "@GENTOO_DATADIR@/themes/" + THEME );
160 -
161 - #ifndef WIN32
162 - if( ! folder.exists() ) {
163 ---- server/duel.cpp.old 2006-09-11 22:48:30.000000000 +0200
164 -+++ server/duel.cpp 2006-09-11 22:48:57.000000000 +0200
165 -@@ -44,7 +44,7 @@
166 - {
167 - QDir folder;
168 -
169 -- folder.setPath( "./themes/" + THEME );
170 -+ folder.setPath( "@GENTOO_DATADIR@/themes/" + THEME );
171 - if( ! folder.exists() ) {
172 - folder.setPath( "/usr/local/share/games/attal/themes/" + THEME );
173 - if( ! folder.exists() ) {
174
175 diff --git a/games-strategy/attal/metadata.xml b/games-strategy/attal/metadata.xml
176 deleted file mode 100644
177 index ea58e23..0000000
178 --- a/games-strategy/attal/metadata.xml
179 +++ /dev/null
180 @@ -1,11 +0,0 @@
181 -<?xml version="1.0" encoding="UTF-8"?>
182 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
183 -<pkgmetadata>
184 - <maintainer type="project">
185 - <email>games@g.o</email>
186 - <name>Gentoo Games Project</name>
187 - </maintainer>
188 - <upstream>
189 - <remote-id type="sourceforge">attal</remote-id>
190 - </upstream>
191 -</pkgmetadata>