diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2014-09-06 03:08:05 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2014-09-06 03:08:05 +0000 |
commit | 09136a93f8dc00a2ebd7dfa8cad7304ccdd86e28 (patch) | |
tree | bb884c47bf621a8594aab2a0dffbce663a5b1a35 /games-action/powermanga | |
parent | old (diff) | |
download | gentoo-2-09136a93f8dc00a2ebd7dfa8cad7304ccdd86e28.tar.gz gentoo-2-09136a93f8dc00a2ebd7dfa8cad7304ccdd86e28.tar.bz2 gentoo-2-09136a93f8dc00a2ebd7dfa8cad7304ccdd86e28.zip |
old
(Portage version: 2.2.8-r1/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-action/powermanga')
-rw-r--r-- | games-action/powermanga/ChangeLog | 8 | ||||
-rw-r--r-- | games-action/powermanga/files/powermanga-0.90-segfault.patch | 22 | ||||
-rw-r--r-- | games-action/powermanga/files/powermanga-0.90-underlink.patch | 28 | ||||
-rw-r--r-- | games-action/powermanga/powermanga-0.90.ebuild | 71 |
4 files changed, 7 insertions, 122 deletions
diff --git a/games-action/powermanga/ChangeLog b/games-action/powermanga/ChangeLog index b2ef8a8c2768..b2274aef80a7 100644 --- a/games-action/powermanga/ChangeLog +++ b/games-action/powermanga/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-action/powermanga # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/powermanga/ChangeLog,v 1.32 2014/09/06 00:54:29 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-action/powermanga/ChangeLog,v 1.33 2014/09/06 03:08:05 mr_bones_ Exp $ + + 06 Sep 2014; Michael Sterrett <mr_bones_@gentoo.org> + -files/powermanga-0.90-segfault.patch, -files/powermanga-0.90-underlink.patch, + -powermanga-0.90.ebuild, files/powermanga-0.91-automake-1.13.patch, + files/powermanga-0.91-flags.patch: + old *powermanga-0.92 (06 Sep 2014) diff --git a/games-action/powermanga/files/powermanga-0.90-segfault.patch b/games-action/powermanga/files/powermanga-0.90-segfault.patch deleted file mode 100644 index 58c47ed59571..000000000000 --- a/games-action/powermanga/files/powermanga-0.90-segfault.patch +++ /dev/null @@ -1,22 +0,0 @@ -https://bugs.gentoo.org/show_bug.cgi?id=422915 - ---- tmp/powermanga-0.90.orig/src/shots.c -+++ powermanga-0.90-dfsg/src/shots.c -@@ -447,8 +447,6 @@ - { - bullet->img_angle = (Sint16) (bullet->angle / PI_SUR_16); - } -- /* save current angle for the calculation of the next angle */ -- bullet->img_old_angle = bullet->img_angle; - /* avoid negative indexes */ - bullet->img_angle = (Sint16) abs (bullet->img_angle); - /* avoid a shot angle higher than the number of images */ -@@ -456,6 +454,8 @@ - { - bullet->img_angle = (Sint16) (bullet->spr.numof_images - 1); - } -+ /* save current angle for the calculation of the next angle */ -+ bullet->img_old_angle = bullet->img_angle; - /* draw the shot sprite */ - draw_sprite (bullet->spr. - img[bullet->img_angle], diff --git a/games-action/powermanga/files/powermanga-0.90-underlink.patch b/games-action/powermanga/files/powermanga-0.90-underlink.patch deleted file mode 100644 index f335430cc633..000000000000 --- a/games-action/powermanga/files/powermanga-0.90-underlink.patch +++ /dev/null @@ -1,28 +0,0 @@ ---- configure.ac.old -+++ configure.ac -@@ -31,14 +31,11 @@ - - - dnl Check for SDL_mixer --LDFLAGS_save="${LDFLAGS} ${SDL_LIBS}" --LDFLAGS="${LDFLAGS} ${SDL_LIBS}" - AC_CHECK_LIB(SDL_mixer, Mix_GetChunk, [ - SDL_LIBS="-lSDL_mixer ${SDL_LIBS}" - ],[ - AC_MSG_ERROR(Could not find -lSDL_mixer) - ]) --LDFLAGS_="${LDFLAGS_save}" - - dnl ttf and sdl_image for shareware version only - dnl AC_CHECK_LIB(SDL_ttf,TTF_Init,,[AC_MSG_ERROR([SDL_ttf])]) ---- src/Makefile.am.old -+++ src/Makefile.am -@@ -7,7 +7,7 @@ - powermanga_SOURCES = $(SOURCES_MAIN) $(SOURCES_EXTRA) - #powermanga_CXXFLAGS = -DPREFIX=\"$(prefix)\" -DSCOREFILE=\"$(scoredir)/$(score)\" @XLIB_CFLAGS@ @SDL_CFLAGS@ - powermanga_CFLAGS = -DPREFIX=\"$(prefix)\" -DSCOREFILE=\"$(scoredir)/$(score)\" @XLIB_CFLAGS@ @SDL_CFLAGS@ --powermanga_LDADD = @XLIB_LIBS@ @SDL_LIBS@ -+powermanga_LDADD = @XLIB_LIBS@ @SDL_LIBS@ -lm - - install-data-hook: - -chown root:games "$(DESTDIR)/$(gamesdir)/powermanga" diff --git a/games-action/powermanga/powermanga-0.90.ebuild b/games-action/powermanga/powermanga-0.90.ebuild deleted file mode 100644 index e3233782bda9..000000000000 --- a/games-action/powermanga/powermanga-0.90.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/powermanga/powermanga-0.90.ebuild,v 1.14 2014/05/15 16:24:24 ulm Exp $ - -EAPI=2 -inherit eutils autotools games - -DESCRIPTION="An arcade 2D shoot-em-up game" -HOMEPAGE="http://linux.tlk.fr/" -SRC_URI="http://linux.tlk.fr/games/Powermanga/download/${P}.tgz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 ppc x86" -IUSE="" - -DEPEND=">=media-libs/libsdl-1.2[sound,joystick,video] - media-libs/libpng - x11-libs/libXext - x11-libs/libXxf86dga - media-libs/sdl-mixer[mod]" - -src_prepare() { - sed -i -e "/null/d" graphics/Makefile.in || die - sed -i -e "/zozo/d" texts/text_en.txt || die - sed -i -e '/^CFLAGS=/s/-O3 -Wall/${CFLAGS}/' configure.ac || die - local f - for f in src/assembler.S src/assembler_opt.S ; do - einfo "patching $f" - cat <<-EOF >> ${f} - #if defined(__linux__) && defined(__ELF__) - .section .note.GNU-stack,"",%progbits - #endif - EOF - done - epatch \ - "${FILESDIR}"/${P}-underlink.patch \ - "${FILESDIR}"/${P}-segfault.patch - eautoreconf -} - -src_configure() { - egamesconf --prefix=/usr || die -} - -src_install() { - dogamesbin powermanga || die - doman powermanga.6 - dodoc AUTHORS CHANGES README - - insinto "${GAMES_DATADIR}/powermanga" - doins -r data sounds graphics texts || die - - find "${D}${GAMES_DATADIR}/powermanga/" -name "Makefil*" -exec rm -f \{\} + - - insinto /var/games - local f - for f in powermanga.hi-easy powermanga.hi powermanga.hi-hard ; do - touch "${D}/var/games/${f}" || die - fperms 660 "/var/games/${f}" || die - done - - make_desktop_entry powermanga Powermanga - prepgamesdirs -} - -pkg_postinst() { - games_pkg_postinst - ewarn "NOTE: The highscore file format has changed." - ewarn "Older highscores will not be retained." -} |