From: Michael Sterrett Date: Fri, 27 Apr 2007 07:40:06 +0000 (+0000) Subject: old X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e327b6cdc956ebd89334ae87a7405cd748ed3612;p=gentoo.git old Package-Manager: portage-2.1.2.2 --- diff --git a/games-roguelike/tome/Manifest b/games-roguelike/tome/Manifest index 13312237e298..96e3a8df51ba 100644 --- a/games-roguelike/tome/Manifest +++ b/games-roguelike/tome/Manifest @@ -1,37 +1,21 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX 2.3.1-gentoo-paths.patch 1172 RMD160 284efaf1eb85ee17f9d08719179f835cf4777100 SHA1 c6c2203e504cd0b09f91c2ed8e3eec9fd6f84280 SHA256 e1978ac45c002a7b40a1f7123430a8aa1a4c45c48468b8d0bd6c670041a538e1 MD5 23dd9f8f71868b8ab82d8bbbc79ad740 files/2.3.1-gentoo-paths.patch 1172 RMD160 284efaf1eb85ee17f9d08719179f835cf4777100 files/2.3.1-gentoo-paths.patch 1172 SHA256 e1978ac45c002a7b40a1f7123430a8aa1a4c45c48468b8d0bd6c670041a538e1 files/2.3.1-gentoo-paths.patch 1172 -AUX 2.3.3-gentoo-paths.patch 1172 RMD160 284efaf1eb85ee17f9d08719179f835cf4777100 SHA1 c6c2203e504cd0b09f91c2ed8e3eec9fd6f84280 SHA256 e1978ac45c002a7b40a1f7123430a8aa1a4c45c48468b8d0bd6c670041a538e1 -MD5 23dd9f8f71868b8ab82d8bbbc79ad740 files/2.3.3-gentoo-paths.patch 1172 -RMD160 284efaf1eb85ee17f9d08719179f835cf4777100 files/2.3.3-gentoo-paths.patch 1172 -SHA256 e1978ac45c002a7b40a1f7123430a8aa1a4c45c48468b8d0bd6c670041a538e1 files/2.3.3-gentoo-paths.patch 1172 AUX 2.3.4-gentoo-paths.patch 1172 RMD160 284efaf1eb85ee17f9d08719179f835cf4777100 SHA1 c6c2203e504cd0b09f91c2ed8e3eec9fd6f84280 SHA256 e1978ac45c002a7b40a1f7123430a8aa1a4c45c48468b8d0bd6c670041a538e1 MD5 23dd9f8f71868b8ab82d8bbbc79ad740 files/2.3.4-gentoo-paths.patch 1172 RMD160 284efaf1eb85ee17f9d08719179f835cf4777100 files/2.3.4-gentoo-paths.patch 1172 SHA256 e1978ac45c002a7b40a1f7123430a8aa1a4c45c48468b8d0bd6c670041a538e1 files/2.3.4-gentoo-paths.patch 1172 -AUX tome-2.3.3-gcc41.patch 605 RMD160 b69a831cb23c35f16fe01db2ef052129591e0247 SHA1 e95496729d1a007a83ce9f48157f9a030f83c7fc SHA256 876a5505048b845fa44f6051f10b93f93a8acc5fb2f252ba1c7b57e454532626 -MD5 1d9ee2dd777668e69d1d30b610c1faa6 files/tome-2.3.3-gcc41.patch 605 -RMD160 b69a831cb23c35f16fe01db2ef052129591e0247 files/tome-2.3.3-gcc41.patch 605 -SHA256 876a5505048b845fa44f6051f10b93f93a8acc5fb2f252ba1c7b57e454532626 files/tome-2.3.3-gcc41.patch 605 AUX tome-2.3.4-gcc41.patch 605 RMD160 b69a831cb23c35f16fe01db2ef052129591e0247 SHA1 e95496729d1a007a83ce9f48157f9a030f83c7fc SHA256 876a5505048b845fa44f6051f10b93f93a8acc5fb2f252ba1c7b57e454532626 MD5 1d9ee2dd777668e69d1d30b610c1faa6 files/tome-2.3.4-gcc41.patch 605 RMD160 b69a831cb23c35f16fe01db2ef052129591e0247 files/tome-2.3.4-gcc41.patch 605 SHA256 876a5505048b845fa44f6051f10b93f93a8acc5fb2f252ba1c7b57e454532626 files/tome-2.3.4-gcc41.patch 605 DIST tome-231-src.tar.bz2 2638388 RMD160 f25e609409f0055a8fa3fade72bc42eb97e07338 SHA1 1c611663c90865cc56d90334efdf333e9ba70ed2 SHA256 f764e1e059c86f2591f5a830dccbfada67dba176b1dbbab6e562663deb979971 -DIST tome-233-src.tar.bz2 2865537 RMD160 5f7006182be65e1fd49a9f3be1ef1f25e00fd0d3 SHA1 067f98cd395c268dbfd87a923fe064abeac12855 SHA256 2220419d69533ac8c3cc5687c1f9f6e5c9eadacf9643900ba50dce3696a9d721 DIST tome-234-src.tar.bz2 2909120 RMD160 c932786beda9aa7f7bc5d371a8f6fe18089ec94c SHA1 933d498c3823672be70168921af8e73affcfabf3 SHA256 ed119f4dfbb0ba984092cd6fddf5dcb5dc2c12a66d57be791182b8274c4f463b EBUILD tome-2.3.1.ebuild 2041 RMD160 e49ebc957abd334b4a5d3bb7c937cf1e2fc6c674 SHA1 0f2e534211810263dd5dc429822031a91eeec484 SHA256 971916181447bb8f7956c05f1befe0b57830d9db21af2e735bac9144ef064f1f MD5 ae9724106297e011efa8be17916bf219 tome-2.3.1.ebuild 2041 RMD160 e49ebc957abd334b4a5d3bb7c937cf1e2fc6c674 tome-2.3.1.ebuild 2041 SHA256 971916181447bb8f7956c05f1befe0b57830d9db21af2e735bac9144ef064f1f tome-2.3.1.ebuild 2041 -EBUILD tome-2.3.3.ebuild 3647 RMD160 66575f7b8a877f488cf1c7b8a12de4bef8e0547c SHA1 e8758b78f2c739e7b74d8cfb66c44971fff691c9 SHA256 bd67bae611541fe3d08957787383faefcdc5c6c676242eb1b3b00d89b76a90ff -MD5 71bf6f645d1878848300a5292e9fb99e tome-2.3.3.ebuild 3647 -RMD160 66575f7b8a877f488cf1c7b8a12de4bef8e0547c tome-2.3.3.ebuild 3647 -SHA256 bd67bae611541fe3d08957787383faefcdc5c6c676242eb1b3b00d89b76a90ff tome-2.3.3.ebuild 3647 EBUILD tome-2.3.4.ebuild 3650 RMD160 c72aaa585ab578a22b686c2129d99fd14376ad70 SHA1 9929c2d5390dac79458b46bfb845eebf0302e3b4 SHA256 e13c6291ec858348a2502bcedad050d5d4eda24a1705aab8ca15691b21414f86 MD5 13aa88b85b8032208f8c15140c76970b tome-2.3.4.ebuild 3650 RMD160 c72aaa585ab578a22b686c2129d99fd14376ad70 tome-2.3.4.ebuild 3650 @@ -47,16 +31,6 @@ SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata MD5 be0eb8fb39ae1e3aa45a89acf5e01518 files/digest-tome-2.3.1 244 RMD160 2db5af0397ef157a988936c800d52094b3fc4a5c files/digest-tome-2.3.1 244 SHA256 efacb79f05ec2662bdbce251ea95ca42148f3201ba71874199866296c87468e2 files/digest-tome-2.3.1 244 -MD5 431dea3eb67e375073976220f6f968d3 files/digest-tome-2.3.3 244 -RMD160 c6c54aa02f66a011fdd6a1b8ea8efbccda7af3aa files/digest-tome-2.3.3 244 -SHA256 5b525bbceb08351853df881ea9482ca77827edc4a9979284dfd348518e25722e files/digest-tome-2.3.3 244 MD5 13db4ac696329c005592284d274cfd00 files/digest-tome-2.3.4 244 RMD160 7762eb4f3e76dc509f07e42f84865cde4ff0f502 files/digest-tome-2.3.4 244 SHA256 32517a5db1b62caae97b1458c067255c4d1ce0f988254d5be6e43e638b400a23 files/digest-tome-2.3.4 244 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.2 (GNU/Linux) - -iD8DBQFF9Yyt6J2i8a8J4okRAsXvAKDAL4ihPTzM2tLBnQZm+UF5faZqvQCfcqlR -LHqHdyJ163L623jNW5R5ZH4= -=PP4B ------END PGP SIGNATURE----- diff --git a/games-roguelike/tome/files/2.3.3-gentoo-paths.patch b/games-roguelike/tome/files/2.3.3-gentoo-paths.patch deleted file mode 100644 index d171a1cf540f..000000000000 --- a/games-roguelike/tome/files/2.3.3-gentoo-paths.patch +++ /dev/null @@ -1,31 +0,0 @@ -diff -rU 1 tome-225-src.orig/src/files.c tome-225-src/src/files.c ---- tome-225-src.orig/src/files.c 2004-01-14 11:17:02.423263360 -0500 -+++ tome-225-src/src/files.c 2004-01-14 11:17:50.074019344 -0500 -@@ -5670,3 +5670,3 @@ - /* Build the filename */ -- path_build(buf, 1024, ANGBAND_DIR_APEX, "scores.raw"); -+ sprintf(buf, "GENTOO_DIR/tome-scores.raw"); - -@@ -5748,3 +5748,3 @@ - /* Build the filename */ -- path_build(buf, 1024, ANGBAND_DIR_APEX, "scores.raw"); -+ sprintf(buf, "GENTOO_DIR/tome-scores.raw"); - -@@ -5846,3 +5846,3 @@ - /* Build the filename */ -- path_build(buf, 1024, ANGBAND_DIR_APEX, "scores.raw"); -+ sprintf(buf, "GENTOO_DIR/tome-scores.raw"); - -@@ -6296,3 +6296,3 @@ - /* Build the filename */ -- path_build(buf, 1024, ANGBAND_DIR_APEX, "scores.raw"); -+ sprintf(buf, "GENTOO_DIR/tome-scores.raw"); - -diff -rU 1 tome-225-src.orig/src/init2.c tome-225-src/src/init2.c ---- tome-225-src.orig/src/init2.c 2004-01-14 11:17:02.473255760 -0500 -+++ tome-225-src/src/init2.c 2004-01-14 11:17:58.286770816 -0500 -@@ -6686,3 +6686,3 @@ - /* Build the filename */ -- path_build(buf, 1024, ANGBAND_DIR_APEX, "scores.raw"); -+ sprintf(buf, "GENTOO_DIR/tome-scores.raw"); - diff --git a/games-roguelike/tome/files/digest-tome-2.3.3 b/games-roguelike/tome/files/digest-tome-2.3.3 deleted file mode 100644 index 66b3afd6615a..000000000000 --- a/games-roguelike/tome/files/digest-tome-2.3.3 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 d6df22607dd1009ab96bd3e6d6acf729 tome-233-src.tar.bz2 2865537 -RMD160 5f7006182be65e1fd49a9f3be1ef1f25e00fd0d3 tome-233-src.tar.bz2 2865537 -SHA256 2220419d69533ac8c3cc5687c1f9f6e5c9eadacf9643900ba50dce3696a9d721 tome-233-src.tar.bz2 2865537 diff --git a/games-roguelike/tome/files/tome-2.3.3-gcc41.patch b/games-roguelike/tome/files/tome-2.3.3-gcc41.patch deleted file mode 100644 index 89ef0bb2e07d..000000000000 --- a/games-roguelike/tome/files/tome-2.3.3-gcc41.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- src/main-gtk.c.old 2006-10-08 22:36:50.000000000 +0200 -+++ src/main-gtk.c 2006-10-08 22:37:24.000000000 +0200 -@@ -4478,13 +4478,13 @@ - strnfmt(buf, 64, "/Terms/%s", angband_term_name[i]); - - /* XXX XXX Store it in the menu definition */ -- (cptr)term_entry[i].path = string_make(buf); -+ term_entry[i].path = string_make(buf); - - /* XXX XXX Build the real path name to the entry */ - strnfmt(buf, 64, "/Options/Font/%s", angband_term_name[i]); - - /* XXX XXX Store it in the menu definition */ -- (cptr)font_entry[i].path = string_make(buf); -+ font_entry[i].path = string_make(buf); - } - } - diff --git a/games-roguelike/tome/tome-2.3.3.ebuild b/games-roguelike/tome/tome-2.3.3.ebuild deleted file mode 100644 index 7c54a07f30e8..000000000000 --- a/games-roguelike/tome/tome-2.3.3.ebuild +++ /dev/null @@ -1,124 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-roguelike/tome/tome-2.3.3.ebuild,v 1.5 2007/03/12 17:19:44 genone Exp $ - -inherit eutils flag-o-matic games - -MY_PV=${PV//./} -DESCRIPTION="save the world from Morgoth and battle evil (or become evil ;])" -HOMEPAGE="http://t-o-m-e.net/" -SRC_URI="http://t-o-m-e.net/dl/src/tome-${MY_PV}-src.tar.bz2" - -LICENSE="Moria" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc-macos ~x86" -IUSE="X Xaw3d gtk sdl" - -RDEPEND=">=sys-libs/ncurses-5 - X? ( x11-libs/libX11 ) - Xaw3d? ( x11-libs/libXaw ) - sdl? ( - media-libs/sdl-ttf - media-libs/sdl-image - media-libs/libsdl ) - gtk? ( !amd64? ( =x11-libs/gtk+-1.2* ) )" -DEPEND="${REDEPEND} - x11-misc/makedepend" - -S="${WORKDIR}/tome-${MY_PV}-src" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${P}-gcc41.patch - cd "src" - mv makefile.std makefile - epatch "${FILESDIR}/${PV}-gentoo-paths.patch" - sed -i \ - -e "s:GENTOO_DIR:${GAMES_STATEDIR}:" files.c init2.c \ - || die "sed failed" - - find "${S}" -name .cvsignore -exec rm -f \{\} \; - find "${S}/lib/edit" -type f -exec chmod a-x \{\} \; -} - -src_compile() { - local GENTOO_INCLUDES="" GENTOO_DEFINES="-DUSE_GCU " GENTOO_LIBS="-lncurses" - if use sdl || use X || use gtk || use Xaw3d; then - GENTOO_DEFINES="${GENTOO_DEFINES} -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY \ - -DSUPPORT_GAMMA" - fi - if use sdl || use X || use Xaw3d; then - GENTOO_DEFINES="${GENTOO_DEFINES} -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK " - fi - if use sdl; then - GENTOO_INCLUDES="${GENTOO_INCLUDES} $(sdl-config --cflags)" - GENTOO_DEFINES="${GENTOO_DEFINES} -DUSE_SDL " - GENTOO_LIBS="${GENTOO_LIBS} $(sdl-config --libs) -lSDL_image -lSDL_ttf" - fi - if use X; then - GENTOO_INCLUDES="${GENTOO_INCLUDES} -I/usr/X11R6/include " - GENTOO_DEFINES="${GENTOO_DEFINES} -DUSE_X11 " - GENTOO_LIBS="${GENTOO_LIBS} -L/usr/X11R6/lib -lX11 " - fi - if use Xaw3d; then - GENTOO_INCLUDES="${GENTOO_INCLUDES} -I/usr/X11R6/include " - GENTOO_DEFINES="${GENTOO_DEFINES} -DUSE_XAW " - GENTOO_LIBS="${GENTOO_LIBS} -L/usr/X11R6/lib -lXaw -lXmu -lXt -lX11 " - fi - if use gtk; then - if use amd64; then - einfo "gtk support will not be built for amd64" - else - GENTOO_INCLUDES="${GENTOO_INCLUDES} $(gtk-config --cflags)" - GENTOO_DEFINES="${GENTOO_DEFINES} -DUSE_GTK " - GENTOO_LIBS="${GENTOO_LIBS} $(gtk-config --libs) " - fi - fi - GENTOO_INCLUDES="${GENTOO_INCLUDES} -Ilua -I." - GENTOO_DEFINES="${GENTOO_DEFINES} -DUSE_LUA" - append-ldflags $(bindnow-flags) - cd src - make \ - INCLUDES="${GENTOO_INCLUDES}" \ - DEFINES="${GENTOO_DEFINES}" \ - depend || die "make depend failed" - emake ./tolua || die "emake ./tolua failed" - emake \ - COPTS="${CFLAGS}" \ - INCLUDES="${GENTOO_INCLUDES}" \ - DEFINES="${GENTOO_DEFINES}" \ - LIBS="${GENTOO_LIBS}" \ - BINDIR="${GAMES_BINDIR}" \ - LIBDIR="${GAMES_DATADIR}/${PN}" \ - || die "emake failed" -} - -src_install() { - cd src - make \ - DESTDIR="${D}" \ - OWNER="${GAMES_USER}" \ - BINDIR="${GAMES_BINDIR}" \ - LIBDIR="${GAMES_DATADIR}/${PN}" install \ - || die "make install failed" - cd "${S}" - dodoc *.txt - - dodir "${GAMES_STATEDIR}" - touch "${D}/${GAMES_STATEDIR}/${PN}-scores.raw" - prepgamesdirs - fperms g+w "${GAMES_STATEDIR}/${PN}-scores.raw" - #FIXME: something has to be done about this. - fperms g+w "${GAMES_DATADIR}/${PN}/data" -} - -pkg_postinst() { - games_pkg_postinst - echo - ewarn "ToME ${PV} is not save-game compatible with 2.3.0 and previous versions." - echo - elog "If you have older save files and you wish to continue those games," - elog "you'll need to remerge the version of ToME with which you started" - elog "those save-games." -}