From d99093fb4bb5652015c06274d64083daa2439e4f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 3 Mar 2021 10:28:17 +0000 Subject: gentoo resync : 03.03.2021 --- games-util/Manifest.gz | Bin 7731 -> 7733 bytes games-util/deutex/Manifest | 2 +- games-util/deutex/metadata.xml | 3 - games-util/gamemode/Manifest | 6 +- games-util/gamemode/gamemode-1.6.1.ebuild | 131 +++++++++++++++++++++ games-util/gamemode/gamemode-1.6.ebuild | 131 --------------------- games-util/gamemode/gamemode-9999.ebuild | 4 +- games-util/lutris/Manifest | 1 - .../lutris/files/lutris-0.5.7-copy_paste_fix.patch | 38 ------ games-util/slade/Manifest | 13 +- .../slade/files/slade-3.1.12a-bundled-libs.patch | 80 ------------- .../files/slade-3.1.12a-cmake-lua-version.patch | 11 -- .../files/slade-3.1.12a-fluidsynth-driver.patch | 14 --- .../slade/files/slade-3.1.12a-freetype-deps.patch | 74 ------------ .../slade/files/slade-3.1.12a-sfml-gtk3.patch | 88 -------------- .../slade/files/slade-3.1.12a-wxGLCanvas.patch | 112 ------------------ .../files/slade-3.2.0_beta2-bundled-libs.patch | 85 +++++++++++++ .../slade-3.2.0_beta2-fluidsynth-driver.patch | 27 +++++ games-util/slade/slade-3.1.12a-r100.ebuild | 72 ----------- games-util/slade/slade-3.1.12a.ebuild | 67 ----------- games-util/slade/slade-3.2.0_beta2.ebuild | 77 ++++++++++++ games-util/xboxdrv/Manifest | 2 +- games-util/xboxdrv/xboxdrv-0.8.8_p20190118.ebuild | 2 +- 23 files changed, 332 insertions(+), 708 deletions(-) create mode 100644 games-util/gamemode/gamemode-1.6.1.ebuild delete mode 100644 games-util/gamemode/gamemode-1.6.ebuild delete mode 100644 games-util/lutris/files/lutris-0.5.7-copy_paste_fix.patch delete mode 100644 games-util/slade/files/slade-3.1.12a-bundled-libs.patch delete mode 100644 games-util/slade/files/slade-3.1.12a-cmake-lua-version.patch delete mode 100644 games-util/slade/files/slade-3.1.12a-fluidsynth-driver.patch delete mode 100644 games-util/slade/files/slade-3.1.12a-freetype-deps.patch delete mode 100644 games-util/slade/files/slade-3.1.12a-sfml-gtk3.patch delete mode 100644 games-util/slade/files/slade-3.1.12a-wxGLCanvas.patch create mode 100644 games-util/slade/files/slade-3.2.0_beta2-bundled-libs.patch create mode 100644 games-util/slade/files/slade-3.2.0_beta2-fluidsynth-driver.patch delete mode 100644 games-util/slade/slade-3.1.12a-r100.ebuild delete mode 100644 games-util/slade/slade-3.1.12a.ebuild create mode 100644 games-util/slade/slade-3.2.0_beta2.ebuild (limited to 'games-util') diff --git a/games-util/Manifest.gz b/games-util/Manifest.gz index f905bbf8ff36..752274bfc101 100644 Binary files a/games-util/Manifest.gz and b/games-util/Manifest.gz differ diff --git a/games-util/deutex/Manifest b/games-util/deutex/Manifest index 3303f9107e45..2f231c190092 100644 --- a/games-util/deutex/Manifest +++ b/games-util/deutex/Manifest @@ -2,4 +2,4 @@ DIST deutex-5.2.0.tar.xz 165772 BLAKE2B 4451e6abc13d3d6e9176a5d8aad6a5d3d986b2b2 DIST deutex-5.2.2.tar.zst 172022 BLAKE2B ad290ce6792425ba7f643cfe6c09c1a3f040ad0a4c95822f9368592dde6d489d28e892a26d78f2ebfefa086c910c948ef37eb3a3047429605653b273f9b567a8 SHA512 5f3c3d3ecad3a7949270a10c3c7e3a8be938389d4846dcac171526a9fd0485e056889323d303f61630e8735e5735edc91df7ad4efaba3d0b2b66a9d719017ebc EBUILD deutex-5.2.0.ebuild 565 BLAKE2B 0e507e25b9617714c7e183564af787cb8fc997a08228db79e7b4657764852e695b71ff931652ffb75d0bcdc1436b9f9c5ee453ab9f6ba81e283c5bbdf68f4f7d SHA512 a89f01e8255532877c22bcf0e12232c02e02a6d794fb69cb6734b5f70b69d5d72d4ecd6794342e05d909c72c653e147d3dbf35b3af0fd6b6972fc4bcb3cc1a29 EBUILD deutex-5.2.2.ebuild 584 BLAKE2B cb9ae5e33c9f750b106828a829884add22b3126e3d7a0e78416802c912fcdb6bd39a19ff9218bf892cab9d86f47c48bc2329e3e3149e7a9553d20b0f991ce880 SHA512 eebbd39fd366dbd057ea702aca7235e331f4afc9ccc18f40ace39b3aee44f3edf642efdfa82db45a9cba17f4183a408856615bad6d33ea37af5d0dcf96a62b5b -MISC metadata.xml 1225 BLAKE2B 5c2a69f813915309ef9da4cdc45c5b6e25cec5c742f6abe321c06245786055c176698ae7275dd507ad06dfb37b6eb093778aa4593a472c9324c97d35ef1c4e27 SHA512 65ab35a0d9b12e6e5dda98b5277bf17ab2f6c655c2fdb09c9b9bed3684a338b7bdf655f864390b6d74207c94ac8baa6776e825db7f8b1f3060c9ca3983885602 +MISC metadata.xml 1156 BLAKE2B 1e96da44de146da39927743f7acc2e0e655f858ba33dad38737c8f563b61b0af565d01e3aba6d911f69291e3e3d123cd3bc92c7da85f603fb95f1291a0d2837c SHA512 0c0326cb90da12fbfadaef8e99793a685da446fa201fea352540e50f9690446e0c2848412c5ac3bf1e9d4fc8cb39602f2e39172ecd84df3ab29be5752301350e diff --git a/games-util/deutex/metadata.xml b/games-util/deutex/metadata.xml index 9a0a48fe7f21..5a4ca375fc21 100644 --- a/games-util/deutex/metadata.xml +++ b/games-util/deutex/metadata.xml @@ -23,9 +23,6 @@ games@gentoo.org Gentoo Games Project - - Build and install man pages - https://github.com/Doom-Utils/deutex/issues https://github.com/Doom-Utils/deutex diff --git a/games-util/gamemode/Manifest b/games-util/gamemode/Manifest index 86ac4f14ae8d..f1672011e3d3 100644 --- a/games-util/gamemode/Manifest +++ b/games-util/gamemode/Manifest @@ -1,4 +1,4 @@ -DIST gamemode-1.6.tar.xz 69916 BLAKE2B 2fbb680de4043a004a91005647208fd9ca25de250bffe97acc0cabea47dba90d1ef670478582203d616704ea1f5a771115aadef4971e1e41f078104116b08cc4 SHA512 7cb4f4dd51b35e3a0164092342be56ce70bf1a81a8ff071725b429378cf92a100e263bc33890d5f5e281ad87fb72e2f820cb716c5aedf14f387610dcb59eb690 -EBUILD gamemode-1.6.ebuild 4046 BLAKE2B b5dd9ca1701843027fd0533a27d3ae4d938995bc635d18cdc45084e8d5cbeea3819c8b5c54a5a33dce74bdae0a47294f48b8df774b5c67120c20c7bd8cbb4e1f SHA512 5c1c8f455ea61bf62aaa9794cb47d244105bf4d4e0d0aaed985a00759e8276ef39216e0366d340947034656577c40f4614b4b90e5cf468a7f6770e5f5a7e3386 -EBUILD gamemode-9999.ebuild 4046 BLAKE2B b5dd9ca1701843027fd0533a27d3ae4d938995bc635d18cdc45084e8d5cbeea3819c8b5c54a5a33dce74bdae0a47294f48b8df774b5c67120c20c7bd8cbb4e1f SHA512 5c1c8f455ea61bf62aaa9794cb47d244105bf4d4e0d0aaed985a00759e8276ef39216e0366d340947034656577c40f4614b4b90e5cf468a7f6770e5f5a7e3386 +DIST gamemode-1.6.1.tar.xz 71224 BLAKE2B aafa3123a2c672197d28fafbc7331004b6e4c87808e831f5e0341fd9a690acda8305da114651391fe39e6702bac805cede9d696280d03d4cc3d03d6f4d782efd SHA512 99403a68675522d3b412424591ab7f0cef54968a699f8f68aa59a42a43df73db4bc8a84ee8f97b9f78f329ecd1ed2f3a50e3cb539458f23e7c5fbe28f7978e47 +EBUILD gamemode-1.6.1.ebuild 4051 BLAKE2B 6962384b196f2d3f762ce4220aad1467b79e1badf13c09a30a49443469391a908d58a08a016d816d185852551e9d5f8cbd530bf33c34e8948e4ae26296dfeb0f SHA512 43df152c784d3838207d8c0512e86412ccf92839bec4f80aa4f0ab88451973cc0ad4c400df93ca38f5cbcab4f58f9bcf3b48b6b8e1c24b72ded0e9d5e1f9e363 +EBUILD gamemode-9999.ebuild 4051 BLAKE2B 6962384b196f2d3f762ce4220aad1467b79e1badf13c09a30a49443469391a908d58a08a016d816d185852551e9d5f8cbd530bf33c34e8948e4ae26296dfeb0f SHA512 43df152c784d3838207d8c0512e86412ccf92839bec4f80aa4f0ab88451973cc0ad4c400df93ca38f5cbcab4f58f9bcf3b48b6b8e1c24b72ded0e9d5e1f9e363 MISC metadata.xml 530 BLAKE2B 14e10e8800bca7ad7e412916ee250a4c9dbc5ed78feb99fbb9ec1feb6cc60cbf96494676eaf48200781f9e25bd330d97e16e7cbd46120df79a3e7affb8361d7e SHA512 6a080b2ec0af531ef9c5d989927a2bef7dd8870c27a5edccc9e61bc9c35cb8bc11c1b781aa003dbca470a2c8172b10f5317be6cca6c6d3d6bef206e91fe7e75c diff --git a/games-util/gamemode/gamemode-1.6.1.ebuild b/games-util/gamemode/gamemode-1.6.1.ebuild new file mode 100644 index 000000000000..65304e1c6223 --- /dev/null +++ b/games-util/gamemode/gamemode-1.6.1.ebuild @@ -0,0 +1,131 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MULTILIB_COMPAT=( abi_x86_{32,64} ) + +inherit meson multilib-minimal ninja-utils systemd + +DESCRIPTION="Optimise Linux system performance on demand" +HOMEPAGE="https://github.com/FeralInteractive/gamemode" + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="https://github.com/FeralInteractive/gamemode.git" + GAMEMODE_GIT_PTR="master" + inherit git-r3 +else + GAMEMODE_GIT_PTR="${PV}" + SRC_URI="https://github.com/FeralInteractive/gamemode/releases/download/${GAMEMODE_GIT_PTR}/${P}.tar.xz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="BSD" +SLOT="0" +IUSE="systemd elogind" + +REQUIRED_USE="^^ ( systemd elogind )" + +RDEPEND=" + acct-group/gamemode + >=dev-libs/inih-53 + sys-apps/dbus[${MULTILIB_USEDEP},systemd(+)=,elogind(-)=] + sys-auth/polkit + sys-libs/libcap +" +DEPEND="${RDEPEND}" + +DOCS=( + CHANGELOG.md + LICENSE.txt + README.md + example/gamemode.ini +) + +pkg_pretend() { + elog + elog "GameMode needs a kernel capable of SCHED_ISO to use its soft realtime" + elog "feature. Example of a kernel providing that is sys-kernel/pf-sources." + elog + elog "Support for soft realtime is completely optional. It may provide the" + elog "following benefits with systems having at least four CPU cores:" + elog + elog " * more CPU shares allocated exclusively to the game" + elog " * reduced input lag and reduced thread latency" + elog " * more consistent frame times resulting in less microstutters" + elog + elog "You probably won't benefit from soft realtime mode and thus don't need" + elog "SCHED_ISO if:" + elog + elog " * Your CPU has less than four cores because the game may experience" + elog " priority inversion with the graphics driver (thus heuristics" + elog " automatically disable SCHED_ISO usage then)" + elog " * Your game uses busy-loops to interface with the graphics driver" + elog " but you may still force SCHED_ISO per configuation file, YMMV," + elog " it depends on the graphics driver implementation, i.e. usage of" + elog " __GL_THREADED_OPTIMIZATIONS or similar." + elog " * If your game causes more than 70% CPU usage across all cores," + elog " SCHED_ISO automatically turns off and on depending on usage and" + elog " is processed with higher-than-normal priority then (renice)." + elog " This auto-switching may result in a lesser game experience." + elog + elog "For more info look at:" + elog "https://github.com/FeralInteractive/gamemode/blob/${GAMEMODE_GIT_PTR}/README.md" + elog +} + +multilib_src_configure() { + local emesonargs=( + -Dwith-sd-bus-provider=$(usex systemd "systemd" "elogind") + -Dwith-systemd-user-unit-dir="$(systemd_get_userunitdir)" + ) + if ! multilib_is_native_abi; then + emesonargs+=( + -Dwith-examples=false + -Dwith-sd-bus-provider=no-daemon + ) + fi + + meson_src_configure +} + +multilib_src_compile() { + eninja +} + +multilib_src_install() { + DESTDIR="${D}" eninja install + if multilib_is_native_abi; then + insinto /etc/security/limits.d + newins - 45-gamemode.conf <<-EOF + @gamemode - nice -10 + EOF + fi +} + +pkg_postinst() { + elog + elog "GameMode has optional support for adjusting nice and ioprio of games" + elog "running with it. You may need to adjust your PAM limits to make use" + elog "of this. You need to be in the gamemode group for this to work." + elog + elog "Run the following command as root to add your user:" + elog "# gpasswd -a USER gamemode # with USER = your user name" + elog + elog "You can run the following command to test your settings:" + elog + elog "# gamemoded -t" + elog + elog "GameMode supports GPU optimizations. It defaults to OFF. Any" + elog "damage resulting from usage of this is your own responsibility." + elog + elog "systemd user sessions will automatically run the daemon on demand," + elog "it does not need to be enabled explicitly. Games not supporting" + elog "GameMode natively can still make use of it, just add" + elog + elog "gamemoderun %command%" + elog + elog "to the start options of any steam game to enable optimizations" + elog "automatically as you start the game." + elog +} diff --git a/games-util/gamemode/gamemode-1.6.ebuild b/games-util/gamemode/gamemode-1.6.ebuild deleted file mode 100644 index aff871628598..000000000000 --- a/games-util/gamemode/gamemode-1.6.ebuild +++ /dev/null @@ -1,131 +0,0 @@ -# Copyright 2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MULTILIB_COMPAT=( abi_x86_{32,64} ) - -inherit meson multilib-minimal ninja-utils systemd - -DESCRIPTION="Optimise Linux system performance on demand" -HOMEPAGE="https://github.com/FeralInteractive/gamemode" - -if [[ ${PV} == "9999" ]] ; then - EGIT_REPO_URI="https://github.com/FeralInteractive/gamemode.git" - GAMEMODE_GIT_PTR="master" - inherit git-r3 -else - GAMEMODE_GIT_PTR="${PV}" - SRC_URI="https://github.com/FeralInteractive/gamemode/releases/download/${GAMEMODE_GIT_PTR}/${P}.tar.xz" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="BSD" -SLOT="0" -IUSE="systemd elogind" - -REQUIRED_USE="^^ ( systemd elogind )" - -RDEPEND=" - acct-group/gamemode - dev-libs/inih - sys-apps/dbus[${MULTILIB_USEDEP},systemd(+)=,elogind(-)=] - sys-auth/polkit - sys-libs/libcap -" -DEPEND="${RDEPEND}" - -DOCS=( - CHANGELOG.md - LICENSE.txt - README.md - example/gamemode.ini -) - -pkg_pretend() { - elog - elog "GameMode needs a kernel capable of SCHED_ISO to use its soft realtime" - elog "feature. Example of a kernel providing that is sys-kernel/pf-sources." - elog - elog "Support for soft realtime is completely optional. It may provide the" - elog "following benefits with systems having at least four CPU cores:" - elog - elog " * more CPU shares allocated exclusively to the game" - elog " * reduced input lag and reduced thread latency" - elog " * more consistent frame times resulting in less microstutters" - elog - elog "You probably won't benefit from soft realtime mode and thus don't need" - elog "SCHED_ISO if:" - elog - elog " * Your CPU has less than four cores because the game may experience" - elog " priority inversion with the graphics driver (thus heuristics" - elog " automatically disable SCHED_ISO usage then)" - elog " * Your game uses busy-loops to interface with the graphics driver" - elog " but you may still force SCHED_ISO per configuation file, YMMV," - elog " it depends on the graphics driver implementation, i.e. usage of" - elog " __GL_THREADED_OPTIMIZATIONS or similar." - elog " * If your game causes more than 70% CPU usage across all cores," - elog " SCHED_ISO automatically turns off and on depending on usage and" - elog " is processed with higher-than-normal priority then (renice)." - elog " This auto-switching may result in a lesser game experience." - elog - elog "For more info look at:" - elog "https://github.com/FeralInteractive/gamemode/blob/${GAMEMODE_GIT_PTR}/README.md" - elog -} - -multilib_src_configure() { - local emesonargs=( - -Dwith-sd-bus-provider=$(usex systemd "systemd" "elogind") - -Dwith-systemd-user-unit-dir="$(systemd_get_userunitdir)" - ) - if ! multilib_is_native_abi; then - emesonargs+=( - -Dwith-examples=false - -Dwith-sd-bus-provider=no-daemon - ) - fi - - meson_src_configure -} - -multilib_src_compile() { - eninja -} - -multilib_src_install() { - DESTDIR="${D}" eninja install - if multilib_is_native_abi; then - insinto /etc/security/limits.d - newins - 45-gamemode.conf <<-EOF - @gamemode - nice -10 - EOF - fi -} - -pkg_postinst() { - elog - elog "GameMode has optional support for adjusting nice and ioprio of games" - elog "running with it. You may need to adjust your PAM limits to make use" - elog "of this. You need to be in the gamemode group for this to work." - elog - elog "Run the following command as root to add your user:" - elog "# gpasswd -a USER gamemode # with USER = your user name" - elog - elog "You can run the following command to test your settings:" - elog - elog "# gamemoded -t" - elog - elog "GameMode supports GPU optimizations. It defaults to OFF. Any" - elog "damage resulting from usage of this is your own responsibility." - elog - elog "systemd user sessions will automatically run the daemon on demand," - elog "it does not need to be enabled explicitly. Games not supporting" - elog "GameMode natively can still make use of it, just add" - elog - elog "gamemoderun %command%" - elog - elog "to the start options of any steam game to enable optimizations" - elog "automatically as you start the game." - elog -} diff --git a/games-util/gamemode/gamemode-9999.ebuild b/games-util/gamemode/gamemode-9999.ebuild index aff871628598..65304e1c6223 100644 --- a/games-util/gamemode/gamemode-9999.ebuild +++ b/games-util/gamemode/gamemode-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020 Gentoo Authors +# Copyright 2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -28,7 +28,7 @@ REQUIRED_USE="^^ ( systemd elogind )" RDEPEND=" acct-group/gamemode - dev-libs/inih + >=dev-libs/inih-53 sys-apps/dbus[${MULTILIB_USEDEP},systemd(+)=,elogind(-)=] sys-auth/polkit sys-libs/libcap diff --git a/games-util/lutris/Manifest b/games-util/lutris/Manifest index b91ba05f9e94..6ef87e5a15df 100644 --- a/games-util/lutris/Manifest +++ b/games-util/lutris/Manifest @@ -1,4 +1,3 @@ -AUX lutris-0.5.7-copy_paste_fix.patch 1178 BLAKE2B fcb28456fb0ced4e7f53156bbaed799d7673c57e02d8dd04261ffc99f2b585819b920870af48806ba461d9a5130cf9aa3696dfa2615c7f54d54871a3abacbf6b SHA512 5d42c46b159962e1a77ba7c21d4ea47a8507548e6d62b516228b45cdd4d36abd4dd56cf81079edaf32f61c2a849f6d1491f2dc5b0dd7c7a817ba822499104317 DIST lutris_0.5.8.1.tar.xz 893328 BLAKE2B 67c66b59c3fa78af46f953b6e27fb3dd77d0e4cb0746f490716c7c074e81afa4f9c4e8c10dc6d4dab3e2b37d03254bae5eda0b777da72bc17f18dda5fd1f990a SHA512 da3b5ebf3e5dcc5011351197c5a80e8547e54df4555ea9124a8404877c5b75225cfae970819a171c55454fef73afdd927dafbf427301b71618c33660a1c8c022 DIST lutris_0.5.8.3.tar.xz 942716 BLAKE2B f831c6ad6f67c3948f07e89f9caacd0d8aa3878b912fe987afea85eea549f41347044967255fa80e4e0c4544d148d9782dfe3c5bf08a123436e8a5ef7034901f SHA512 8f653d38a9a551298fa344cde67d53bf50cfd2a0a0667e344d04f6e17dda4ef358037755975d1a7f74ecd39824d58f9586e8a82b70dccc26619f22fee94d1144 EBUILD lutris-0.5.8.1.ebuild 1875 BLAKE2B d5dc302137dedfad59d8e34104d8fd74d6f1ae075e14bb29755327e6146d7dab64f247fb232f6d3604c96c5e054fe620ba6cc8887e8770a04026823f2c9d1079 SHA512 be64891a7086e29a5e1f953d6e52144eb9957a36c3c86351cc7c4e4f0d954a16475cdee4439f347071ef4de261b1b0a2b330f8024f0b790ce2fb60909bb91474 diff --git a/games-util/lutris/files/lutris-0.5.7-copy_paste_fix.patch b/games-util/lutris/files/lutris-0.5.7-copy_paste_fix.patch deleted file mode 100644 index 3e278561aa3b..000000000000 --- a/games-util/lutris/files/lutris-0.5.7-copy_paste_fix.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 9603da9d4eda1656219a4c79e1f9d1a958165151 Mon Sep 17 00:00:00 2001 -From: Austin Pua -Date: Wed, 1 Jul 2020 21:48:09 +0800 -Subject: [PATCH] Fix copy paste issue in auth webviews - ---- - lutris/services/gog.py | 3 ++- - lutris/services/humblebundle.py | 3 ++- - 2 files changed, 4 insertions(+), 2 deletions(-) - -diff --git a/lutris/services/gog.py b/lutris/services/gog.py -index 0eed7778c..099f9083d 100644 ---- a/lutris/services/gog.py -+++ b/lutris/services/gog.py -@@ -279,7 +279,8 @@ def connect(parent=None): - """Connect to GOG""" - logger.debug("Connecting to GOG") - dialog = WebConnectDialog(SERVICE, parent) -- dialog.run() -+ dialog.set_modal(True) -+ dialog.show() - - - def disconnect(): -diff --git a/lutris/services/humblebundle.py b/lutris/services/humblebundle.py -index 6dcfe6911..056ef9460 100644 ---- a/lutris/services/humblebundle.py -+++ b/lutris/services/humblebundle.py -@@ -152,7 +152,8 @@ def is_connected(): - def connect(parent=None): - """Connect to Humble Bundle""" - dialog = WebConnectDialog(SERVICE, parent) -- dialog.run() -+ dialog.set_modal(True) -+ dialog.show() - - - def disconnect(): diff --git a/games-util/slade/Manifest b/games-util/slade/Manifest index 5d810ef19bc3..30523f99a6a7 100644 --- a/games-util/slade/Manifest +++ b/games-util/slade/Manifest @@ -1,10 +1,5 @@ -AUX slade-3.1.12a-bundled-libs.patch 2424 BLAKE2B fbd40c43b396d9d82fc4ce8af75a23ebfb2cfe85d3a217680b219601e02fdcc58e158052249b2e4d949742643d1b6efda9e38c7b44c1932f163e8a66ebfa818e SHA512 31706d662b25f5c0cbf618970de874da27c48390421809da2462b909d8d207b856c56e212b3efa13c78d6048f3619fd74a95d9c25c87ee6c8a481e36e7f695bf -AUX slade-3.1.12a-cmake-lua-version.patch 329 BLAKE2B 94f07076227b7cbfb30a05e9968f19df045ac271694a2e14defe682ceaa0b6d0afc1a51831eda0da19fd48f2873ab0039395bb1df7ad8c5b1bb1e41da554712e SHA512 af510793bee2f87d3f88ce4a752d2eb6dd19e64667e823b07453ad21739cf4b2796f28ae71930d9da8c5bd5d461e1d24bc1eb3f99a284c7fe69d205e7ffc7401 -AUX slade-3.1.12a-fluidsynth-driver.patch 541 BLAKE2B a8596e7c65014201eee1d87b7779d78b582338b35447d4722341176a507314cae2977d254d7a948e2207ba619a2aa6a443303fbf6546ac10da23243e23f96e35 SHA512 002f44606a9efc1f6b299353d29e133cf84a2bd13e6eb37f601365ce55d03037f4db94c569c0dd0bd7bc97ea5701714ecc5d9e83a374cfe988deb8b3d13bcb9c -AUX slade-3.1.12a-freetype-deps.patch 2207 BLAKE2B 48ae8033f80c6438db6af26f8c8105c663ef7133b7e4560d7df82588afdd771bdf0df30678a5148456338254cef5e3e0d805d4f23f4a5facc6272cd65cb00925 SHA512 f03f57d9e76f283bde48d48904ae9ff4759b472e78efc01f40d24427a6a27114e36e27e4ad7b3f9ebb149c5b600b0540e901eef8dcd5f30949af95810255ebd9 -AUX slade-3.1.12a-sfml-gtk3.patch 2524 BLAKE2B 0bdd400ba218d1c0a0db48a3ab144b6083c22fcc69d112765aeda069853c03a97c4f774d24cb73c1bb202089eb8184435a121a0473f5914d17ee208bdf181a4d SHA512 b83c27f224c45533738d8341ac7116e226ae45e13514b9dca85f5813d73c2b1f13460961ea8fbbbe8acb40ab80d37100f3c66abc7df4b49abeabba1ffa8fa70c -AUX slade-3.1.12a-wxGLCanvas.patch 3768 BLAKE2B b69e84d4c31c7f46c9298f282f4407c10edaf77ec73ccea780f3a9dddbcd89bd315e327716dee8432a27e8150133b42a6a819c8af7b8567980941c79a8b7a138 SHA512 5ae7d5e91012a3e526fe95003cfbcfcb69de9636b453018a654da50af11772c2be4690f36786634e8941d011f8094093fa2a7e8ac1d099a0627e93e1ee47b863 -DIST slade-3.1.12a.tar.gz 5883702 BLAKE2B 400cf032bf0b60555b45b450c524d85f145d593d74601461f33fa571360a0c66a1d5933a7d48e8cfad98981bcf446df213240f53da237be6d9a1ce09517c4566 SHA512 ecedec880b8ebed921e152d016a451164efd4de90ae69963be077d1ef39326670254ca8eb03e1045ca7ae5b02f7512dbbe712f83c845cbbd4ed787a90899ad13 -EBUILD slade-3.1.12a-r100.ebuild 1559 BLAKE2B 6dd5c652dde38b3706a9a0fd76e84077609f1b36b5a5c9d58f265ba97b6d2d9033896cfa7912957cb708485e62099f6e4693dc46e8d8ad237321ce3b7ed2d456 SHA512 66c9077cb3ffaef370c004fc23f1e64af62dd1b02c5ef5b5f1e70d6ae614b7a4928da68ba4690340f8ac19cbdd63cc1a93657b0e68f2b0ea73d05ae8c18ae64a -EBUILD slade-3.1.12a.ebuild 1401 BLAKE2B 5824cb7b6ade4442c0110e935df95fe9eff51701b991da081cecd989cd05250ad3672b99e84f3e9ff91a62ab01eaf964850f758a429f293a5c369b119866a482 SHA512 22d2855a3a87858b98eef4fd8f3a9198f86dd9f52d0a8215190c0543ac1b73699d7fc285eecf2cb9422b7b825e75b55007bce26c0760e4eba0cd3194db15ec00 +AUX slade-3.2.0_beta2-bundled-libs.patch 2225 BLAKE2B 047d402c6f8488f15e535712cdbcedb0c48304569b14b103ffcc71a5af8de1d2572491074ddfa1510d1a1db65ef4fa26e48e2c07872d6367bc640eeb1fdaf1f7 SHA512 527cc51b1f4046825d1e9eff54d8729016886c5f3e8f2f158ed53b66ae5e036878513e593797c0ac672ef5caa9d090f8ebc8aa7d7c8f4ea5f6d3c79b59f02697 +AUX slade-3.2.0_beta2-fluidsynth-driver.patch 790 BLAKE2B ea84ff6515b4b80cbce021624c27dbd4c067758b7e5861402d42628ddee85385a260396163838b1504e2196c3b275977ad5ddde3d684e49de600270d7990a1c0 SHA512 3de05beafc060891d674d388cbb07107ead138ef2a89812dfffabfc8c9de2beb939290b1064b75e14d3cc42621c8ee66ced06eacdcb2afd376a9539fa74c54c8 +DIST slade-3.2.0_beta2.tar.gz 5999580 BLAKE2B 29cd515e4553fa1d74a43dc982b376b10d95ebbe2da4a25bc39329c15967466142c73ec134ada371b9aa65d8fc8d9f4a1820cece7fe8dca59fec039aaad32331 SHA512 e46d9664348233c7ee7fa8ed748d7e23914bb1bb6dd65d40aff7603b386e032e988e0990d4a435f597ba8a6416c7ec377c8334a66efacd55ebdd994d3fd11073 +EBUILD slade-3.2.0_beta2.ebuild 1594 BLAKE2B c2e9c510d025c6004a449100176756df0cc2b43d9abae30f7996787a4f3daec9f22da2b6bd213346cdd2532bdc0a4f365e4ec5f18873965c5b76b4e8f32dbd67 SHA512 b633fc21b4787057b85cc6a3882221c4bc4bdb09cd98a080403f83b6e0e3bc5155b58b516c471153317db4546ab8dcd5e95324b04ba59339e3fa054b7d6df51d MISC metadata.xml 456 BLAKE2B bb0657015b0259912543f091f7e08695a3bba37da01594f9979c71d435bd1505790f009d827cd654267b96de446666c4eca7c564962e35563eff26027b30e119 SHA512 e6cc7225d2bcf85aaf62158fdfb7b92f2816f4363795f7b82293f932efc4182275979117a2673242f7c666d26036a1de1a6caaab0c3a48e19ca00b639007f272 diff --git a/games-util/slade/files/slade-3.1.12a-bundled-libs.patch b/games-util/slade/files/slade-3.1.12a-bundled-libs.patch deleted file mode 100644 index 6e8285d81056..000000000000 --- a/games-util/slade/files/slade-3.1.12a-bundled-libs.patch +++ /dev/null @@ -1,80 +0,0 @@ -diff -Naur a/src/Application/App.cpp b/src/Application/App.cpp ---- a/src/Application/App.cpp 2020-05-26 00:34:50.000000000 +0100 -+++ b/src/Application/App.cpp 2020-05-31 17:11:08.365000293 +0100 -@@ -34,7 +34,7 @@ - #include "App.h" - #include "Archive/ArchiveManager.h" - #include "Dialogs/SetupWizard/SetupWizardDialog.h" --#include "External/dumb/dumb.h" -+#include - #include "Game/Configuration.h" - #include "General/ColourConfiguration.h" - #include "General/Console/Console.h" -diff -Naur a/src/Audio/ModMusic.cpp b/src/Audio/ModMusic.cpp ---- a/src/Audio/ModMusic.cpp 2020-05-26 00:34:50.000000000 +0100 -+++ b/src/Audio/ModMusic.cpp 2020-05-31 17:11:08.365000293 +0100 -@@ -30,7 +30,7 @@ - *******************************************************************/ - #include "Main.h" - #include "ModMusic.h" --#include "External/dumb/dumb.h" -+#include - - - /******************************************************************* -diff -Naur a/src/CMakeLists.txt b/src/CMakeLists.txt ---- a/src/CMakeLists.txt 2020-05-26 00:34:50.000000000 +0100 -+++ b/src/CMakeLists.txt 2020-05-31 17:11:08.365000293 +0100 -@@ -105,6 +105,8 @@ - find_package(GLEW REQUIRED) - find_package(Freetype REQUIRED) - find_package(CURL REQUIRED) -+find_package(Lua REQUIRED) -+pkg_check_modules(DUMB REQUIRED dumb>=1.0) - include_directories( - ${FREEIMAGE_INCLUDE_DIR} - ${SFML_INCLUDE_DIR} -@@ -112,8 +114,9 @@ - ${FREETYPE_INCLUDE_DIRS} - ${GLEW_INCLUDE_PATH} - ${CURL_INCLUDE_DIR} -+ ${LUA_INCLUDE_DIR} -+ ${DUMB_INCLUDE_DIRS} - . -- ./External/dumb - ./Application - ) - -@@ -182,6 +185,8 @@ - ${FREETYPE_LIBRARIES} - ${GLEW_LIBRARY} - ${CURL_LIBRARIES} -+ ${LUA_LIBRARIES} -+ ${DUMB_LIBRARIES} - ) - - if (WX_GTK3) -diff -Naur a/src/External/CMakeLists.txt b/src/External/CMakeLists.txt ---- a/src/External/CMakeLists.txt 2020-05-26 00:34:50.000000000 +0100 -+++ b/src/External/CMakeLists.txt 2020-05-31 17:12:09.614333605 +0100 -@@ -24,8 +24,6 @@ - file(GLOB_RECURSE EXTERNAL_SOURCES - *.cpp - *.cxx -- dumb/*.c -- lua/*.c - lzma/C/LzmaDec.c - ${SLADE_HEADERS} - ) -diff -Naur a/src/External/sol/sol.hpp b/src/External/sol/sol.hpp ---- a/src/External/sol/sol.hpp 2020-05-26 00:34:50.000000000 +0100 -+++ b/src/External/sol/sol.hpp 2020-05-31 17:11:08.367000336 +0100 -@@ -798,7 +798,7 @@ - #include - #include - #else --#include "External/lua/lua.hpp" -+#include - #endif // C++ Mangling for Lua - - #if defined(_WIN32) || defined(_MSC_VER) diff --git a/games-util/slade/files/slade-3.1.12a-cmake-lua-version.patch b/games-util/slade/files/slade-3.1.12a-cmake-lua-version.patch deleted file mode 100644 index ba7fba329c9b..000000000000 --- a/games-util/slade/files/slade-3.1.12a-cmake-lua-version.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/src/CMakeLists.txt -+++ b/src/CMakeLists.txt -@@ -104,7 +104,7 @@ - find_package(OpenGL REQUIRED) - find_package(GLEW REQUIRED) - find_package(CURL REQUIRED) --find_package(Lua REQUIRED) -+find_package(Lua ${LUA_VERSION} EXACT REQUIRED) - pkg_check_modules(DUMB REQUIRED dumb>=1.0) - include_directories( - ${FREEIMAGE_INCLUDE_DIR} diff --git a/games-util/slade/files/slade-3.1.12a-fluidsynth-driver.patch b/games-util/slade/files/slade-3.1.12a-fluidsynth-driver.patch deleted file mode 100644 index c0ef70d6dfc8..000000000000 --- a/games-util/slade/files/slade-3.1.12a-fluidsynth-driver.patch +++ /dev/null @@ -1,14 +0,0 @@ -https://github.com/sirjuddington/SLADE/issues/1147 - -diff -Naur a/src/Audio/MIDIPlayer.cpp b/src/Audio/MIDIPlayer.cpp ---- a/src/Audio/MIDIPlayer.cpp 2020-05-28 00:08:34.000000000 +0100 -+++ b/src/Audio/MIDIPlayer.cpp 2020-05-31 21:40:03.480211253 +0100 -@@ -74,8 +74,6 @@ - #ifndef NO_FLUIDSYNTH - // Set fluidsynth driver to alsa in linux (no idea why it defaults to jack) - #if !defined __WXMSW__ && !defined __WXOSX__ -- if (fs_driver == "") -- fs_driver = "alsa"; - #endif // !defined __WXMSW__ && !defined __WXOSX__ - - // Init soundfont path diff --git a/games-util/slade/files/slade-3.1.12a-freetype-deps.patch b/games-util/slade/files/slade-3.1.12a-freetype-deps.patch deleted file mode 100644 index 33fdbfe8521c..000000000000 --- a/games-util/slade/files/slade-3.1.12a-freetype-deps.patch +++ /dev/null @@ -1,74 +0,0 @@ -From 115ae712d576deafaa95dc5227a7f83dce92a9cb Mon Sep 17 00:00:00 2001 -From: James Le Cuirot -Date: Sun, 31 May 2020 21:59:06 +0100 -Subject: [PATCH 1/2] Drop unused FreeType dependency - -It may be used by FTGL but it's not directly used by this -project. pkg-config should handle this for static builds. ---- - src/CMakeLists.txt | 3 --- - 1 file changed, 3 deletions(-) - -diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt -index f54b126f..8dab39fc 100644 ---- a/src/CMakeLists.txt -+++ b/src/CMakeLists.txt -@@ -103,7 +103,6 @@ find_package(SFML COMPONENTS ${SFML_FIND_COMPONENTS} REQUIRED) - find_package(FTGL REQUIRED) - find_package(OpenGL REQUIRED) - find_package(GLEW REQUIRED) --find_package(Freetype REQUIRED) - find_package(CURL REQUIRED) - find_package(Lua REQUIRED) - find_package(fmt CONFIG REQUIRED) -@@ -111,7 +110,6 @@ include_directories( - ${FREEIMAGE_INCLUDE_DIR} - ${SFML_INCLUDE_DIR} - ${FTGL_INCLUDE_DIR} -- ${FREETYPE_INCLUDE_DIRS} - ${GLEW_INCLUDE_PATH} - ${CURL_INCLUDE_DIR} - ${LUA_INCLUDE_DIR} -@@ -184,7 +182,6 @@ target_link_libraries(slade - ${SFML_LIBRARY} - ${FTGL_LIBRARIES} - ${OPENGL_LIBRARIES} -- ${FREETYPE_LIBRARIES} - ${GLEW_LIBRARY} - ${CURL_LIBRARIES} - ${LUA_LIBRARIES} --- -2.26.2 - -From 9116972a75b58ef32e229842f80cdc96fab04f1e Mon Sep 17 00:00:00 2001 -From: James Le Cuirot -Date: Sun, 31 May 2020 22:00:53 +0100 -Subject: [PATCH 2/2] Only require FTGL when USE_SFML_RENDERWINDOW is disabled - ---- - src/CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt -index 8dab39fc..b0d4776d 100644 ---- a/src/CMakeLists.txt -+++ b/src/CMakeLists.txt -@@ -72,6 +72,7 @@ set(SFML_FIND_COMPONENTS system audio window graphics network) - ADD_DEFINITIONS(-DUSE_SFML_RENDERWINDOW) - else (USE_SFML_RENDERWINDOW) - set(SFML_FIND_COMPONENTS system audio window network) -+find_package(FTGL REQUIRED) - endif(USE_SFML_RENDERWINDOW) - - # Fluidsynth -@@ -100,7 +101,6 @@ endif() - - find_package(FreeImage REQUIRED) - find_package(SFML COMPONENTS ${SFML_FIND_COMPONENTS} REQUIRED) --find_package(FTGL REQUIRED) - find_package(OpenGL REQUIRED) - find_package(GLEW REQUIRED) - find_package(CURL REQUIRED) --- -2.26.2 - diff --git a/games-util/slade/files/slade-3.1.12a-sfml-gtk3.patch b/games-util/slade/files/slade-3.1.12a-sfml-gtk3.patch deleted file mode 100644 index 745a41d64b80..000000000000 --- a/games-util/slade/files/slade-3.1.12a-sfml-gtk3.patch +++ /dev/null @@ -1,88 +0,0 @@ -From 7e2aa2666701cc0db32d8b3185c3cd07ae733ab0 Mon Sep 17 00:00:00 2001 -From: Simon Judd -Date: Fri, 6 Dec 2019 16:36:52 +1030 -Subject: [PATCH] Fix SFML RenderWindow embedding on GTK3 - -It actually seems to work ok now so might be able to make it the default there - -It'd be nice if it worked on macos as well, then I'd be able to remove the wxGLCanvas/FTGL stuff completely... ---- - -diff --git a/src/UI/Canvas/OGLCanvas.cpp b/src/UI/Canvas/OGLCanvas.cpp -index 92f86b29..4bba9f98 100644 ---- a/src/UI/Canvas/OGLCanvas.cpp -+++ b/src/UI/Canvas/OGLCanvas.cpp -@@ -44,6 +44,8 @@ - #endif - #endif - -+EXTERN_CVAR(Int, gl_depth_buffer_size) -+ - - /******************************************************************* - * OGLCANVAS CLASS FUNCTIONS -@@ -130,29 +132,29 @@ bool OGLCanvas::setContext() - #endif - } - --void OGLCanvas::createSFML() -+bool OGLCanvas::createSFML() - { - #ifdef USE_SFML_RENDERWINDOW - // Code taken from SFML wxWidgets integration example - sf::WindowHandle handle; - #ifdef __WXGTK__ -- // GTK implementation requires to go deeper to find the -- // low-level X11 identifier of the widget -- gtk_widget_realize(m_wxwindow); -- gtk_widget_set_double_buffered(m_wxwindow, false); -- GdkWindow* Win = gtk_widget_get_window(m_wxwindow); -- XFlush(GDK_WINDOW_XDISPLAY(Win)); -- //sf::RenderWindow::Create(GDK_WINDOW_XWINDOW(Win)); -- handle = GDK_WINDOW_XWINDOW(Win); -+ auto widget = GetHandle(); -+ if (!widget) -+ return false; -+ auto window = gtk_widget_get_window(widget); -+ if (!window) -+ return false; -+ handle = gdk_x11_window_get_xid(window); - #else - handle = GetHandle(); - #endif - // Context settings - sf::ContextSettings settings; -- settings.depthBits = 24; -- settings.stencilBits = 8; -+ settings.depthBits = gl_depth_buffer_size; -+ settings.stencilBits = sf::ContextSettings::Default; - sf::RenderWindow::create(handle, settings); - #endif -+ return true; - } - - /* OGLCanvas::init -@@ -308,7 +310,9 @@ void OGLCanvas::onPaint(wxPaintEvent& e) - - if (recreate) - { -- createSFML(); -+ if (!createSFML()) -+ return; -+ - recreate = false; - } - -diff --git a/src/UI/Canvas/OGLCanvas.h b/src/UI/Canvas/OGLCanvas.h -index a1defbee..9b9b07db 100644 ---- a/src/UI/Canvas/OGLCanvas.h -+++ b/src/UI/Canvas/OGLCanvas.h -@@ -28,7 +28,7 @@ public: - Palette* getPalette() { return &palette; } - void setPalette(Palette* pal) { palette.copyPalette(pal); } - bool setContext(); -- void createSFML(); -+ bool createSFML(); - void init(); - virtual void draw() = 0; - virtual void update(long frametime) {} diff --git a/games-util/slade/files/slade-3.1.12a-wxGLCanvas.patch b/games-util/slade/files/slade-3.1.12a-wxGLCanvas.patch deleted file mode 100644 index 64698cc4591d..000000000000 --- a/games-util/slade/files/slade-3.1.12a-wxGLCanvas.patch +++ /dev/null @@ -1,112 +0,0 @@ -From a934d04b8c49c250e9be27581129c75bc058814a Mon Sep 17 00:00:00 2001 -From: Simon Judd -Date: Mon, 9 Dec 2019 12:26:17 +1030 -Subject: [PATCH] Always use wxGLCanvas as a base for OGLCanvas - -Even if using SFML - this fixes the depth buffer not being created on linux ---- - -diff --git a/src/OpenGL/OpenGL.cpp b/src/OpenGL/OpenGL.cpp -index 7e506550..0a8d4236 100644 ---- a/src/OpenGL/OpenGL.cpp -+++ b/src/OpenGL/OpenGL.cpp -@@ -38,14 +38,14 @@ CVAR(Bool, gl_tex_enable_np2, true, CVAR_SAVE) - CVAR(Bool, gl_point_sprite, true, CVAR_SAVE) - CVAR(Bool, gl_tweak_accuracy, true, CVAR_SAVE) - CVAR(Bool, gl_vbo, true, CVAR_SAVE) --CVAR(Int, gl_depth_buffer_size, 16, CVAR_SAVE) -+CVAR(Int, gl_depth_buffer_size, 24, CVAR_SAVE) - - namespace OpenGL - { - #ifndef USE_SFML_RENDERWINDOW - wxGLContext* context = NULL; -- int wx_gl_attrib[] = { WX_GL_RGBA, WX_GL_DOUBLEBUFFER, WX_GL_DEPTH_SIZE, 16, WX_GL_STENCIL_SIZE, 8, 0 }; - #endif -+ int wx_gl_attrib[] = { WX_GL_RGBA, WX_GL_DOUBLEBUFFER, WX_GL_DEPTH_SIZE, 16, WX_GL_STENCIL_SIZE, 8, 0 }; - bool initialised = false; - double version = 0; - unsigned max_tex_size = 128; -@@ -224,7 +224,6 @@ bool OpenGL::accuracyTweak() - return gl_tweak_accuracy; - } - --#ifndef USE_SFML_RENDERWINDOW - /* OpenGL::getWxGLAttribs - * Returns the GL attributes array for use with wxGLCanvas - *******************************************************************/ -@@ -235,7 +234,6 @@ int* OpenGL::getWxGLAttribs() - - return wx_gl_attrib; - } --#endif - - /* OpenGL::setColour - * Sets the colour to [col], and changes the colour blend mode if -diff --git a/src/OpenGL/OpenGL.h b/src/OpenGL/OpenGL.h -index 1d5c9b9a..9082687c 100644 ---- a/src/OpenGL/OpenGL.h -+++ b/src/OpenGL/OpenGL.h -@@ -20,10 +20,8 @@ - #include - #endif - --#ifndef USE_SFML_RENDERWINDOW - #include - #undef None // Why does #define this? Idiotic --#endif - - #define BLEND_NORMAL 0 - #define BLEND_ADDITIVE 1 -@@ -56,9 +54,7 @@ namespace OpenGL - unsigned maxTextureSize(); - bool isInitialised(); - bool accuracyTweak(); --#ifndef USE_SFML_RENDERWINDOW - int* getWxGLAttribs(); --#endif - void setColour(rgba_t col, bool set_blend = true); - void setColour(uint8_t r, uint8_t g, uint8_t b, uint8_t a = 255, int8_t blend = BLEND_IGNORE); - void setBlend(int blend); -diff --git a/src/UI/Canvas/OGLCanvas.cpp b/src/UI/Canvas/OGLCanvas.cpp -index 4bba9f98..a48d9ac6 100644 ---- a/src/UI/Canvas/OGLCanvas.cpp -+++ b/src/UI/Canvas/OGLCanvas.cpp -@@ -55,8 +55,9 @@ EXTERN_CVAR(Int, gl_depth_buffer_size) - /* OGLCanvas::OGLCanvas - * OGLCanvas class constructor, SFML implementation - *******************************************************************/ --OGLCanvas::OGLCanvas(wxWindow* parent, int id, bool handle_timer, int timer_interval) -- : wxControl(parent, id, wxDefaultPosition, wxDefaultSize, wxBORDER_NONE|wxWANTS_CHARS), timer(this) -+OGLCanvas::OGLCanvas(wxWindow* parent, int id, bool handle_timer, int timer_interval) : -+ wxGLCanvas(parent, id, OpenGL::getWxGLAttribs(), wxDefaultPosition, wxDefaultSize, wxBORDER_NONE | wxWANTS_CHARS), -+ timer(this) - { - init_done = false; - recreate = false; -diff --git a/src/UI/Canvas/OGLCanvas.h b/src/UI/Canvas/OGLCanvas.h -index 9b9b07db..128cb633 100644 ---- a/src/UI/Canvas/OGLCanvas.h -+++ b/src/UI/Canvas/OGLCanvas.h -@@ -8,7 +8,7 @@ - - class wxWindow; - #ifdef USE_SFML_RENDERWINDOW --class OGLCanvas : public wxControl, public sf::RenderWindow -+class OGLCanvas : public wxGLCanvas, public sf::RenderWindow - { - #else - class OGLCanvas : public wxGLCanvas -@@ -38,7 +38,11 @@ public: - void setup2D(); - - #ifdef USE_SFML_RENDERWINDOW -- void SwapBuffers() { display(); } -+ bool SwapBuffers() override -+ { -+ display(); -+ return true; -+ } - #endif - - void onPaint(wxPaintEvent& e); diff --git a/games-util/slade/files/slade-3.2.0_beta2-bundled-libs.patch b/games-util/slade/files/slade-3.2.0_beta2-bundled-libs.patch new file mode 100644 index 000000000000..4474ab783d47 --- /dev/null +++ b/games-util/slade/files/slade-3.2.0_beta2-bundled-libs.patch @@ -0,0 +1,85 @@ +From a22553a612ade8a5e3f90c84166e9fdda16635c9 Mon Sep 17 00:00:00 2001 +From: James Le Cuirot +Date: Sat, 20 Feb 2021 12:22:24 +0000 +Subject: [PATCH] Unbundle the DUMB library + +--- + src/Application/App.cpp | 2 +- + src/Audio/ModMusic.cpp | 2 +- + src/CMakeLists.txt | 4 +++- + thirdparty/CMakeLists.txt | 2 -- + 4 files changed, 5 insertions(+), 5 deletions(-) + +diff --git a/src/Application/App.cpp b/src/Application/App.cpp +index 3d4dcc1d..d2c3e583 100644 +--- a/src/Application/App.cpp ++++ b/src/Application/App.cpp +@@ -60,7 +60,7 @@ + #include "UI/WxUtils.h" + #include "Utility/StringUtils.h" + #include "Utility/Tokenizer.h" +-#include "thirdparty/dumb/dumb.h" ++#include + #include + + using namespace slade; +diff --git a/src/Audio/ModMusic.cpp b/src/Audio/ModMusic.cpp +index cb8eef8c..2d368fdb 100644 +--- a/src/Audio/ModMusic.cpp ++++ b/src/Audio/ModMusic.cpp +@@ -32,7 +32,7 @@ + // ----------------------------------------------------------------------------- + #include "Main.h" + #include "ModMusic.h" +-#include "thirdparty/dumb/dumb.h" ++#include + + using namespace slade; + using namespace audio; +diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt +index 802598f6..222e6040 100644 +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -110,6 +110,7 @@ endif() + pkg_check_modules(fmt REQUIRED fmt>=6) + include_directories(${fmt_INCLUDE_DIRS}) + find_package(MPG123 REQUIRED) ++pkg_check_modules(DUMB REQUIRED dumb>=1.0) + include_directories( + ${FREEIMAGE_INCLUDE_DIR} + ${SFML_INCLUDE_DIR} +@@ -118,9 +119,9 @@ include_directories( + ${CURL_INCLUDE_DIR} + ${LUA_INCLUDE_DIR} + ${MPG123_INCLUDE_DIR} ++ ${DUMB_INCLUDE_DIRS} + . + .. +- ../thirdparty/dumb + ./Application + ) + +@@ -200,6 +201,7 @@ target_link_libraries(slade + ${CURL_LIBRARIES} + ${LUA_LIBRARIES} + ${MPG123_LIBRARIES} ++ ${DUMB_LIBRARIES} + ${fmt_LIBRARIES} + -lstdc++fs + ) +diff --git a/thirdparty/CMakeLists.txt b/thirdparty/CMakeLists.txt +index 6b0eb504..a3757c91 100644 +--- a/thirdparty/CMakeLists.txt ++++ b/thirdparty/CMakeLists.txt +@@ -12,8 +12,6 @@ set(EXTERNAL_SOURCES + file(GLOB_RECURSE EXTERNAL_SOURCES + *.cpp + *.cxx +- dumb/*.c +- lua/*.c + lzma/C/LzmaDec.c + fmt/*.cc + ${SLADE_HEADERS} +-- +2.30.0 + diff --git a/games-util/slade/files/slade-3.2.0_beta2-fluidsynth-driver.patch b/games-util/slade/files/slade-3.2.0_beta2-fluidsynth-driver.patch new file mode 100644 index 000000000000..bd828d81b390 --- /dev/null +++ b/games-util/slade/files/slade-3.2.0_beta2-fluidsynth-driver.patch @@ -0,0 +1,27 @@ +From dc0057d1200f9bb6b67f1b1a2094b7e402d1d370 Mon Sep 17 00:00:00 2001 +From: James Le Cuirot +Date: Sat, 20 Feb 2021 12:28:48 +0000 +Subject: [PATCH] Don't force FluidSynth to use ALSA on Linux + +--- + src/Audio/MIDIPlayer.cpp | 4 ---- + 1 file changed, 4 deletions(-) + +diff --git a/src/Audio/MIDIPlayer.cpp b/src/Audio/MIDIPlayer.cpp +index bb001339..f33ffe67 100644 +--- a/src/Audio/MIDIPlayer.cpp ++++ b/src/Audio/MIDIPlayer.cpp +@@ -344,10 +344,6 @@ public: + fs_initialised_ = false; + file_ = ""; + +- // Set fluidsynth driver to alsa in linux (no idea why it defaults to jack) +- if (app::platform() == app::Platform::Linux && fs_driver.value.empty()) +- fs_driver = "alsa"; +- + // Init soundfont path + if (fs_soundfont_path.value.empty()) + { +-- +2.30.0 + diff --git a/games-util/slade/slade-3.1.12a-r100.ebuild b/games-util/slade/slade-3.1.12a-r100.ebuild deleted file mode 100644 index da73f5e0060b..000000000000 --- a/games-util/slade/slade-3.1.12a-r100.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -LUA_COMPAT=( lua5-{1..3} ) -WX_GTK_VER="3.0-gtk3" - -inherit cmake lua-single wxwidgets - -DESCRIPTION="Modern editor for Doom-engine based games and source ports" -HOMEPAGE="https://slade.mancubus.net/" -SRC_URI="https://github.com/sirjuddington/${PN^^}/archive/${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="GPL-2 MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="fluidsynth timidity webkit" - -REQUIRED_USE="${LUA_REQUIRED_USE}" - -DEPEND="${LUA_DEPS} - app-arch/bzip2:= - >=media-libs/dumb-2:= - media-libs/freeimage[jpeg,png,tiff] - media-libs/glew:0= - media-libs/libsfml:= - net-misc/curl - sys-libs/zlib - x11-libs/wxGTK:${WX_GTK_VER}[gstreamer,opengl,webkit?,X] - fluidsynth? ( media-sound/fluidsynth:= ) -" - -RDEPEND=" - ${DEPEND} - timidity? ( media-sound/timidity++ ) -" - -BDEPEND=" - app-arch/p7zip - virtual/pkgconfig -" - -S="${WORKDIR}/${PN^^}-${PV}" - -PATCHES=( - "${FILESDIR}"/${P}-bundled-libs.patch - "${FILESDIR}"/${P}-sfml-gtk3.patch - "${FILESDIR}"/${P}-wxGLCanvas.patch - "${FILESDIR}"/${P}-freetype-deps.patch - "${FILESDIR}"/${P}-fluidsynth-driver.patch - "${FILESDIR}"/${PN}-3.1.12a-cmake-lua-version.patch -) - -src_prepare() { - cmake_src_prepare - - # Delete bundled libraries just in case. - rm -r src/External/{dumb,glew,lua}/ || die - -} - -src_configure() { - local mycmakeargs=( - -DLUA_VERSION=$(lua_get_version) - -DNO_FLUIDSYNTH=$(usex fluidsynth OFF ON) - -DNO_WEBVIEW=$(usex webkit OFF ON) - -DUSE_SFML_RENDERWINDOW=ON - -DWX_GTK3=ON - ) - setup-wxwidgets - cmake_src_configure -} diff --git a/games-util/slade/slade-3.1.12a.ebuild b/games-util/slade/slade-3.1.12a.ebuild deleted file mode 100644 index 3ddd53ebe756..000000000000 --- a/games-util/slade/slade-3.1.12a.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -WX_GTK_VER="3.0-gtk3" -inherit cmake wxwidgets - -DESCRIPTION="Modern editor for Doom-engine based games and source ports" -HOMEPAGE="https://slade.mancubus.net/" -SRC_URI="https://github.com/sirjuddington/${PN^^}/archive/${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="GPL-2 MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="fluidsynth timidity webkit" - -DEPEND=" - app-arch/bzip2:= - dev-lang/lua:0 - >=media-libs/dumb-2:= - media-libs/freeimage[jpeg,png,tiff] - media-libs/glew:0= - media-libs/libsfml:= - net-misc/curl - sys-libs/zlib - x11-libs/wxGTK:${WX_GTK_VER}[gstreamer,opengl,webkit?,X] - fluidsynth? ( media-sound/fluidsynth:= ) -" - -RDEPEND=" - ${DEPEND} - timidity? ( media-sound/timidity++ ) -" - -BDEPEND=" - app-arch/p7zip - virtual/pkgconfig -" - -S="${WORKDIR}/${PN^^}-${PV}" - -PATCHES=( - "${FILESDIR}"/${P}-bundled-libs.patch - "${FILESDIR}"/${P}-sfml-gtk3.patch - "${FILESDIR}"/${P}-wxGLCanvas.patch - "${FILESDIR}"/${P}-freetype-deps.patch - "${FILESDIR}"/${P}-fluidsynth-driver.patch -) - -src_prepare() { - cmake_src_prepare - - # Delete bundled libraries just in case. - rm -r src/External/{dumb,glew,lua}/ || die - -} - -src_configure() { - local mycmakeargs=( - -DNO_FLUIDSYNTH=$(usex fluidsynth OFF ON) - -DNO_WEBVIEW=$(usex webkit OFF ON) - -DUSE_SFML_RENDERWINDOW=ON - -DWX_GTK3=ON - ) - setup-wxwidgets - cmake_src_configure -} diff --git a/games-util/slade/slade-3.2.0_beta2.ebuild b/games-util/slade/slade-3.2.0_beta2.ebuild new file mode 100644 index 000000000000..c11364215f02 --- /dev/null +++ b/games-util/slade/slade-3.2.0_beta2.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +LUA_COMPAT=( lua5-{1..3} ) +WX_GTK_VER="3.0-gtk3" + +inherit cmake lua-single wxwidgets + +MY_PV="${PV/beta/b}" +DESCRIPTION="Modern editor for Doom-engine based games and source ports" +HOMEPAGE="https://slade.mancubus.net/" +SRC_URI="https://github.com/sirjuddington/${PN^^}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" +LICENSE="GPL-2 MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="fluidsynth timidity webkit" +REQUIRED_USE="${LUA_REQUIRED_USE}" + +DEPEND=" + ${LUA_DEPS} + app-arch/bzip2:= + dev-libs/libfmt:= + >=media-libs/dumb-2:= + media-libs/freeimage[jpeg,png,tiff] + media-libs/glew:0= + media-libs/libsfml:= + media-sound/mpg123 + net-misc/curl + sys-libs/zlib + x11-libs/wxGTK:${WX_GTK_VER}[opengl,webkit?,X] + fluidsynth? ( media-sound/fluidsynth:= ) +" + +RDEPEND=" + ${DEPEND} + timidity? ( media-sound/timidity++ ) +" + +BDEPEND=" + app-arch/p7zip + virtual/pkgconfig +" + +S="${WORKDIR}/${PN^^}-${MY_PV}" + +PATCHES=( + "${FILESDIR}"/${P}-bundled-libs.patch + "${FILESDIR}"/${P}-fluidsynth-driver.patch +) + +src_prepare() { + cmake_src_prepare + + # Delete bundled libraries just in case. + rm -r thirdparty/dumb/ || die + +} + +src_configure() { + local luav=$(lua_get_version) + + local mycmakeargs=( + -DLua_FIND_VERSION_MAJOR=$(ver_cut 1 "${luav}") + -DLua_FIND_VERSION_MINOR=$(ver_cut 2 "${luav}") + -DLua_FIND_VERSION_COUNT=2 + -DLua_FIND_VERSION_EXACT=ON + -DNO_FLUIDSYNTH=$(usex fluidsynth OFF ON) + -DNO_WEBVIEW=$(usex webkit OFF ON) + -DUSE_SFML_RENDERWINDOW=ON + -DWX_GTK3=ON + ) + + setup-wxwidgets + cmake_src_configure +} diff --git a/games-util/xboxdrv/Manifest b/games-util/xboxdrv/Manifest index e9ac2c348017..a2236d7a99ff 100644 --- a/games-util/xboxdrv/Manifest +++ b/games-util/xboxdrv/Manifest @@ -4,5 +4,5 @@ AUX xboxdrv.initd 446 BLAKE2B f78cf4af5cca703efc0a480c2ba34b0189d2b86a64aa89533e AUX xboxdrv.service 371 BLAKE2B afd5f5397f4ae15af69d8e12865201fe159691ba2a36c00fe207304afe5126814fafd0394e7618e9f4d27611bd2c0dd7371717c7a07a57d27c3a4ab8e6e40140 SHA512 80e7657edae9c771740628ef5f9752b79d50288ead33afe97e71ffc6e7d7c24343eeb213668cdc823b28742976e2e56f4defdcd823716897f3262be1fc7832e9 AUX xboxdrv.udev-rules 251 BLAKE2B 5a3af6d378b2d6ad5bb2da0dfa356c6939a274b194f075281bbfc3dcaee1c5b9fc63740bbfec2ecd0c8245065262a0449c47fad6c522e4773ef2e193018dc95f SHA512 131c90bee6ac4da5e3d51c7212abb362a540092db97af56332cdfe14e836c84c97727823462ea378da6e5544fda2fb4d36fbe00b6210e5663316f914eaa3f4ad DIST xboxdrv-0.8.8_p20190118.tar.gz 322541 BLAKE2B ffa1021f974414ab9efebccf89e8be9137647ba7e1adf3bc9dad3b17b362b340f087fdac42c9b91a29a4cfe13295df6d3861fe953d9f96e80df08d4a6b1ce754 SHA512 ede650090c67642dc4729acc37630ae807f354d76f9bf31e23357668b6ae2b8d0261d2cf6e33090ab2120083b0664332dab22f1ed682bcdcbf1cac88b97e67af -EBUILD xboxdrv-0.8.8_p20190118.ebuild 1589 BLAKE2B 0e0c2eb3f4125369f6ba8b0d3bbb668fc7a9d0e0e8be4ac1d6f31a8509115ebdc1286c342ae984694c0665fbe92aeb7d4c67f0ced5b6d787e7139e2018d4aa66 SHA512 e216a64e92b02ef61ad2152886970c8d652eff033620b613ad4322ca1df0da5cc3fb266fc571e153629299bf0d1da628fe46888166ff8529a0fa20ac0350385b +EBUILD xboxdrv-0.8.8_p20190118.ebuild 1590 BLAKE2B 49311695c45790b0eea211b88441f94dfc6b5782f6eb864ae5596db92cf79db9701f6333ffe162d10b7b9a8b8642ddee432bcc7fba30df40973a0610728469c9 SHA512 ce9195afe11dab928897142f14a534b0e625ef7342e1e8e2ea4259fcc6105431ac1a771e138eb1d83160ee2fd90c7e4e9bb781724e59b7d846d5f13549bd6cd2 MISC metadata.xml 393 BLAKE2B d8177cd12ab0e79dc748743bcaad99dd9bb77542703bbac6040af639e191f2fca4356d0edef80b7d21c7b8c27c269b3e1fe04f03ea8d725ab86920c08394f310 SHA512 e8913486c54693f734d541a4f1f72bc1b29adc9e4de3b8b9c16d657082643f256d87d6888ef7e6dd63f540106f96a9a0fe90aef8334629b73ef75b607709c33d diff --git a/games-util/xboxdrv/xboxdrv-0.8.8_p20190118.ebuild b/games-util/xboxdrv/xboxdrv-0.8.8_p20190118.ebuild index af19df6ee66b..2e7afb00a011 100644 --- a/games-util/xboxdrv/xboxdrv-0.8.8_p20190118.ebuild +++ b/games-util/xboxdrv/xboxdrv-0.8.8_p20190118.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{7,8} ) +PYTHON_COMPAT=( python3_{7..9} ) inherit linux-info python-any-r1 scons-utils toolchain-funcs systemd udev -- cgit v1.2.3