diff options
Diffstat (limited to 'games-strategy/lgeneral')
7 files changed, 0 insertions, 250 deletions
diff --git a/games-strategy/lgeneral/Manifest b/games-strategy/lgeneral/Manifest index aafc019156da..2d3c340a91ea 100644 --- a/games-strategy/lgeneral/Manifest +++ b/games-strategy/lgeneral/Manifest @@ -1,26 +1,9 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX lgeneral-1.2-as-needed.patch 612 RMD160 02544dc797204833abbf6af038db72e186875b85 SHA1 1007f8ed65729d64034111674b337d78c79e3df9 SHA256 df8836548190ba37deaae02b43e0dab918fcfb91bea930e4b4b4283b22d00eed AUX lgeneral-1.2-build.patch 433 RMD160 d72f8a8880160eac98b3b12911d7c7bcfaeff879 SHA1 e4a74c96064619afabd3937687b77feb31839728 SHA256 9375b01149aace13ef1800cb7839cb16f6a2d0833f8b125e1e9e94a108fd9db8 AUX lgeneral-1.2-gentoo-path.patch 1046 RMD160 6e0d9261d0ab8888a32b774ef478dd5a61fcb81b SHA1 144dad5e2d69e6ccd9446ecf7295a1d3e5be0cf6 SHA256 0ce3a09869bdf581d4593e11227bb8ef575f2742005095bc5417150d99af298b AUX lgeneral-1.2-make-382.patch 794 RMD160 a382f445a74ac9dbdb33345688307068edac1ad8 SHA1 2ce71c111c6e090f12cac95cf577b8f561a9d8a3 SHA256 5d3d878b1188973158cd1ca15abbfcc585353a112da5a1e72c6163dad5807346 -AUX lgeneral-1.2_beta13-64bit.patch 339 RMD160 e68c24f17b82a16db06230323362756593414e88 SHA1 3f5ab08c14959cd149d438d4abaab39663dcad20 SHA256 541bef53004cb900e842d2eb4dc8f144e313a23d194b8b3feeb0bfdb2ebf6487 -AUX lgeneral-1.2_beta13-as-needed.patch 623 RMD160 af27d4d75b94958d7fd5068dd1ddc781227212d9 SHA1 583b46cd7600337ceaf662cfaef5b63a54007b34 SHA256 6f1ebf7fc00acc9c910d3d52616044df6612702c2e7f9f5ac9ac3c22f5d7a9d5 -AUX lgeneral-1.2_beta13-build.patch 472 RMD160 b9694335c28b81e92f7995ff73529f756342c049 SHA1 a0804f805405459d1e4922190e026163a62b1452 SHA256 96571a738c37d03f8b5c638fe857dbd136622d8e671e1972e96681b9dfaeec58 -AUX lgeneral-1.2_beta13-gentoo-path.patch 2393 RMD160 8bf62ea88afb1e0e480436eb298aa1f0abc3f07e SHA1 3f2b6e0463b04b9b929d196c838aa9fc4d82a84d SHA256 199427f23522583fa6a97776bb0710841f961d3528afb8cc3c610e7eed082933 -AUX lgeneral-1.2_beta13-make-382.patch 794 RMD160 a382f445a74ac9dbdb33345688307068edac1ad8 SHA1 2ce71c111c6e090f12cac95cf577b8f561a9d8a3 SHA256 5d3d878b1188973158cd1ca15abbfcc585353a112da5a1e72c6163dad5807346 DIST lgeneral-1.2.tar.gz 1727728 RMD160 aa154290847a577c36dd6cc3d38bc4491821dbf4 SHA1 dc7d90e90bf9ff85ab35ed5c2b78072d7e716ad6 SHA256 00bdf242c64c544511f359576f5bae799336f23b81849225ac29d7e61c687ce3 -DIST lgeneral-1.2beta-13.tar.gz 1601598 RMD160 8a00ef60ca77af5d7895823a8a2e7585a07df792 SHA1 381389be3c35e1c4474e48f10557fa8f7a7bc1f6 SHA256 a30ddc8a16e75c6454b5f0aa5ff02837cae8d9194d7673e35650ddfeb84f781e DIST pg-data.tar.gz 410454 RMD160 0f05a0a521639cdf04c8fe6ac8950d5794ccdb0a SHA1 d78db7705e55751332fd1163311311ec36fff3ea SHA256 f2f74022cf8c279451911dda0a57cffab26ebf11429d61a6596310340ed23f76 EBUILD lgeneral-1.2.ebuild 2348 RMD160 12233cf281a0731dc79b61607b098644e1a5c3dd SHA1 d08967b06179835523dcb91c48e10fbb97a8ba60 SHA256 92d2f6cb6dfa28ea6c95df2171358875cedd94471eee6a0b2f88109680d6fc30 -EBUILD lgeneral-1.2_beta13.ebuild 2312 RMD160 d515b59bd9fc5b68db8ef8275eab01721f65ac0c SHA1 b3257883bb1daa2bd139d4a22f1584b8741f30b8 SHA256 4627228c0ddbfde0a4bd0bd999cd0f99affb353c8d11e3c600fc2fdb3e20b7ca MISC ChangeLog 6482 RMD160 9258dcb741b450c04effc81c7de57b1b3d5ba7a0 SHA1 4ca80b15a7a0e53ce84d09f38265a7772e1f1d0c SHA256 381e11b013a91cf5911c7f29e52f368d863194819aa616c113ad52885de870cb MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.16 (GNU/Linux) - -iEYEARECAAYFAk0joosACgkQ9/cejkQaxBBXsACggP58Np60it1PvqunJzFX/u3D -p/8AnRmkYnoLW3i2eT9WjSUdAT1KxENj -=rz16 ------END PGP SIGNATURE----- diff --git a/games-strategy/lgeneral/files/lgeneral-1.2_beta13-64bit.patch b/games-strategy/lgeneral/files/lgeneral-1.2_beta13-64bit.patch deleted file mode 100644 index d152657f3aca..000000000000 --- a/games-strategy/lgeneral/files/lgeneral-1.2_beta13-64bit.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- src/unit_lib.h.old 2006-10-20 22:11:43.000000000 +0200 -+++ src/unit_lib.h 2006-10-20 22:11:58.000000000 +0200 -@@ -145,7 +145,7 @@ - #endif - int eval_score; /* between 0 - 1000 indicating the worth of the unit relative the - best one */ --} Unit_Lib_Entry; -+} __attribute__((__packed__)) Unit_Lib_Entry; - - - /* diff --git a/games-strategy/lgeneral/files/lgeneral-1.2_beta13-as-needed.patch b/games-strategy/lgeneral/files/lgeneral-1.2_beta13-as-needed.patch deleted file mode 100644 index 2361aa54d569..000000000000 --- a/games-strategy/lgeneral/files/lgeneral-1.2_beta13-as-needed.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- tools/ltrextract/Makefile.am.old 2009-02-12 09:48:37.000000000 +0100 -+++ tools/ltrextract/Makefile.am 2009-02-12 09:50:36.000000000 +0100 -@@ -3,9 +3,8 @@ - - bin_PROGRAMS = ltrextract - --LIBS = $(top_builddir)/util/libutil.a $(INTLLIBS) - AM_CFLAGS = -DLTREXTRACT @dis_flag@ -I$(LGENERAL_PATH) -I$(top_srcdir) -I$(top_srcdir)/util $(INTLINCLUDES) --ltrextract_LDFLAGS = -lm -+ltrextract_LDADD = $(top_builddir)/util/libutil.a $(INTLLIBS) - ltrextract_SOURCES = ltrextract.c util.c util.h \ - terrain.c terrain.h map.c map.h nation.c nation.h \ - unit_lib.c unit_lib.h scenario.c scenario.h campaign.c campaign.h \ diff --git a/games-strategy/lgeneral/files/lgeneral-1.2_beta13-build.patch b/games-strategy/lgeneral/files/lgeneral-1.2_beta13-build.patch deleted file mode 100644 index 1bbea1e06c56..000000000000 --- a/games-strategy/lgeneral/files/lgeneral-1.2_beta13-build.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- configure.in.old 2007-09-27 22:22:52.000000000 +0200 -+++ configure.in 2009-02-02 07:01:03.000000000 +0100 -@@ -10,9 +10,10 @@ - dnl Checks for programs. - AC_PROG_CC - AC_PROG_RANLIB -+AM_PROG_CC_C_O - - dnl various CFLAGS --CFLAGS="$CFLAGS -g -Wall" -+CFLAGS="$CFLAGS -Wall" - - dnl Checks for libraries. - AC_CHECK_LIB(m, main,, AC_MSG_ERROR(maths library is needed)) -@@ -34,6 +35,7 @@ - dnl L10n support - ALL_LINGUAS="en de" - -+AC_GNU_SOURCE - AM_GNU_GETTEXT - - XGETTEXTFLAGS= diff --git a/games-strategy/lgeneral/files/lgeneral-1.2_beta13-gentoo-path.patch b/games-strategy/lgeneral/files/lgeneral-1.2_beta13-gentoo-path.patch deleted file mode 100644 index c921a857a982..000000000000 --- a/games-strategy/lgeneral/files/lgeneral-1.2_beta13-gentoo-path.patch +++ /dev/null @@ -1,71 +0,0 @@ ---- configure.in.old 2006-08-25 23:23:54.000000000 +0200 -+++ configure.in 2006-08-25 23:24:04.000000000 +0200 -@@ -146,7 +146,7 @@ - AC_SUBST(dl_lib_flag) - - dnl installation path --inst_dir=$datadir/games/lgeneral -+inst_dir=$datadir/lgeneral - - dis_flag="" - AC_ARG_ENABLE( install, ---- configure.in.old 2006-08-25 23:48:27.000000000 +0200 -+++ configure.in 2006-08-25 23:49:09.000000000 +0200 -@@ -105,13 +105,8 @@ - - dnl find out whether we can determine the path of the running executable - ac_paths_determ=generic --AC_MSG_CHECKING(if executable's path can be determined at runtime) --readlink /proc/$$/exe >/dev/null 2>&1 && ac_paths_determ=linux --ac_can_determ_paths=yes --if test x$ac_paths_determ = xgeneric ; then - ac_can_determ_paths=no - AC_DEFINE_UNQUOTED(PATHS_GENERIC, 1, [Defined if detecting executable's path name is not supported at runtime.]) --fi - AC_MSG_RESULT($ac_can_determ_paths) - AC_MSG_RESULT(executable's path determination strategy... $ac_paths_determ) - AM_CONDITIONAL(compile_paths_linux, test x$ac_paths_determ = xlinux) ---- src/misc.c.old 2006-08-25 23:58:11.000000000 +0200 -+++ src/misc.c 2006-08-26 00:01:35.000000000 +0200 -@@ -418,16 +418,11 @@ - #ifdef DISABLE_INSTALL - return "."; - #else -- const char *prefix; - static char *gamedir; -- static const char suffix[] = "/share/games/lgeneral"; -+ static const char suffix[] = "@GENTOO_DATADIR@/lgeneral"; -- unsigned len; - if (gamedir) return gamedir; -- prefix = paths_prefix(); -- len = strlen(prefix); -- gamedir = malloc(len + sizeof suffix); -+ gamedir = malloc(sizeof suffix); -- strcpy(gamedir, prefix); -- strcpy(gamedir + len, suffix); -+ strcpy(gamedir, suffix); - return gamedir; - #endif - } ---- lgc-pg/misc.c.old 2006-08-26 01:53:53.000000000 +0200 -+++ lgc-pg/misc.c 2006-08-26 01:55:10.000000000 +0200 -@@ -420,16 +420,11 @@ - #ifdef DISABLE_INSTALL - return "."; - #else -- const char *prefix; - static char *gamedir; -- static const char suffix[] = "/share/games/lgeneral"; -- unsigned len; -+ static const char suffix[] = "@D@@GENTOO_DATADIR@/lgeneral"; - if (gamedir) return gamedir; -- prefix = paths_prefix(); -- len = strlen(prefix); -- gamedir = malloc(len + sizeof suffix); -- strcpy(gamedir, prefix); -- strcpy(gamedir + len, suffix); -+ gamedir = malloc(sizeof suffix); -+ strcpy(gamedir, suffix); - return gamedir; - #endif - } diff --git a/games-strategy/lgeneral/files/lgeneral-1.2_beta13-make-382.patch b/games-strategy/lgeneral/files/lgeneral-1.2_beta13-make-382.patch deleted file mode 100644 index f4eed33c2bdb..000000000000 --- a/games-strategy/lgeneral/files/lgeneral-1.2_beta13-make-382.patch +++ /dev/null @@ -1,23 +0,0 @@ -http://bugs.gentoo.org/337610 - ---- intl/Makefile.in -+++ intl/Makefile.in -@@ -206,12 +206,12 @@ - # The dependency for intlh.inst is different in gettext and all other - # packages. Because we cannot you GNU make features we have to solve - # the problem while rewriting Makefile.in. --@GT_YES@intlh.inst: intlh.inst.in ../config.status --@GT_YES@ cd .. \ --@GT_YES@ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= \ --@GT_YES@ $(SHELL) ./config.status --@GT_NO@.PHONY: intlh.inst --@GT_NO@intlh.inst: -+intlh.inst: intlh.inst.in ../config.status -+ cd .. \ -+ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= \ -+ $(SHELL) ./config.status -+.PHONY: intlh.inst -+intlh.inst: - - # Tell versions [3.59,3.63) of GNU make not to export all variables. - # Otherwise a system limit (for SysV at least) may be exceeded. diff --git a/games-strategy/lgeneral/lgeneral-1.2_beta13.ebuild b/games-strategy/lgeneral/lgeneral-1.2_beta13.ebuild deleted file mode 100644 index 95d1e8beb398..000000000000 --- a/games-strategy/lgeneral/lgeneral-1.2_beta13.ebuild +++ /dev/null @@ -1,93 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/lgeneral/lgeneral-1.2_beta13.ebuild,v 1.4 2010/09/25 13:27:11 ssuominen Exp $ - -EAPI=2 -inherit eutils autotools games - -MY_P="${P/_/}" -MY_P="${MY_P/beta/beta-}" -DESCRIPTION="A Panzer General clone written in SDL" -HOMEPAGE="http://lgames.sourceforge.net/index.php?project=LGeneral" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz - mirror://sourceforge/${PN}/pg-data.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="nls" - -RDEPEND="media-libs/libsdl[audio,video] - media-libs/sdl-mixer - nls? ( virtual/libintl )" -DEPEND="${RDEPEND} - sys-devel/gettext" - -S=${WORKDIR}/${MY_P} - -src_prepare() { - epatch \ - "${FILESDIR}"/${P}-gentoo-path.patch \ - "${FILESDIR}"/${P}-64bit.patch \ - "${FILESDIR}"/${P}-build.patch \ - "${FILESDIR}"/${P}-as-needed.patch \ - "${FILESDIR}"/${P}-make-382.patch - - cp /usr/share/gettext/config.rpath . - rm -f missing - eautoreconf - - # Build a temporary lgc-pg that knows about ${WORKDIR}: - cp -pPR "${S}" "${WORKDIR}"/tmp-build || die "cp failed" - sed -i \ - -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}:" \ - -e "s:@D@::" \ - {lgc-pg,src}/misc.c \ - || die "sed failed" - - cd "${WORKDIR}"/tmp-build - sed -i \ - -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}:" \ - -e "s:@D@:${D}:" \ - {lgc-pg,src}/misc.c \ - || die "sed failed (tmp)" -} - -src_configure() { - egamesconf \ - --disable-dependency-tracking \ - $(use_enable nls) \ - || die - - # Build the temporary lgc-pg: - cd "${WORKDIR}"/tmp-build - egamesconf \ - --disable-dependency-tracking \ - --disable-nls \ - --datadir="${D}/${GAMES_DATADIR}" \ - || die -} - -src_compile() { - emake || die "emake failed" - - # Build the temporary lgc-pg: - cd "${WORKDIR}"/tmp-build - emake || die "emake failed (tmp)" -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - keepdir "${GAMES_DATADIR}"/${PN}/{ai_modules,music,terrain} - - # Generate scenario data: - SDL_VIDEODRIVER=dummy "${WORKDIR}"/tmp-build/lgc-pg/lgc-pg \ - -s "${WORKDIR}"/pg-data \ - -d "${D}/${GAMES_DATADIR}"/${PN} \ - || die "Failed to generate scenario data" - - dodoc AUTHORS ChangeLog README.lgeneral README.lgc-pg TODO - newicon lgeneral48.png ${PN}.png - make_desktop_entry ${PN} LGeneral - prepgamesdirs -} |