From bad9bf87b08d293eb79ebe14d1882e77da2b0ced Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 21 Aug 2024 12:26:06 +0100 Subject: gentoo auto-resync : 21:08:2024 - 12:26:06 --- games-arcade/sdl-sopwith/Manifest | 6 --- .../files/sdl-sopwith-1.7.5-nogtk.patch | 42 ------------------- .../files/sdl-sopwith-1.7.5-video-fix.patch | 24 ----------- games-arcade/sdl-sopwith/metadata.xml | 11 ----- .../sdl-sopwith/sdl-sopwith-1.7.5-r2.ebuild | 48 ---------------------- 5 files changed, 131 deletions(-) delete mode 100644 games-arcade/sdl-sopwith/Manifest delete mode 100644 games-arcade/sdl-sopwith/files/sdl-sopwith-1.7.5-nogtk.patch delete mode 100644 games-arcade/sdl-sopwith/files/sdl-sopwith-1.7.5-video-fix.patch delete mode 100644 games-arcade/sdl-sopwith/metadata.xml delete mode 100644 games-arcade/sdl-sopwith/sdl-sopwith-1.7.5-r2.ebuild (limited to 'games-arcade/sdl-sopwith') diff --git a/games-arcade/sdl-sopwith/Manifest b/games-arcade/sdl-sopwith/Manifest deleted file mode 100644 index 8d2325557792..000000000000 --- a/games-arcade/sdl-sopwith/Manifest +++ /dev/null @@ -1,6 +0,0 @@ -AUX sdl-sopwith-1.7.5-nogtk.patch 984 BLAKE2B 7478a4ef1b23322f9a89209223dca44c7e663e1530d2ae74eac7f7b72e7435ed28dbe6cf866aa0555c23b98d396f1e1b2c303a578dfe963b1d417bfbefcd6dc8 SHA512 10340a42b1da8e633505f9273976ab781e22529090f55932402fd3ff58c493c32cb66ebd5196f65a832cb6d0d98b941010670b74e2af202f2f6352e4fb6e1f18 -AUX sdl-sopwith-1.7.5-video-fix.patch 674 BLAKE2B d89107969ab7e8c97f460e49bd40cae2b9ba52d3c67905d83bbcf5c155ea68bcf0be0661617cedb79795be5247d780f890e9d92f645be360aa1b1f06c09bf0c3 SHA512 024958855d22d038fc9b00d1daa311360211b2b1f3510f0c2dbe43104a2aee8907a764bb2b11b0d367b248bafc7a4a4afebdf6fe116430733ba8ffb7ba6917ef -DIST sopwith-1.7.5.tar.gz 280883 BLAKE2B 57a2d6cf90d1bba1ac5dedbcebaa7b2f58004cee1ee7682d43be800184809e7949603490e93944d8aa1e4b9e6d33f24a9bdb386dadda945b9f9f3b9c4e8ed48c SHA512 ea78706d0190648be269142a29d10340c5181563959b0a329b802b9d9128a9dcb1e01760737269ec22883adf5b6c02c5049c8fc7b44e4eaa9f381b87abc7acae -DIST sopwith.png 675 BLAKE2B a380311db8861a75d8cbb035616523d1a21a220be758bda931340f65d658af0e844b0247e478da746d654249cd7a28ab9b681fc82b9798f909b379f38242d03f SHA512 7bcfec11930a623ff9077203640b4415e222570d32ffecdb943f5c78ed8fb11db4fefa42298b895c4aa29b46f963a82cdb90492beaf89a04d119e6e756f5ec57 -EBUILD sdl-sopwith-1.7.5-r2.ebuild 1033 BLAKE2B 71624610da2b615794e4a4d9bcd718b81f8357ae4491b4b62fc03dcf9549f9f0fdcaaa29854ec73f123df4aa7af887bff80905859db1da74aa7ba46e8c048a38 SHA512 2d580e72a3eba04ca162a1b9de80a8a1afed0dbcc2707ac37ca5890be3faf246ad01fbea875c8ef777625089a65a1d66b5479a2c6adcfa77c90cf4bad18fb865 -MISC metadata.xml 335 BLAKE2B 8f4881e226b38a1837dc8dc5738faf43b4d6fb53784d4a78c2ed58efaf4faf7f2ae5b84ba29d92f04cf96f1b173bc4670a081465f8ba2c65d57fa7db848b509b SHA512 77abe8deb8062542adb7a71f436334c2d302df29ff94cfdafacb9ba3cc9c03f087199149ba6abd22b9a002d80a846897baa84136f03571c0868be3b7d44b7af1 diff --git a/games-arcade/sdl-sopwith/files/sdl-sopwith-1.7.5-nogtk.patch b/games-arcade/sdl-sopwith/files/sdl-sopwith-1.7.5-nogtk.patch deleted file mode 100644 index a5dbc59f3c72..000000000000 --- a/games-arcade/sdl-sopwith/files/sdl-sopwith-1.7.5-nogtk.patch +++ /dev/null @@ -1,42 +0,0 @@ ---- a/configure.in.old -+++ b/configure.in -@@ -61,11 +61,6 @@ - SOPWITH_SUBDIRS="$SOPWITH_SUBDIRS sdl" - ],) - --PKG_CHECK_MODULES(GTK, glib-2.0 >= 2.0 gtk+-2.0 >= 2.0, [ -- SOPWITH_BINS="$SOPWITH_BINS" # gtksopwith" -- SOPWITH_SUBDIRS="$SOPWITH_SUBDIRS" # gtk" --],) -- - AC_SUBST(SOPWITH_BINS) - AC_SUBST(SOPWITH_SUBDIRS) - -@@ -71,7 +71,7 @@ - - dnl check for TCPIP support - --AC_CHECK_HEADER(netinet/ip.h, AC_DEFINE(TCPIP),,) -+AC_CHECK_HEADER(netinet/ip.h, AC_DEFINE([TCPIP], [1], [TCP/IP support]),,) - - dnl generate Makefiles - ---- a/src/Makefile.am.old -+++ b/src/Makefile.am -@@ -6,7 +6,7 @@ - bin_PROGRAMS = @SOPWITH_BINS@ - EXTRA_PROGRAMS = sopwith gtksopwith psopwith - --CFLAGS = @CFLAGS@ -I.. -+AM_CFLAGS = @SDL_CFLAGS@ -I.. - - COMMON_SRC = \ - video.h swcollsn.c swgames.h swmain.h swutil.h \ ---- a/src/sdl/Makefile.am.old -+++ b/src/sdl/Makefile.am -@@ -1,4 +1,4 @@ --CFLAGS=@CFLAGS@ @SDL_CFLAGS@ -I.. -+AM_CFLAGS = @SDL_CFLAGS@ -I.. - - noinst_LIBRARIES = libsdlsopwith.a - diff --git a/games-arcade/sdl-sopwith/files/sdl-sopwith-1.7.5-video-fix.patch b/games-arcade/sdl-sopwith/files/sdl-sopwith-1.7.5-video-fix.patch deleted file mode 100644 index e9da16c43905..000000000000 --- a/games-arcade/sdl-sopwith/files/sdl-sopwith-1.7.5-video-fix.patch +++ /dev/null @@ -1,24 +0,0 @@ -Upstream patch: fix segfault while video device detection. -Discovered here - https://bugs.gentoo.org/show_bug.cgi?id=458504 - ---- a/src/sdl/video.c.orig 2013-02-21 11:48:57.000000000 -0400 -+++ b/src/sdl/video.c 2013-02-21 11:49:35.000000000 -0400 -@@ -364,11 +364,17 @@ - int n; - int w, h; - int flags = 0; -+ int status; - - printf("CGA Screen Emulation\n"); - printf("init screen: "); - -- SDL_Init(SDL_INIT_VIDEO); -+ status = SDL_Init(SDL_INIT_VIDEO); -+ if (status == -1) -+ { -+ fprintf(stderr, "Unable to locate video device. Exiting.\n"); -+ exit(1); -+ } - - srand(time(NULL)); - set_icon(symbol_plane[rand() % 2][rand() % 16]); diff --git a/games-arcade/sdl-sopwith/metadata.xml b/games-arcade/sdl-sopwith/metadata.xml deleted file mode 100644 index 00b9db664db9..000000000000 --- a/games-arcade/sdl-sopwith/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - games@gentoo.org - Gentoo Games Project - - - sdl-sopwith - - diff --git a/games-arcade/sdl-sopwith/sdl-sopwith-1.7.5-r2.ebuild b/games-arcade/sdl-sopwith/sdl-sopwith-1.7.5-r2.ebuild deleted file mode 100644 index d136074ceffd..000000000000 --- a/games-arcade/sdl-sopwith/sdl-sopwith-1.7.5-r2.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit autotools desktop toolchain-funcs - -MY_P="${P/sdl-/}" -DESCRIPTION="Port of the classic Sopwith game using LibSDL" -HOMEPAGE="http://sdl-sopwith.sourceforge.net/" -SRC_URI=" - https://downloads.sourceforge.net/${PN}/${MY_P}.tar.gz - https://src.fedoraproject.org/rpms/sopwith/raw/master/f/sopwith.png -" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND=">=media-libs/libsdl-1.1.3[video]" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${MY_P}" - -src_prepare() { - default - rm acconfig.h || die - - eapply "${FILESDIR}"/${P}-nogtk.patch - # bug 458504 - eapply "${FILESDIR}"/${P}-video-fix.patch - - mv configure.in configure.ac || die - eautoreconf -} - -src_compile() { - emake AR="$(tc-getAR)" -} - -src_install() { - emake DESTDIR="${D}" install - dodoc AUTHORS ChangeLog FAQ NEWS README TODO doc/*txt - rm -rf "${ED}/usr/share/doc/sopwith" - - newicon "${DISTDIR}"/sopwith.png ${PN}.png - make_desktop_entry sopwith "Sopwith" ${PN} -} -- cgit v1.2.3