diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2009-11-01 07:37:44 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2009-11-01 07:37:44 +0000 |
commit | a917f1439386428f5d11a76cc1903f8e494ed978 (patch) | |
tree | abd5346662c3c425bee19ebaec4685985d43a265 /games-strategy/lgeneral | |
parent | Drop old revision (diff) | |
download | historical-a917f1439386428f5d11a76cc1903f8e494ed978.tar.gz historical-a917f1439386428f5d11a76cc1903f8e494ed978.tar.bz2 historical-a917f1439386428f5d11a76cc1903f8e494ed978.zip |
old
Package-Manager: portage-2.1.6.13/cvs/Linux i686
Diffstat (limited to 'games-strategy/lgeneral')
9 files changed, 0 insertions, 347 deletions
diff --git a/games-strategy/lgeneral/Manifest b/games-strategy/lgeneral/Manifest index edfae719076b..c6073dd755db 100644 --- a/games-strategy/lgeneral/Manifest +++ b/games-strategy/lgeneral/Manifest @@ -1,30 +1,9 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -AUX 1.1.1-netbsd-audio.patch 813 RMD160 7c8aff0e60b45ccae4b3f891f0f92a503cf8f590 SHA1 510a79663ca44200d6d671250c346a1782b14db4 SHA256 dca1503e39d23e452a6107f11cc06600248660d27195d7616c21b1dabd3514b0 -AUX lgeneral-1.2_beta12-64bit.patch 339 RMD160 e68c24f17b82a16db06230323362756593414e88 SHA1 3f5ab08c14959cd149d438d4abaab39663dcad20 SHA256 541bef53004cb900e842d2eb4dc8f144e313a23d194b8b3feeb0bfdb2ebf6487 -AUX lgeneral-1.2_beta12-as-needed.patch 623 RMD160 af27d4d75b94958d7fd5068dd1ddc781227212d9 SHA1 583b46cd7600337ceaf662cfaef5b63a54007b34 SHA256 6f1ebf7fc00acc9c910d3d52616044df6612702c2e7f9f5ac9ac3c22f5d7a9d5 -AUX lgeneral-1.2_beta12-build.patch 318 RMD160 05d9dc69438f42f1ac51479af15d9ec0a1eb64af SHA1 030aa4cb3215b1c3e3add11374472ddf90799789 SHA256 6d173938dfd0b013614734a4705cdcdfcab57fa831afa59a8008d371f7751ced -AUX lgeneral-1.2_beta12-gentoo-path.patch 2393 RMD160 8bf62ea88afb1e0e480436eb298aa1f0abc3f07e SHA1 3f2b6e0463b04b9b929d196c838aa9fc4d82a84d SHA256 199427f23522583fa6a97776bb0710841f961d3528afb8cc3c610e7eed082933 -AUX lgeneral-1.2_beta12-gettext.patch 1352 RMD160 02190ad461ac5ee53b3c8eb9ec987ab6dc8a81d6 SHA1 d6a782e714b23ad8ab16a952be2cc6cf222fcf27 SHA256 4e76d9dfeba12160504cb8f034ed11d5b27e361e3eb05c1583c428b021192c1b 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 -DIST lgeneral-1.1.1.tar.gz 588698 RMD160 f4ca361e8b3d180e0fb7136f86cc6412a82974fb SHA1 37ce2f59ec4654893fa864a7582981683e389df8 SHA256 182513e8662251fabbaa782c575b2d96d8d135f20892c3a58112f755c82f9a8b -DIST lgeneral-1.2beta-12.tar.gz 1428381 RMD160 a7a08d50fb400389078ba7716460fce24e750b97 SHA1 ed4ea01ee36a47bb78221862978addf36de580d3 SHA256 ea737943bfc6738a3535dab16d7081f9ad1263fa8b2d747466d3f2e2cc2e3d80 DIST lgeneral-1.2beta-13.tar.gz 1601598 RMD160 8a00ef60ca77af5d7895823a8a2e7585a07df792 SHA1 381389be3c35e1c4474e48f10557fa8f7a7bc1f6 SHA256 a30ddc8a16e75c6454b5f0aa5ff02837cae8d9194d7673e35650ddfeb84f781e -DIST lgeneral-data-1.1.3.tar.gz 1073781 RMD160 d314d174fbec5200f80c88fc6642f90005c54537 SHA1 e0e2afd114e178206d99c1d572525b9814ea60db SHA256 bc4dddc25488dd863b0f4eb9d120e5017055ecbcc2cc53ba12d713681e47f10b DIST pg-data.tar.gz 410454 RMD160 0f05a0a521639cdf04c8fe6ac8950d5794ccdb0a SHA1 d78db7705e55751332fd1163311311ec36fff3ea SHA256 f2f74022cf8c279451911dda0a57cffab26ebf11429d61a6596310340ed23f76 -EBUILD lgeneral-1.1.1-r1.ebuild 1132 RMD160 c67f31c44ffb97cea7168a3aba83db6e51c09f2b SHA1 381457da249178045d57dc6a31240320dd64298e SHA256 895f35da4a51fe572de3e3880135a30d266b5b1291a51797a1cbaddc345fe169 -EBUILD lgeneral-1.2_beta12-r1.ebuild 2298 RMD160 09df136c038a64e34be767f25fbd672b8eebb842 SHA1 79ad68ff32a65bb6424ba0f07525d0e90a15a961 SHA256 8a5994da7532ed8e409f85be1be0aa8638a5d7deed156e2e3a90297fa8a11f6d EBUILD lgeneral-1.2_beta13.ebuild 2271 RMD160 4d753e735804744ff32a156b4f8d535d1a4deb29 SHA1 3f3068fd888b740cc203bab1dd6a638933016a21 SHA256 293bf50eb7d75f743847f2e136574a984507b2cd9bd8af569c7ffa9b8ae87114 MISC ChangeLog 5799 RMD160 2ebde52cadb488f4e8693f8658edb94d0a10d52d SHA1 87dbb1ca9b7e483171b782ce9e7f05658ee22858 SHA256 5ce3befc7d4102d3bcf16f739e97a9619c003b36c5ac811ffcae994825968604 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.11 (GNU/Linux) - -iEYEARECAAYFAkrqzK0ACgkQkKaRLQcq0GIL8ACgkFl/Jvasxxq1SB81S8XCxFeF -AqgAn20ljXTjDyrydtvxvKptwZafGqHb -=c82K ------END PGP SIGNATURE----- diff --git a/games-strategy/lgeneral/files/1.1.1-netbsd-audio.patch b/games-strategy/lgeneral/files/1.1.1-netbsd-audio.patch deleted file mode 100644 index 41e7b394b11e..000000000000 --- a/games-strategy/lgeneral/files/1.1.1-netbsd-audio.patch +++ /dev/null @@ -1,34 +0,0 @@ -$NetBSD: patch-ab,v 1.1.1.1 2002/11/15 17:28:57 wiz Exp $ - ---- src/audio.c.orig Thu Aug 8 11:02:58 2002 -+++ src/audio.c -@@ -87,6 +87,7 @@ void audio_set_volume( int level ) - } - void audio_fade_out( int channel, int ms ) - { -+ if ( !audio_ok ) return; - Mix_FadeOutChannel( channel, ms ); - } - -@@ -113,6 +114,7 @@ Wav* wav_load( char *fname, int channel - } - void wav_free( Wav *wav ) - { -+ if ( !audio_ok ) return; - if ( wav ) { - if ( wav->chunk ) - Mix_FreeChunk( wav->chunk ); -@@ -132,11 +134,13 @@ void wav_play( Wav *wav ) - } - void wav_play_at( Wav *wav, int channel ) - { -+ if ( !audio_ok ) return; - wav->channel = channel; - wav_play( wav ); - } - void wav_fade_out( Wav *wav, int ms ) - { -+ if ( !audio_ok ) return; - Mix_FadeOutChannel( wav->channel, ms ); - } - diff --git a/games-strategy/lgeneral/files/lgeneral-1.2_beta12-64bit.patch b/games-strategy/lgeneral/files/lgeneral-1.2_beta12-64bit.patch deleted file mode 100644 index d152657f3aca..000000000000 --- a/games-strategy/lgeneral/files/lgeneral-1.2_beta12-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_beta12-as-needed.patch b/games-strategy/lgeneral/files/lgeneral-1.2_beta12-as-needed.patch deleted file mode 100644 index 2361aa54d569..000000000000 --- a/games-strategy/lgeneral/files/lgeneral-1.2_beta12-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_beta12-build.patch b/games-strategy/lgeneral/files/lgeneral-1.2_beta12-build.patch deleted file mode 100644 index 77afed05988d..000000000000 --- a/games-strategy/lgeneral/files/lgeneral-1.2_beta12-build.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- configure.in -+++ configure.in -@@ -10,9 +10,9 @@ - dnl Checks for programs. - AC_PROG_CC - AC_PROG_RANLIB -+AM_PROG_CC_C_O - - dnl various CFLAGS --CFLAGS="-g" - CFLAGS="$CFLAGS -Wall" - - dnl Checks for libraries. -@@ -35,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_beta12-gentoo-path.patch b/games-strategy/lgeneral/files/lgeneral-1.2_beta12-gentoo-path.patch deleted file mode 100644 index c921a857a982..000000000000 --- a/games-strategy/lgeneral/files/lgeneral-1.2_beta12-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_beta12-gettext.patch b/games-strategy/lgeneral/files/lgeneral-1.2_beta12-gettext.patch deleted file mode 100644 index 9e4d27fbe8f6..000000000000 --- a/games-strategy/lgeneral/files/lgeneral-1.2_beta12-gettext.patch +++ /dev/null @@ -1,40 +0,0 @@ ---- po/lgeneral/Makefile.in.in -+++ po/lgeneral/Makefile.in.in -@@ -21,8 +21,8 @@ - prefix = @prefix@ - exec_prefix = @exec_prefix@ - datadir = $(prefix)/@DATADIRNAME@ --localedir = $(datadir)/locale --gnulocaledir = $(prefix)/share/locale -+localedir = /usr/share/locale -+gnulocaledir = /usr/share/locale - gettextsrcdir = $(prefix)/share/gettext/po - subdir = po/lgeneral - -@@ -99,11 +99,8 @@ - $(XGETTEXT) $(XGETTEXTFLAGS) --default-domain=$(PACKAGE) \ - --directory=$(top_srcdir) --add-comments \ - --keyword=tr --keyword=TR_NOOP \ -- --files-from=$(srcdir)/POTFILES.in \ -- && test ! -f $(PACKAGE).po \ -- || ( rm -f $(srcdir)/$(PACKAGE).pot \ -- && $(MSGCONV) $(MSGCONVFLAGS) $(PACKAGE).po > $(srcdir)/$(PACKAGE).pot 2> /dev/null \ -- && rm -f $(PACKAGE).po ) -+ --files-from=$(srcdir)/POTFILES.in -+ $(MSGCONV) $(MSGCONVFLAGS) $(PACKAGE).po > $(srcdir)/$(PACKAGE).pot || true - - $(srcdir)/cat-id-tbl.c: $(srcdir)/stamp-cat-id; @: - $(srcdir)/stamp-cat-id: $(srcdir)/$(PACKAGE).pot ---- po/pg/Makefile.in.in -+++ po/pg/Makefile.in.in -@@ -23,8 +23,8 @@ - prefix = @prefix@ - exec_prefix = @exec_prefix@ - datadir = $(prefix)/@DATADIRNAME@ --localedir = $(datadir)/locale --gnulocaledir = $(prefix)/share/locale -+localedir = /usr/share/locale -+gnulocaledir = /usr/share/locale - gettextsrcdir = $(prefix)/share/gettext/po - subdir = po/pg - inst_dir = @inst_dir@ diff --git a/games-strategy/lgeneral/lgeneral-1.1.1-r1.ebuild b/games-strategy/lgeneral/lgeneral-1.1.1-r1.ebuild deleted file mode 100644 index 8ebd13b8fb67..000000000000 --- a/games-strategy/lgeneral/lgeneral-1.1.1-r1.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/lgeneral/lgeneral-1.1.1-r1.ebuild,v 1.8 2007/11/11 07:40:49 mr_bones_ Exp $ - -inherit eutils games - -DATA=lgeneral-data-1.1.3 - -DESCRIPTION="A Panzer General clone written in SDL" -HOMEPAGE="http://lgames.sourceforge.net/index.php?project=LGeneral" -SRC_URI="mirror://sourceforge/lgeneral/${P}.tar.gz - mirror://sourceforge/lgeneral/${DATA}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~ppc x86" -IUSE="" - -DEPEND=">=media-libs/libsdl-1.2.4 - >=media-libs/sdl-mixer-1.2.3" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}/${PV}-netbsd-audio.patch" -} - -src_compile() { - egamesconf --datadir="${GAMES_DATADIR}"/../ - emake || die "emake failed" - - cd "${WORKDIR}/${DATA}" - egamesconf --datadir="${GAMES_DATADIR}"/../ - emake || die "emake failed (data)" -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - dodoc AUTHORS ChangeLog README TODO - cd "${WORKDIR}/${DATA}" - emake DESTDIR="${D}" install || die "emake install failed (data)" - prepgamesdirs -} diff --git a/games-strategy/lgeneral/lgeneral-1.2_beta12-r1.ebuild b/games-strategy/lgeneral/lgeneral-1.2_beta12-r1.ebuild deleted file mode 100644 index 14cefab874f0..000000000000 --- a/games-strategy/lgeneral/lgeneral-1.2_beta12-r1.ebuild +++ /dev/null @@ -1,93 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/lgeneral/lgeneral-1.2_beta12-r1.ebuild,v 1.7 2009/02/12 09:13:08 tupone 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 - 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}-gettext.patch \ - "${FILESDIR}"/${P}-64bit.patch \ - "${FILESDIR}"/${P}-build.patch \ - "${FILESDIR}"/${P}-as-needed.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 -} |