commit:     15840524446ed980ad0d99ed4ae43883f845447a
Author:     Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Thu Aug  8 20:14:04 2019 +0000
Commit:     Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
CommitDate: Thu Aug  8 20:14:04 2019 +0000
URL:        https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=15840524

games-arcade/maxfighter and media-libs/mysdl: remove

Dead upstream, unmaintained, deprecated eclasses

 games-arcade/maxfighter/maxfighter-1.0.ebuild  | 55 -------------------
 media-libs/mysdl/files/mysdl_1.0-gcc4.patch    | 59 --------------------
 media-libs/mysdl/files/mysdl_1.0-pnghack.patch | 76 --------------------------
 media-libs/mysdl/mysdl-1.0.ebuild              | 46 ----------------
 4 files changed, 236 deletions(-)

diff --git a/games-arcade/maxfighter/maxfighter-1.0.ebuild 
b/games-arcade/maxfighter/maxfighter-1.0.ebuild
deleted file mode 100644
index d3711fa..0000000
--- a/games-arcade/maxfighter/maxfighter-1.0.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="2"
-
-inherit eutils games
-
-DESCRIPTION="Vertically-scrolling asteroids-style shoot-em-up"
-HOMEPAGE="http://maxfighter.musgit.com/";
-SRC_URI="http://source.musgit.com/files/${PN}_${PV}.tar.bz2";
-LICENSE="CCPL-Attribution-ShareAlike-NonCommercial-2.5
-       GPL-2"
-KEYWORDS="~x86"
-IUSE=""
-SLOT="0"
-
-RDEPEND="media-libs/mysdl"
-DEPEND="${RDEPEND}"
-
-S=${WORKDIR}/${PN}_${PV}
-release=${S}/dist/linux/${PN}
-
-src_compile() {
-       scons dist=1 || die "scons failed"
-}
-
-src_install() {
-       local dir=${GAMES_DATADIR}/${PN}
-       local state_dir=${GAMES_STATEDIR}/${PN}
-
-       dogamesbin "${release}/${PN}" || die "dogamesbin failed"
-
-       insinto "${dir}"
-       doins -r "${release}"/resources/* || die "doins resources failed"
-
-       dohtml -r "${release}"/docs/* || die "dohtml docs failed"
-
-       # Use a suitable icon from the many images available
-       newicon "${release}"/resources/images/player_1_0006.png ${PN}.png \
-               || die "newicon failed"
-       make_desktop_entry ${PN} "Max Fighter" ${PN}.png
-
-       # Shared highscores file
-       dodir "${state_dir}"
-       touch "${D}/${state_dir}"/highscores.xml || die "touch failed"
-       fperms g+w "${state_dir}"/highscores.xml || die "fperms failed"
-
-       prepgamesdirs
-}
-
-pkg_postinst() {
-       games_pkg_postinst
-
-}
\ No newline at end of file

diff --git a/media-libs/mysdl/files/mysdl_1.0-gcc4.patch 
b/media-libs/mysdl/files/mysdl_1.0-gcc4.patch
deleted file mode 100644
index ce891ad..0000000
--- a/media-libs/mysdl/files/mysdl_1.0-gcc4.patch
+++ /dev/null
@@ -1,59 +0,0 @@
-diff -Naur mysdl_1.0/src/audio/music.h mysdl_1.0-p/src/audio/music.h
---- mysdl_1.0/src/audio/music.h        2006-08-18 02:46:18.000000000 +0200
-+++ mysdl_1.0-p/src/audio/music.h      2009-09-28 14:45:17.000000000 +0200
-@@ -79,7 +79,7 @@
- 
-                               MusicStream *currentStream,*nextStream;
- 
--                              void MusicManager::stream();
-+                              void stream();
- 
-                       public:
-                               MusicManager();
-diff -Naur mysdl_1.0/src/audio/sources.h mysdl_1.0-p/src/audio/sources.h
---- mysdl_1.0/src/audio/sources.h      2006-08-18 02:46:12.000000000 +0200
-+++ mysdl_1.0-p/src/audio/sources.h    2009-09-28 14:45:01.000000000 +0200
-@@ -81,7 +81,7 @@
-                               ~Source();
- 
-                               bool operator<(const Source &source) const;
--                              void Source::dropSound();
-+                              void dropSound();
-               };
- 
-               class Sound
-diff -Naur mysdl_1.0/src/gui/core.h mysdl_1.0-p/src/gui/core.h
---- mysdl_1.0/src/gui/core.h   2006-08-18 02:48:51.000000000 +0200
-+++ mysdl_1.0-p/src/gui/core.h 2009-09-28 14:46:08.000000000 +0200
-@@ -524,7 +524,7 @@
-                                *         found there, or 0 if the coordinate 
lies outside the component's client
-                                *         rectangle.
-                                */
--                              Component *Component::find(const Vector2D pos);
-+                              Component *find(const Vector2D pos);
- 
-                               /**
-                                * Determines whether the component is enabled 
<b>and</b> visible.
-diff -Naur mysdl_1.0/src/mysdl.cpp mysdl_1.0-p/src/mysdl.cpp
---- mysdl_1.0/src/mysdl.cpp    2006-08-20 00:16:03.000000000 +0200
-+++ mysdl_1.0-p/src/mysdl.cpp  2009-09-28 14:49:29.000000000 +0200
-@@ -21,6 +21,7 @@
- #include <signal.h>
- #include <stdlib.h>
- #include <iostream>
-+#include <assert.h>
- 
- #include "SDL/SDL_image.h"
- #include "SDL/SDL_opengl.h"
-diff -Naur mysdl_1.0/src/resources.h mysdl_1.0-p/src/resources.h
---- mysdl_1.0/src/resources.h  2006-08-19 04:18:48.000000000 +0200
-+++ mysdl_1.0-p/src/resources.h        2009-09-28 14:31:42.000000000 +0200
-@@ -523,7 +523,7 @@
-                       }
- 
-                       void getFromNode(const xml::Node *root,const 
std::string &baseDir="");
--                      virtual BasicResourceBank* 
ResourceManager::createResourceBank(const std::string &name);
-+                      virtual BasicResourceBank* createResourceBank(const 
std::string &name);
-       };
- 
-       class RefreshingBankHandler

diff --git a/media-libs/mysdl/files/mysdl_1.0-pnghack.patch 
b/media-libs/mysdl/files/mysdl_1.0-pnghack.patch
deleted file mode 100644
index fcc9152..0000000
--- a/media-libs/mysdl/files/mysdl_1.0-pnghack.patch
+++ /dev/null
@@ -1,76 +0,0 @@
-diff -Nauir mysdl_1.0-p/src/mysdl.cpp mysdl_1.0-p2/src/mysdl.cpp
---- mysdl_1.0-p/src/mysdl.cpp  2009-09-28 14:49:29.000000000 +0200
-+++ mysdl_1.0-p2/src/mysdl.cpp 2009-09-28 16:16:18.000000000 +0200
-@@ -771,23 +771,23 @@
-                       throw std::string("Could not open file 
\"")+std::string(filename)+std::string("\" for writing.");
-               }
- 
--              png_ptr=png_create_write_struct(PNG_LIBPNG_VER_STRING,0,0,0);
-+//            png_ptr=png_create_write_struct(PNG_LIBPNG_VER_STRING,0,0,0);
- 
-               if(png_ptr==0)
-               {
-                       fclose(file);
--                      png_destroy_write_struct(&png_ptr,(png_infopp)0);
-+//                    png_destroy_write_struct(&png_ptr,(png_infopp)0);
- 
-                       throw std::string("Could not create libpng data 
structures.");
-               }
-               else
-               {
--                      info_ptr=png_create_info_struct(png_ptr);
-+//                    info_ptr=png_create_info_struct(png_ptr);
- 
-                       if(info_ptr==0)
-                       {
-                               fclose(file);
--                              
png_destroy_write_struct(&png_ptr,(png_infopp)0);
-+//                            
png_destroy_write_struct(&png_ptr,(png_infopp)0);
- 
-                               throw std::string("Could not create libpng data 
structures.");
-                       }
-@@ -796,13 +796,13 @@
-                               if(setjmp(png_jmpbuf(png_ptr)))
-                               {
-                                       fclose(file);
--                                      
png_destroy_write_struct(&png_ptr,(png_infopp)NULL);
-+//                                    
png_destroy_write_struct(&png_ptr,(png_infopp)NULL);
- 
-                                       throw std::string("Could not set libpng 
error callback.");
-                               }
-                               else
-                               {
--                                      png_init_io(png_ptr,file);
-+//                                    png_init_io(png_ptr,file);
- 
-                                       info_ptr->width=surf->w;
-                                       info_ptr->height=surf->h;
-@@ -811,7 +811,7 @@
-                                       info_ptr->interlace_type=1;
-                                       info_ptr->valid=0;
- 
--                                      png_write_info(png_ptr,info_ptr);
-+//                                    png_write_info(png_ptr,info_ptr);
- 
-                                       // --- Save the picture... ---
-                                       unsigned char **png_rows;
-@@ -832,7 +832,7 @@
-                                               }
-                                       }
- 
--                                      png_write_image(png_ptr,png_rows);
-+//                                    png_write_image(png_ptr,png_rows);
- 
-                                       for(y=0; y<surf->h; y++)
-                                       {
-@@ -840,8 +840,8 @@
-                                       }
- 
-                                       free(png_rows);
--                                      png_write_end(png_ptr, NULL);
--                                      png_destroy_write_struct(&png_ptr, 
&info_ptr);
-+//                                    png_write_end(png_ptr, NULL);
-+//                                    png_destroy_write_struct(&png_ptr, 
&info_ptr);
- 
-                                       fclose(file);
-                               }

diff --git a/media-libs/mysdl/mysdl-1.0.ebuild 
b/media-libs/mysdl/mysdl-1.0.ebuild
deleted file mode 100644
index ec8c49a..0000000
--- a/media-libs/mysdl/mysdl-1.0.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="2"
-
-inherit eutils toolchain-funcs
-
-DESCRIPTION="a gaming framework and library"
-HOMEPAGE="http://source.musgit.com/";
-SRC_URI="http://source.musgit.com/files/${PN}_${PV}.tar.bz2";
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~ppc ~x86"
-IUSE=""
-
-RDEPEND="media-libs/libsdl
-       media-libs/mesa
-       media-libs/openal
-       media-libs/libogg
-       dev-libs/expat
-       media-libs/sdl-image"
-DEPEND="${RDEPEND}
-       dev-util/scons"
-
-S=${WORKDIR}/${PN}_${PV}
-
-src_prepare(){
-       epatch ${FILESDIR}/"${PN}_${PV}-gcc4.patch"
-       epatch ${FILESDIR}/"${PN}_${PV}-pnghack.patch"
-}
-
-src_compile() {
-       scons dist=1 || die
-}
-
-src_install() {
-       dodoc readme.txt
-       libdir=$(get_libdir)
-       dodir /usr/${libdir}
-       insinto /usr/${libdir}
-       doins dist/linux/lib/* || die
-       insinto /usr/include/
-       doins -r dist/linux/include/* || die
-}

Reply via email to