summaryrefslogtreecommitdiff
path: root/games-arcade/abe
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
commita3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch)
tree0c52bbae1c242fbc296bd650fcd1167685f81492 /games-arcade/abe
parentbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff)
downloadbaldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip
Adding metadata
Diffstat (limited to 'games-arcade/abe')
-rw-r--r--games-arcade/abe/Manifest2
-rw-r--r--games-arcade/abe/abe-1.1-r2.ebuild61
-rw-r--r--games-arcade/abe/files/abe-1.1-doublefree.patch13
-rw-r--r--games-arcade/abe/files/abe-1.1-format-security.patch88
-rw-r--r--games-arcade/abe/files/abe-1.1-format.patch13
-rw-r--r--games-arcade/abe/files/abe-1.1-no-x-check.patch29
-rw-r--r--games-arcade/abe/files/abe-1.1-settings.patch14
-rw-r--r--games-arcade/abe/metadata.xml12
8 files changed, 0 insertions, 232 deletions
diff --git a/games-arcade/abe/Manifest b/games-arcade/abe/Manifest
deleted file mode 100644
index 98c62e38d0f4..000000000000
--- a/games-arcade/abe/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST abe-1.1.tar.gz 3321075 BLAKE2B 2ab51bd9103e8954bbc27eceb81b4bb845ec84ee249f21aaefdc59df87689f865d3b62a8c2db9584b8361303028174b1a96b60e0caf88ee857f8ad0d3cd3d920 SHA512 6106fce9c72554596ac3f94551326381e98c0d40f7a5aa8ae7aeadaa234c113733e8df717bd1b18d2ba835f689982e859607c9d88ab2d59790ec00833a4e48c7
-DIST abe.png 3303 BLAKE2B a99f8a1c31b9f8704b201ca9edd7ab67b685bde4bd43f675e62f1ba3a5554a63dba009634cdc63a2855a51f82de8ea2818bfe5f390b2f9e176d55cd4476547b6 SHA512 421d87248d91bb315d9d02955271cad096c842857819fc7a91ad77571047770eb9487722cb1b2e43d602ad61e3c7eca4fd834e955724905b8b870a5dd66d2e2b
diff --git a/games-arcade/abe/abe-1.1-r2.ebuild b/games-arcade/abe/abe-1.1-r2.ebuild
deleted file mode 100644
index da093a86c8cc..000000000000
--- a/games-arcade/abe/abe-1.1-r2.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools desktop toolchain-funcs
-
-DESCRIPTION="Scrolling, platform-jumping, key-collecting, ancient pyramid exploring game"
-HOMEPAGE="
- https://abe.sourceforge.net/
- https://github.com/OSSGames/GAME-SDL-ADVENTURE-Abe-s_Amazing_Adventure
-"
-SRC_URI="
- https://downloads.sourceforge.net/abe/${P}.tar.gz
- https://distfiles.gentoo.org/pub/dev/ionen@gentoo.org/${PN}.png"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
- media-libs/libsdl[sound,video]
- media-libs/sdl-mixer[vorbis]
-"
-DEPEND="${RDEPEND}"
-
-PATCHES=(
- "${FILESDIR}"/${P}-settings.patch
- "${FILESDIR}"/${P}-doublefree.patch
- "${FILESDIR}"/${P}-format.patch
- "${FILESDIR}"/${P}-format-security.patch
- "${FILESDIR}"/${P}-no-x-check.patch
-)
-
-src_prepare() {
- default
-
- sed -i '/^TR_CFLAGS/d;/^TR_CXXFLAGS/d' configure.in || die
-
- # original configure contains problematic detections with modern compilers
- # see #883287, #898794
- eautoreconf
-}
-
-src_configure() {
- tc-export CC CXX
-
- econf --with-data-dir="${EPREFIX}"/usr/share/${PN}
-}
-
-src_install() {
- dobin src/${PN}
-
- insinto /usr/share/${PN}
- doins -r images maps sounds
-
- einstalldocs
-
- doicon "${DISTDIR}"/${PN}.png
- make_desktop_entry ${PN} "Abe's Amazing Adventure"
-}
diff --git a/games-arcade/abe/files/abe-1.1-doublefree.patch b/games-arcade/abe/files/abe-1.1-doublefree.patch
deleted file mode 100644
index 82d49031844c..000000000000
--- a/games-arcade/abe/files/abe-1.1-doublefree.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Fix a double free() bug. Sent upstream 15 Mar 2011:
-https://sourceforge.net/p/abe/patches/1/
---- a/src/Main.c
-+++ b/src/Main.c
-@@ -35,8 +35,6 @@
- for(i = 0; modes[i]; ++i)
- printf("\t%d x %d\n", modes[i]->w, modes[i]->h);
- }
--
-- free(modes);
- }
-
- void
diff --git a/games-arcade/abe/files/abe-1.1-format-security.patch b/games-arcade/abe/files/abe-1.1-format-security.patch
deleted file mode 100644
index 9f98b080f53d..000000000000
--- a/games-arcade/abe/files/abe-1.1-format-security.patch
+++ /dev/null
@@ -1,88 +0,0 @@
-Fix build failure with -Werror=format-security
---- ./src/Game.c
-+++ ./src/Game.c
-@@ -6,21 +6,14 @@ Game game;
-
- // path_sprintf should not be used by other .c files, as it does not fit for them.
- static void
--path_sprintf(char *path, char *formatted_name, int version)
-+path_sprintf(char *path, const char *name, int version)
- {
--
-- int len;
--
-- printf("path_sprintf (%p, %s, %d)\n", path, formatted_name, version);
--
-- strcpy(path, getSaveGameDir());
--
-- len = strlen(path);
--
- if(1 == version) {
-- sprintf(path + len, formatted_name);
-+ printf("path_sprintf (%p, %s.dat, %d)\n", path, name, version);
-+ sprintf(path, "%s%s.dat", getSaveGameDir(), name);
- } else {
-- sprintf(path + len, formatted_name, version);
-+ printf("path_sprintf (%p, %s%d.dat, %d)\n", path, name, version, version);
-+ sprintf(path, "%s%s%d.dat", getSaveGameDir(), name, version);
- }
-
- }
-@@ -30,14 +23,14 @@ deleteSavedGame()
- {
- char path[PATH_SIZE];
- // version 2
-- path_sprintf(path, "save%d.dat", GAME_VERSION);
-+ path_sprintf(path, "save", GAME_VERSION);
- remove(path);
-- path_sprintf(path, "savedmap%d.dat", GAME_VERSION);
-+ path_sprintf(path, "savedmap", GAME_VERSION);
- remove(path);
- // version 1
-- path_sprintf(path, "save.dat", 1);
-+ path_sprintf(path, "save", 1);
- remove(path);
-- path_sprintf(path, "savedmap.dat", 1);
-+ path_sprintf(path, "savedmap", 1);
- remove(path);
- }
-
-@@ -51,7 +44,7 @@ saveGame()
-
- mkshuae();
-
-- path_sprintf(path, "save%d.dat", GAME_VERSION);
-+ path_sprintf(path, "save", GAME_VERSION);
-
- if(!(fp = fopen(path, "wb"))) {
- err = strerror(errno);
-@@ -79,7 +72,7 @@ saveGame()
- SDL_RWclose(rwop);
-
- // save the map
-- path_sprintf(path, "savedmap%d.dat", GAME_VERSION);
-+ path_sprintf(path, "savedmap", GAME_VERSION);
- saveMapPath(path);
- }
-
-@@ -96,7 +89,7 @@ loadGame()
- version = (int) GAME_VERSION;
-
- // load the map
-- path_sprintf(path, "savedmap%d.dat", GAME_VERSION);
-+ path_sprintf(path, "savedmap", GAME_VERSION);
- if(!loadMapPath(path, 0)) {
- // if can't find saved map load static map
- fprintf(stderr,
-@@ -112,9 +105,9 @@ loadGame()
- // try to find a saved game of any version
- while(version > 0) {
- if(version > 1) {
-- path_sprintf(path, "save%d.dat", version);
-+ path_sprintf(path, "save", version);
- } else { // By Pedro: version==1
-- path_sprintf(path, "save.dat", version);
-+ path_sprintf(path, "save", version);
- }
- fprintf(stderr, "Trying to load saved game: %s\n", path);
- fflush(stderr);
diff --git a/games-arcade/abe/files/abe-1.1-format.patch b/games-arcade/abe/files/abe-1.1-format.patch
deleted file mode 100644
index eed86f83483d..000000000000
--- a/games-arcade/abe/files/abe-1.1-format.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Fix an incorrect printf format specifier. Sent upstream 15 Mar 2011:
-https://sourceforge.net/p/abe/patches/2/
---- a/src/MapIO.c
-+++ b/src/MapIO.c
-@@ -93,7 +93,7 @@
- // compression step 1: read compressed data from disk
- // FIXME: what would be nicer is to only allocate as much mem as used on disk.
- size = LEVEL_COUNT * map.w * map.h;
-- printf("size %u\n", size);
-+ printf("size %zu\n", size);
- fflush(stdout);
- if(!(read_buff = (Uint16 *) malloc(sizeof(Uint16) * size))) {
- fprintf(stderr, "Out of memory on map read.");
diff --git a/games-arcade/abe/files/abe-1.1-no-x-check.patch b/games-arcade/abe/files/abe-1.1-no-x-check.patch
deleted file mode 100644
index a02eaa4b898c..000000000000
--- a/games-arcade/abe/files/abe-1.1-no-x-check.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-Remove check for X.
-
-The game uses only SDL library. There is no need to check for X.
-
-diff --git a/configure.in b/configure.in
-index 2270cb4..f0a93c6 100644
---- a/configure.in
-+++ b/configure.in
-@@ -98,17 +98,6 @@ if test "x$is_win32" = "xyes" ; then
- TR_LIBS="$TR_LIBS -luser32 -lgdi32"
- fi
-
--dnl --------------------------------------------------------------------------
--dnl Check for X
--dnl Note that we only need libs (so that glut links properly on all systems).
--dnl --------------------------------------------------------------------------
--if test "x$is_win32" = "xno" ; then
-- AC_PATH_XTRA
-- if test "x$no_x" = "x" ; then
-- TR_LIBS="$X_PRE_LIBS $X_LIBS -lX11 -lXi -lXext -lXmu -lXt $X_EXTRA_LIBS $TR_LIBS"
-- fi
--fi
--
- dnl --------------------------------------------------------------------------
- dnl Check for some common libraries
- dnl --------------------------------------------------------------------------
---
-2.41.0
-
diff --git a/games-arcade/abe/files/abe-1.1-settings.patch b/games-arcade/abe/files/abe-1.1-settings.patch
deleted file mode 100644
index c0471a03388a..000000000000
--- a/games-arcade/abe/files/abe-1.1-settings.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-From Fedora:
-Enable changing the video settings.Sent upstream 2 Apr 2006:
-https://sourceforge.net/p/abe/bugs/1/
---- a/src/Menu.c
-+++ b/src/Menu.c
-@@ -116,7 +116,7 @@
- if(n == SOUND_ENABLED || n == MUSIC_ENABLED)
- return sound_loaded;
- else
-- return 0;
-+ return 1;
- }
-
- void
diff --git a/games-arcade/abe/metadata.xml b/games-arcade/abe/metadata.xml
deleted file mode 100644
index 850b37f9125e..000000000000
--- a/games-arcade/abe/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>games@gentoo.org</email>
- <name>Gentoo Games Project</name>
- </maintainer>
- <upstream>
- <remote-id type="github">OSSGames/GAME-SDL-ADVENTURE-Abe-s_Amazing_Adventure</remote-id>
- <remote-id type="sourceforge">abe</remote-id>
- </upstream>
-</pkgmetadata>