diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-12-02 02:07:07 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-12-02 02:07:07 +0000 |
commit | d4f65848c7ecabb56e2f93889cbd20078cd347f7 (patch) | |
tree | 180032f5afeb689db6a270d612f3e3364ed8fd2b /games-fps | |
parent | c635a4b7ddb6105bfc6fef130b188a087726677b (diff) |
gentoo auto-resync : 02:12:2024 - 02:07:07
Diffstat (limited to 'games-fps')
21 files changed, 118 insertions, 1331 deletions
diff --git a/games-fps/Manifest.gz b/games-fps/Manifest.gz Binary files differindex 318ba0193fe0..6043ea3d1a7f 100644 --- a/games-fps/Manifest.gz +++ b/games-fps/Manifest.gz diff --git a/games-fps/chocolate-doom/Manifest b/games-fps/chocolate-doom/Manifest index f17aefeb38e0..9170709c72d9 100644 --- a/games-fps/chocolate-doom/Manifest +++ b/games-fps/chocolate-doom/Manifest @@ -1,18 +1,3 @@ -AUX chocolate-doom-3.0.1-Add-support-for-usr-share-doom-IWAD-search-path.patch 974 BLAKE2B f78467d51ddf2c861997e1afc7d066eb1b100c1061c4a4e9dde380ab31eb67b3cbad01a31a1f4819dd99b991a50f1397c316461d70bf3ce527df497c4dab4231 SHA512 c57143a4aca041f2e72ac335b1d787ffa4584819754c139e7e33d12a7bd2a296069437166f7daf8310cdd43b8d355849f445c5d9221c5a1fb5bc5c452ef75761 -AUX chocolate-doom-3.0.1-Fix-Python-check.patch 1947 BLAKE2B 452441cbb5bd91940912a9455b24d57758f6f5c1a9cc9f8185afaa9ab17dfa40189858d8bef209d45b447d900a046ea7aa8e05fa1edb97f8216835cb6427ec00 SHA512 3be6912d8e058dc6554a647d86e757e2101cb5fab1c5080c559e386d79b84472b1e9976a830f18eaaa424f7a5ad89bcb206fba0cc7a6147bb3cf979cfaad1d8c -AUX chocolate-doom-3.0.1-Introduce-configure-options-for-bash-completion-doc-.patch 5520 BLAKE2B 230c1214875b02a75499b7861619f08b56f5ad4cf529bca5697da23e345faaddf33268196543c466829e892bb7c8e778349ace95facffbbad24c2d16a2beeba7 SHA512 c3891e032b97f97ac80740b0c619c00b452ba554bf6c16bfee22056b08cd479dc849464e5da806371af961ad2384b65121fef084fa4b1d5057f1c2ad34f5e622 -AUX chocolate-doom-3.0.1-Remove-redundant-demoextend-definition.patch 830 BLAKE2B c194a07fb7cfb846362fadad986b5d99fcb69250444acbe68a4843f019a2d1ae5ece21e71f1efad1036047710c8d4ac168341e1abdefb91b2b5b5b6fbc164ea5 SHA512 9fbf7d505c270cb00d36e0d5c92a8097ce4b1ac8b3f6bc718473a39e7bf16a36b6a94900fb1ffb85ea99fdf00d6cc2b1c30e4da023949228c083578c5d6e4a38 -AUX chocolate-doom-3.0.1-Update-AppStream-XML-files-to-current-0.11-standards.patch 3835 BLAKE2B 6a279689c6b0fe373a2318d1c711105b854130e40c15d76f8146a36eb5b2af8ca7ef8e31883d6a245779836f72ddac5e88e6b578310d21885975b66b1222124d SHA512 3ccc928628fa092c036c5b825ef9fe3fa170f64cf33034511cd2d9b9b57af8b78babe014d073b786e52c826367898b002b57226c685bd7e2f36588a8fbd37f53 -AUX chocolate-doom-3.0.1-Update-documentation-about-usr-share-doom-IWAD-locat.patch 1431 BLAKE2B d08a7a5d4e1e2247b968d2b21b72764f1af934a53f19a66a0058ef1757be260fff73dccf825db19746a7787c71c0e59c4dfac364042adee8c2bf86f0d0873a30 SHA512 bc479e8c05458055dfd4d6f6727e299a879276e02df8f3a9cdb6c2588526acaf3937ee022b9a06061a54e8fc34a7b43e3e2f5d9f3480540e85fd742ecd68ef69 -AUX chocolate-doom-3.0.1-Update-to-latest-AppStream-formerly-AppData-standard.patch 4164 BLAKE2B 8f878ae2576e690f3bdb95258b7e77f7aa617fba30fa61f8714250f3dcb5a586e35abb48baefd341c684d377fbcad14aac16324e371e359c2fa1f20e59983956 SHA512 f6193aef289756c25f02bcfdef4ed2cc14c787942a777c48564a2ccb4243601e7ef2d4ecae3e6c9c3b00c04baf1557c52625562424c5c27ceeb626827e9e5559 -AUX chocolate-doom-3.0.1-bash-completion-Build-from-actual-shell-script-templ.patch 2212 BLAKE2B 7058539a2cc4bfc9ba20791909b3cec925f4d90ad5239a8d4f788f28907d3226d3bed5294e386b370b0d7f1a75be30c2b14621ec55e23bd36ffc6c022ca0ffcd SHA512 7bb934a6913d2c5962e783f56ab8d5df05d98bb8a18fd7449b7ec7ab0bfc95ea3d782aec5f988b0817b7763aa65f402b9662f3470f251221c68a0638ebdfbc05 -AUX chocolate-doom-3.0.1-bash-completion-always-install-into-datadir-bash-com.patch 2188 BLAKE2B 526f6d87950258b00d7ef852353dd8019ad8422ebbe19fe9489e7672946d9e7d56d78f81eaa476eb313a95812d41a0efc82e13c6d70f80130a14a8d091b13a58 SHA512 e695494d53657030b2fe40816593db157cf70d79d2d02468c860eba69874fca01b27dc3b3b19e2187d3cf7f31b05c443617a61ae3910647ad1119903e3260820 -AUX chocolate-doom-3.0.1-bash-completion-run-docgen-with-z-argument.patch 892 BLAKE2B 51af27f4dd0338ac8d29e7b77a16b702d355feff40afda2ebc5f6b1057ea11c8d9d9b023a986dea0ba8b0828619578127fa17800c901cb0cc5c7bdffa52adb27 SHA512 10f1acb461a81662b674f1d35ff2b8c556826466ced7e0d25b6d8dfc9cd94a4d42295cfe8c04ebe09141212e7c591c6e049e32e6c06994c3f4f7c7472ee3448b -AUX chocolate-doom-3.0.1-configure-add-AM_PROG_AR-macro.patch 753 BLAKE2B c3e93573a6db50a12f0b371907494abe15c0219531eee8e3c048cf4d2dd6820a98addb554f97f6a76ba407ab8f3f0361ec6371da8ad981f4eeaa3130803144e1 SHA512 adfca882ffd5fcb5ded12392f735d3c77cd62798b8bf3c7f524c10560b5737053208690815622ad2fadb87a5de5033dae270773b3054ebdba331bf390f03a70a -AUX chocolate-doom-3.0.1-further-manpage-substitutions-and-fixes.patch 13342 BLAKE2B 8ceec61cdae27a31a019080dd9dc77256ecf492212b2528f70508496832f3e77f61711db604752d87ffb3501161b3f787c5ac734536e45b494ca59b8e40d635c SHA512 c13e2049c254f8172202132ce087c5132f263c00b1100c78ce1238f30050dde365b9a77a33447487bf108ddfea9eb39f257a370e4dc4f1b0b1a415424263151e -AUX chocolate-doom-3.0.1-install-AppStream-metadata-into-the-proper-location.patch 890 BLAKE2B bed8d484ff1b4640f1626b7bc3b2f1f751b71acf4dacc49cf7318ecbee2de1c7458acd69297c5db00e59d2e647c3cade93a18dcc956a03f84f4c66d49253aa81 SHA512 77490a5b2a4691611b2460eeba10e232f90f88dd87bbfdcd485589841022be65f8d62867100d3228bd94dee839569582182e0e8f940cfb54d8fa16bf3a6e3a60 -AUX chocolate-doom-3.0.1-use-reverse-DNS-naming-for-installing-.desktop-files.patch 5485 BLAKE2B d89e14a071349cd772e5f91962429d0cdf152e2acd92be842068ee39569f79f451513a5bbd5a35f6abcd15d3eb73235e429025db1fb320c58f28feb3ca5c1d98 SHA512 e12d7e64baaaab44d8f6372cd057b4622e3758de6fb39365bcb047980eeccb6ec0b571185d084a56ac4c28a1d2916d3a8beef29466bb5d406eced60a3b2ddc6d -DIST chocolate-doom-3.0.1-overhaul-manpages-add-parameters.patch 26736 BLAKE2B 3b75eaf6ea38280eb649eb0a35cf72376fc8daafda51a79bb321e1ac9311bd7d7edc6b7740b235288c32142c01fcf346045091783912739317556a78eb07751a SHA512 64512c47d404de1a85f84948bcf780257070f5b22dce6fa7dba66ba65027a15e93e39145424be327de4abd1f1f3b994fcd936e3dcdc564f1f96238b133a3a554 -DIST chocolate-doom-3.0.1.tar.gz 2245563 BLAKE2B 0c9babfbc9e52ea7822ca00c0dbf84e471bfe6d6ec94f729d3d0f72243205b060e5a3b5f1f99728da7764e81af735b45d001bb368dd2b5796666554e3c911090 SHA512 2a81905cf619ea2def7e2f9ebe65b38543d01bd83a95e535e88d04a79f2676f8ba0da64031a650bd905e1345cda1b9d28a398ad87c10c92f2d3d50f3253ec214 -EBUILD chocolate-doom-3.0.1-r2.ebuild 2543 BLAKE2B a0035b2608abaf3ae50b39e386fa8a5517b5383d8f12616d0ed151e920fd6a8815d395e45fcd0af52638b8143869ec76fdfa97ccfd35c6ee7cc7804321fe702e SHA512 f34e1ecf2d30095fc8231c95c30b1c067e7bf3a07177d7745822404cdb8357b28ddacb0cdf36ca137721d2111672cfa25cb108fba4aa054aaaf04e87b5e9256b +DIST chocolate-doom-3.1.0.tar.gz 2256537 BLAKE2B 4e311985e1c20d2d5bf0cc6ef3e860c78a0d1e413ca398800bcdcf86f43727e48f1306e7e9c8878e3313e9ca2e7ba3d48eddd220ef5def06230caf32fe0890fb SHA512 17f65c6f4a48dd1b0aa71bdf495d1036602739f1955d64f7de46157fce912ab4e4344a0f7ad073980f50d67e34f9f5e84402e7f2142cd6364453b71c8d5c2592 +EBUILD chocolate-doom-3.1.0.ebuild 1297 BLAKE2B 50afcb171d45ff5849320680dd5ce61b7a0a772630e4351e9d02472eb406c333b94b0d69fe7424bebf1664434bd9c6b29998f186963ac7956788fbd88c091e52 SHA512 5211b22fe796c5c6d429764ee15f6566b3325c0d3ff921ed66babb7944f7da106c3881011c2d798085e6665477f83ae97cc521c2721b2710c21a9271f1993a62 MISC metadata.xml 766 BLAKE2B 27aad6fda499200413f16cf7ec6566ccb4a84adb710dd306dfd0c3f96339e383601c95d92ccb484a3944a57506a87de8d548eca702ae68b26805e239bfe8dfac SHA512 255ef7d0ceca7ddd1656efdad9456e6e87fcef3f4c4f97c34ebda5abac5eae92f3c862a41e756ab05ad1e01356d169449d52a07bde965449887726319e16a3b2 diff --git a/games-fps/chocolate-doom/chocolate-doom-3.0.1-r2.ebuild b/games-fps/chocolate-doom/chocolate-doom-3.0.1-r2.ebuild deleted file mode 100644 index e45332fa7883..000000000000 --- a/games-fps/chocolate-doom/chocolate-doom-3.0.1-r2.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..13} ) -inherit autotools prefix python-any-r1 xdg - -DESCRIPTION="A Doom source port that is minimalist and historically accurate" -HOMEPAGE="https://www.chocolate-doom.org" -SRC_URI="https://github.com/${PN}/${PN}/archive/${P}.tar.gz - https://gist.githubusercontent.com/vilhelmgray/28d4713cb6387ad62ab76cfac1443355/raw/f7600d93ca45a5102969b8f89974a3c36a3563f5/${P}-overhaul-manpages-add-parameters.patch" -S="${WORKDIR}/${PN}-${P}" -LICENSE="BSD GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" -IUSE="doc libsamplerate +midi png vorbis" - -DEPEND=" - media-libs/libsdl2[video] - media-libs/sdl2-mixer[midi?,vorbis?] - media-libs/sdl2-net - libsamplerate? ( media-libs/libsamplerate ) - png? ( media-libs/libpng:= ) -" - -RDEPEND=" - ${DEPEND} -" - -# ${PYTHON_DEPS} for bash-completion and docs. -BDEPEND=" - ${PYTHON_DEPS} -" - -PATCHES=( - "${DISTDIR}/${P}-overhaul-manpages-add-parameters.patch" - "${FILESDIR}/${P}-further-manpage-substitutions-and-fixes.patch" - "${FILESDIR}/${P}-bash-completion-run-docgen-with-z-argument.patch" - "${FILESDIR}/${P}-install-AppStream-metadata-into-the-proper-location.patch" - "${FILESDIR}/${P}-Update-AppStream-XML-files-to-current-0.11-standards.patch" - "${FILESDIR}/${P}-bash-completion-Build-from-actual-shell-script-templ.patch" - "${FILESDIR}/${P}-configure-add-AM_PROG_AR-macro.patch" - "${FILESDIR}/${P}-bash-completion-always-install-into-datadir-bash-com.patch" - "${FILESDIR}/${P}-Update-to-latest-AppStream-formerly-AppData-standard.patch" - "${FILESDIR}/${P}-use-reverse-DNS-naming-for-installing-.desktop-files.patch" - "${FILESDIR}/${P}-Remove-redundant-demoextend-definition.patch" - "${FILESDIR}/${P}-Introduce-configure-options-for-bash-completion-doc-.patch" - "${FILESDIR}/${P}-Add-support-for-usr-share-doom-IWAD-search-path.patch" - "${FILESDIR}/${P}-Update-documentation-about-usr-share-doom-IWAD-locat.patch" - "${FILESDIR}/${P}-Fix-Python-check.patch" -) - -DOCS=( - "AUTHORS" - "ChangeLog" - "NEWS.md" - "NOT-BUGS.md" - "PHILOSOPHY.md" - "README.md" - "README.Music.md" - "README.Strife.md" -) - -src_prepare() { - default - - hprefixify src/d_iwad.c - - eautoreconf -} - -src_configure() { - econf \ - --enable-bash-completion \ - $(use_enable doc) \ - --disable-fonts \ - --disable-icons \ - $(use_with libsamplerate) \ - $(use_with png libpng) -} - -src_install() { - emake DESTDIR="${D}" install - - # Remove redundant documentation files - rm -r "${ED}/usr/share/doc/"* || die - - einstalldocs -} diff --git a/games-fps/chocolate-doom/chocolate-doom-3.1.0.ebuild b/games-fps/chocolate-doom/chocolate-doom-3.1.0.ebuild new file mode 100644 index 000000000000..afb39759009b --- /dev/null +++ b/games-fps/chocolate-doom/chocolate-doom-3.1.0.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +inherit autotools prefix python-any-r1 xdg + +DESCRIPTION="A Doom source port that is minimalist and historically accurate" +HOMEPAGE="https://www.chocolate-doom.org" +SRC_URI="https://github.com/${PN}/${PN}/archive/${P}.tar.gz" +S="${WORKDIR}/${PN}-${P}" +LICENSE="BSD GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +IUSE="doc libsamplerate +midi png vorbis" + +DEPEND=" + media-libs/libsdl2[video] + media-libs/sdl2-mixer[midi?,vorbis?] + media-libs/sdl2-net + libsamplerate? ( media-libs/libsamplerate ) + png? ( media-libs/libpng:= ) +" + +RDEPEND=" + ${DEPEND} +" + +# ${PYTHON_DEPS} for bash-completion and docs. +BDEPEND=" + ${PYTHON_DEPS} +" + +DOCS=( + "AUTHORS" + "ChangeLog" + "NEWS.md" + "NOT-BUGS.md" + "PHILOSOPHY.md" + "README.md" + "README.Music.md" + "README.Strife.md" +) + +src_prepare() { + default + + hprefixify src/d_iwad.c + + eautoreconf +} + +src_configure() { + econf \ + --enable-bash-completion \ + $(use_enable doc) \ + --disable-fonts \ + --disable-icons \ + $(use_with libsamplerate) \ + $(use_with png libpng) +} + +src_install() { + emake DESTDIR="${D}" install + + # Remove redundant documentation files + rm -r "${ED}/usr/share/doc/"* || die + + einstalldocs +} diff --git a/games-fps/chocolate-doom/files/chocolate-doom-3.0.1-Add-support-for-usr-share-doom-IWAD-search-path.patch b/games-fps/chocolate-doom/files/chocolate-doom-3.0.1-Add-support-for-usr-share-doom-IWAD-search-path.patch deleted file mode 100644 index 719ec12a93dc..000000000000 --- a/games-fps/chocolate-doom/files/chocolate-doom-3.0.1-Add-support-for-usr-share-doom-IWAD-search-path.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 405662edfda15bd4ba2a6e32023eeb8c5e73646f Mon Sep 17 00:00:00 2001 -From: William Breathitt Gray <vilhelm.gray@gmail.com> -Date: Thu, 25 Jun 2020 11:13:55 -0400 -Subject: [PATCH] Add support for /usr/share/doom IWAD search path - -Some Linux distros such as Gentoo have deprecated the /usr/share/games -directory. IWADs are typically installed under the /usr/share directory -for these distros. ---- - src/d_iwad.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/d_iwad.c b/src/d_iwad.c -index 09853a64..e112e4f4 100644 ---- a/src/d_iwad.c -+++ b/src/d_iwad.c -@@ -657,6 +657,7 @@ static void AddXdgDirs(void) - // source ports is /usr/share/games/doom - we support this through the - // XDG_DATA_DIRS mechanism, through which it can be overridden. - AddIWADPath(env, "/games/doom"); -+ AddIWADPath(env, "/doom"); - - // The convention set by RBDOOM-3-BFG is to install Doom 3: BFG - // Edition into this directory, under which includes the Doom --- -2.26.2 - diff --git a/games-fps/chocolate-doom/files/chocolate-doom-3.0.1-Fix-Python-check.patch b/games-fps/chocolate-doom/files/chocolate-doom-3.0.1-Fix-Python-check.patch deleted file mode 100644 index 8d4f169bd03e..000000000000 --- a/games-fps/chocolate-doom/files/chocolate-doom-3.0.1-Fix-Python-check.patch +++ /dev/null @@ -1,54 +0,0 @@ -From ab1a38d8e902baebc7183fb511bd58c50e2b4571 Mon Sep 17 00:00:00 2001 -From: William Breathitt Gray <vilhelm.gray@gmail.com> -Date: Mon, 24 Aug 2020 09:03:57 -0400 -Subject: [PATCH] Fix Python check for doc, bash-completion, fonts, and icons - options - -Fixes: cfc56fa6 ("Introduce configure options for bash-completion, doc, fonts, and icons") ---- - configure.ac | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 9bef517a..4dbd2db7 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -40,7 +40,7 @@ AC_ARG_ENABLE([bash-completion], - AS_HELP_STRING([--disable-bash-completion], [Disable bash-completion]) - ) - AS_IF([test "x$enable_bash_completion" != xno], [ -- AS_IF([test HAVE_PYTHON = false], [ -+ AS_IF([test "x$HAVE_PYTHON" = xfalse], [ - AC_MSG_WARN([Building bash-completion requires Python, but Python not found]) - enable_bash_completion=no - ]) -@@ -51,7 +51,7 @@ AC_ARG_ENABLE([doc], - AS_HELP_STRING([--disable-doc], [Disable documentation]) - ) - AS_IF([test "x$enable_doc" != xno], [ -- AS_IF([test HAVE_PYTHON = false], [ -+ AS_IF([test "x$HAVE_PYTHON" = xfalse], [ - AC_MSG_WARN([Building documentation requires Python, but Python not found]) - enable_doc=no - ]) -@@ -62,7 +62,7 @@ AC_ARG_ENABLE([fonts], - AS_HELP_STRING([--disable-fonts], [Disable fonts]) - ) - AS_IF([test "x$enable_fonts" != xno], [ -- AS_IF([test HAVE_PYTHON = false], [ -+ AS_IF([test "x$HAVE_PYTHON" = xfalse], [ - AC_MSG_WARN([Building fonts require Python, but Python not found]) - enable_fonts=no - ]) -@@ -73,7 +73,7 @@ AC_ARG_ENABLE([icons], - AS_HELP_STRING([--disable-icons], [Disable icons]) - ) - AS_IF([test "x$enable_icons" != xno], [ -- AS_IF([test HAVE_PYTHON = false], [ -+ AS_IF([test "x$HAVE_PYTHON" = xfalse], [ - AC_MSG_WARN([Building icons require Python, but Python not found]) - enable_icons=no - ]) --- -2.28.0 - diff --git a/games-fps/chocolate-doom/files/chocolate-doom-3.0.1-Introduce-configure-options-for-bash-completion-doc-.patch b/games-fps/chocolate-doom/files/chocolate-doom-3.0.1-Introduce-configure-options-for-bash-completion-doc-.patch deleted file mode 100644 index bb1e000460a5..000000000000 --- a/games-fps/chocolate-doom/files/chocolate-doom-3.0.1-Introduce-configure-options-for-bash-completion-doc-.patch +++ /dev/null @@ -1,171 +0,0 @@ -From cfc56fa6a5809c2dbc7276df3579836e586d9193 Mon Sep 17 00:00:00 2001 -From: William Breathitt Gray <vilhelm.gray@gmail.com> -Date: Tue, 23 Jun 2020 12:56:01 -0400 -Subject: [PATCH] Introduce configure options for bash-completion, doc, fonts, - and icons - -This patch introduces the --enable-bash-completion, --enable-doc, ---enable-fonts, and --enable-icons configuration options to control the -build of bash-completion, documentation, fonts, and icons respectively. -This is useful for users of systems such as Gentoo which allow custom -configuration of packages, or for package maintainers in general who -would like finer control over the components built when compiling -Chocolate Doom. ---- - Makefile.am | 2 +- - configure.ac | 49 ++++++++++++++++++++++++++++++++- - man/Makefile.am | 2 +- - man/bash-completion/Makefile.am | 2 +- - src/Makefile.am | 2 +- - src/setup/Makefile.am | 2 +- - textscreen/fonts/Makefile.am | 2 +- - 7 files changed, 54 insertions(+), 7 deletions(-) - -diff --git a/Makefile.am b/Makefile.am -index 1bd91a43..70f2e5b9 100644 ---- a/Makefile.am -+++ b/Makefile.am -@@ -50,7 +50,7 @@ SUBDIRS=textscreen midiproc opl pcsound data src man - - DIST_SUBDIRS=pkg $(SUBDIRS) - --if HAVE_PYTHON -+if HAVE_DOC - - INSTALL : man/INSTALL.template man/simplecpp - ./man/simplecpp -DDOOM -DHERETIC -DHEXEN -DSTRIFE \ -diff --git a/configure.ac b/configure.ac -index 8e18a0e9..9bef517a 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -35,6 +35,50 @@ PKG_CHECK_MODULES(SDL, [sdl2 >= 2.0.1]) - PKG_CHECK_MODULES(SDLMIXER, [SDL2_mixer >= 2.0.0]) - PKG_CHECK_MODULES(SDLNET, [SDL2_net >= 2.0.0]) - -+# Check for bash-completion. -+AC_ARG_ENABLE([bash-completion], -+AS_HELP_STRING([--disable-bash-completion], [Disable bash-completion]) -+) -+AS_IF([test "x$enable_bash_completion" != xno], [ -+ AS_IF([test HAVE_PYTHON = false], [ -+ AC_MSG_WARN([Building bash-completion requires Python, but Python not found]) -+ enable_bash_completion=no -+ ]) -+]) -+ -+# Check for doc. -+AC_ARG_ENABLE([doc], -+AS_HELP_STRING([--disable-doc], [Disable documentation]) -+) -+AS_IF([test "x$enable_doc" != xno], [ -+ AS_IF([test HAVE_PYTHON = false], [ -+ AC_MSG_WARN([Building documentation requires Python, but Python not found]) -+ enable_doc=no -+ ]) -+]) -+ -+# Check for fonts. -+AC_ARG_ENABLE([fonts], -+AS_HELP_STRING([--disable-fonts], [Disable fonts]) -+) -+AS_IF([test "x$enable_fonts" != xno], [ -+ AS_IF([test HAVE_PYTHON = false], [ -+ AC_MSG_WARN([Building fonts require Python, but Python not found]) -+ enable_fonts=no -+ ]) -+]) -+ -+# Check for icons. -+AC_ARG_ENABLE([icons], -+AS_HELP_STRING([--disable-icons], [Disable icons]) -+) -+AS_IF([test "x$enable_icons" != xno], [ -+ AS_IF([test HAVE_PYTHON = false], [ -+ AC_MSG_WARN([Building icons require Python, but Python not found]) -+ enable_icons=no -+ ]) -+]) -+ - # Check for libsamplerate. - AC_ARG_WITH([libsamplerate], - AS_HELP_STRING([--without-libsamplerate], -@@ -106,7 +150,10 @@ AS_IF([test "x$enable_werror" = "xyes"], [ - ]) - - AM_CONDITIONAL(HAVE_WINDRES, test "$WINDRES" != "") --AM_CONDITIONAL(HAVE_PYTHON, $HAVE_PYTHON) -+AM_CONDITIONAL(HAVE_BASH_COMPLETION, [test "x$enable_bash_completion" != xno]) -+AM_CONDITIONAL(HAVE_DOC, [test "x$enable_doc" != xno]) -+AM_CONDITIONAL(HAVE_FONTS, [test "x$enable_fonts" != xno]) -+AM_CONDITIONAL(HAVE_ICONS, [test "x$enable_icons" != xno]) - - dnl Automake v1.8.0 is required, please upgrade! - -diff --git a/man/Makefile.am b/man/Makefile.am -index 915cb206..5a886fc9 100644 ---- a/man/Makefile.am -+++ b/man/Makefile.am -@@ -15,7 +15,7 @@ hereticdocsdir = ${docdir}/../${PROGRAM_PREFIX}heretic - hexendocsdir = ${docdir}/../${PROGRAM_PREFIX}hexen - strifedocsdir = ${docdir}/../${PROGRAM_PREFIX}strife - --if HAVE_PYTHON -+if HAVE_DOC - - GENERATED_MAN_PAGES = \ - @PROGRAM_PREFIX@doom.6 \ -diff --git a/man/bash-completion/Makefile.am b/man/bash-completion/Makefile.am -index 9c1400f1..a79fe623 100644 ---- a/man/bash-completion/Makefile.am -+++ b/man/bash-completion/Makefile.am -@@ -6,7 +6,7 @@ BASH_COMPLETION_TEMPLATES = \ - hexen.template \ - strife.template - --if HAVE_PYTHON -+if HAVE_BASH_COMPLETION - - BASH_COMPLETION_SCRIPTLETS = \ - @PROGRAM_PREFIX@doom \ -diff --git a/src/Makefile.am b/src/Makefile.am -index 19a42598..698d2ce0 100644 ---- a/src/Makefile.am -+++ b/src/Makefile.am -@@ -271,7 +271,7 @@ CLEANFILES = $(execgames_SCRIPTS) $(app_DATA) $(screensaver_DATA) - %.o : %.rc - $(WINDRES) $< -o $@ - --if HAVE_PYTHON -+if HAVE_ICONS - - icon.c : $(top_builddir)/data/doom.png - $(top_builddir)/data/convert-icon $(top_builddir)/data/doom.png $@ -diff --git a/src/setup/Makefile.am b/src/setup/Makefile.am -index a9dd240c..493b0b47 100644 ---- a/src/setup/Makefile.am -+++ b/src/setup/Makefile.am -@@ -33,7 +33,7 @@ CLEANFILES = $(app_DATA) - @PACKAGE_RDNS@.Setup.desktop : Setup.desktop - cp Setup.desktop $@ - --if HAVE_PYTHON -+if HAVE_ICONS - - setup_icon.c : $(top_builddir)/data/setup.png - $(top_builddir)/data/convert-icon $(top_builddir)/data/setup.png $@ -diff --git a/textscreen/fonts/Makefile.am b/textscreen/fonts/Makefile.am -index 67ae8a21..5f6ad066 100644 ---- a/textscreen/fonts/Makefile.am -+++ b/textscreen/fonts/Makefile.am -@@ -3,7 +3,7 @@ EXTRA_DIST = small.png normal.png large.png convert-font $(FONT_HDRS) - - noinst_DATA = $(FONT_HDRS) - --if HAVE_PYTHON -+if HAVE_FONTS - - small.h: small.png convert-font - ./convert-font small small.png small.h --- -2.26.2 - diff --git a/games-fps/chocolate-doom/files/chocolate-doom-3.0.1-Remove-redundant-demoextend-definition.patch b/games-fps/chocolate-doom/files/chocolate-doom-3.0.1-Remove-redundant-demoextend-definition.patch deleted file mode 100644 index 9c087769a26c..000000000000 --- a/games-fps/chocolate-doom/files/chocolate-doom-3.0.1-Remove-redundant-demoextend-definition.patch +++ /dev/null @@ -1,28 +0,0 @@ -From a8fd4b1f563d24d4296c3e8225c8404e2724d4c2 Mon Sep 17 00:00:00 2001 -From: Jordan Christiansen <xordspar0@gmail.com> -Date: Sun, 15 Mar 2020 16:55:33 -0500 -Subject: [PATCH] Remove redundant demoextend definition - -GCC 10 enables -fno-common by default, which causes the linker to fail when -there are multple definitions of a global variable. - -See https://gcc.gnu.org/gcc-10/porting_to.html ---- - src/hexen/mn_menu.c | 1 - - 1 file changed, 1 deletion(-) - -diff --git a/src/hexen/mn_menu.c b/src/hexen/mn_menu.c -index 059f45b3..a97b7fcd 100644 ---- a/src/hexen/mn_menu.c -+++ b/src/hexen/mn_menu.c -@@ -131,7 +131,6 @@ boolean MenuActive; - int InfoType; - int messageson = true; - boolean mn_SuicideConsole; --boolean demoextend; // from h2def.h - - // PRIVATE DATA DEFINITIONS ------------------------------------------------ - --- -2.28.0 - diff --git a/games-fps/chocolate-doom/files/chocolate-doom-3.0.1-Update-AppStream-XML-files-to-current-0.11-standards.patch b/games-fps/chocolate-doom/files/chocolate-doom-3.0.1-Update-AppStream-XML-files-to-current-0.11-standards.patch deleted file mode 100644 index 7c2bfa48de29..000000000000 --- a/games-fps/chocolate-doom/files/chocolate-doom-3.0.1-Update-AppStream-XML-files-to-current-0.11-standards.patch +++ /dev/null @@ -1,106 +0,0 @@ -From 35827930553ca522270bd74df37a378d6b2dea8a Mon Sep 17 00:00:00 2001 -From: Mike Swanson <mikeonthecomputer@gmail.com> -Date: Mon, 22 Jan 2018 20:41:16 -0800 -Subject: [PATCH] Update AppStream XML files to current (0.11) standards - -<id> tag is changed to a Reverse-DNS form, and an accommodating -PACKAGE_RDNS is set in configure.ac to use it. - -<name> and <summary> tags have been added, using existing autoconf -variable values. - -The `appstream-util validate` command will complain about some -optionally-missing tags and a strict string length limit on some of -the <caption> tags. `validate-relax` passes, and by the letter of the -AppStream specification, we should be completely valid. ---- - configure.ac | 2 ++ - src/doom.appdata.xml.in | 4 +++- - src/heretic.appdata.xml.in | 4 +++- - src/hexen.appdata.xml.in | 4 +++- - src/strife.appdata.xml.in | 4 +++- - 5 files changed, 14 insertions(+), 4 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 17299714..2190a32b 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -7,6 +7,7 @@ PACKAGE_COPYRIGHT="Copyright (C) 1993-2017" - PACKAGE_LICENSE="GNU General Public License, version 2" - PACKAGE_MAINTAINER="Simon Howard" - PACKAGE_URL="https://www.chocolate-doom.org/" -+PACKAGE_RDNS="org.chocolate_doom" - PACKAGE_ISSUES="https://github.com/chocolate-doom/chocolate-doom/issues" - - AC_CONFIG_AUX_DIR(autotools) -@@ -142,6 +143,7 @@ AC_SUBST(PACKAGE_COPYRIGHT) - AC_SUBST(PACKAGE_LICENSE) - AC_SUBST(PACKAGE_MAINTAINER) - AC_SUBST(PACKAGE_URL) -+AC_SUBST(PACKAGE_RDNS) - AC_SUBST(PACKAGE_ISSUES) - - AC_SUBST(bashcompletiondir) -diff --git a/src/doom.appdata.xml.in b/src/doom.appdata.xml.in -index ed499f47..42747251 100644 ---- a/src/doom.appdata.xml.in -+++ b/src/doom.appdata.xml.in -@@ -1,7 +1,9 @@ - <?xml version="1.0" encoding="UTF-8"?> - - <component type="desktop"> -- <id>@PROGRAM_PREFIX@doom.desktop</id> -+ <id>@PACKAGE_RDNS@.Doom</id> -+ <name>@PACKAGE_SHORTNAME@ Doom</name> -+ <summary>@PACKAGE_SHORTDESC@</summary> - <metadata_license>CC0-1.0</metadata_license> - <project_license>GPL-2.0+</project_license> - <developer_name>@PACKAGE_MAINTAINER@</developer_name> -diff --git a/src/heretic.appdata.xml.in b/src/heretic.appdata.xml.in -index 36a1739a..dc8093de 100644 ---- a/src/heretic.appdata.xml.in -+++ b/src/heretic.appdata.xml.in -@@ -1,7 +1,9 @@ - <?xml version="1.0" encoding="UTF-8"?> - - <component type="desktop"> -- <id>@PROGRAM_PREFIX@heretic.desktop</id> -+ <id>@PACKAGE_RDNS@.Heretic</id> -+ <name>@PACKAGE_SHORTNAME@ Heretic</name> -+ <summary>@PACKAGE_SHORTDESC@</summary> - <metadata_license>CC0-1.0</metadata_license> - <project_license>GPL-2.0+</project_license> - <developer_name>@PACKAGE_MAINTAINER@</developer_name> -diff --git a/src/hexen.appdata.xml.in b/src/hexen.appdata.xml.in -index b5a526f2..7583cca8 100644 ---- a/src/hexen.appdata.xml.in -+++ b/src/hexen.appdata.xml.in -@@ -1,7 +1,9 @@ - <?xml version="1.0" encoding="UTF-8"?> - - <component type="desktop"> -- <id>@PROGRAM_PREFIX@hexen.desktop</id> -+ <id>@PACKAGE_RDNS@.Hexen</id> -+ <name>@PACKAGE_SHORTNAME@ Hexen</name> -+ <summary>@PACKAGE_SHORTDESC@</summary> - <metadata_license>CC0-1.0</metadata_license> - <project_license>GPL-2.0+</project_license> - <developer_name>@PACKAGE_MAINTAINER@</developer_name> -diff --git a/src/strife.appdata.xml.in b/src/strife.appdata.xml.in -index 7be869c3..6db4fad4 100644 ---- a/src/strife.appdata.xml.in -+++ b/src/strife.appdata.xml.in -@@ -1,7 +1,9 @@ - <?xml version="1.0" encoding="UTF-8"?> - - <component type="desktop"> -- <id>@PROGRAM_PREFIX@strife.desktop</id> -+ <id>@PACKAGE_RDNS@.Strife</id> -+ <name>@PACKAGE_SHORTNAME@ Strife</name> -+ <summary>@PACKAGE_SHORTDESC@</summary> - <metadata_license>CC0-1.0</metadata_license> - <project_license>GPL-2.0+</project_license> - <developer_name>@PACKAGE_MAINTAINER@</developer_name> --- -2.26.2 - diff --git a/games-fps/chocolate-doom/files/chocolate-doom-3.0.1-Update-documentation-about-usr-share-doom-IWAD-locat.patch b/games-fps/chocolate-doom/files/chocolate-doom-3.0.1-Update-documentation-about-usr-share-doom-IWAD-locat.patch deleted file mode 100644 index 90cd352a5874..000000000000 --- a/games-fps/chocolate-doom/files/chocolate-doom-3.0.1-Update-documentation-about-usr-share-doom-IWAD-locat.patch +++ /dev/null @@ -1,39 +0,0 @@ -From: William Breathitt Gray <vilhelm.gray@gmail.com> -Date: Thu, 25 Jun 2020 11:30:42 -0400 -Subject: [PATCH] Update documentation about /usr/share/doom IWAD location - ---- - man/INSTALL.template | 2 ++ - man/iwad_paths.man | 3 ++- - 2 files changed, 4 insertions(+), 1 deletion(-) - -diff --git a/man/INSTALL.template b/man/INSTALL.template -index f04e98e6..9c9f7601 100644 ---- a/man/INSTALL.template -+++ b/man/INSTALL.template -@@ -199,6 +199,8 @@ do one of the following: - * Put the file into one of the following directories: - -+ /usr/share/doom - /usr/share/games/doom -+ /usr/local/share/doom - /usr/local/share/games/doom - - * Set the environment variable DOOMWADDIR to specify the path to a -diff --git a/man/iwad_paths.man b/man/iwad_paths.man -index 98058154..a41aba41 100644 ---- a/man/iwad_paths.man -+++ b/man/iwad_paths.man -@@ -35,7 +35,8 @@ Writeable directory in the user's home directory. The path can be overridden - using the \fBXDG_DATA_HOME\fR environment variable (see the XDG Base Directory - Specification). - .TP --\fB/usr/local/share/games/doom, /usr/share/games/doom\fR -+\fB/usr/local/share/doom, /usr/local/share/games/doom, /usr/share/doom, -+/usr/share/games/doom\fR - System-wide locations that can be accessed by all users. The path - \fB/usr/share/games/doom\fR is a standard path that is supported by most - Doom source ports. These paths can be overridden using the \fBXDG_DATA_DIRS\fR --- -2.26.2 - diff --git a/games-fps/chocolate-doom/files/chocolate-doom-3.0.1-Update-to-latest-AppStream-formerly-AppData-standard.patch b/games-fps/chocolate-doom/files/chocolate-doom-3.0.1-Update-to-latest-AppStream-formerly-AppData-standard.patch deleted file mode 100644 index 39cef73483e9..000000000000 --- a/games-fps/chocolate-doom/files/chocolate-doom-3.0.1-Update-to-latest-AppStream-formerly-AppData-standard.patch +++ /dev/null @@ -1,119 +0,0 @@ -From: Mike Swanson <mikeonthecomputer@gmail.com> -Date: Sat, 7 Sep 2019 10:43:57 -0700 -Subject: [PATCH] Update to latest AppStream (formerly AppData) standards - -Install files into ${prefix}/share/metainfo rather than -${prefix}/share/appdata, name files by reverse-DNS and suffixed -.metainfo.xml. - -"appstream-util validate" still complains about a missing -update_contact tag and issues with the caption tags being either short -or long, but the specification at -https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html -says these are not errors. ---- - configure.ac | 8 +++--- - ...om.appdata.xml.in => Doom.metainfo.xml.in} | 0 - ...appdata.xml.in => Heretic.metainfo.xml.in} | 0 - ...n.appdata.xml.in => Hexen.metainfo.xml.in} | 0 - src/Makefile.am | 28 +++++++++---------- - ....appdata.xml.in => Strife.metainfo.xml.in} | 0 - 7 files changed, 19 insertions(+), 19 deletions(-) - rename src/{doom.appdata.xml.in => Doom.metainfo.xml.in} (100%) - rename src/{heretic.appdata.xml.in => Heretic.metainfo.xml.in} (100%) - rename src/{hexen.appdata.xml.in => Hexen.metainfo.xml.in} (100%) - rename src/{strife.appdata.xml.in => Strife.metainfo.xml.in} (100%) - -diff --git a/configure.ac b/configure.ac -index 5ec9dfbf..8a3e1bbc 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -167,14 +167,14 @@ pkg/osx/Info.plist - rpm.spec - data/Makefile - src/Makefile --src/doom.appdata.xml -+src/Doom.metainfo.xml - src/doom.desktop - src/doom-screensaver.desktop - src/doom/Makefile --src/heretic.appdata.xml -+src/Heretic.metainfo.xml - src/heretic.desktop - src/heretic/Makefile --src/hexen.appdata.xml -+src/Hexen.metainfo.xml - src/hexen.desktop - src/hexen/Makefile - src/resource.rc -@@ -182,7 +182,7 @@ src/setup-res.rc - src/setup/Makefile - src/setup/setup.desktop - src/setup/setup-manifest.xml --src/strife.appdata.xml -+src/Strife.metainfo.xml - src/strife.desktop - src/strife/Makefile - textscreen/Makefile -diff --git a/src/doom.appdata.xml.in b/src/Doom.metainfo.xml.in -similarity index 100% -rename from src/doom.appdata.xml.in -rename to src/Doom.metainfo.xml.in -diff --git a/src/heretic.appdata.xml.in b/src/Heretic.metainfo.xml.in -similarity index 100% -rename from src/heretic.appdata.xml.in -rename to src/Heretic.metainfo.xml.in -diff --git a/src/hexen.appdata.xml.in b/src/Hexen.metainfo.xml.in -similarity index 100% -rename from src/hexen.appdata.xml.in -rename to src/Hexen.metainfo.xml.in -diff --git a/src/Makefile.am b/src/Makefile.am -index e54aeead..6880bd3c 100644 ---- a/src/Makefile.am -+++ b/src/Makefile.am -@@ -220,24 +220,24 @@ EXTRA_DIST = \ - doom-screensaver.desktop.in \ - manifest.xml - --appdatadir = $(prefix)/share/metainfo --appdata_DATA = \ -- @PROGRAM_PREFIX@doom.appdata.xml \ -- @PROGRAM_PREFIX@heretic.appdata.xml \ -- @PROGRAM_PREFIX@hexen.appdata.xml \ -- @PROGRAM_PREFIX@strife.appdata.xml -+metainfodir = $(prefix)/share/metainfo -+metainfo_DATA = \ -+ @PACKAGE_RDNS@.Doom.metainfo.xml \ -+ @PACKAGE_RDNS@.Heretic.metainfo.xml \ -+ @PACKAGE_RDNS@.Hexen.metainfo.xml \ -+ @PACKAGE_RDNS@.Strife.metainfo.xml - --@PROGRAM_PREFIX@doom.appdata.xml : doom.appdata.xml -- cp doom.appdata.xml $@ -+@PACKAGE_RDNS@.Doom.metainfo.xml : Doom.metainfo.xml -+ cp Doom.metainfo.xml $@ - --@PROGRAM_PREFIX@heretic.appdata.xml : heretic.appdata.xml -- cp heretic.appdata.xml $@ -+@PACKAGE_RDNS@.Heretic.metainfo.xml : Heretic.metainfo.xml -+ cp Heretic.metainfo.xml $@ - --@PROGRAM_PREFIX@hexen.appdata.xml : hexen.appdata.xml -- cp hexen.appdata.xml $@ -+@PACKAGE_RDNS@.Hexen.metainfo.xml : Hexen.metainfo.xml -+ cp Hexen.metainfo.xml $@ - --@PROGRAM_PREFIX@strife.appdata.xml : strife.appdata.xml -- cp strife.appdata.xml $@ -+@PACKAGE_RDNS@.Strife.metainfo.xml : Strife.metainfo.xml -+ cp Strife.metainfo.xml $@ - - appdir = $(prefix)/share/applications - app_DATA = \ -diff --git a/src/strife.appdata.xml.in b/src/Strife.metainfo.xml.in -similarity index 100% -rename from src/strife.appdata.xml.in -rename to src/Strife.metainfo.xml.in --- -2.26.2 - diff --git a/games-fps/chocolate-doom/files/chocolate-doom-3.0.1-bash-completion-Build-from-actual-shell-script-templ.patch b/games-fps/chocolate-doom/files/chocolate-doom-3.0.1-bash-completion-Build-from-actual-shell-script-templ.patch deleted file mode 100644 index 48445cf6efc2..000000000000 --- a/games-fps/chocolate-doom/files/chocolate-doom-3.0.1-bash-completion-Build-from-actual-shell-script-templ.patch +++ /dev/null @@ -1,53 +0,0 @@ -From da88012088dad9f7a5d53c26aa40aa393cb5b703 Mon Sep 17 00:00:00 2001 -From: Mike Swanson <mikeonthecomputer@gmail.com> -Date: Sat, 27 Jan 2018 04:49:08 -0800 -Subject: [PATCH] bash-completion: Build from actual shell script templates. - -At some point, the Makefile was inerrantly modified so that it -generated manpage sources instead of shell script, making completions -very screwed up. ---- - man/bash-completion/Makefile.am | 11 +++++------ - 1 file changed, 5 insertions(+), 6 deletions(-) - -diff --git a/man/bash-completion/Makefile.am b/man/bash-completion/Makefile.am -index 60e7ae9c..bb706fc7 100644 ---- a/man/bash-completion/Makefile.am -+++ b/man/bash-completion/Makefile.am -@@ -17,28 +17,27 @@ BASH_COMPLETION_SCRIPTLETS = \ - bashcompletion_DATA = $(BASH_COMPLETION_SCRIPTLETS) - CLEANFILES = $(BASH_COMPLETION_SCRIPTLETS) - --MANDIR = $(top_srcdir)/man --DOCGEN = $(MANDIR)/docgen -+DOCGEN = $(top_srcdir)/man/docgen - DOCGEN_COMMON_ARGS = -n "@PROGRAM_SPREFIX@" -s "@PACKAGE_NAME@" -z "@PACKAGE_SHORTNAME@" - - @PROGRAM_PREFIX@doom: $(top_srcdir)/src $(DOCGEN) $(BASH_COMPLETION_TEMPLATES) - $(DOCGEN) $(DOCGEN_COMMON_ARGS) \ -- -g doom -b $(MANDIR)/doom.template \ -+ -g doom -b doom.template \ - $(top_srcdir)/src $(top_srcdir)/src/doom > $@ - - @PROGRAM_PREFIX@heretic: $(top_srcdir)/src $(DOCGEN) $(BASH_COMPLETION_TEMPLATES) - $(DOCGEN) $(DOCGEN_COMMON_ARGS) \ -- -g heretic -b $(MANDIR)/heretic.template \ -+ -g heretic -b heretic.template \ - $(top_srcdir)/src $(top_srcdir)/src/heretic > $@ - - @PROGRAM_PREFIX@hexen: $(top_srcdir)/src $(DOCGEN) $(BASH_COMPLETION_TEMPLATES) - $(DOCGEN) $(DOCGEN_COMMON_ARGS) \ -- -g hexen -b $(MANDIR)/hexen.template \ -+ -g hexen -b hexen.template \ - $(top_srcdir)/src $(top_srcdir)/src/hexen > $@ - - @PROGRAM_PREFIX@strife: $(top_srcdir)/src $(DOCGEN) $(BASH_COMPLETION_TEMPLATES) - $(DOCGEN) $(DOCGEN_COMMON_ARGS) \ -- -g strife -b $(MANDIR)/strife.template \ -+ -g strife -b strife.template \ - $(top_srcdir)/src $(top_srcdir)/src/strife > $@ - - EXTRA_DIST = \ --- -2.26.2 - diff --git a/games-fps/chocolate-doom/files/chocolate-doom-3.0.1-bash-completion-always-install-into-datadir-bash-com.patch b/games-fps/chocolate-doom/files/chocolate-doom-3.0.1-bash-completion-always-install-into-datadir-bash-com.patch deleted file mode 100644 index 3931166599f9..000000000000 --- a/games-fps/chocolate-doom/files/chocolate-doom-3.0.1-bash-completion-always-install-into-datadir-bash-com.patch +++ /dev/null @@ -1,61 +0,0 @@ -From b9d4c04c840321f5ec70787d8afb1256766aaa01 Mon Sep 17 00:00:00 2001 -From: Mike Swanson <mikeonthecomputer@gmail.com> -Date: Tue, 6 Aug 2019 15:40:46 -0700 -Subject: [PATCH] bash-completion: always install into $datadir/bash-completion -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -The bash-completion package by default searches in $HOME/.local and -/usr/local first before /usr, and we should respect local installation -locations instead of always trying to write to a path that is -accessible only to root and could conflict with a package manager. - -This removes a toggle in the configure script, which neither actually -worked properly (setting DIR didn’t work) and I believe did the wrong -thing by default anyway. ---- - configure.ac | 9 --------- - man/bash-completion/Makefile.am | 2 +- - 2 files changed, 1 insertion(+), 10 deletions(-) - -diff --git a/configure.ac b/configure.ac -index f12eae68..5ec9dfbf 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -87,13 +87,6 @@ AC_CHECK_DECLS([strcasecmp, strncasecmp], [], [], [[#include <strings.h>]]) - AC_CHECK_LIB(i386, i386_iopl) - AC_CHECK_LIB(amd64, amd64_iopl) - --AC_ARG_WITH([bashcompletiondir], -- AS_HELP_STRING([--with-bashcompletiondir=DIR], [Bash completion directory]), -- [], -- [AS_IF([$($PKG_CONFIG --exists bash-completion 2> /dev/null)], -- [bashcompletiondir=$($PKG_CONFIG --variable=completionsdir bash-completion)], -- [bashcompletiondir=${datadir}/bash-completion/completions])]) -- - case "$host" in - *-*-mingw* | *-*-cygwin* | *-*-msvc* ) - AC_CHECK_TOOL(WINDRES, windres, ) -@@ -153,8 +146,6 @@ AC_SUBST(PACKAGE_URL) - AC_SUBST(PACKAGE_RDNS) - AC_SUBST(PACKAGE_ISSUES) - --AC_SUBST(bashcompletiondir) -- - dnl Shut up the datarootdir warnings. - AC_DEFUN([AC_DATAROOTDIR_CHECKED]) - -diff --git a/man/bash-completion/Makefile.am b/man/bash-completion/Makefile.am -index bb706fc7..9c1400f1 100644 ---- a/man/bash-completion/Makefile.am -+++ b/man/bash-completion/Makefile.am -@@ -1,4 +1,4 @@ --bashcompletiondir=@bashcompletiondir@ -+bashcompletiondir=@datadir@/bash-completion/completions - - BASH_COMPLETION_TEMPLATES = \ - doom.template \ --- -2.26.2 - diff --git a/games-fps/chocolate-doom/files/chocolate-doom-3.0.1-bash-completion-run-docgen-with-z-argument.patch b/games-fps/chocolate-doom/files/chocolate-doom-3.0.1-bash-completion-run-docgen-with-z-argument.patch deleted file mode 100644 index d9df5743d765..000000000000 --- a/games-fps/chocolate-doom/files/chocolate-doom-3.0.1-bash-completion-run-docgen-with-z-argument.patch +++ /dev/null @@ -1,25 +0,0 @@ -From ccfbd4a046de9590cadb522d1f754c78ee9f8d4e Mon Sep 17 00:00:00 2001 -From: Jonathan Dowland <jon@dow.land> -Date: Mon, 15 Jan 2018 19:10:16 +0000 -Subject: [PATCH] bash-completion: run docgen with -z argument - ---- - man/bash-completion/Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/man/bash-completion/Makefile.am b/man/bash-completion/Makefile.am -index 801dd212..60e7ae9c 100644 ---- a/man/bash-completion/Makefile.am -+++ b/man/bash-completion/Makefile.am -@@ -19,7 +19,7 @@ CLEANFILES = $(BASH_COMPLETION_SCRIPTLETS) - - MANDIR = $(top_srcdir)/man - DOCGEN = $(MANDIR)/docgen --DOCGEN_COMMON_ARGS = -n "@PROGRAM_SPREFIX@" -s "@PACKAGE_NAME@" -+DOCGEN_COMMON_ARGS = -n "@PROGRAM_SPREFIX@" -s "@PACKAGE_NAME@" -z "@PACKAGE_SHORTNAME@" - - @PROGRAM_PREFIX@doom: $(top_srcdir)/src $(DOCGEN) $(BASH_COMPLETION_TEMPLATES) - $(DOCGEN) $(DOCGEN_COMMON_ARGS) \ --- -2.26.2 - diff --git a/games-fps/chocolate-doom/files/chocolate-doom-3.0.1-configure-add-AM_PROG_AR-macro.patch b/games-fps/chocolate-doom/files/chocolate-doom-3.0.1-configure-add-AM_PROG_AR-macro.patch deleted file mode 100644 index 725ddb2dba55..000000000000 --- a/games-fps/chocolate-doom/files/chocolate-doom-3.0.1-configure-add-AM_PROG_AR-macro.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 560cdc3e4572cc84d493c5450092b6ce1694bd89 Mon Sep 17 00:00:00 2001 -From: Simon Howard <fraggle@soulsphere.org> -Date: Sun, 30 Sep 2018 23:34:52 -0400 -Subject: [PATCH] configure: add AM_PROG_AR macro. - -Some platforms (eg. Emscripten) have their own version of the ar tool, -so it is important to pick one that matches the target architecture. -Without this macro we always use the default system-installed version -of ar. ---- - configure.ac | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/configure.ac b/configure.ac -index 175d7f3b..6dfced8d 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -15,6 +15,7 @@ AC_CANONICAL_HOST - - orig_CFLAGS="$CFLAGS" - -+AM_PROG_AR - AC_PROG_CC - AC_PROG_RANLIB - AC_CHECK_PROG(HAVE_PYTHON, python, true, false) --- -2.26.2 - diff --git a/games-fps/chocolate-doom/files/chocolate-doom-3.0.1-further-manpage-substitutions-and-fixes.patch b/games-fps/chocolate-doom/files/chocolate-doom-3.0.1-further-manpage-substitutions-and-fixes.patch deleted file mode 100644 index 62fc424f42b9..000000000000 --- a/games-fps/chocolate-doom/files/chocolate-doom-3.0.1-further-manpage-substitutions-and-fixes.patch +++ /dev/null @@ -1,322 +0,0 @@ -From c1f553b92a7a4873b33026463866101e18be8e76 Mon Sep 17 00:00:00 2001 -From: Jonathan Dowland <jon@dow.land> -Date: Mon, 27 Nov 2017 22:24:04 +0000 -Subject: [PATCH] further manpage substitutions and fixes - -Convert chocolate-setup.6 into a template file and generate outputs -based on @PROGRAM_PREFIX@. - -Add @PACKAGE_SHORTNAME@ to the list of parameters handed to docgen -and make appropriate substitutions in the manpage templates. ---- - man/Makefile.am | 15 ++++++++---- - man/docgen | 30 ++++++++++++++--------- - man/heretic.template | 8 +++--- - man/hexen.template | 8 +++--- - man/{chocolate-setup.6 => setup.template} | 4 +-- - man/strife.template | 14 +++++------ - 6 files changed, 45 insertions(+), 34 deletions(-) - rename man/{chocolate-setup.6 => setup.template} (94%) - -diff --git a/man/Makefile.am b/man/Makefile.am -index 5916edf9..f0099c79 100644 ---- a/man/Makefile.am -+++ b/man/Makefile.am -@@ -30,6 +30,7 @@ GENERATED_MAN_PAGES = \ - @PROGRAM_PREFIX@strife.6 \ - strife.cfg.5 \ - @PROGRAM_PREFIX@strife.cfg.5 \ -+ @PROGRAM_PREFIX@setup.6 \ - @PROGRAM_PREFIX@server.6 - - SETUP_MAN_PAGES = \ -@@ -38,8 +39,7 @@ SETUP_MAN_PAGES = \ - @PROGRAM_PREFIX@hexen-setup.6 \ - @PROGRAM_PREFIX@strife-setup.6 - --man_MANS = chocolate-setup.6 \ -- $(GENERATED_MAN_PAGES) \ -+man_MANS = $(GENERATED_MAN_PAGES) \ - $(SETUP_MAN_PAGES) - - doomdocs_DATA = INSTALL.doom CMDLINE.doom -@@ -51,10 +51,10 @@ CLEANFILES = $(GENERATED_MAN_PAGES) $(SETUP_MAN_PAGES) \ - $(doomdocs_DATA) $(hereticdocs_DATA) \ - $(hexendocs_DATA) $(strifedocs_DATA) - DOCGEN = $(srcdir)/docgen --DOCGEN_COMMON_ARGS = -n "@PROGRAM_SPREFIX@" -s "@PACKAGE_NAME@" -+DOCGEN_COMMON_ARGS = -n "@PROGRAM_SPREFIX@" -s "@PACKAGE_NAME@" -z "@PACKAGE_SHORTNAME@" - --$(SETUP_MAN_PAGES): chocolate-setup.6 -- cp $(srcdir)/chocolate-setup.6 $@ -+$(SETUP_MAN_PAGES): @PROGRAM_PREFIX@setup.6 -+ cp $(srcdir)/@PROGRAM_PREFIX@setup.6 $@ - - @PROGRAM_PREFIX@doom.6: $(top_srcdir)/src $(MANPAGE_GEN_FILES) - $(DOCGEN) $(DOCGEN_COMMON_ARGS) \ -@@ -138,6 +138,11 @@ INSTALL.hexen: INSTALL.template - -g server -m $(srcdir)/server.template \ - $(top_srcdir)/src > $@ - -+@PROGRAM_PREFIX@setup.6: $(top_srcdir)/src $(MANPAGE_GEN_FILES) -+ $(DOCGEN) $(DOCGEN_COMMON_ARGS) \ -+ -g setup -m $(srcdir)/setup.template \ -+ $(top_srcdir)/src > $@ -+ - strife.cfg.5: $(top_srcdir)/src default.cfg.template - $(DOCGEN) $(DOCGEN_COMMON_ARGS) \ - -g strife -m $(srcdir)/default.cfg.template \ -diff --git a/man/docgen b/man/docgen -index defb9060..1c8a2471 100755 ---- a/man/docgen -+++ b/man/docgen -@@ -430,7 +430,7 @@ def process_files(path): - - process_file(path) - --def print_template(template_file, program_prefix, package_name, content): -+def print_template(template_file, program_prefix, package_name, package_shortname, content): - f = io.open(template_file, encoding='UTF-8') - - try: -@@ -440,16 +440,18 @@ def print_template(template_file, program_prefix, package_name, content): - filename = match.group(1) - filename = os.path.join(os.path.dirname(template_file), - filename) -- print_template(filename, program_prefix, package_name, content) -+ print_template(filename, program_prefix, package_name, package_shortname, content) - else: - line = line.replace("@content", content) - line = line.replace("@PROGRAM_SPREFIX@", program_prefix) -- line = line.replace("@PACKAGE_SHORTNAME@", package_name) -+ line = line.replace("@PACKAGE_NAME@", package_name) -+ if package_shortname: -+ line = line.replace("@PACKAGE_SHORTNAME@", package_shortname) - stdout(line.rstrip().encode('UTF-8') + b'\n') - finally: - f.close() - --def manpage_output(targets, program_prefix, package_name, template_file): -+def manpage_output(targets, program_prefix, package_name, package_shortname, template_file): - - content = "" - -@@ -458,7 +460,7 @@ def manpage_output(targets, program_prefix, package_name, template_file): - - content = content.replace("-", "\\-") - -- print_template(template_file, program_prefix, package_name, content) -+ print_template(template_file, program_prefix, package_name, package_shortname, content) - - def wiki_output(targets, template): - read_wikipages() -@@ -466,30 +468,31 @@ def wiki_output(targets, template): - for t in targets: - stdout(t.wiki_output().encode('UTF-8') + b'\n') - --def plaintext_output(targets, program_prefix, package_name, template_file): -+def plaintext_output(targets, program_prefix, package_name, package_shortname, template_file): - - content = "" - - for t in targets: - content += t.plaintext_output() + "\n" - -- print_template(template_file, program_prefix, package_name, content) -+ print_template(template_file, program_prefix, package_name, package_shortname, content) - --def completion_output(targets, program_prefix, package_name, template_file): -+def completion_output(targets, program_prefix, package_name, package_shortname, template_file): - - content = "" - - for t in targets: - content += t.completion_output() + "\n" - -- print_template(template_file, program_prefix, package_name, content) -+ print_template(template_file, program_prefix, package_name, package_shortname, content) - - def usage(): -- print("Usage: %s [-V] [-c tag] [-g game] -n name ( -m | -w | -p ) <dir>..." \ -+ print("Usage: %s [-V] [-c tag] [-g game] -n program_name -s package_name [ -z shortname ] ( -m | -w | -p ) <dir>..." \ - % sys.argv[0]) - print(" -c : Provide documentation for the specified configuration file") - print(" (matches the given tag name in the source file)") - print(" -s : Package name (for substitution)") -+ print(" -z : Package short-name (for substitution)") - print(" -n : Program name (for substitution)") - print(" -m : Manpage output") - print(" -w : Wikitext output") -@@ -501,7 +504,7 @@ def usage(): - - # Parse command line - --opts, args = getopt.getopt(sys.argv[1:], "n:s:m:wp:b:c:g:V") -+opts, args = getopt.getopt(sys.argv[1:], "n:s:z:m:wp:b:c:g:V") - - output_function = None - template = None -@@ -509,12 +512,15 @@ doc_config_file = None - match_game = None - program_prefix = None - package_name = None -+package_shortname = None - - for opt in opts: - if opt[0] == "-n": - program_prefix = opt[1] - if opt[0] == "-s": - package_name = opt[1] -+ if opt[0] == "-z": -+ package_shortname = opt[1] - if opt[0] == "-m": - output_function = manpage_output - template = opt[1] -@@ -556,5 +562,5 @@ else: - - # Generate the output - -- output_function(documentation_targets, program_prefix, package_name, template) -+ output_function(documentation_targets, program_prefix, package_name, package_shortname, template) - -diff --git a/man/heretic.template b/man/heretic.template -index c078c7c6..3fa4ce1d 100644 ---- a/man/heretic.template -+++ b/man/heretic.template -@@ -6,7 +6,7 @@ - [\fIOPTIONS\fR] - .SH DESCRIPTION - .PP --Chocolate Heretic is a port of Raven Software's 1994 game "Heretic" that -+@PACKAGE_SHORTNAME@ Heretic is a port of Raven Software's 1994 game "Heretic" that - aims to behave as similar to the original DOS version of Heretic as - possible. - .br -@@ -14,16 +14,16 @@ possible. - .SH IWAD SEARCH PATHS - @include iwad_paths.man - .SH ENVIRONMENT --This section describes environment variables that control Chocolate Heretic's -+This section describes environment variables that control @PACKAGE_SHORTNAME@ Heretic's - behavior. - @include environ.man - .SH FILES - .TP - \fB$HOME/.local/share/@PROGRAM_SPREFIX@\-doom/heretic.cfg\fR --The main configuration file for Chocolate Heretic. See \fBheretic.cfg\fR(5). -+The main configuration file for @PACKAGE_SHORTNAME@ Heretic. See \fBheretic.cfg\fR(5). - .TP - \fB$HOME/.local/share/@PROGRAM_SPREFIX@\-doom/@PROGRAM_SPREFIX@\-heretic.cfg\fR --Extra configuration values that are specific to Chocolate Heretic and not -+Extra configuration values that are specific to @PACKAGE_SHORTNAME@ Heretic and not - present in Vanilla Heretic. See \fB@PROGRAM_SPREFIX@\-heretic.cfg\fR(5). - .SH SEE ALSO - \fB@PROGRAM_SPREFIX@\-doom\fR(6), -diff --git a/man/hexen.template b/man/hexen.template -index 9184a27e..fc953edf 100644 ---- a/man/hexen.template -+++ b/man/hexen.template -@@ -6,7 +6,7 @@ - [\fIOPTIONS\fR] - .SH DESCRIPTION - .PP --Chocolate Hexen is a port of Raven Software's 1995 game "Hexen" that -+@PACKAGE_SHORTNAME@ Hexen is a port of Raven Software's 1995 game "Hexen" that - aims to behave as similar to the original DOS version of Hexen as - possible. - .br -@@ -14,16 +14,16 @@ possible. - .SH IWAD SEARCH PATHS - @include iwad_paths.man - .SH ENVIRONMENT --This section describes environment variables that control Chocolate Hexen's -+This section describes environment variables that control @PACKAGE_SHORTNAME@ Hexen's - behavior. - @include environ.man - .SH FILES - .TP - \fB$HOME/.local/share/@PROGRAM_SPREFIX@\-doom/hexen.cfg\fR --The main configuration file for Chocolate Hexen. See \fBhexen.cfg\fR(5). -+The main configuration file for @PACKAGE_SHORTNAME@ Hexen. See \fBhexen.cfg\fR(5). - .TP - \fB$HOME/.local/share/@PROGRAM_SPREFIX@\-doom/@PROGRAM_SPREFIX@\-hexen.cfg\fR --Extra configuration values that are specific to Chocolate Hexen and not -+Extra configuration values that are specific to @PACKAGE_SHORTNAME@ Hexen and not - present in Vanilla Hexen. See \fB@PROGRAM_SPREFIX@\-hexen.cfg\fR(5). - .SH SEE ALSO - \fB@PROGRAM_SPREFIX@\-doom\fR(6), -diff --git a/man/chocolate-setup.6 b/man/setup.template -similarity index 94% -rename from man/chocolate-setup.6 -rename to man/setup.template -index 64f65937..2b5a45ea 100644 ---- a/man/chocolate-setup.6 -+++ b/man/setup.template -@@ -25,9 +25,9 @@ Load configuration from the specified file, instead of default.cfg. - \fB-extraconfig <file>\fR - Load extra configuration from the specified file, instead of @PROGRAM_SPREFIX@\-doom.cfg. - .SH SEE ALSO --\fB@CHOCOLATE_SPREFIX@\-doom\fR(6), -+\fB@PROGRAM_SPREFIX@\-doom\fR(6), - \fBdefault.cfg\fR(5), --\fB@CHOCOLATE_SPREFIX@\-doom.cfg\fR(5) -+\fB@PROGRAM_SPREFIX@\-doom.cfg\fR(5) - .SH AUTHOR - Chocolate Doom is written and maintained by Simon Howard. - .PP -diff --git a/man/strife.template b/man/strife.template -index 9ca7f14e..b82c39d4 100644 ---- a/man/strife.template -+++ b/man/strife.template -@@ -6,7 +6,7 @@ - [\fIOPTIONS\fR] - .SH DESCRIPTION - .PP --Chocolate Strife is an accurate and complete recreation of Rogue -+@PACKAGE_SHORTNAME@ Strife is an accurate and complete recreation of Rogue - Entertainment's "Strife: Quest for the Sigil". It was created through - more than two years of reverse engineering effort with the blessings - of the original programmers of the game (see the section HISTORY below). -@@ -16,17 +16,17 @@ of the original programmers of the game (see the section HISTORY below). - .SH IWAD SEARCH PATHS - @include iwad_paths.man - .SH ENVIRONMENT --This section describes environment variables that control Chocolate Strife's -+This section describes environment variables that control @PACKAGE_SHORTNAME@ Strife's - behavior. - @include environ.man - - .SH FILES - .TP - \fB$HOME/.local/share/@PROGRAM_SPREFIX@\-doom/strife.cfg\fR --The main configuration file for Chocolate Strife. See \fBstrife.cfg\fR(5). -+The main configuration file for @PACKAGE_SHORTNAME@ Strife. See \fBstrife.cfg\fR(5). - .TP - \fB$HOME/.local/share/@PROGRAM_SPREFIX@\-doom/@PROGRAM_SPREFIX@\-strife.cfg\fR --Extra configuration values that are specific to Chocolate Strife and not -+Extra configuration values that are specific to @PACKAGE_SHORTNAME@ Strife and not - present in Vanilla Strife. See \fB@PROGRAM_SPREFIX@\-strife.cfg\fR(5). - .SH SEE ALSO - \fB@PROGRAM_SPREFIX@\-doom\fR(6), -@@ -57,15 +57,15 @@ and neither Rogue nor their publisher, Velocity, Inc., exist any longer as - legal entities, this is effectively legal permission. - - .SH BUGS --Chocolate Strife is almost, but not entirely perfect, in recreating the -+@PACKAGE_SHORTNAME@ Strife is almost, but not entirely perfect, in recreating the - behavior of Vanilla Strife. Help us by reporting any discrepancies you - might notice between this executable and the vanilla DOS program. - - However, do *not* report any glitch that you can replicate in the vanilla EXE --as a bug. The point of Chocolate Strife, like Chocolate Doom before it, is to -+as a bug. The point of @PACKAGE_SHORTNAME Strife, like Chocolate Doom before it, is to - be as bug-compatible with the original game as possible. Also be aware that - some glitches are impossible to compatibly recreate, and wherever this is the --case, Chocolate Strife has erred on the side of not crashing the program, -+case, @PACKAGE_SHORTNAME@ Strife has erred on the side of not crashing the program, - for example by initializing pointers to NULL rather than using them without - setting a value first. - --- -2.26.2 - diff --git a/games-fps/chocolate-doom/files/chocolate-doom-3.0.1-install-AppStream-metadata-into-the-proper-location.patch b/games-fps/chocolate-doom/files/chocolate-doom-3.0.1-install-AppStream-metadata-into-the-proper-location.patch deleted file mode 100644 index 025ccf0ad179..000000000000 --- a/games-fps/chocolate-doom/files/chocolate-doom-3.0.1-install-AppStream-metadata-into-the-proper-location.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 12d69a4ee62094b48b37f550d31113e84cca0043 Mon Sep 17 00:00:00 2001 -From: Fabian Greffrath <fabian@greffrath.com> -Date: Mon, 22 Jan 2018 17:24:41 +0100 -Subject: [PATCH] install AppStream metadata into the proper location - -AppStream metadata is to be placed in the /usr/share/metainfo/ directory, /usr/share/appdata is a legacy location. ---- - src/Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/Makefile.am b/src/Makefile.am -index e3bc7bb1..04474ab3 100644 ---- a/src/Makefile.am -+++ b/src/Makefile.am -@@ -212,7 +212,7 @@ EXTRA_DIST = \ - doom-screensaver.desktop.in \ - manifest.xml - --appdatadir = $(prefix)/share/appdata -+appdatadir = $(prefix)/share/metainfo - appdata_DATA = \ - @PROGRAM_PREFIX@doom.appdata.xml \ - @PROGRAM_PREFIX@heretic.appdata.xml \ --- -2.26.2 - diff --git a/games-fps/chocolate-doom/files/chocolate-doom-3.0.1-use-reverse-DNS-naming-for-installing-.desktop-files.patch b/games-fps/chocolate-doom/files/chocolate-doom-3.0.1-use-reverse-DNS-naming-for-installing-.desktop-files.patch deleted file mode 100644 index ceed45834ff0..000000000000 --- a/games-fps/chocolate-doom/files/chocolate-doom-3.0.1-use-reverse-DNS-naming-for-installing-.desktop-files.patch +++ /dev/null @@ -1,162 +0,0 @@ -From bc50bd123e2b43ff404599b2a017a98261a66e47 Mon Sep 17 00:00:00 2001 -From: Mike Swanson <mikeonthecomputer@gmail.com> -Date: Sat, 7 Sep 2019 10:57:50 -0700 -Subject: [PATCH] use reverse-DNS naming for installing *.desktop files - -This is similar to and consistent with the previous commit, and the -desktop entry specification recommends doing this as well. ---- - configure.ac | 12 +++---- - src/{doom.desktop.in => Doom.desktop.in} | 0 - ...desktop.in => Doom_Screensaver.desktop.in} | 0 - ...{heretic.desktop.in => Heretic.desktop.in} | 0 - src/{hexen.desktop.in => Hexen.desktop.in} | 0 - src/Makefile.am | 32 +++++++++---------- - src/{strife.desktop.in => Strife.desktop.in} | 0 - src/setup/Makefile.am | 6 ++-- - .../{setup.desktop.in => Setup.desktop.in} | 0 - 9 files changed, 25 insertions(+), 25 deletions(-) - rename src/{doom.desktop.in => Doom.desktop.in} (100%) - rename src/{doom-screensaver.desktop.in => Doom_Screensaver.desktop.in} (100%) - rename src/{heretic.desktop.in => Heretic.desktop.in} (100%) - rename src/{hexen.desktop.in => Hexen.desktop.in} (100%) - rename src/{strife.desktop.in => Strife.desktop.in} (100%) - rename src/setup/{setup.desktop.in => Setup.desktop.in} (100%) - -diff --git a/configure.ac b/configure.ac -index 8a3e1bbc..032a8be2 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -168,22 +168,22 @@ rpm.spec - data/Makefile - src/Makefile - src/Doom.metainfo.xml --src/doom.desktop --src/doom-screensaver.desktop -+src/Doom.desktop -+src/Doom_Screensaver.desktop - src/doom/Makefile - src/Heretic.metainfo.xml --src/heretic.desktop -+src/Heretic.desktop - src/heretic/Makefile - src/Hexen.metainfo.xml --src/hexen.desktop -+src/Hexen.desktop - src/hexen/Makefile - src/resource.rc - src/setup-res.rc - src/setup/Makefile --src/setup/setup.desktop -+src/setup/Setup.desktop - src/setup/setup-manifest.xml - src/Strife.metainfo.xml --src/strife.desktop -+src/Strife.desktop - src/strife/Makefile - textscreen/Makefile - textscreen/examples/Makefile -diff --git a/src/doom.desktop.in b/src/Doom.desktop.in -similarity index 100% -rename from src/doom.desktop.in -rename to src/Doom.desktop.in -diff --git a/src/doom-screensaver.desktop.in b/src/Doom_Screensaver.desktop.in -similarity index 100% -rename from src/doom-screensaver.desktop.in -rename to src/Doom_Screensaver.desktop.in -diff --git a/src/heretic.desktop.in b/src/Heretic.desktop.in -similarity index 100% -rename from src/heretic.desktop.in -rename to src/Heretic.desktop.in -diff --git a/src/hexen.desktop.in b/src/Hexen.desktop.in -similarity index 100% -rename from src/hexen.desktop.in -rename to src/Hexen.desktop.in -diff --git a/src/Makefile.am b/src/Makefile.am -index 6880bd3c..19a42598 100644 ---- a/src/Makefile.am -+++ b/src/Makefile.am -@@ -217,7 +217,7 @@ endif - EXTRA_DIST = \ - CMakeLists.txt \ - icon.c \ -- doom-screensaver.desktop.in \ -+ Doom_Screensaver.desktop.in \ - manifest.xml - - metainfodir = $(prefix)/share/metainfo -@@ -241,28 +241,28 @@ metainfo_DATA = \ - - appdir = $(prefix)/share/applications - app_DATA = \ -- @PROGRAM_PREFIX@doom.desktop \ -- @PROGRAM_PREFIX@heretic.desktop \ -- @PROGRAM_PREFIX@hexen.desktop \ -- @PROGRAM_PREFIX@strife.desktop -+ @PACKAGE_RDNS@.Doom.desktop \ -+ @PACKAGE_RDNS@.Heretic.desktop \ -+ @PACKAGE_RDNS@.Hexen.desktop \ -+ @PACKAGE_RDNS@.Strife.desktop - --@PROGRAM_PREFIX@doom.desktop : doom.desktop -- cp doom.desktop $@ -+@PACKAGE_RDNS@.Doom.desktop : Doom.desktop -+ cp Doom.desktop $@ - --@PROGRAM_PREFIX@heretic.desktop : heretic.desktop -- cp heretic.desktop $@ -+@PACKAGE_RDNS@.Heretic.desktop : Heretic.desktop -+ cp Heretic.desktop $@ - --@PROGRAM_PREFIX@hexen.desktop : hexen.desktop -- cp hexen.desktop $@ -+@PACKAGE_RDNS@.Hexen.desktop : Hexen.desktop -+ cp Hexen.desktop $@ - --@PROGRAM_PREFIX@strife.desktop : strife.desktop -- cp strife.desktop $@ -+@PACKAGE_RDNS@.Strife.desktop : Strife.desktop -+ cp Strife.desktop $@ - - screensaverdir = $(prefix)/share/applications/screensavers --screensaver_DATA = @PROGRAM_PREFIX@doom-screensaver.desktop -+screensaver_DATA = @PACKAGE_RDNS@.Doom_Screensaver.desktop - --@PROGRAM_PREFIX@doom-screensaver.desktop: doom-screensaver.desktop -- cp doom-screensaver.desktop $@ -+@PACKAGE_RDNS@.Doom_Screensaver.desktop: Doom_Screensaver.desktop -+ cp Doom_Screensaver.desktop $@ - - CLEANFILES = $(execgames_SCRIPTS) $(app_DATA) $(screensaver_DATA) - -diff --git a/src/strife.desktop.in b/src/Strife.desktop.in -similarity index 100% -rename from src/strife.desktop.in -rename to src/Strife.desktop.in -diff --git a/src/setup/Makefile.am b/src/setup/Makefile.am -index 76db29cf..a9dd240c 100644 ---- a/src/setup/Makefile.am -+++ b/src/setup/Makefile.am -@@ -26,12 +26,12 @@ EXTRA_DIST= \ - setup_icon.c - - appdir = $(prefix)/share/applications --app_DATA = @PROGRAM_PREFIX@setup.desktop -+app_DATA = @PACKAGE_RDNS@.Setup.desktop - - CLEANFILES = $(app_DATA) - --@PROGRAM_PREFIX@setup.desktop : setup.desktop -- cp setup.desktop $@ -+@PACKAGE_RDNS@.Setup.desktop : Setup.desktop -+ cp Setup.desktop $@ - - if HAVE_PYTHON - -diff --git a/src/setup/setup.desktop.in b/src/setup/Setup.desktop.in -similarity index 100% -rename from src/setup/setup.desktop.in -rename to src/setup/Setup.desktop.in --- -2.26.2 - diff --git a/games-fps/sauerbraten/Manifest b/games-fps/sauerbraten/Manifest index 264bfb7ea225..6a0a850f93a7 100644 --- a/games-fps/sauerbraten/Manifest +++ b/games-fps/sauerbraten/Manifest @@ -1,8 +1,9 @@ AUX sauerbraten-2020.12.27-respect-FLAGS-don-t-strip-symbols.patch 5648 BLAKE2B 0515107fdeb0a441cc772c747f98068f4819b8ac4999ffd67a68bef96a59b754c3d6e9602a378dfb51984283867b82f1a855c5fdb8d9dacc392d67b57ba9dfdc SHA512 658325bc184792b776eb1a698eb28efdd451aed2f37c1e2182e7ca4703e5ea38eb0e5a5b4742738c94281f829f14eb394972449c43818805b7fb21f259b2c473 AUX sauerbraten-2020.12.27-unbundle-enet.patch 3893 BLAKE2B ee866466fc13977c62750ee63c669f4815c4a5c42c14ab34b19fb4b6b356201042eddbab48c768ef173e26bfc883b47fc7f92d82f4b7660ec25efede0ea82679 SHA512 65206ebfed702fc165eef57a922fd85d2bf0251a8e3f6a7b7fa3b7b3ceee207466c8ac846b1303a1de4e9857b5bff61a01688700e6d3a0286c60c567071f2633 AUX sauerbraten-2020.12.27-use-pkg-config-for-freetype2.patch 1028 BLAKE2B b628050655e112e7002f2aa2680d55b7d56dc2034bcf445802c594ac7386aa1ebb8301493df4a981b5595b8e6bdc29bd6851be53733a77ebde1058c0eb48d590 SHA512 85d26c201ac55b746a77755a82e9a055ac3ff8cb374a398e98cf50f373388e9b5183f1b316d5b73af91bba5c9815bfa391f43d1621febd9bd7b8afb3c25ba209 +AUX sauerbraten-2020.12.29-includefix.patch 890 BLAKE2B 69a7c7ca3b28920664c41de0648f4d749cc17d4ffed198518d53c783de4c613b4cfed3fe6215f1b9017d878d94b16d87217bb77cb8d3c06803b9ad69f6c9bbf9 SHA512 0ca468365b539038e18ae5660b55c55b35508c73437c1df9aa8d33335c3cc22d8d215618411be7a3ac2096e30ff52d3051361502594c198f331bf8b1c49238d3 AUX sauerbraten.conf 614 BLAKE2B 7fcd75fbc0be5ab445ddc5c5f5256529ab52d8f036687f2835b6e2996f0d832d42ecad75b857a4dc5b88db7ea2ff5bd0be30c60bd0462a20b8995b793adef348 SHA512 6731950c3f5309f7155ca71804f01d88562dcc82a7089499c076941b0283f42b0a7a4293859079d20a40b41e57f22f80c8e25f7670b17a64313055e9d1051000 AUX sauerbraten.init 1903 BLAKE2B a7917ba65edf17c2ed3b0a3026a7f305978e34a15ea28dcf78f9de3ff55b3391a8fb3550f615ea4890c186d2348957ce0cda6354fdaf5b02e811383243efe04f SHA512 d4d95e1917d8324589b682112957f95de4033711e67a0303753978de57cb030ad28d59f350373014c791755f4225f5ec2b914a2fe73ca68e5f94fdb3d6998ae9 -DIST sauerbraten_2020_12_27_linux.tar.bz2 985815649 BLAKE2B 4ec9caf705766aed76153a8631b1990c6432db8c816d579e891263b36adf0e7ed4831d2fee010b7692f6457989c0acea552f72c95e0924e97182d2a03dc947f2 SHA512 60487e0493478b9dd8940a9239834d8f3f6b6ca529f3c5b718f91caf5116073942ca6908d7fff26ab37b7ec590114ab07f24cdcea5c355288d3c2706d626ea28 -EBUILD sauerbraten-2020.12.27.ebuild 3292 BLAKE2B e7c3e340822357f5556fb38f7cc753733e0f7c43d431505fe2e137d5e3eb1404f164ca0d095b414704f8ac79e1c84098f74eac57d3a34c9db85b9b7606ddfc81 SHA512 9b8c80e184d9c2201d8cb7fd925b67a565a1f906773f5f66d0cea3030078ebe458841268e48be2bbefbf6f8bb7fc51712b07236077923a45f2cacd4d32cd1b8b +DIST sauerbraten_2020_12_29_linux.tar.bz2 985823440 BLAKE2B 8d3cb9a26b65fecd6596211af58504cf8a2f5f95486785e15fb2faa8398046d80f7548727dff96683a1d6dcd713ec175bbd9ca47852a8c88d872d954d02ab2c0 SHA512 fd2106e4ed3d48352b5cc2f9d4037933a486e6200ef89bf9e3f31952f4a27ef565f7740d45c32bb9b22da0e17e6542257169134f216bc51a6a465ff311f9bae9 +EBUILD sauerbraten-2020.12.29.ebuild 3430 BLAKE2B 5e8fa3dced9ab04bfdde5621031a4a3baf8449c5f55dc1a7f50ad326d3806050ffabdac2b0f5e3baafced749d71b1ce0477a567fc75e4b53115bd76874f13727 SHA512 ad9b744cf9723e2651188761bfc9e8942c1b7502bc2e478dec7b19cfb73285551b8623c673392e77a63f597e1d8dd63c5039ab3c3a72ff97356800664c131348 MISC metadata.xml 402 BLAKE2B cf98604dae54752acae657864f2a168e284e484ddd903fbbb22dc2a3a25241a323233b49abcab62711398cf200e3617fae17d48a948a8dcf702c8435b83216b1 SHA512 60b18a5cd29a8a2ca8e32109ea6e1ed5721e95bdecc138d76767a10e143dc2532fafadded6e2f4b6ecb4769f4ab0a87927ade4db5e16a67ed8398b410f0577ee diff --git a/games-fps/sauerbraten/files/sauerbraten-2020.12.29-includefix.patch b/games-fps/sauerbraten/files/sauerbraten-2020.12.29-includefix.patch new file mode 100644 index 000000000000..422d6b1b3963 --- /dev/null +++ b/games-fps/sauerbraten/files/sauerbraten-2020.12.29-includefix.patch @@ -0,0 +1,39 @@ +diff --git a/movie.cpp b/movie.cpp +index 25cb491..7f7536c 100644 +--- a/src/engine/movie.cpp ++++ b/src/engine/movie.cpp +@@ -8,7 +8,7 @@ + // kino - ok + + #include "engine.h" +-#include "SDL_mixer.h" ++#include <SDL2/SDL_mixer.h> + + VAR(dbgmovie, 0, 0, 1); + +diff --git a/sound.cpp b/sound.cpp +index 38ff025..a0ed5db 100644 +--- a/src/engine/sound.cpp ++++ b/src/engine/sound.cpp +@@ -1,7 +1,7 @@ + // sound.cpp: basic positional sound using sdl_mixer + + #include "engine.h" +-#include "SDL_mixer.h" ++#include <SDL2/SDL_mixer.h> + + bool nosound = true; + +diff --git a/texture.cpp b/texture.cpp +index 964d39d..f76b9b1 100644 +--- a/src/engine/texture.cpp ++++ b/src/engine/texture.cpp +@@ -1,7 +1,7 @@ + // texture.cpp: texture slot management + + #include "engine.h" +-#include "SDL_image.h" ++#include <SDL2/SDL_image.h> + + #ifndef SDL_IMAGE_VERSION_ATLEAST + #define SDL_IMAGE_VERSION_ATLEAST(X, Y, Z) \ diff --git a/games-fps/sauerbraten/sauerbraten-2020.12.27.ebuild b/games-fps/sauerbraten/sauerbraten-2020.12.29.ebuild index 586071487332..ca0be0265bc5 100644 --- a/games-fps/sauerbraten/sauerbraten-2020.12.27.ebuild +++ b/games-fps/sauerbraten/sauerbraten-2020.12.29.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit desktop flag-o-matic toolchain-funcs wrapper xdg @@ -43,6 +43,8 @@ PATCHES=( # Don't use freetype-config, it's obsolete "${FILESDIR}"/${PN}-2020.12.27-use-pkg-config-for-freetype2.patch + # More sensible ways of including SDL_mixer and SDL_image. Game doesn't build w/o this. + "${FILESDIR}"/${PN}-2020.12.29-includefix.patch ) src_prepare() { |