diff options
Diffstat (limited to 'games-misc')
38 files changed, 543 insertions, 445 deletions
diff --git a/games-misc/doge/Manifest b/games-misc/doge/Manifest index deeae8acec13..e5649d9b1c8d 100644 --- a/games-misc/doge/Manifest +++ b/games-misc/doge/Manifest @@ -1 +1 @@ -DIST doge-3.7.0.tar.gz 23977 BLAKE2B fdec0fd339c639941e91e8f19452303f181e254183cf38f2f341c2d27b4056196150510e5ddf2516e1510cae300d2cc8c73cafc48b1943f525e7af56e8de7cd6 SHA512 c65a150c36ccd200774ede81c4ef7e7d60e700aa75eb9e0d30d459cad1b4343003e972794f0b9f817a17c4651be71dd8c0e87227a32c8ccd4dc895483df93303 +DIST doge-3.8.0.tar.gz 29262 BLAKE2B 3daf2efd4b49651b0c240e6d3e996830296c38951fced3b4bb68b9b7d159e53fe9a6de418157742429cda5a0b2a5ec7ad071c35473c40db296b549ca26df0dc9 SHA512 918c384f4256ccf1bb1c4b66f590ecc885d826676a7aba0f76b8b025cc8b3cf4150a5f75db4627b4c8fc2a14fc6dacd5631db8b06be7a7dba619252789d10fb8 diff --git a/games-misc/doge/doge-3.7.0.ebuild b/games-misc/doge/doge-3.8.0.ebuild index 4c9ec945f2ec..4c9ec945f2ec 100644 --- a/games-misc/doge/doge-3.7.0.ebuild +++ b/games-misc/doge/doge-3.8.0.ebuild diff --git a/games-misc/fortune-mod-at-linux/fortune-mod-at-linux-20030120.ebuild b/games-misc/fortune-mod-at-linux/fortune-mod-at-linux-20030120.ebuild index 4260a16f0b65..3331e33b95de 100644 --- a/games-misc/fortune-mod-at-linux/fortune-mod-at-linux-20030120.ebuild +++ b/games-misc/fortune-mod-at-linux/fortune-mod-at-linux-20030120.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -6,7 +6,7 @@ EAPI=7 MY_P="fortune-mod-at.linux-${PV}" DESCRIPTION="Quotes from at.linux" HOMEPAGE="https://fortune-mod-fvl.sourceforge.net/" -SRC_URI="mirror://sourceforge/fortune-mod-fvl/${MY_P}.tar.gz" +SRC_URI="https://downloads.sourceforge.net/fortune-mod-fvl/${MY_P}.tar.gz" S="${WORKDIR}"/${MY_P} LICENSE="GPL-2" diff --git a/games-misc/fortune-mod-fvl/fortune-mod-fvl-20030120.ebuild b/games-misc/fortune-mod-fvl/fortune-mod-fvl-20030120.ebuild index 6e6657d9c3e6..8a79766329d7 100644 --- a/games-misc/fortune-mod-fvl/fortune-mod-fvl-20030120.ebuild +++ b/games-misc/fortune-mod-fvl/fortune-mod-fvl-20030120.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 DESCRIPTION="Quotes from Felix von Leitner (fefe)" HOMEPAGE="https://fortune-mod-fvl.sourceforge.net/" -SRC_URI="mirror://sourceforge/fortune-mod-fvl/${P}.tar.gz" +SRC_URI="https://downloads.sourceforge.net/fortune-mod-fvl/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" diff --git a/games-misc/fortune-mod-mormon/fortune-mod-mormon-1.1.0.ebuild b/games-misc/fortune-mod-mormon/fortune-mod-mormon-1.1.0.ebuild index 8e7d84c99031..044075814ab6 100644 --- a/games-misc/fortune-mod-mormon/fortune-mod-mormon-1.1.0.ebuild +++ b/games-misc/fortune-mod-mormon/fortune-mod-mormon-1.1.0.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 DESCRIPTION="Fortune modules from the LDS scriptures (KJV Bible, Book of Mormon, D&C, PGP)" HOMEPAGE="https://scriptures.nephi.org/" -SRC_URI="mirror://sourceforge/mormon/${P}.tar.bz2" +SRC_URI="https://downloads.sourceforge.net/mormon/${P}.tar.bz2" LICENSE="public-domain" SLOT="0" diff --git a/games-misc/fortune-mod-mormon/metadata.xml b/games-misc/fortune-mod-mormon/metadata.xml index 6356e285931f..1c2fecf79390 100644 --- a/games-misc/fortune-mod-mormon/metadata.xml +++ b/games-misc/fortune-mod-mormon/metadata.xml @@ -5,10 +5,6 @@ <email>games@gentoo.org</email> <name>Gentoo Games Project</name> </maintainer> - <maintainer type="person"> - <email>marecki@gentoo.org</email> - <name>Marek Szuba</name> - </maintainer> <stabilize-allarches/> <upstream> <remote-id type="sourceforge">mormon</remote-id> diff --git a/games-misc/fortune-mod-norbert-tretkowski/fortune-mod-norbert-tretkowski-20030120.ebuild b/games-misc/fortune-mod-norbert-tretkowski/fortune-mod-norbert-tretkowski-20030120.ebuild index 3608f6919932..3e4c4d08973e 100644 --- a/games-misc/fortune-mod-norbert-tretkowski/fortune-mod-norbert-tretkowski-20030120.ebuild +++ b/games-misc/fortune-mod-norbert-tretkowski/fortune-mod-norbert-tretkowski-20030120.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -6,7 +6,7 @@ EAPI=7 MY_P=fortune-mod-norbert.tretkowski-${PV} DESCRIPTION="Quotes from Norbert Tretkowski" HOMEPAGE="https://fortune-mod-fvl.sourceforge.net/" -SRC_URI="mirror://sourceforge/fortune-mod-fvl/${MY_P}.tar.gz" +SRC_URI="https://downloads.sourceforge.net/fortune-mod-fvl/${MY_P}.tar.gz" S="${WORKDIR}"/${MY_P} LICENSE="GPL-2" diff --git a/games-misc/fortune-mod-rss/fortune-mod-rss-20030120.ebuild b/games-misc/fortune-mod-rss/fortune-mod-rss-20030120.ebuild index c4422d0c0d31..4c1662299bf1 100644 --- a/games-misc/fortune-mod-rss/fortune-mod-rss-20030120.ebuild +++ b/games-misc/fortune-mod-rss/fortune-mod-rss-20030120.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 DESCRIPTION="Fortune database of Robin S. Socha quotes" HOMEPAGE="https://fortune-mod-fvl.sourceforge.net/" -SRC_URI="mirror://sourceforge/fortune-mod-fvl/${P}.tar.gz" +SRC_URI="https://downloads.sourceforge.net/fortune-mod-fvl/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" diff --git a/games-misc/fortune-mod-scriptures/fortune-mod-scriptures-1.1.0.ebuild b/games-misc/fortune-mod-scriptures/fortune-mod-scriptures-1.1.0.ebuild index 1f3fe075e81b..79604a8947a8 100644 --- a/games-misc/fortune-mod-scriptures/fortune-mod-scriptures-1.1.0.ebuild +++ b/games-misc/fortune-mod-scriptures/fortune-mod-scriptures-1.1.0.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 DESCRIPTION="Fortune modules from the King James Bible scriptures" HOMEPAGE="https://scriptures.nephi.org/" -SRC_URI="mirror://sourceforge/mormon/${P}.tar.bz2" +SRC_URI="https://downloads.sourceforge.net/mormon/${P}.tar.bz2" LICENSE="public-domain" SLOT="0" diff --git a/games-misc/fortune-mod-scriptures/metadata.xml b/games-misc/fortune-mod-scriptures/metadata.xml index 6356e285931f..1c2fecf79390 100644 --- a/games-misc/fortune-mod-scriptures/metadata.xml +++ b/games-misc/fortune-mod-scriptures/metadata.xml @@ -5,10 +5,6 @@ <email>games@gentoo.org</email> <name>Gentoo Games Project</name> </maintainer> - <maintainer type="person"> - <email>marecki@gentoo.org</email> - <name>Marek Szuba</name> - </maintainer> <stabilize-allarches/> <upstream> <remote-id type="sourceforge">mormon</remote-id> diff --git a/games-misc/fortune-mod-thomas-ogrisegg/fortune-mod-thomas-ogrisegg-20030120.ebuild b/games-misc/fortune-mod-thomas-ogrisegg/fortune-mod-thomas-ogrisegg-20030120.ebuild index f261843629e4..2293c4e52265 100644 --- a/games-misc/fortune-mod-thomas-ogrisegg/fortune-mod-thomas-ogrisegg-20030120.ebuild +++ b/games-misc/fortune-mod-thomas-ogrisegg/fortune-mod-thomas-ogrisegg-20030120.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -6,7 +6,7 @@ EAPI=7 MY_P=fortune-mod-thomas.ogrisegg-${PV} DESCRIPTION="Quotes from Thomas Ogrisegg" HOMEPAGE="https://fortune-mod-fvl.sourceforge.net/" -SRC_URI="mirror://sourceforge/fortune-mod-fvl/${MY_P}.tar.gz" +SRC_URI="https://downloads.sourceforge.net/fortune-mod-fvl/${MY_P}.tar.gz" S="${WORKDIR}"/${MY_P} LICENSE="GPL-2" diff --git a/games-misc/fortune-mod/Manifest b/games-misc/fortune-mod/Manifest index 26426f3ffff0..d25adab602e2 100644 --- a/games-misc/fortune-mod/Manifest +++ b/games-misc/fortune-mod/Manifest @@ -1,5 +1,2 @@ -DIST fortune-mod-1.99.1.tar.gz 1812089 BLAKE2B a5df4a5a518021073ee95ac7e110ac75b961feb1b4dfcc3a40165ea98859f93e6d002ee4906d3f03a40762503ae475b61399a2bd4144609fa4d9815a1a85fa84 SHA512 4c06ea37532dd59f0251d7c49538bee703852c60a3247aba7c516f4f0d4b8ab15b9d7495d004a6423acd74c4dd7532e3dbe1679d6904ab373b617a3386205cde -DIST fortune-mod-3.12.0.tar.xz 1427848 BLAKE2B 3a3b0c28a0f7c297294b1788c57e01eb78d5083578aba877b896f41b854d2c34f65c9b46a1efe8bfef669f7ced6bb5e8ba667e3df1391a3cd3e5fed22e9058b6 SHA512 3a25d276219bb4f8a3015cd24b43462844d3be481815b587a365acd31dde31afee110dc5a658dd4df43bc6ba7d19e85afeffb215bd8c8f34640d658edb335089 -DIST fortune-mod-3.14.1.tar.xz 1428956 BLAKE2B a62d4056cdceef14f1d63dbc8b98bbd88098c64d0020b949ecc8e6006f1a4b1369211ac8b87a33db60b238cd7e6d3d6f3c4d2e59933a6cf0bd3fa54c439c4330 SHA512 0de0ec033ffc35a7a9ec1a549e6dac425757ec5fcc718c772f0a4e548d23c46451af4a90b0ac548f2ab60d68856ca0fa5e8f10930efe6b199e96b2cc1c568810 -DIST fortune-mod-3.16.0.tar.xz 1460580 BLAKE2B f9618d8669442f76843955fa446f565945467cc6a69e7b70131df21ca622e18c0f1c1ab83c32d5e478fd5c5abdb59ed5e009449fcdbc1fd1a2ede6c3d1ecef18 SHA512 ccd81f2c804f785f29e03680c7fb4f3cad7919aa1e265984fc2d6e7316d73d354e3cce285c28ea28662d99ef09aaf6baa5c64cadd0610f8d6a364ccfb9323848 DIST fortune-mod-3.18.0.tar.xz 1470208 BLAKE2B b975d75aea745f06f26753038416b1cc50b462a11a5cbe71a9aadc44b31f9120ac3e37ed160c9d7f90e379e5ea4c51dc39921362d24811547364e37d64c3faf9 SHA512 b8d16bf5032c1a0fcb161c912109abd24f3b762f3455eaf86d41ed3f16a33db4913d9a21bb6a42f974a3b11cfaedac57cabc4456d178a3d631d8d4a723789798 +DIST fortune-mod-3.22.0.tar.xz 1473952 BLAKE2B 9edddea4c059314a22351bf088035284cf74983c714165bf52e50f1de00a300f3d04dc4e510ca8b4f3d78c89a4523e7b413a40ca4d6924c0fe94d3f11319c1d4 SHA512 54726bad10a986b71a98de6eaed2ec56bbd28aeb245eea04254f2aa84fa4658d3bac148a0d1f3b8f44ed539b3a4d40379fc9d6438a1dba419a5c05a3180e3537 diff --git a/games-misc/fortune-mod/files/01_all_fortune_all-fix.patch b/games-misc/fortune-mod/files/01_all_fortune_all-fix.patch deleted file mode 100644 index 48807293bf1a..000000000000 --- a/games-misc/fortune-mod/files/01_all_fortune_all-fix.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- a/fortune/fortune.c -+++ b/fortune/fortune.c -@@ -974,7 +974,7 @@ - if (!ret) - ret=add_file(percent, fullpathname, NULL, &File_list, - &File_tail, NULL); -- if ( (!ret && fullpathname != locpathname) || strcmp(sp, "all") == 0 ) -+ if (!ret && strncmp(fullpathname, locpathname, sizeof(fullpathname))) - ret=add_file(percent, locpathname, NULL, &File_list, - &File_tail, NULL); - -@@ -985,7 +985,8 @@ - } - if (!ret) - return FALSE; -- -+ if (strncmp(fullpathname, locpathname, sizeof(fullpathname)) && strcmp(sp, "all") == 0) -+ add_file(percent, locpathname, NULL, &File_list, &File_tail, NULL); - } - else - if (!add_file(percent, fullpathname, NULL, &File_list, diff --git a/games-misc/fortune-mod/files/fortune-mod-1.99.1-gentoo.patch b/games-misc/fortune-mod/files/fortune-mod-1.99.1-gentoo.patch deleted file mode 100644 index 97f04259ba92..000000000000 --- a/games-misc/fortune-mod/files/fortune-mod-1.99.1-gentoo.patch +++ /dev/null @@ -1,99 +0,0 @@ ---- a/datfiles/Makefile -+++ b/datfiles/Makefile -@@ -58,7 +58,7 @@ - if [ $(WEB) = 1 ] ; then cd html && $(MAKE) install ; fi - for i in $(COOKIES) ; do \ - install -m 0644 $$i $$i.dat $(COOKIEDIR) || exit $? ; \ -- cp -d $$i.u8 $(COOKIEDIR) ; \ -+ cp -P $$i.u8 $(COOKIEDIR) ; \ - done - - clean: ---- a/datfiles/off/Makefile -+++ b/datfiles/off/Makefile -@@ -38,7 +38,7 @@ - install -m 0755 -d $(OCOOKIEDIR) - for i in $(OCOOKIES) ; \ - do install -m 0644 $$i $$i.dat $(OCOOKIEDIR) || exit $$? ; \ -- cp -d $$i.u8 $(OCOOKIEDIR) ; \ -+ cp -P $$i.u8 $(OCOOKIEDIR) ; \ - done - - clean: ---- a/Makefile -+++ b/Makefile -@@ -65,8 +65,7 @@ - RECODELIBS=-lrecode - - DEFINES=-DFORTDIR="\"$(COOKIEDIR)\"" -DOFFDIR="\"$(OCOOKIEDIR)\"" -DLOCFORTDIR="\"$(LOCALDIR)\"" -DLOCOFFDIR="\"$(LOCALODIR)\"" --CFLAGS=-O2 $(DEFINES) -Wall -fomit-frame-pointer -pipe -fsigned-char --LDFLAGS=-s -+CFLAGS += $(DEFINES) -fsigned-char - - # The above flags are used by default; the debug flags are used when make - # is called with a debug target, such as 'make debug' ---- a/fortune/fortune.c -+++ b/fortune/fortune.c -@@ -97,7 +97,7 @@ - #endif /* killing warnings */ - - #define PROGRAM_NAME "fortune-mod" --#define PROGRAM_VERSION "9708" -+#define PROGRAM_VERSION "1.99.1" - - #ifdef HAVE_STDBOOL_H - #include <stdbool.h> -@@ -256,6 +256,7 @@ - - int add_dir(register FILEDESC *); - -+const char *program_name; - char *program_version(void) - { - static char buf[BUFSIZ]; -@@ -1675,14 +1675,17 @@ - char *ctype, *crequest; - getargs(ac, av); - -+ program_name = (char *const) av[0]; - outer = recode_new_outer(true); - request = recode_new_request (outer); - - setlocale(LC_ALL,""); - ctype = nl_langinfo(CODESET); -- if(strcmp(ctype,"ANSI_X3.4-1968") == 0) -- ctype="ISO-8859-1"; -- -+ if (!ctype || !*ctype) -+ ctype="C"; /* revert to C if no valid envvars! */ -+ else -+ if(strcmp(ctype,"ANSI_X3.4-1968") == 0) -+ ctype="ISO-8859-1"; - crequest = malloc(strlen(ctype) + 7 + 1); - sprintf(crequest, "UTF-8..%s", ctype); - recode_scan_request (request, crequest); ---- a/util/rot.c -+++ b/util/rot.c -@@ -5,10 +5,11 @@ - - #include <stdio.h> - #include <ctype.h> -+#include <stdlib.h> - - int main(void) - { -- char a, b; -+ short int a, b; - - while ((a = getchar()) != EOF) - { ---- a/util/unstr.c -+++ b/util/unstr.c -@@ -96,6 +96,7 @@ - #include <string.h> - #include <unistd.h> - -+#include <stdlib.h> - #ifndef MAXPATHLEN - #define MAXPATHLEN 1024 - #endif /* MAXPATHLEN */ diff --git a/games-misc/fortune-mod/files/fortune-mod-3.14.1-fix-localdir-mixup.patch b/games-misc/fortune-mod/files/fortune-mod-3.14.1-fix-localdir-mixup.patch deleted file mode 100644 index a28c8081392c..000000000000 --- a/games-misc/fortune-mod/files/fortune-mod-3.14.1-fix-localdir-mixup.patch +++ /dev/null @@ -1,30 +0,0 @@ -https://github.com/shlomif/fortune-mod/pull/69 - -The intention of LOCALDIR seems to be to allow local cookies to be -provided by the sysadmin in e.g. /usr/local/share/fortune, -but if set, before this patch, even cookies distributed -by upstream were stored there (and nothing in COOKIEDIR, e.g. -/usr/share/fortune - https://bugs.gentoo.org/865809). - -Originally, we were setting LOCALDIR=COOKIEDIR=/usr/share/fortune to -workaround the issue, but see https://bugs.gentoo.org/857246. ---- a/datfiles/CMakeLists.txt -+++ b/datfiles/CMakeLists.txt -@@ -68,7 +68,7 @@ ADD_CUSTOM_TARGET( - ) - INSTALL( - FILES ${_install_unrot_cookies} -- DESTINATION "${LOCALDIR}" -+ DESTINATION "${COOKIEDIR}" - ) - - IF (NOT NO_OFFENSIVE) ---- a/datfiles/off/CMakeLists.txt -+++ b/datfiles/off/CMakeLists.txt -@@ -54,5 +54,5 @@ ADD_CUSTOM_TARGET( - ) - INSTALL( - FILES ${_install_rotated_cookies} -- DESTINATION "${LOCALODIR}" -+ DESTINATION "${OCOOKIEDIR}" - ) diff --git a/games-misc/fortune-mod/fortune-mod-1.99.1-r3.ebuild b/games-misc/fortune-mod/fortune-mod-1.99.1-r3.ebuild deleted file mode 100644 index 52c430fbdeae..000000000000 --- a/games-misc/fortune-mod/fortune-mod-1.99.1-r3.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit toolchain-funcs - -DESCRIPTION="The notorious fortune program" -HOMEPAGE="https://www.shlomifish.org/open-source/projects/fortune-mod/" -SRC_URI="http://www.redellipse.net/code/downloads/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~m68k ~mips ppc64 ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" -IUSE="offensive" - -DEPEND="app-text/recode:0=" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}"/${P}-gentoo.patch - "${FILESDIR}"/01_all_fortune_all-fix.patch -) - -src_prepare() { - default - - sed -i \ - -e 's:/games::' \ - -e 's:/fortunes:/fortune:' \ - -e '/^FORTDIR=/s:=.*:=$(prefix)/usr/bin:' \ - -e '/^all:/s:$: fortune/fortune.man:' \ - -e "/^OFFENSIVE=/s:=.*:=`use offensive && echo 1 || echo 0`:" \ - Makefile || die "sed Makefile failed" - - if ! use elibc_glibc ; then - [[ ${CHOST} == *-darwin* ]] && local reglibs="-lc" - has_version "app-text/recode[nls]" && reglibs="${reglibs} -lintl" - sed -i \ - -e "/^REGEXLIBS=/s:=.*:= ${reglibs}:" \ - Makefile \ - || die "sed REGEXLIBS failed" - fi - - if [[ ${CHOST} == *-solaris* ]] ; then - sed -i -e 's:u_int:uint:g' util/strfile.h || die "sed strfile.h failed" - fi - - if [[ ${CHOST} == *-darwin* ]] ; then - sed -i -e 's/-DBSD_REGEX/-DPOSIX_REGEX/' Makefile || die "sed Makefile failed" - fi -} - -src_compile() { - local myrex= - emake prefix="${EPREFIX}" CC="$(tc-getCC)" ${myrex} -} - -src_install() { - emake prefix="${ED}" install - dodoc ChangeLog INDEX Notes Offensive README TODO cookie-files -} diff --git a/games-misc/fortune-mod/fortune-mod-3.12.0.ebuild b/games-misc/fortune-mod/fortune-mod-3.12.0.ebuild deleted file mode 100644 index 18fb1fad3268..000000000000 --- a/games-misc/fortune-mod/fortune-mod-3.12.0.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="The notorious fortune program" -HOMEPAGE="https://www.shlomifish.org/open-source/projects/fortune-mod/" -SRC_URI="https://github.com/shlomif/fortune-mod/releases/download/${P}/${P}.tar.xz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~m68k ~mips ppc64 ~riscv ~sparc x86" -IUSE="offensive" - -DEPEND="app-text/recode:= - !games-misc/fortune-mod-tao" -RDEPEND="${DEPEND}" -BDEPEND="app-text/App-XML-DocBook-Builder" - -# TODO: Get tests running? - -src_configure() { - local mycmakeargs=( - -DNO_OFFENSIVE=$(usex !offensive) - -DLOCALDIR="/usr/share/fortune" - -DCOOKIEDIR="/usr/share/fortune" - ) - - cmake_src_configure -} - -src_install() { - cmake_src_install - - mkdir -p "${ED}"/usr/bin || die - mv "${ED}"/usr/games/fortune "${ED}"/usr/bin/fortune || die - rm -rf "${ED}"/usr/games || die - - dodoc ChangeLog INDEX Notes Offensive README TODO cookie-files -} diff --git a/games-misc/fortune-mod/fortune-mod-3.16.0-r1.ebuild b/games-misc/fortune-mod/fortune-mod-3.16.0-r1.ebuild deleted file mode 100644 index be3cb6a7cc57..000000000000 --- a/games-misc/fortune-mod/fortune-mod-3.16.0-r1.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="The notorious fortune program" -HOMEPAGE="https://www.shlomifish.org/open-source/projects/fortune-mod/" -SRC_URI="https://www.shlomifish.org/open-source/projects/${PN}/arcs/${P}.tar.xz - https://github.com/shlomif/fortune-mod/releases/download/${P}/${P}.tar.xz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc64 ~riscv ~x86" -IUSE="offensive test" -RESTRICT="!test? ( test )" - -RDEPEND=" - app-text/recode:= - dev-libs/rinutils - !games-misc/fortune-mod-tao -" -DEPEND="${RDEPEND}" -BDEPEND=" - app-text/App-XML-DocBook-Builder - dev-lang/perl - test? ( - dev-perl/File-Find-Object - dev-perl/IO-All - dev-perl/Test-Differences - dev-perl/Test-Trap - ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-3.14.0-valgrind-tests.patch -) - -src_configure() { - local mycmakeargs=( - -DNO_OFFENSIVE=$(usex !offensive) - # bug #857246 - -DLOCALDIR="/usr/local/share/fortune" - -DCOOKIEDIR="/usr/share/fortune" - ) - - cmake_src_configure -} - -src_test() { - cmake_src_compile check -} - -src_install() { - cmake_src_install - - # We don't want to create the dir if it doesn't exist - rm -rf "${ED}"//usr/local || die - - mkdir -p "${ED}"/usr/bin || die - mv "${ED}"/usr/games/fortune "${ED}"/usr/bin/fortune || die - rm -rf "${ED}"/usr/games || die - - dodoc ChangeLog INDEX Notes Offensive README TODO cookie-files -} diff --git a/games-misc/fortune-mod/fortune-mod-3.14.1-r1.ebuild b/games-misc/fortune-mod/fortune-mod-3.22.0.ebuild index 3f2a4dd29cac..3d029dc31bf1 100644 --- a/games-misc/fortune-mod/fortune-mod-3.14.1-r1.ebuild +++ b/games-misc/fortune-mod/fortune-mod-3.22.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -7,18 +7,22 @@ inherit cmake DESCRIPTION="The notorious fortune program" HOMEPAGE="https://www.shlomifish.org/open-source/projects/fortune-mod/" -SRC_URI="https://www.shlomifish.org/open-source/projects/${PN}/arcs/${P}.tar.xz - https://github.com/shlomif/fortune-mod/releases/download/${P}/${P}.tar.xz" +SRC_URI=" + https://www.shlomifish.org/open-source/projects/${PN}/arcs/${P}.tar.xz + https://github.com/shlomif/fortune-mod/releases/download/${P}/${P}.tar.xz +" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc64 ~riscv ~sparc ~x86" -IUSE="offensive test" +IUSE="offensive pcre test" RESTRICT="!test? ( test )" RDEPEND=" - app-text/recode:= !games-misc/fortune-mod-tao + app-text/recode:= + >=dev-libs/rinutils-0.10.2 + pcre? ( dev-libs/libpcre2 ) " DEPEND="${RDEPEND}" BDEPEND=" @@ -34,11 +38,11 @@ BDEPEND=" PATCHES=( "${FILESDIR}"/${PN}-3.14.0-valgrind-tests.patch - "${FILESDIR}"/${PN}-3.14.1-fix-localdir-mixup.patch ) src_configure() { local mycmakeargs=( + -DUSE_PCRE=$(usex pcre) -DNO_OFFENSIVE=$(usex !offensive) # bug #857246 -DLOCALDIR="/usr/local/share/fortune" diff --git a/games-misc/lolcat/lolcat-100.0.1-r2.ebuild b/games-misc/lolcat/lolcat-100.0.1-r2.ebuild deleted file mode 100644 index d46905df5925..000000000000 --- a/games-misc/lolcat/lolcat-100.0.1-r2.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -USE_RUBY="ruby30 ruby31 ruby32" - -RUBY_FAKEGEM_TASK_TEST="" -RUBY_FAKEGEM_EXTRADOC="README.md" -RUBY_FAKEGEM_GEMSPEC="lolcat.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="Rainbows and unicorns!" -HOMEPAGE="https://github.com/busyloop/lolcat" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -ruby_add_rdepend " - dev-ruby/optimist:3 - >=dev-ruby/paint-2.1:0" - -all_ruby_prepare() { - sed -e '/manpages/ s:^:#:' \ - -e 's/git ls-files --/echo/' \ - -e 's/git ls-files/find/' \ - -i ${RUBY_FAKEGEM_GEMSPEC} || die -} - -all_ruby_install() { - doman man/lolcat.6 - ruby_fakegem_binwrapper lolcat -} diff --git a/games-misc/lolcat/lolcat-100.0.1-r3.ebuild b/games-misc/lolcat/lolcat-100.0.1-r3.ebuild index dd460e83932a..5bad1e37e833 100644 --- a/games-misc/lolcat/lolcat-100.0.1-r3.ebuild +++ b/games-misc/lolcat/lolcat-100.0.1-r3.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -USE_RUBY="ruby31 ruby32" +USE_RUBY="ruby31 ruby32 ruby33" RUBY_FAKEGEM_TASK_TEST="" RUBY_FAKEGEM_EXTRADOC="README.md" diff --git a/games-misc/opengfx/opengfx-7.1.ebuild b/games-misc/opengfx/opengfx-7.1.ebuild index 2339cf531224..46401d798deb 100644 --- a/games-misc/opengfx/opengfx-7.1.ebuild +++ b/games-misc/opengfx/opengfx-7.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{9..12} ) inherit python-any-r1 diff --git a/games-misc/openmsx/openmsx-0.4.2.ebuild b/games-misc/openmsx/openmsx-0.4.2.ebuild index 92166a263ff6..73b06e364295 100644 --- a/games-misc/openmsx/openmsx-0.4.2.ebuild +++ b/games-misc/openmsx/openmsx-0.4.2.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{9..12} ) inherit python-any-r1 diff --git a/games-misc/ponysay/files/ponysay-3.0.3-pr313.patch b/games-misc/ponysay/files/ponysay-3.0.3-pr313.patch new file mode 100644 index 000000000000..b2f8d2b9b426 --- /dev/null +++ b/games-misc/ponysay/files/ponysay-3.0.3-pr313.patch @@ -0,0 +1,355 @@ +From 1d898ec29946725d53a47515d413d845d192b51e Mon Sep 17 00:00:00 2001 +From: Tonyl <git@tonyl.eu> +Date: Fri, 10 Nov 2023 19:21:43 +0100 +Subject: [PATCH 1/3] escape backslashes + +--- + src/balloon.py | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/balloon.py b/src/balloon.py +index 0f1909e4..3fa10ef2 100644 +--- a/src/balloon.py ++++ b/src/balloon.py +@@ -43,9 +43,9 @@ def __init__(self, link, linkmirror, linkcross, ww, ee, nw, nnw, n, nne, ne, nee + ''' + Constructor + +- @param link:str The \-directional balloon line character ++ @param link:str The \\-directional balloon line character + @param linkmirror:str The /-directional balloon line character +- @param linkcross:str The /-directional balloon crossing a \-directional ballonon line character ++ @param linkcross:str The /-directional balloon crossing a \\-directional ballonon line character + @param ww:str See the info manual + @param ee:str See the info manual + @param nw:list<str> See the info manual + +From 8bf2602d281b5d6b20eb60e84f8b42e35beec8d6 Mon Sep 17 00:00:00 2001 +From: Tonyl <git@tonyl.eu> +Date: Fri, 10 Nov 2023 20:40:46 +0100 +Subject: [PATCH 2/3] fix default ANSI code + +--- + setup.py | 26 +++++++++++++------------- + src/__main__.py | 2 +- + src/argparser.py | 8 ++++---- + src/backend.py | 4 ++-- + src/lists.py | 12 ++++++------ + src/ponysaytool.py | 14 +++++++------- + 6 files changed, 33 insertions(+), 33 deletions(-) + +diff --git a/setup.py b/setup.py +index 5728a23f..9b9f3e28 100755 +--- a/setup.py ++++ b/setup.py +@@ -48,7 +48,7 @@ + + class Setup(): + def __init__(self): +- usage_script = '\033[34;1msetup.py\033[21;39m' ++ usage_script = '\033[34;1msetup.py\033[0;39m' + usage_help = '(--version | --help)' + usage_proc = '[\033[4mconfigurations\033[24m] ([build] | prebuilt | install | (uninstall|clean)[-old] | view)' + +@@ -358,9 +358,9 @@ def viewconf(self, conf): + print('Using system configuration directory: ' + conf['sysconf-dir']) + print('Prefered linking style: ' + self.linking) + print('Using umask: 022 (only owner can do modifications)') +- if self.free is None: print(YELLOW % ('\033[01m--freedom is manditory and has not be specified\033[21m')) ++ if self.free is None: print(YELLOW % ('\033[01m--freedom is manditory and has not be specified\033[0m')) + elif self.free: print(GREEN % ('', 'Installing only fully free parts of the package')) +- else: print(RED % ('Installing \033[1mnot\033[21m only fully free parts of the package')) ++ else: print(RED % ('Installing \033[1mnot\033[0m only fully free parts of the package')) + + print() + +@@ -369,7 +369,7 @@ def build(self, conf): + Compile ponysay + ''' + +- print('\033[1;34m::\033[39mCompiling...\033[21m') ++ print('\033[1;34m::\033[39mCompiling...\033[0m') + + def compressCommand(ext): + if ext == 'gz': return 'gzip -9 -f' +@@ -575,7 +575,7 @@ def install(self, conf): + Install compiled ponysay + ''' + +- print('\033[1;34m::\033[39mInstalling...\033[21m') ++ print('\033[1;34m::\033[39mInstalling...\033[0m') + + dests = [] + for command in commands: +@@ -665,7 +665,7 @@ def uninstall(self, conf): + Uninstall ponysay + ''' + +- print('\033[1;34m::\033[39mUninstalling...\033[21m') ++ print('\033[1;34m::\033[39mUninstalling...\033[0m') + + (files, dirs, infos) = ([], [], []) + +@@ -723,7 +723,7 @@ def uninstallOld(self, conf): + Uninstall file ponysay no longer uses + ''' + +- print('\033[1;34m::\033[39mUninstalling old files...\033[21m') ++ print('\033[1;34m::\033[39mUninstalling old files...\033[0m') + + instdir = conf['~prefix~'] + '/usr' + files = [instdir + f for f in ['bin/ponysaylist.pl', 'bin/ponysaytruncater', 'bin/ponysay.py', 'bin/ponythink.py']] +@@ -744,7 +744,7 @@ def clean(self): + Remove compiled files + ''' + +- print('\033[1;34m::\033[39mCleaning...\033[21m') ++ print('\033[1;34m::\033[39mCleaning...\033[0m') + + files = ['ponysay.info', 'ponysay.info.gz', 'ponysay.info.xz', 'ponysay.pdf.gz', 'ponysay.pdf.xz', 'ponysay.install', 'ponysay.zip'] + files += ['src/%s.install' % file for file in ponysaysrc] +@@ -771,7 +771,7 @@ def cleanOld(self): + Remove compiled files ponysay is no longer compiling + ''' + +- print('\033[1;34m::\033[39mCleaning old files...\033[21m') ++ print('\033[1;34m::\033[39mCleaning old files...\033[0m') + + files = ['truncater', 'ponysaytruncater', 'ponysay.py.install', 'ponysay.install~', 'ponysay.zip'] + dirs = [] +@@ -1199,7 +1199,7 @@ def usage(self): + if self.__longdescription is not None: + print(self.__longdescription) + print() +- print('\n\033[1mUSAGE:\033[21m', end='') ++ print('\n\033[1mUSAGE:\033[0m', end='') + first = True + for line in self.__usage.split('\n'): + if first: first = False +@@ -1214,11 +1214,11 @@ def help(self): + ''' + + # The usage should be terse so this header is only included in the help command. +- print('\033[1m{}\033[21m - {}\n'.format(self.__program, self.__description)) ++ print('\033[1m{}\033[0m - {}\n'.format(self.__program, self.__description)) + + self.usage() + +- print('\033[1mCONFIGURATIONS:\033[21m\n') ++ print('\033[1mCONFIGURATIONS:\033[0m\n') + for opt in self.__arguments: + (opt_type, opt_alts, opt_arg, opt_help) = opt[0:4] + if opt_help is not None: +@@ -1229,7 +1229,7 @@ def help(self): + print('\t\033[2m' + opt_alt + '\033[22m') + first = True + for line in opt_help.split('\n'): +- print(('\t\t\033[32;1m%s\033[21;39m' if first else '\t\t%s') % (line)) ++ print(('\t\t\033[32;1m%s\033[0;39m' if first else '\t\t%s') % (line)) + first = False + print() + print() +diff --git a/src/__main__.py b/src/__main__.py +index 3b084e93..6aa5e793 100644 +--- a/src/__main__.py ++++ b/src/__main__.py +@@ -66,7 +66,7 @@ + isthink = isthink[:isthink.find(os.extsep)] + isthink = isthink.endswith('think') + +- usage_saythink = '\033[34;1m(ponysay | ponythink)\033[21;39m' ++ usage_saythink = '\033[34;1m(ponysay | ponythink)\033[0;39m' + usage_common = '[-c] [-W\033[33mCOLUMN\033[39m] [-b\033[33mSTYLE\033[39m]' + usage_listhelp = '(-l | -L | -B | +l | +L | -A | + A | -v | -h)' + usage_file = '[-f\033[33mPONY\033[39m]* [[--] \033[33mmessage\033[39m]' +diff --git a/src/argparser.py b/src/argparser.py +index 7b13b3cc..6898c710 100644 +--- a/src/argparser.py ++++ b/src/argparser.py +@@ -254,7 +254,7 @@ def help(self, use_colours = None): + if use_colours is None: + use_colours = sys.stdout.isatty() + +- print(('\033[1m%s\033[21m %s %s' if use_colours else '%s %s %s') % (self.__program, '-' if self.linuxvt else '—', self.__description)) ++ print(('\033[1m%s\033[0m %s %s' if use_colours else '%s %s %s') % (self.__program, '-' if self.linuxvt else '—', self.__description)) + print() + if self.__longdescription is not None: + desc = self.__longdescription +@@ -265,7 +265,7 @@ def help(self, use_colours = None): + print(desc) + print() + +- print('\033[1mUSAGE:\033[21m' if use_colours else 'USAGE:', end='') ++ print('\033[1mUSAGE:\033[0m' if use_colours else 'USAGE:', end='') + first = True + for line in self.__usage.split('\n'): + if first: +@@ -291,7 +291,7 @@ def help(self, use_colours = None): + maxfirstlen.append(first) + maxfirstlen = len(max(maxfirstlen, key = len)) + +- print('\033[1mSYNOPSIS:\033[21m' if use_colours else 'SYNOPSIS') ++ print('\033[1mSYNOPSIS:\033[0m' if use_colours else 'SYNOPSIS') + (lines, lens) = ([], []) + for opt in self.__arguments: + opt_type = opt[0] +@@ -337,7 +337,7 @@ def help(self, use_colours = None): + for line in opt_help.split('\n'): + if first: + first = False +- print('%s' % (line), end='\033[21;39m\n' if use_colours else '\n') ++ print('%s' % (line), end='\033[0;39m\n' if use_colours else '\n') + else: + print(('%s\033[%sm%s\033[39m' if use_colours else '%s%s%s') % (' ' * col, colour, line)) + index += 1 +diff --git a/src/backend.py b/src/backend.py +index 82ff1496..4111f822 100644 +--- a/src/backend.py ++++ b/src/backend.py +@@ -118,7 +118,7 @@ def parse(self): + printinfo(info) + self.pony = self.pony[infoend:] + elif self.infolevel == 2: +- self.message = '\033[01;31mI am the mysterious mare...\033[21;39m' ++ self.message = '\033[01;31mI am the mysterious mare...\033[0;39m' + elif self.infolevel == 1: + self.pony = 'There is not metadata for this pony file' + self.pony = self.mode + self.pony +@@ -149,7 +149,7 @@ def formatInfo(info): + test = test.replace(c, '') + if (len(test) == 0) and (len(key.replace(' ', '')) > 0): + value = line[sep + 1:].strip() +- line = '\033[1m%s\033[21m: %s\n' % (key.strip(), value) ++ line = '\033[1m%s\033[0m: %s\n' % (key.strip(), value) + tags += line + continue + comment += '\n' + line +diff --git a/src/lists.py b/src/lists.py +index 6a8c4a71..dc0cb10e 100644 +--- a/src/lists.py ++++ b/src/lists.py +@@ -125,8 +125,8 @@ def simplelist(ponydirs, quoters = [], ucsiser = None): + ## If ther directory is not empty print its name and all ponies, columnised + if len(ponies) == 0: + continue +- print('\033[1mponies located in ' + ponydir + '\033[21m') +- _print_columnised([(pony, '\033[1m' + pony + '\033[21m' if pony in quoters else pony) for pony in ponies]) ++ print('\033[1mponies located in ' + ponydir + '\033[0m') ++ _print_columnised([(pony, '\033[1m' + pony + '\033[0m' if pony in quoters else pony) for pony in ponies]) + + + def linklist(ponydirs = None, quoters = [], ucsiser = None): +@@ -145,7 +145,7 @@ def linklist(ponydirs = None, quoters = [], ucsiser = None): + ## If there are no ponies in the directory skip to next directory, otherwise, print the directories name + if len(ponies) == 0: + continue +- print('\033[1mponies located in ' + ponydir + '\033[21m') ++ print('\033[1mponies located in ' + ponydir + '\033[0m') + + ## UCS:ise pony names + pseudolinkmap = {} +@@ -179,7 +179,7 @@ def linklist(ponydirs = None, quoters = [], ucsiser = None): + ponies = {} + for pony in ponymap: + w = UCS.dispLen(pony) +- item = '\033[1m' + pony + '\033[21m' if (pony in quoters) else pony ++ item = '\033[1m' + pony + '\033[0m' if (pony in quoters) else pony + syms = ponymap[pony] + syms.sort() + if len(syms) > 0: +@@ -190,9 +190,9 @@ def linklist(ponydirs = None, quoters = [], ucsiser = None): + w += UCS.dispLen(sym) + if first: first = False + else: item += ' ' +- item += '\033[1m' + sym + '\033[21m' if (sym in quoters) else sym ++ item += '\033[1m' + sym + '\033[0m' if (sym in quoters) else sym + item += ')' +- ponies[(item.replace('\033[1m', '').replace('\033[21m', ''), item)] = w ++ ponies[(item.replace('\033[1m', '').replace('\033[0m', ''), item)] = w + + ## Print the ponies, columnised + _print_columnised(list(ponies)) +diff --git a/src/ponysaytool.py b/src/ponysaytool.py +index 574a2baa..aef0c0c6 100755 +--- a/src/ponysaytool.py ++++ b/src/ponysaytool.py +@@ -275,7 +275,7 @@ def browse(self, ponydir, restriction): + ponies.sort() + + if len(ponies) == 0: +- print('\033[1;31m%s\033[21m;39m' % 'No ponies... press Enter to exit.') ++ print('\033[1;31m%s\033[0m;39m' % 'No ponies... press Enter to exit.') + input() + + panelw = Backend.len(max(ponies, key = Backend.len)) +@@ -338,7 +338,7 @@ def findcolumn(line, column): + elif px > 0: + ponyprint = [px * ' ' + line for line in ponyprint] + ponyprint = [(line if Backend.len(line) <= termw else line[:findcolumn(line, termw)]) for line in ponyprint] +- ponyprint = ['\033[21;39;49;0m%s\033[21;39;49;0m' % line for line in ponyprint] ++ ponyprint = ['\033[0;39;49;0m%s\033[0;39;49;0m' % line for line in ponyprint] + return '\n'.join(ponyprint) + + if quotes: +@@ -774,7 +774,7 @@ def isatty(self): + buf += c + colourstack.feed(c) + modprintpony = buf.replace(AUTO_PUSH, '').replace(AUTO_POP, '') + +- printpony = [('\033[21;39;49;0m%s%s\033[21;39;49;0m' % (' ' * (termsize[1] - ponywidth), line)) for line in modprintpony.split('\n')] ++ printpony = [('\033[0;39;49;0m%s%s\033[0;39;49;0m' % (' ' * (termsize[1] - ponywidth), line)) for line in modprintpony.split('\n')] + + + print(preprint, end='') +@@ -922,9 +922,9 @@ def alert(text): + else: + print('\033[%i;%iH\033[34m%s:\033[39m' % (self.top + oldy, self.left, leftlines[oldy]), end='') + if (y > 0) and (leftlines[y - 1] == leftlines[y]) and (leftlines[y] == leftlines[-1]): +- print('\033[%i;%iH\033[1;34m%s\033[21;39m' % (self.top + y, self.left, '>'), end='') ++ print('\033[%i;%iH\033[1;34m%s\033[0;39m' % (self.top + y, self.left, '>'), end='') + else: +- print('\033[%i;%iH\033[1;34m%s:\033[21;39m' % (self.top + y, self.left, leftlines[y]), end='') ++ print('\033[%i;%iH\033[1;34m%s:\033[0;39m' % (self.top + y, self.left, leftlines[y]), end='') + print('\033[%i;%iH' % (self.top + y, innerleft + x), end='') + (oldy, oldx, oldmark) = (y, x, mark) + if edited: +@@ -1080,7 +1080,7 @@ def alert(text): + leftline = leftlines[row] + ':' + if (leftlines[row - 1] == leftlines[row]) and (leftlines[row] == leftlines[-1]): + leftline = '>' +- print('\033[%i;%iH\033[%s34m%s\033[%s39m' % (self.top + row, self.left, '1;' if row == y else '', leftline, '21;' if row == y else ''), end='') ++ print('\033[%i;%iH\033[%s34m%s\033[%s39m' % (self.top + row, self.left, '1;' if row == y else '', leftline, '0;' if row == y else ''), end='') + for row in range(0, len(datalines)): + print('\033[%i;%iH%s\033[49m' % (self.top + row, innerleft, datalines[row]), end='') + print('\033[%i;%iH' % (self.top + y, innerleft + x), end='') +@@ -1206,7 +1206,7 @@ def alert(text): + ''' + + +-usage_program = '\033[34;1mponysay-tool\033[21;39m' ++usage_program = '\033[34;1mponysay-tool\033[0;39m' + + usage = '\n'.join(['%s %s' % (usage_program, '(--help | --version | --kms)'), + '%s %s' % (usage_program, '(--edit | --edit-rm) \033[33mPONY-FILE\033[39m'), + +From eaeb08cf7a619982c41e0dab679f77868e8478af Mon Sep 17 00:00:00 2001 +From: Tonyl <git@tonyl.eu> +Date: Fri, 10 Nov 2023 21:16:43 +0100 +Subject: [PATCH 3/3] fix bracket + +--- + ponies/raritysdad.pony | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/ponies/raritysdad.pony b/ponies/raritysdad.pony +index f683c54e..9dec8afe 100644 +--- a/ponies/raritysdad.pony ++++ b/ponies/raritysdad.pony +@@ -12,7 +12,7 @@ KIND: earth + LINK: regular + MANE: black + NAME: (not mentioned) +-OTHER NAMES: Magnum (official, in Gameloft game), Hondo Flanks (official. on Trading Card Game}, Carlton (unofficial) ++OTHER NAMES: Magnum (official, in Gameloft game), Hondo Flanks (official, on Trading Card Game), Carlton (unofficial) + POSE: stand + SOURCE: (Bot-chan) Desktop ponies + WIDTH: 41 diff --git a/games-misc/ponysay/ponysay-3.0.3.ebuild b/games-misc/ponysay/ponysay-3.0.3.ebuild index becb6fdc94a2..8c803cdffed7 100644 --- a/games-misc/ponysay/ponysay-3.0.3.ebuild +++ b/games-misc/ponysay/ponysay-3.0.3.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit bash-completion-r1 python-single-r1 DESCRIPTION="cowsay reimplemention for ponies" @@ -24,6 +24,7 @@ RDEPEND="${PYTHON_DEPS} PATCHES=( "${FILESDIR}/${PN}-3.0.3-python-syntax.patch" + "${FILESDIR}/${PN}-3.0.3-pr313.patch" ) setup_py() { diff --git a/games-misc/robotfindskitten/robotfindskitten-2.7182818.701-r1.ebuild b/games-misc/robotfindskitten/robotfindskitten-2.7182818.701-r1.ebuild index 66f4a379e6ed..88f208c8fd48 100644 --- a/games-misc/robotfindskitten/robotfindskitten-2.7182818.701-r1.ebuild +++ b/games-misc/robotfindskitten/robotfindskitten-2.7182818.701-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -7,7 +7,7 @@ inherit autotools DESCRIPTION="Help robot find kitten" HOMEPAGE="http://robotfindskitten.org/" -SRC_URI="mirror://sourceforge/rfk/${P}.tar.gz" +SRC_URI="https://downloads.sourceforge.net/rfk/${P}.tar.gz" LICENSE="GPL-2+" SLOT="0" diff --git a/games-misc/sdljoytest/sdljoytest-11102003.ebuild b/games-misc/sdljoytest/sdljoytest-11102003.ebuild index 077c81f958bb..c473f44c2884 100644 --- a/games-misc/sdljoytest/sdljoytest-11102003.ebuild +++ b/games-misc/sdljoytest/sdljoytest-11102003.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -7,7 +7,7 @@ inherit toolchain-funcs DESCRIPTION="SDL app to test joysticks and game controllers" HOMEPAGE="https://sdljoytest.sourceforge.net/" -SRC_URI="mirror://sourceforge/sdljoytest/SDLJoytest-GL-${PV}.tar.bz2" +SRC_URI="https://downloads.sourceforge.net/sdljoytest/SDLJoytest-GL-${PV}.tar.bz2" S="${WORKDIR}"/SDLJoytest-GL LICENSE="GPL-2" diff --git a/games-misc/sound-of-sorting/Manifest b/games-misc/sound-of-sorting/Manifest index 7912fc995d2e..ee807178ed77 100644 --- a/games-misc/sound-of-sorting/Manifest +++ b/games-misc/sound-of-sorting/Manifest @@ -1,3 +1,2 @@ -DIST sound-of-sorting-0.6.6_pre20151107.tar.gz 179044 BLAKE2B 8027851e63cf8f3a0cec7e184b1970b9a138bcaa10b345e9fd742950bc397a7eb3d6911fbf8138eab3418c66788c6218b74ed03c1e6e72374b4b7dab0ce06387 SHA512 530caeefe4a37fed401ce56803900806a86efc1e4c0ff083c52e4bfc1cf78f8158539ca3c22f5cdf5cd176c8d6953089d14ca855643ce353457419a4f931a125 DIST sound-of-sorting-0.6.6_pre20221012.tar.gz 196461 BLAKE2B 18eb44619078bd823a3bed4a97e29080d8e0d3fdf8ca56841d73c15af0c1b8d1c57852b77675c4abcaca4ab15fa66983f8066ff052e98e8e2f25d1ae3b4084fd SHA512 a1fb025031e3dc808b860eb53fc7e44253949e1d40044315fdf8ae55fe264501a3fc056504d2914d437a843b040da2fdc70c9ebd2a8c3c6b2bd46aed756f5522 DIST sound-of-sorting_512.png 6357 BLAKE2B 73129edf24f7872b11d5b80a826afacaaaae7bbbdbfbe5ca06dde9e1713fa3ae6b899a9c9eeb670ad38e6c028b00a708e08c068c7c68ef8270e93703ec111030 SHA512 8b225715c9012277259a78c96d7727f58f8f7f8320526f0090fdd3a7356fe2b49c4f5e91ef55898fe9f91226268f4c3ba4d5b4337f33b690827610f6564bf1d9 diff --git a/games-misc/sound-of-sorting/sound-of-sorting-0.6.6_pre20151107-r1.ebuild b/games-misc/sound-of-sorting/sound-of-sorting-0.6.6_pre20151107-r1.ebuild deleted file mode 100644 index 3726a27ef640..000000000000 --- a/games-misc/sound-of-sorting/sound-of-sorting-0.6.6_pre20151107-r1.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -WX_GTK_VER="3.0" - -inherit vcs-snapshot wxwidgets - -DESCRIPTION="Visualization and Audibilization of Sorting Algorithms" -HOMEPAGE="http://panthema.net/2013/sound-of-sorting/ https://github.com/bingmann/sound-of-sorting" -#SRC_URI="http://panthema.net/2013/sound-of-sorting/${P}.tar.bz2" -COMMIT="05db428c796a7006d63efdbe314f976e0aa881d6" -SRC_URI="https://github.com/bingmann/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - media-libs/libsdl - x11-libs/wxGTK:${WX_GTK_VER}" -DEPEND="${RDEPEND}" - -src_configure() { - setup-wxwidgets unicode - default -} diff --git a/games-misc/sound-of-sorting/sound-of-sorting-0.6.6_pre20221012.ebuild b/games-misc/sound-of-sorting/sound-of-sorting-0.6.6_pre20221012.ebuild index 581335908ae2..68fc3317b141 100644 --- a/games-misc/sound-of-sorting/sound-of-sorting-0.6.6_pre20221012.ebuild +++ b/games-misc/sound-of-sorting/sound-of-sorting-0.6.6_pre20221012.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -7,7 +7,7 @@ WX_GTK_VER="3.2-gtk3" inherit desktop wxwidgets xdg DESCRIPTION="Visualization and Audibilization of Sorting Algorithms" -HOMEPAGE="http://panthema.net/2013/sound-of-sorting/ https://github.com/bingmann/sound-of-sorting" +HOMEPAGE="https://panthema.net/2013/sound-of-sorting/ https://github.com/bingmann/sound-of-sorting" #SRC_URI="http://panthema.net/2013/sound-of-sorting/${P}.tar.bz2" COMMIT="5cfcaf752593c8cbcf52555dd22745599a7d8b1b" SRC_URI="https://github.com/bingmann/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz diff --git a/games-misc/typespeed/files/typespeed-0.6.5-gamestat.patch b/games-misc/typespeed/files/typespeed-0.6.5-gamestat.patch new file mode 100644 index 000000000000..7159b1950ecc --- /dev/null +++ b/games-misc/typespeed/files/typespeed-0.6.5-gamestat.patch @@ -0,0 +1,15 @@ +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -23,10 +23,10 @@ typespeed.score: + @touch typespeed.score + + install-data-hook: +- -chgrp games $(DESTDIR)$(highscoredir)/$(HIGHFILE) && \ ++ -chgrp gamestat $(DESTDIR)$(highscoredir)/$(HIGHFILE) && \ + chmod g+w $(DESTDIR)$(highscoredir)/$(HIGHFILE) && \ + chmod o-rwx $(DESTDIR)$(highscoredir)/$(HIGHFILE) + + install-exec-hook: +- -chgrp games $(DESTDIR)$(bindir)/typespeed && \ ++ -chgrp gamestat $(DESTDIR)$(bindir)/typespeed && \ + chmod g+s $(DESTDIR)$(bindir)/typespeed diff --git a/games-misc/typespeed/files/typespeed-0.6.5-lto.patch b/games-misc/typespeed/files/typespeed-0.6.5-lto.patch new file mode 100644 index 000000000000..c734e196e683 --- /dev/null +++ b/games-misc/typespeed/files/typespeed-0.6.5-lto.patch @@ -0,0 +1,54 @@ +https://bugs.gentoo.org/858785 +--- a/src/file.c ++++ b/src/file.c +@@ -97,7 +97,7 @@ extern unsigned long cstrl(char *); + extern void defrule(void); + extern void drawscreen(void); + extern int fileselmenu(int, struct finfo *, const char *); +-extern unsigned short level(int); ++extern int level(int); + extern void liima_mvgetnstr(int, int, char *, int); + extern int netrecv(int, int, int, int, char *, size_t); + extern int netsend(char *); +--- a/src/menu.c ++++ b/src/menu.c +@@ -54,7 +54,7 @@ extern void closenetwork(void); + extern unsigned long cstrl(char *); + extern void xerrx(int, const char *, ...); + extern int initnetwork(char *, int); +-extern unsigned short level(int); ++extern int level(int); + extern void liima_mvgetnstr(int, int, char *, int); + extern void multipmenu(void); + extern void xcolor_set(short); +--- a/src/misc.c ++++ b/src/misc.c +@@ -61,7 +61,7 @@ + unsigned long cstrl(char *); + void endcursestuff(void); + void initcursestuff(void); +-unsigned short level(int); ++int level(int); + void liima_mvgetnstr(int, int, char *, int); + int r(int); + clock_t timenow(void); +@@ -151,7 +151,7 @@ initcursestuff(void) + } + + /* Returns (0 - 10) and sets color according to "pointsit". */ +-unsigned short ++int + level(int pointsit) + { + int leveli; +--- a/src/typespeed.c ++++ b/src/typespeed.c +@@ -96,7 +96,7 @@ extern void freewords(void); + extern void initcursestuff(void); + extern int initnetwork(char *, int); + extern void initstatus(char *); +-extern unsigned short level(int); ++extern int level(int); + extern int loadscores(char *); + extern void makescorefiles(char *); + extern void multipmenu(void); diff --git a/games-misc/typespeed/typespeed-0.6.5-r2.ebuild b/games-misc/typespeed/typespeed-0.6.5-r2.ebuild index e3df54b2be76..89e61c5f2ec2 100644 --- a/games-misc/typespeed/typespeed-0.6.5-r2.ebuild +++ b/games-misc/typespeed/typespeed-0.6.5-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -7,7 +7,7 @@ inherit autotools DESCRIPTION="Test your typing speed, and get your fingers CPS" HOMEPAGE="https://typespeed.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz" LICENSE="GPL-2+" SLOT="0" diff --git a/games-misc/typespeed/typespeed-0.6.5-r3.ebuild b/games-misc/typespeed/typespeed-0.6.5-r3.ebuild new file mode 100644 index 000000000000..ff49723e091a --- /dev/null +++ b/games-misc/typespeed/typespeed-0.6.5-r3.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools edo + +DESCRIPTION="Test your typing speed, and get your fingers CPS" +HOMEPAGE="https://typespeed.sourceforge.net/" +SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86" +IUSE="nls" + +RDEPEND=" + acct-group/gamestat + sys-libs/ncurses:= + nls? ( virtual/libintl ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + nls? ( sys-devel/gettext ) +" + +PATCHES=( + "${FILESDIR}"/${P}-musl.patch + "${FILESDIR}"/${P}-use-extern.patch + "${FILESDIR}"/${P}-link-tinfo.patch + "${FILESDIR}"/${P}-lto.patch + "${FILESDIR}"/${P}-gamestat.patch +) + +src_prepare() { + default + + sed -i -e '/^CC =/d' \ + src/Makefile.am \ + testsuite/Makefile.am || die + # bug #417265 + rm -r m4 || die + eautoreconf +} + +src_configure() { + econf $(use_enable nls) +} + +src_test() { + default + + cd testsuite || die + local test + for test in t_level t_loadwords t_typorankkaus ; do + edo ./${test} + done +} + +src_install() { + default + dodoc doc/README +} diff --git a/games-misc/usolitaire/metadata.xml b/games-misc/usolitaire/metadata.xml index c13e195705b0..7ef21bddd6d8 100644 --- a/games-misc/usolitaire/metadata.xml +++ b/games-misc/usolitaire/metadata.xml @@ -1,10 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>monsieurp@gentoo.org</email> - <name>Patrice Clement</name> - </maintainer> <maintainer type="project"> <email>shell-tools@gentoo.org</email> <name>Gentoo Shell Tools Project</name> diff --git a/games-misc/usolitaire/usolitaire-0.2.1-r1.ebuild b/games-misc/usolitaire/usolitaire-0.2.1-r1.ebuild index b262e0d1fd0b..f4aaef20db24 100644 --- a/games-misc/usolitaire/usolitaire-0.2.1-r1.ebuild +++ b/games-misc/usolitaire/usolitaire-0.2.1-r1.ebuild @@ -1,20 +1,24 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit distutils-r1 DESCRIPTION="solitaire in your terminal" HOMEPAGE="https://github.com/eliasdorneles/usolitaire" -SRC_URI="https://github.com/eliasdorneles/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI=" + https://github.com/eliasdorneles/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz +" LICENSE="MIT" SLOT="0" KEYWORDS="amd64 x86" -RDEPEND="dev-python/urwid[${PYTHON_USEDEP}]" +RDEPEND=" + dev-python/urwid[${PYTHON_USEDEP}] +" distutils_enable_tests pytest diff --git a/games-misc/xcruiser/xcruiser-0.30-r1.ebuild b/games-misc/xcruiser/xcruiser-0.30-r1.ebuild index 05ebb0f703ba..c0ef812fb01f 100644 --- a/games-misc/xcruiser/xcruiser-0.30-r1.ebuild +++ b/games-misc/xcruiser/xcruiser-0.30-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -7,7 +7,7 @@ inherit toolchain-funcs DESCRIPTION="Fly about 3D-formed file system" HOMEPAGE="https://xcruiser.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz" LICENSE="GPL-2+" SLOT="0" diff --git a/games-misc/xpenguins/xpenguins-3.2.1.ebuild b/games-misc/xpenguins/xpenguins-3.2.1.ebuild index 4d353728fd58..52a76f6993c8 100644 --- a/games-misc/xpenguins/xpenguins-3.2.1.ebuild +++ b/games-misc/xpenguins/xpenguins-3.2.1.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DESCRIPTION="Cute little penguins invading your desktop" HOMEPAGE="https://ratrabbit.nl/ratrabbit/software/xpenguins/" -SRC_URI="mirror://sourceforge/xpenguins/${P}.tar.gz" +SRC_URI="https://downloads.sourceforge.net/xpenguins/${P}.tar.gz" LICENSE="GPL-2+" SLOT="0" |