From: Tristan Heaven Date: Mon, 20 Nov 2006 22:15:18 +0000 (+0000) Subject: Version bump, bug #138483 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=800e0daffee399e08c4aa7fa4f3b14cc7c7d0548;p=gentoo.git Version bump, bug #138483 Package-Manager: portage-2.1.2_rc2-r1 --- diff --git a/games-arcade/smclone/ChangeLog b/games-arcade/smclone/ChangeLog index 475813e47cdc..d0c4abf172e3 100644 --- a/games-arcade/smclone/ChangeLog +++ b/games-arcade/smclone/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for games-arcade/smclone # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/smclone/ChangeLog,v 1.10 2006/11/20 20:42:12 blubb Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-arcade/smclone/ChangeLog,v 1.11 2006/11/20 22:15:18 nyhm Exp $ + +*smclone-0.99.3 (20 Nov 2006) + + 20 Nov 2006; Tristan Heaven + +files/smclone-0.99.3-build.patch, +files/smclone-0.99.3-paths.patch, + +smclone-0.99.3.ebuild: + Version bump, bug #138483 20 Nov 2006; smclone-0.97.ebuild: stable on amd64 diff --git a/games-arcade/smclone/Manifest b/games-arcade/smclone/Manifest index 4124b2e1a227..e4819b9a5e09 100644 --- a/games-arcade/smclone/Manifest +++ b/games-arcade/smclone/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX smclone-0.97-gentoo-paths.patch 1877 RMD160 18cd7c5c4a6ffd0428491f30d70f86a8e93ec88a SHA1 6c946bcf7f8f876df58dade064bcde00390d7833 SHA256 019ec95e0f7b0b85558b5684e0e4b3d0b31ffa0aa54f9c836cd1ef514e4b40e8 MD5 b6a6d58c54c9b3795df75cc1995bb51f files/smclone-0.97-gentoo-paths.patch 1877 RMD160 18cd7c5c4a6ffd0428491f30d70f86a8e93ec88a files/smclone-0.97-gentoo-paths.patch 1877 @@ -6,17 +9,32 @@ AUX smclone-0.97-use-HOME.patch 2606 RMD160 75b3fa1b7c7eaee39608cf9ac000f6da1017 MD5 7bcdde4dd7960b5f497476d2509a324c files/smclone-0.97-use-HOME.patch 2606 RMD160 75b3fa1b7c7eaee39608cf9ac000f6da10175a93 files/smclone-0.97-use-HOME.patch 2606 SHA256 fa16b2aab67892cc9176e5769772f9b4000efe61dcb0fb3f2de02279bcc35c6b files/smclone-0.97-use-HOME.patch 2606 +AUX smclone-0.99.3-build.patch 5510 RMD160 98d0d7c528abbcfed3f6460d38850f3076be718d SHA1 cb27c8c52029dab4a8182137ffd93dd8722b485e SHA256 d98cadc9db611353c7008ad7128c45839732206534b55bdefb693f265250fe5f +MD5 31ae8baff14127454604f5fe68ff6378 files/smclone-0.99.3-build.patch 5510 +RMD160 98d0d7c528abbcfed3f6460d38850f3076be718d files/smclone-0.99.3-build.patch 5510 +SHA256 d98cadc9db611353c7008ad7128c45839732206534b55bdefb693f265250fe5f files/smclone-0.99.3-build.patch 5510 +AUX smclone-0.99.3-paths.patch 700 RMD160 4d937d2d2a577d39769bd9b25c34d69ec33e10c8 SHA1 3e149832462af7b6b301e3672e6c9d5483e4dc7e SHA256 4a32ee318850b7bf660691fc54aaf7fc74cac86a09b7cbfd5c9ec6f97d3c50b9 +MD5 1e141c927cbe1cbedd194f7b266b7f9f files/smclone-0.99.3-paths.patch 700 +RMD160 4d937d2d2a577d39769bd9b25c34d69ec33e10c8 files/smclone-0.99.3-paths.patch 700 +SHA256 4a32ee318850b7bf660691fc54aaf7fc74cac86a09b7cbfd5c9ec6f97d3c50b9 files/smclone-0.99.3-paths.patch 700 DIST SMC_0.97_game.zip 5313784 DIST SMC_0.97_source.zip 233670 +DIST SMC_0.99.3_game.zip 11405177 RMD160 788d9173d59a28931a3740fb4565fdcb8b305d60 SHA1 3a62310e30ab0cc18abbbb0e9f4f195d393bf1e0 SHA256 dba14de056ce3a5fc6b2b4ceea4ac86afe8541023fe7ca90f08b579cd937aa2c +DIST SMC_0.99.3_source.zip 472102 RMD160 bfddda2135a25cb0c631634adea7d77a08f15d56 SHA1 03722c861ce14bf8aa013f8dfeb820b9acc3754c SHA256 b5796dd135008c6b8adad2dd06bdebf58f979cd981fcfa8cd71418a4ecd51808 DIST music_2.0_RC_1.zip 17954786 +DIST music_3.1_high.zip 28684034 RMD160 728e2c029f47147d31894caa1b7722daf4635386 SHA1 66b00c8aeae8909a8d2d376c1305513b1075ae42 SHA256 8497dce0547d638daf05e0277c7b3fc5dfe33948ddb538b4bb4fba95acccc823 EBUILD smclone-0.97.ebuild 1720 RMD160 3fc59e0b4e66733d80aed92b09d665745b3fc530 SHA1 0f5f3b73cc1126681d5e8fcc3e2df6fab047ce21 SHA256 e7d6103f4b1ca9805707ac9887dce554f411bd53b3856daa59648ede3b7613f8 MD5 ff06a6b63e94f78b1dde53c2b1d05593 smclone-0.97.ebuild 1720 RMD160 3fc59e0b4e66733d80aed92b09d665745b3fc530 smclone-0.97.ebuild 1720 SHA256 e7d6103f4b1ca9805707ac9887dce554f411bd53b3856daa59648ede3b7613f8 smclone-0.97.ebuild 1720 -MISC ChangeLog 1882 RMD160 e89d7467e20993f72a135bd14be51983a271b4d0 SHA1 46ca8b4a63e6ac55edbf069b1869280d9a53d0d4 SHA256 be2a9d2c500bd54086bd9b0147905a8ed3ebd1f24156e079aba7275f8e849fd9 -MD5 c2e8edd84a028eed01a479cce03f06a3 ChangeLog 1882 -RMD160 e89d7467e20993f72a135bd14be51983a271b4d0 ChangeLog 1882 -SHA256 be2a9d2c500bd54086bd9b0147905a8ed3ebd1f24156e079aba7275f8e849fd9 ChangeLog 1882 +EBUILD smclone-0.99.3.ebuild 1648 RMD160 4e19839d664b6abfbbb42ed9fda7671d075176d9 SHA1 9b62913fe59bbefddc7b2b79114f2539a57397cd SHA256 bae32e30539338b785df88d4db4b0a74ab9ba67a0a1f2a27759bc8b2ca56670e +MD5 e6872014e5ae6dccd2df58c1fdf53653 smclone-0.99.3.ebuild 1648 +RMD160 4e19839d664b6abfbbb42ed9fda7671d075176d9 smclone-0.99.3.ebuild 1648 +SHA256 bae32e30539338b785df88d4db4b0a74ab9ba67a0a1f2a27759bc8b2ca56670e smclone-0.99.3.ebuild 1648 +MISC ChangeLog 2087 RMD160 425e7413280d15707b77df288eefb9f04c68a4a1 SHA1 54db2e6696248cd7f51c1fb6024f37299d9de31c SHA256 4a2c4e0a5090e2c98cf0e0d50ddf7e0baf4ba80d8ed75c1cb82dc5bfe91804de +MD5 60c2e16c34394d15adb54cc19fb17651 ChangeLog 2087 +RMD160 425e7413280d15707b77df288eefb9f04c68a4a1 ChangeLog 2087 +SHA256 4a2c4e0a5090e2c98cf0e0d50ddf7e0baf4ba80d8ed75c1cb82dc5bfe91804de ChangeLog 2087 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158 @@ -24,3 +42,13 @@ SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata MD5 6a6c50e9f4bbccabd4b487227fa297a7 files/digest-smclone-0.97 192 RMD160 3c05a32fa50bbe457bf51955aa2977f42b1eb85f files/digest-smclone-0.97 192 SHA256 07b98fc430e89e1bca0642fd606165f1ce6bf036f1edd256640b87b4f3e5812c files/digest-smclone-0.97 192 +MD5 baab1790569abb831ba91b92bb34c4b4 files/digest-smclone-0.99.3 729 +RMD160 fc58200131e93f231c8e18243ebf19ac344b6a13 files/digest-smclone-0.99.3 729 +SHA256 6cd8eaff92dad0bc9c5059dca63be3c040a07cbe5a580ead150f4140feb02417 files/digest-smclone-0.99.3 729 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.5 (GNU/Linux) + +iD8DBQFFYij9dz7hIScOURERAnA7AJwNeBr78RIBc6j9FsDe4nT9IpV8DQCggcIi +Du9Y7lIJptg+5y7IYAj2GEw= +=4XvB +-----END PGP SIGNATURE----- diff --git a/games-arcade/smclone/files/digest-smclone-0.99.3 b/games-arcade/smclone/files/digest-smclone-0.99.3 new file mode 100644 index 000000000000..2b3bc7b359fc --- /dev/null +++ b/games-arcade/smclone/files/digest-smclone-0.99.3 @@ -0,0 +1,9 @@ +MD5 0062f7ab46193737e5b4ee3bdf4e116a SMC_0.99.3_game.zip 11405177 +RMD160 788d9173d59a28931a3740fb4565fdcb8b305d60 SMC_0.99.3_game.zip 11405177 +SHA256 dba14de056ce3a5fc6b2b4ceea4ac86afe8541023fe7ca90f08b579cd937aa2c SMC_0.99.3_game.zip 11405177 +MD5 f623b9bd817c587a93af1d9735feaf00 SMC_0.99.3_source.zip 472102 +RMD160 bfddda2135a25cb0c631634adea7d77a08f15d56 SMC_0.99.3_source.zip 472102 +SHA256 b5796dd135008c6b8adad2dd06bdebf58f979cd981fcfa8cd71418a4ecd51808 SMC_0.99.3_source.zip 472102 +MD5 710261e92e44066a811a8bbf68dba526 music_3.1_high.zip 28684034 +RMD160 728e2c029f47147d31894caa1b7722daf4635386 music_3.1_high.zip 28684034 +SHA256 8497dce0547d638daf05e0277c7b3fc5dfe33948ddb538b4bb4fba95acccc823 music_3.1_high.zip 28684034 diff --git a/games-arcade/smclone/files/smclone-0.99.3-build.patch b/games-arcade/smclone/files/smclone-0.99.3-build.patch new file mode 100644 index 000000000000..06146cd005f6 --- /dev/null +++ b/games-arcade/smclone/files/smclone-0.99.3-build.patch @@ -0,0 +1,151 @@ +--- configure.ac ++++ configure.ac +@@ -2,7 +2,7 @@ + + AC_INIT(src/core/main.cpp) + +-PACKAGE=smc ++PACKAGE=smclone + VERSION=0.99.3 + + AC_PREREQ(2.50) +@@ -56,15 +56,13 @@ + #AC_SUBST(CEGUI-OPENGL_LIBS) + #CPPFLAGS="$CPPFLAGS $CEGUI-OPENGL_CFLAGS" + CPPFLAGS="$CPPFLAGS `pkg-config --cflags CEGUI-OPENGL`" +-LIBS="$LIBS `pkg-config --libs CEGUI-OPENGL`" ++LIBS="$LIBS `pkg-config --libs CEGUI-OPENGL` -lGLU" + + + dnl Checks for header files. + + AC_HEADER_STDC + +-AC_CHECK_HEADERS([SDL_rotozoom.h], , +- AC_MSG_ERROR([The SDL_gfx library is not installed correctly!])) + + + dnl Checks for typedefs, structures, and compiler characteristics. +@@ -87,22 +85,20 @@ + packageprefix=${prefix} + fi + +-dnl Set PACKAGE DATA & DOC DIR +-packagedatadir=share/${PACKAGE} +-packagedocdir=doc/${PACKAGE} ++packagedatadir=${datadir}/${PACKAGE} + + AC_DEFINE_UNQUOTED(SAVE_DIR, "savegames", [Directory for savegames]) + AC_DEFINE_UNQUOTED(SCREENSHOT_DIR, "screenshots", [Directory for screenshots]) +-AC_DEFINE_UNQUOTED(LEVEL_DIR, "${packageprefix}/${packagedatadir}/levels/", [Directory for level files]) +-AC_DEFINE_UNQUOTED(OVERWORLD_DIR, "${packageprefix}/${packagedatadir}/world", [Directory for word data]) +-AC_DEFINE_UNQUOTED(PIXMAPS_DIR, "${packageprefix}/${packagedatadir}/pixmaps", [Directory for pixmap data]) +-AC_DEFINE_UNQUOTED(SOUNDS_DIR, "${packageprefix}/${packagedatadir}/sounds", [Directory for sound data]) +-AC_DEFINE_UNQUOTED(MUSIC_DIR, "${packageprefix}/${packagedatadir}/music", [Directory for music data]) +-AC_DEFINE_UNQUOTED(FONT_DIR, "${packageprefix}/${packagedatadir}/font", [Directory for font data]) +-AC_DEFINE_UNQUOTED(ICON_DIR, "${packageprefix}/${packagedatadir}/icon", [Directory for icon data]) +-AC_DEFINE_UNQUOTED(SCHEME_DIR, "${packageprefix}/${packagedatadir}/schemes", [Directory for scheme data]) +-AC_DEFINE_UNQUOTED(GUI_FONT_DIR, "${packageprefix}/${packagedatadir}/gui/font", [Directory for gui font data]) +-AC_DEFINE_UNQUOTED(GUI_SCHEME_DIR, "${packageprefix}/${packagedatadir}/gui/schemes", [Directory for gui scheme data]) +-AC_DEFINE_UNQUOTED(GUI_LAYOUT_DIR, "${packageprefix}/${packagedatadir}/gui/layout", [Directory for gui layout data]) ++AC_DEFINE_UNQUOTED(LEVEL_DIR, "${packagedatadir}/levels", [Directory for level files]) ++AC_DEFINE_UNQUOTED(OVERWORLD_DIR, "${packagedatadir}/world", [Directory for word data]) ++AC_DEFINE_UNQUOTED(PIXMAPS_DIR, "${packagedatadir}/pixmaps", [Directory for pixmap data]) ++AC_DEFINE_UNQUOTED(SOUNDS_DIR, "${packagedatadir}/sounds", [Directory for sound data]) ++AC_DEFINE_UNQUOTED(MUSIC_DIR, "${packagedatadir}/music", [Directory for music data]) ++AC_DEFINE_UNQUOTED(FONT_DIR, "${packagedatadir}/font", [Directory for font data]) ++AC_DEFINE_UNQUOTED(ICON_DIR, "${packagedatadir}/icon", [Directory for icon data]) ++AC_DEFINE_UNQUOTED(SCHEME_DIR, "${packagedatadir}/schemes", [Directory for scheme data]) ++AC_DEFINE_UNQUOTED(GUI_FONT_DIR, "${packagedatadir}/gui/font", [Directory for gui font data]) ++AC_DEFINE_UNQUOTED(GUI_SCHEME_DIR, "${packagedatadir}/gui/schemes", [Directory for gui scheme data]) ++AC_DEFINE_UNQUOTED(GUI_LAYOUT_DIR, "${packagedatadir}/gui/layout", [Directory for gui layout data]) + +-AC_OUTPUT([Makefile src/Makefile data/Makefile docs/Makefile]) ++AC_OUTPUT([Makefile src/Makefile]) +--- Makefile.am ++++ Makefile.am +@@ -2,5 +2,5 @@ + + AUTOMAKE_OPTIONS = foreign 1.7 + +-SUBDIRS = src data docs ++SUBDIRS = src + +--- src/Makefile.am ++++ src/Makefile.am +@@ -7,39 +7,38 @@ + smc_SOURCES = \ + audio/audio.cpp \ + audio/sound_manager.cpp \ ++ core/camera.cpp \ + core/collision.cpp \ + core/file_parser.cpp \ +- core/camera.cpp \ + core/framerate.cpp \ +- core/globals.cpp \ + core/game_core.cpp \ ++ core/globals.cpp \ + core/main.cpp \ +- core/obj_manager.cpp \ + core/math/point.cpp \ +- core/math/vector.cpp \ + core/math/rect.cpp \ +- player/player.cpp \ +- enemies/rokko.cpp \ ++ core/math/vector.cpp \ ++ core/obj_manager.cpp \ ++ enemies/eato.cpp \ + enemies/enemy.cpp \ ++ enemies/gee.cpp \ + enemies/gumba.cpp \ + enemies/jpiranha.cpp \ + enemies/rex.cpp \ +- enemies/turtle.cpp \ ++ enemies/rokko.cpp \ ++ enemies/spika.cpp \ + enemies/thromp.cpp \ +- enemies/eato.cpp \ +- enemies/gee.cpp \ +- gui/dialog.cpp \ ++ enemies/turtle.cpp \ + gui/hud.cpp \ + gui/menu.cpp \ + gui/menu_data.cpp \ + input/joystick.cpp \ +- input/mouse.cpp \ + input/keyboard.cpp \ +- level/level.cpp \ +- level/level_background.h \ ++ input/mouse.cpp \ + level/global_effect.cpp \ +- level/level_settings.cpp \ ++ level/level_background.cpp \ ++ level/level.cpp \ + level/leveleditor.cpp \ ++ level/level_settings.cpp \ + objects/active.cpp \ + objects/basicsprite.cpp \ + objects/bonusbox.cpp \ +@@ -56,16 +55,17 @@ + objects/sprite.cpp \ + objects/star.cpp \ + overworld/layer.cpp \ +- overworld/worlds.cpp \ + overworld/overworld.cpp \ + overworld/ow_player.cpp \ + overworld/waypoint.cpp \ ++ overworld/worlds.cpp \ ++ player/player.cpp \ + user/preferences.cpp \ + user/savegame.cpp \ + video/animation.cpp \ ++ video/font.cpp \ ++ video/gl_surface.cpp \ + video/img_manager.cpp \ + video/img_settings.cpp \ + video/renderer.cpp \ +- video/font.cpp \ +- video/gl_surface.cpp \ +- video/video.cpp +\ No newline at end of file ++ video/video.cpp diff --git a/games-arcade/smclone/files/smclone-0.99.3-paths.patch b/games-arcade/smclone/files/smclone-0.99.3-paths.patch new file mode 100644 index 000000000000..fc041560ddb0 --- /dev/null +++ b/games-arcade/smclone/files/smclone-0.99.3-paths.patch @@ -0,0 +1,28 @@ +--- src/core/main.cpp ++++ src/core/main.cpp +@@ -35,9 +35,7 @@ + #include "../input/keyboard.h" + + // for linux directory creation +-#ifdef POSIX + #include +-#endif + + /* *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** */ + +@@ -107,11 +105,12 @@ + srand( (unsigned int)time( NULL ) ); + + // get linux user data dir ( home directory ) +-#ifdef POSIX + user_data_dir = (string)getenv( "HOME" ) + "/.smc/"; + +- mkdir( user_data_dir, S_IRWXU ); +-#endif ++ mkdir( user_data_dir.c_str(), S_IRWXU ); ++ chdir( user_data_dir.c_str() ); ++ mkdir( SAVE_DIR, S_IRWXU ); ++ mkdir( SCREENSHOT_DIR, S_IRWXU ); + + pCamera = new cCamera(); + pVideo = new cVideo(); diff --git a/games-arcade/smclone/smclone-0.99.3.ebuild b/games-arcade/smclone/smclone-0.99.3.ebuild new file mode 100644 index 000000000000..03f588d3e2ae --- /dev/null +++ b/games-arcade/smclone/smclone-0.99.3.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/smclone/smclone-0.99.3.ebuild,v 1.1 2006/11/20 22:15:18 nyhm Exp $ + +WANT_AUTOCONF=latest +WANT_AUTOMAKE=latest +inherit autotools eutils games + +MUSIC_V=3.1 +DESCRIPTION="Secret Maryo Chronicles" +HOMEPAGE="http://www.secretmaryo.org/" +SRC_URI="mirror://sourceforge/${PN}/SMC_${PV}_source.zip + mirror://sourceforge/${PN}/SMC_${PV}_game.zip + mirror://sourceforge/${PN}/music_${MUSIC_V}_high.zip" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND="dev-games/cegui + virtual/opengl + virtual/glu + media-libs/libsdl + media-libs/sdl-image + media-libs/sdl-mixer + media-libs/sdl-ttf" +DEPEND="${RDEPEND} + dev-util/pkgconfig + app-arch/unzip" + +S=${WORKDIR} + +pkg_setup() { + games_pkg_setup + if ! built_with_use media-libs/sdl-image png ; then + die "Please emerge sdl-image with USE=png" + fi + if ! built_with_use dev-games/cegui devil opengl ; then + die "Please emerge cegui with USE=\"devil opengl\"" + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + rm -f configure data/Makefile* docs/license.txt + sed -i "s:data/:${GAMES_DATADIR}/${PN}/:" \ + $(find data/gui -type f) \ + || die "sed failed" + epatch \ + "${FILESDIR}"/${P}-build.patch \ + "${FILESDIR}"/${P}-paths.patch + eautoreconf +} + +src_install() { + newgamesbin src/smc ${PN} || die "newgamesbin failed" + insinto "${GAMES_DATADIR}"/${PN} + doins -r data/* || die "doins failed" + newicon data/icon/window_32.png ${PN}.png + make_desktop_entry ${PN} "Secret Maryo Chronicles" + dodoc docs/*.txt + dohtml docs/{*.css,*.html} + prepgamesdirs +}