diff options
Diffstat (limited to 'games-board')
34 files changed, 482 insertions, 502 deletions
diff --git a/games-board/Manifest.gz b/games-board/Manifest.gz Binary files differindex 61aad951e44a..87701ff29937 100644 --- a/games-board/Manifest.gz +++ b/games-board/Manifest.gz diff --git a/games-board/cutechess/Manifest b/games-board/cutechess/Manifest index df825b42e466..9ea266cbaf1f 100644 --- a/games-board/cutechess/Manifest +++ b/games-board/cutechess/Manifest @@ -1,3 +1,3 @@ DIST cutechess-1.3.1.tar.gz 2044641 BLAKE2B 8db8c51e1eb1ed0bff63dc933b53f96bce1824a8f81320c1a25dc037a4235981a3413b205276bc237c753cd45525e1ce7b64b2a25a9905401e952aecfebf2c6d SHA512 d6078d7ba30f735f4a12719f75e028fb990d7e6d4f5aebd3ba6295523513adf26725854c7d221dbb6c6a93cc8b4a7edd10c6d6cb1741678136367b63da08c471 EBUILD cutechess-1.3.1-r1.ebuild 830 BLAKE2B 66ebd7832ffdcd69773897cb8194a87b9d21e711d8c09f18d8a92fcc1d648be197523be718a43b1edc5201eab8f91531f7383f4df184c314634446bef37fcea1 SHA512 5a6ce483447b19f63ccb5764f1ddffd1324f972ebfecdd6bf2413a1cf05d9b3f6d0d38204478b96efa23d6036d3695136c1732c381894dc8548549e8f30c2bf6 -MISC metadata.xml 331 BLAKE2B a8a2c71c898195de98cd7d9faa0f286df6693d635116a9f8c85112185e3461d1f727eeb1483f57e1c47ed1c6dcfc44c88f2029e0706be1c34269d588d18c7d42 SHA512 42585f790ebded8b450b23f596c547d493de6c938863561f97637bda6e89d95b994bc5d3ac46247aba93a10be9326eeda37e9fcb33b62c7fea4f1b83e9488b60 +MISC metadata.xml 332 BLAKE2B 5a0ad8c0fefdd30eafa1de8ae2b42394828280c440b8fc7edac9b6f39f5bac6caee70ea92686ad821e656e82daebbf9ac070ccd0fce066ab0f47fa59e617364a SHA512 7ce1910b6cf20ad660643ebb36542dc1e1560a57631c4c00867800a9817e6e831e985c49c07132010634c0702b0b48def7e4b3f851e6574a45c99010c95403b8 diff --git a/games-board/cutechess/metadata.xml b/games-board/cutechess/metadata.xml index da1e24e44384..4168c81bbb57 100644 --- a/games-board/cutechess/metadata.xml +++ b/games-board/cutechess/metadata.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> <email>patrick@gentoo.org</email> diff --git a/games-board/domination/Manifest b/games-board/domination/Manifest index d13d327e5397..fec3bb4c8346 100644 --- a/games-board/domination/Manifest +++ b/games-board/domination/Manifest @@ -1,3 +1,3 @@ DIST Domination_1.1.1.6.zip 6567410 BLAKE2B 5868011017c9aae937d3d21c8568a541a5170a716c6762e2802e5fdb34a31dd7c4c61a0670278b211e6227f42bc996a81547b04d71533c83dfb2f6045dd190cb SHA512 46f4499f285f86cf94914ef62b25a52aa3b9848721c24900ec172f9b41d846dab07e288c564321486d451caee6049b4f4cb0ab475e378aa6df670e656b5b1fe6 -EBUILD domination-1.1.1.6-r2.ebuild 990 BLAKE2B c738d48173dc9c45c9692dff693b409d9262ea8f3cda22d7fcab1f2d1fa5098a2053a19a060c831157d92040364cc451ab4e71db8a32d07d567e69f9e177e5fa SHA512 8ecb9812b901548f2e4c67c410c022ac67b0c751670b7be31408c77c782595a9aff30d683edbabc335faca43c6db1df7a456fe8daf6f7be05383e197248118c2 +EBUILD domination-1.1.1.6-r3.ebuild 868 BLAKE2B 582ee81d8b0c9378a1492e2a80cf64d43afe9fca217e241cb292dd77d37c30417f79a415766b1202aafa2830ffbc8da65da4ab69b44d99856327c4e31f2f6c28 SHA512 ec96ae2ddb3bc33663b1bed0e7b9894cf04912316566eedfe731edb9fc1de80a794ca0dde5dbbf6606cc3ddb291e3aeb0e17068c39e950d4963c130191394620 MISC metadata.xml 334 BLAKE2B 1fc5e639f2979cb917f60cdae20e38b3482b5aa219ab3b53c3b3e893eca540a9a634a7fe6b92d9d2a8d5ea81b7485022c1da1837d6d09a3a862bf2d12b81add1 SHA512 9234295998b6847050cc6effa2eb45519af25b527c4fd505133699806a70a0047e16c7ecec1c854e1fced4ed4be96e977404b74459ada5b1704952a2c810f1d3 diff --git a/games-board/domination/domination-1.1.1.6-r2.ebuild b/games-board/domination/domination-1.1.1.6-r3.ebuild index 4bb6f973b28e..fb08295a1aec 100644 --- a/games-board/domination/domination-1.1.1.6-r2.ebuild +++ b/games-board/domination/domination-1.1.1.6-r3.ebuild @@ -1,31 +1,21 @@ # Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -EANT_BUILD_TARGET="game" -inherit desktop java-pkg-2 java-ant-2 +inherit desktop java-pkg-2 DESCRIPTION="The well-known board game, written in java" -HOMEPAGE="https://domination.sourceforge.net" -SRC_URI="https://downloads.sourceforge.net/domination/Domination_${PV}.zip" +HOMEPAGE="https://domination.sourceforge.io/" +SRC_URI="https://downloads.sourceforge.net/project/domination/Domination/${PV}/Domination_${PV}.zip" S="${WORKDIR}"/Domination LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" -RDEPEND=">=virtual/jre-1.8:*" -DEPEND=">=virtual/jdk-1.8:*" BDEPEND="app-arch/unzip" - -pkg_setup() { - java-pkg-2_pkg_setup -} - -src_compile() { - java-pkg-2_src_compile -} +RDEPEND=">=virtual/jre-1.8:*" src_install() { newbin "${S}"/FlashGUI.sh ${PN} diff --git a/games-board/gnome-chess/Manifest b/games-board/gnome-chess/Manifest index 5e02508b8cc2..80e13f386d59 100644 --- a/games-board/gnome-chess/Manifest +++ b/games-board/gnome-chess/Manifest @@ -1,3 +1,5 @@ DIST gnome-chess-43.2.tar.xz 743344 BLAKE2B 755d70ef964f6337acf852edc6fdbe69fbf3b566dfc36fa697d4c4ecdeeae5df5d1979e54e3304e89963fab01655979a55ac4f827bb1f1b506ab3cea8d147117 SHA512 e10439dd39e61436e3174e1d599d30d06955e65b696b9c37a0e9a8f1a41d19f71f33cca83ec9cc8fe2d8b516c2ec113f22bf3ddd1f1f465286cbe5bde8bcc0a2 +DIST gnome-chess-46.0.tar.xz 782212 BLAKE2B dec141cac14b59b02a3c4e0f10b09e450bf962ff5b688a7cfb31b274e1b92bd0c09a6afa3a32bb21a137114edb349ff3ac7aa88918481374fe2d4baeeca7cef2 SHA512 e605b9750fdc77a0d2b6973f127fb2cf5fadb15080add728c80a8be5ce02035ff6cadb0351751a0612f09632602fe532405d62c68828fd0ec4bf83b9bd11301a EBUILD gnome-chess-43.2.ebuild 1115 BLAKE2B 220d16594a250968beb583437520d0a104cae4861d27bc3d16e320e25c4e78822461c6b3a75ae90f7348421de8d1e7653fa9f1654ca8ea6dada6ee37d0e42236 SHA512 a6ba40e494a762943fdb0b0a4efaf72c5fce33e7ce9cd3f63daeafd3ff2402db54bb598b7466c4dd42313f002988e7bf2f6896e980bdaa5f07bd8f33b9d6ff4d +EBUILD gnome-chess-46.0.ebuild 1084 BLAKE2B 7fed7d1fea85e478a4a8d49767d25cd8d83c4333a99586ec91f467fd05b74ff8268f64e8d11ece6504bc54617c9fc111978f264abd9ce5bc416546033e5902cf SHA512 b133b4690f97899b7bdca63706a88f9343119d50b244a9e9b88ce619f6856636c92e0116021930782f38e2dbfd7f588e47332657b1742ebdc60663512bf90f4e MISC metadata.xml 352 BLAKE2B 074f6148ce26c919d90dab35327d5cedff08035effba8bcb241bf8498d76f4272ec9eb319b0cc4d7127bdb866c48c85b6200426ce62cd124fa9a5a53d7ea7e3b SHA512 9843fd4b8762345e40d89e8ecefdf62b40060691330d241a72516668ee12df23e035be932086f7969ef6a29aa03b55b4b3acc455274cc60a8961046f44a9bad7 diff --git a/games-board/gnome-chess/gnome-chess-46.0.ebuild b/games-board/gnome-chess/gnome-chess-46.0.ebuild new file mode 100644 index 000000000000..888da6547d44 --- /dev/null +++ b/games-board/gnome-chess/gnome-chess-46.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit gnome.org gnome2-utils meson readme.gentoo-r1 vala xdg + +DESCRIPTION="Play the classic two-player boardgame of chess" +HOMEPAGE="https://gitlab.gnome.org/GNOME/gnome-chess" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86" + +RDEPEND=" + >=dev-libs/glib-2.44:2 + gui-libs/gtk:4 + >=gui-libs/libadwaita-1.0.0:1 + >=gnome-base/librsvg-2.46.0:2 + x11-libs/pango +" +DEPEND="${RDEPEND} + gnome-base/librsvg:2[vala] +" +BDEPEND=" + ${PYTHON_DEPS} + $(vala_depend) + dev-util/itstool + dev-libs/appstream-glib + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig +" + +DOC_CONTENTS="To be able to play against a computer you will need +to install a chess engine package, for example games-board/gnuchess" + +src_prepare() { + default + vala_setup + xdg_environment_reset +} + +src_install() { + meson_src_install + readme.gentoo_create_doc +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update + readme.gentoo_print_elog +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update +} diff --git a/games-board/gnome-mahjongg/Manifest b/games-board/gnome-mahjongg/Manifest index 144ace255cab..6e05ef0ed9d2 100644 --- a/games-board/gnome-mahjongg/Manifest +++ b/games-board/gnome-mahjongg/Manifest @@ -1,5 +1,5 @@ DIST gnome-mahjongg-3.40.0.tar.xz 3156788 BLAKE2B 3a8dd05001d75a7fa7663556dcad135b89786333c4c89ee131e7d63dafaee2a738f0c573199a69e6bc015036270a94c8be6cd6d48630faddba297710f48931d0 SHA512 9102d48d7a1cd2808a4de86cb3cb73c30bbe769bdc58f2a69914700218972a8c96cf18b5165cc20eb9a33866a70c5b2daee43cbecf758526d89a0b8720ef5c9a DIST gnome-mahjongg-3.40.1.tar.xz 3200016 BLAKE2B bae6e0aa496918aa47c1f89626a01bdbc24405b4435cd66ec6374f26e2a96da3d397605a5535e80a76e13beb0ada612d80882f65594090aca8dd56cee3b1b4cc SHA512 051439dccc5723a07e57bdba80cc0a3893b1b515c0bdda0289eeb9851ecbed4440042d452f5d057a90a53c71be0b810ad932b7c62e549c2bc5e24ba6c174abc1 EBUILD gnome-mahjongg-3.40.0.ebuild 828 BLAKE2B 7fda1901ff50ee7336902089994d644344f2aaf8eaa81b66b3570a93ee9d491cdf0bc949faf488cc50e09590b01a545c36bafc404c74b7989d80fa30f716551d SHA512 d48ca988ae4dfd05ceb88ef516ed5b572d7ad6476e0f1485e06131669330afba955d84ef9b3a7d5603946b33014cf1575e22e97f2e29dc58171bab1f54a46e40 -EBUILD gnome-mahjongg-3.40.1.ebuild 828 BLAKE2B 876cfdb4812243184b1ab5972370bab30208a4569773166cbdd014d3883aea3997115c35aa3831cb3625d2f458114cfd1ed8ee51204d25915fe5c77eb6a3daae SHA512 b99f00cf88f5d454cc30bbf19c0b947d4acb948d426db749520d504b774651fcff0a17b19f5fad10627339f62383ef7947e92eda0b37e1c38d203066d39256f0 +EBUILD gnome-mahjongg-3.40.1.ebuild 857 BLAKE2B fde12758fc8fd54ae49ce4e1c29b859fd018814f1b48f7670898cab8627942bb228f79d7f14ed42285088461bb4dc7e98e5e97d26e1b2ffd820e6971e41ca0a4 SHA512 2b1a04f8ec289a8d8211157afa175da1bad97e76be81687e1118b839183b000850ef7303efa3084f713dc79f082085854578ee1c398d8cbeec4a8872b60aa798 MISC metadata.xml 355 BLAKE2B 170bdd4e6cb7e4afab4147e78989877516569c26560f165cbc5c7f1872af637385ad4d268a3889d54f6c252e9d9acbc82f86520b56ba2deeed516bf9c4c6f60d SHA512 62ebb5a2930f7bf4a6a6bfc849694b26ae324e52e25943628f8709ff00278c29fdcd53b9bf994fa3819b7f62dc68325b0d06e534d7daaab15b2d4a75d0c42e4f diff --git a/games-board/gnome-mahjongg/gnome-mahjongg-3.40.1.ebuild b/games-board/gnome-mahjongg/gnome-mahjongg-3.40.1.ebuild index 6fd50fe11b5e..03a1b92f9122 100644 --- a/games-board/gnome-mahjongg/gnome-mahjongg-3.40.1.ebuild +++ b/games-board/gnome-mahjongg/gnome-mahjongg-3.40.1.ebuild @@ -25,6 +25,7 @@ BDEPEND=" $(vala_depend) dev-libs/appstream-glib dev-util/itstool + gui-libs/libadwaita:1[vala] >=sys-devel/gettext-0.19.8 virtual/pkgconfig " diff --git a/games-board/gnome-mines/Manifest b/games-board/gnome-mines/Manifest index ac2c82a1dc05..50ea2b8cff81 100644 --- a/games-board/gnome-mines/Manifest +++ b/games-board/gnome-mines/Manifest @@ -1,3 +1,3 @@ DIST gnome-mines-40.1.tar.xz 280768 BLAKE2B 7cde92e045a8ab3b53d6bcd00e1f65f456cf1bb62e804e82e076a44fc4529fbf365679d7d4c4c5a0527bcc668e4b2043c8b29c16da9819c72ceaf27c5c33183b SHA512 0e7ba01c298bb96dc2102b0af2c37d1c28772dd3b720dcfa48f9363ef36b14fc6c624e877a684f83a16ba9ffb9c9922403bdd73379afb1cbbbc66baf796c29c5 -EBUILD gnome-mines-40.1.ebuild 919 BLAKE2B 6ab61b5c69ab92859aeb321631d42c479d31b46811ad131229270b29585602004a3de11196a2030204455b62b55fca4940dc976a3cc855fad723cb54fa7b81dc SHA512 ac4fd1f9307648a33487e48101d164b14f6705e2016cf1f040600248f7df9945850ea9176fd746e8ec041d31cdb20498d570d0498d386261143840c7f0837561 +EBUILD gnome-mines-40.1.ebuild 915 BLAKE2B 976d45ce9b5e0b6bab93446849a2b0549ea13287f71346b4622a3fdb4a6d4e58fc1f1795b7ddffb1bbaa7274c0cfd545a321a42f51d2a01dcb75ee7e3543a0a7 SHA512 04ed87fb82e2af29136616f100110a67839ebefe2c7622a6600686c405df0e8f639541ebc17ee332816ed5b85d7bea7148343d243070e0b0c0f6392a75b8d433 MISC metadata.xml 352 BLAKE2B e46b44cacc9b05932a907fa905f663a56a53a757c0253b3c64f9543aeee0831f124c4a4504d5593efce3e2f122de30e218a8b96d128e3d0ae6c5c40bf9fef3ac SHA512 de0e0467c764cca71678ff900da1634e1482eb372bb5a1e16784f84023e1f4da9704c0b141fc0613c3846ffea5b8652a17ad4b4e7442d5ba1ff764c9a7c5c5f7 diff --git a/games-board/gnome-mines/gnome-mines-40.1.ebuild b/games-board/gnome-mines/gnome-mines-40.1.ebuild index b0ef7a340d18..d591d53e4cf9 100644 --- a/games-board/gnome-mines/gnome-mines-40.1.ebuild +++ b/games-board/gnome-mines/gnome-mines-40.1.ebuild @@ -1,12 +1,12 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 -PYTHON_COMPAT=( python3_{9..11} ) +EAPI=8 +PYTHON_COMPAT=( python3_{10..12} ) inherit gnome.org gnome2-utils meson python-any-r1 vala xdg DESCRIPTION="Clear hidden mines from a minefield" -HOMEPAGE="https://wiki.gnome.org/Apps/Mines" +HOMEPAGE="https://gitlab.gnome.org/GNOME/gnome-mines" LICENSE="GPL-3+ CC-BY-SA-3.0" SLOT="0" @@ -32,8 +32,8 @@ BDEPEND=" " src_prepare() { - xdg_src_prepare - vala_src_prepare + default + vala_setup } pkg_postinst() { diff --git a/games-board/gnubg/Manifest b/games-board/gnubg/Manifest index c3dba7d4d590..83736b7a6d8e 100644 --- a/games-board/gnubg/Manifest +++ b/games-board/gnubg/Manifest @@ -1,10 +1,3 @@ -AUX gnubg-1.08.002-gtk3_relational.patch 782 BLAKE2B 371e9010ddebfbd75d1363cef246327962b746db2f832e0af28db30ae5a999a1e83290eac01442fd87e6e2c9fd2ed59405e1a2cc33fbb851705100060e1a5e15 SHA512 4debf3f222d2a3b412f7dde5906a25fbbdbd670db6d2b476878597b4cf736e0e94687b0a1af402f57bb0a2adfca75bbdb7691db46655cce364e65d5b2acc0680 -DIST gnubg-release-1.07.001-sources.tar.gz 13729158 BLAKE2B 3c5a0ffd38d2f1a16b3bf188a6ed6ba38e9527d681ad510b2e318b6f5da7d5fb1e0728f4f562fe4d770710489e7eae1396318e26717a51434fa8b4c3258570f9 SHA512 0643af4c3c6e32774e3572462755e7eed094fcc9621dc8262ce0f794657f00a3dbc22d0f916580982a6dacc08488544cd5fec5bf7e2c60ca50f83e2a60804e08 -DIST gnubg-release-1.08.001-sources.tar.gz 14019262 BLAKE2B ac207c54a6b0b4af59eefe0d2d2967393fa6fe6497c29c514baba596a446a0481bc07a4fa74f492de270260c942df81a1ef28bcdc9187cc3b2d3c0507cd6f27c SHA512 a3a547368f8852d0b5186340a3b893842237358b48dc4e6893920d57ea0f2fe72d958b4d0de16be55616fc687889118b016a6d3a859a1651fc77adcefcd7a7eb -DIST gnubg-release-1.08.002-sources.tar.gz 14045962 BLAKE2B 328639d4ab96d8ab8025971819a2b6c120102ca757f29c8e5e8d0ac8f77a5abb4b75fd006d1c7090c2d04b9d66e1185069ce51c5f90437464d430f9c53d1875c SHA512 0e68c03457ca2cc925fe510752e24b03147db36e2e489c9e2912dd72f55f42514d98568fec1ce81176e7b8e3aafd68034659fe84e89e07b057224095f3be8924 DIST gnubg-release-1.08.003-sources.tar.gz 14046779 BLAKE2B 6cb9ddcfbc71dbb4461daebb191046f02986a116e45acf09f219598fea6b066c38080c3a2b051de424eadcbe3a6c8a6e30794381d9edfb03dcc36102ed641e05 SHA512 3c006315491a324b7a6fa3adb19af829e9e9b04b231558ed4e88035eb0461602504cd4249a0119d1c89dc8e82b73c99946af3551ddd7c55aa0cd230b0121e527 -EBUILD gnubg-1.07.001.ebuild 2359 BLAKE2B d8e63dbbf47c1e399927ae4314195e534dab67196d68b18c76c3132289dfc7a32956d27783a6455dcf84399a5d9031e4550b60111e876680b3faf1c8c508ade4 SHA512 c3bcee3239e571326780f9cfa6161cdf373b07c67877849c699fecf4f90ddd868f590fef8da43ffa770dbccbc329f4db5b49521e266dae9c9cba9cd94cf32bc9 -EBUILD gnubg-1.08.001.ebuild 2359 BLAKE2B b3d1dcdc2c675a72d6cf8ab5a70c2121c01dcef641c9510ce79ce2e2cc863995fad1e4c2551a83b92a7bd3923c2eb781e1a27f42e4db7020e03cb777fa869d6b SHA512 666e360e015c9381b9f4a19a4ff4851befc8262572ed6ee0dbfcef83445bb3d8b06ecb343ecfd5b5911420e0aa218c073d4a2026515445b21c020644887240bd -EBUILD gnubg-1.08.002.ebuild 2413 BLAKE2B af2fdc98441ea23c4514e3abb5aafaf6c3917ea16e74d4c20355b9cf609848bac7b24fdd57e0c189cb54fc6181f4fee64d9f3c1258d37b36b932620d003ae0d6 SHA512 056e30237f007ba0456aa31a33a63f8cbd67b209487ca334146d735c700656470a1a6025bdf453f6bcb52a030a410a24a9c5f3e7334eea5b4102f3f3aa4701ea EBUILD gnubg-1.08.003.ebuild 2359 BLAKE2B b3d1dcdc2c675a72d6cf8ab5a70c2121c01dcef641c9510ce79ce2e2cc863995fad1e4c2551a83b92a7bd3923c2eb781e1a27f42e4db7020e03cb777fa869d6b SHA512 666e360e015c9381b9f4a19a4ff4851befc8262572ed6ee0dbfcef83445bb3d8b06ecb343ecfd5b5911420e0aa218c073d4a2026515445b21c020644887240bd MISC metadata.xml 455 BLAKE2B e5933eca885ed18303b49be65c026034d77d3d5f9ce85e4b1fc76c0e9aa1a0e914ed3151634c172e199f00bd26b5104ad5d87412cdc578a4c45b4122b5485385 SHA512 e3ba0ddc20123d70cedacc413169ab896440b89a93e3945ea5bf3aa9b41f9a91b2a0912f6dec07d16c08329886355a32da3ff2828a4d4eba6e2ef3aec2b7c8dd diff --git a/games-board/gnubg/files/gnubg-1.08.002-gtk3_relational.patch b/games-board/gnubg/files/gnubg-1.08.002-gtk3_relational.patch deleted file mode 100644 index c9e7027c651d..000000000000 --- a/games-board/gnubg/files/gnubg-1.08.002-gtk3_relational.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Naur gnubg-1.08.002.orig/gtkrelational.c gnubg-1.08.002/gtkrelational.c ---- gnubg-1.08.002.orig/gtkrelational.c 2024-02-24 22:07:39.000000000 +0100 -+++ gnubg-1.08.002/gtkrelational.c 2024-03-06 22:45:43.113919993 +0100 -@@ -502,7 +502,7 @@ - // window setup - // window = (GtkWindow*)gtk_window_new(GTK_WINDOW_TOPLEVEL); - //window = GTKCreateDialog("", DT_INFO, NULL, DIALOG_FLAG_MINMAXBUTTONS, NULL, NULL); -- window = GTKCreateDialog(_("History plot"), DT_INFO, pwDialog, DIALOG_FLAG_MINMAXBUTTONS, NULL, NULL); -+ window = GTKCreateDialog(_("History plot"), DT_INFO, NULL, DIALOG_FLAG_MINMAXBUTTONS, NULL, NULL); - - gtk_window_set_default_size (GTK_WINDOW(window), WIDTH, HEIGHT); - gtk_window_set_position (GTK_WINDOW(window), GTK_WIN_POS_CENTER); diff --git a/games-board/gnubg/gnubg-1.07.001.ebuild b/games-board/gnubg/gnubg-1.07.001.ebuild deleted file mode 100644 index 514e6223b388..000000000000 --- a/games-board/gnubg/gnubg-1.07.001.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..11} ) -inherit autotools desktop python-single-r1 xdg - -DESCRIPTION="GNU BackGammon" -HOMEPAGE="https://www.gnu.org/software/gnubg/" -SRC_URI="mirror://gnu/${PN}/${PN}-release-${PV}-sources.tar.gz" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc64 ~x86" -IUSE=" - cpu_flags_x86_avx cpu_flags_x86_sse cpu_flags_x86_sse2 - gui opengl python sqlite" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) - opengl? ( gui )" - -RDEPEND=" - dev-libs/cglm - dev-libs/glib:2 - dev-libs/gmp:= - media-fonts/dejavu - media-libs/freetype:2 - media-libs/libpng:= - net-misc/curl - sys-libs/readline:= - virtual/libintl - x11-libs/cairo[svg(+)] - x11-libs/pango - gui? ( - media-libs/libcanberra[gtk3] - x11-libs/gdk-pixbuf:2 - x11-libs/gtk+:3 - ) - opengl? ( media-libs/libepoxy ) - python? ( ${PYTHON_DEPS} ) - sqlite? ( dev-db/sqlite:3 )" -DEPEND="${RDEPEND}" -BDEPEND=" - dev-build/autoconf-archive - sys-devel/gettext - virtual/pkgconfig - python? ( ${PYTHON_DEPS} )" - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_prepare() { - default - - #This was provided by gtkglext before - sed -i "s/\$(GTKGLEXT_LIBS)/-lGL/" Makefile.am || die - - sed -i "s|/tmp|${T}|" credits.sh || die #298275 - sed -i 's/fonts //' Makefile.am || die #335774 - sed -i 's/gzip/true/' doc/Makefile.am || die - - # use system's copy so py3.10 distutils warning doesn't trigger a fatal error - rm m4/ax_python_devel.m4 || die - - eautoreconf -} - -src_configure() { - local simd=no - use cpu_flags_x86_sse && simd=sse - use cpu_flags_x86_sse2 && simd=sse2 - use cpu_flags_x86_avx && simd=avx - - local econfargs=( - $(use_with gui gtk) - $(use_with gui gtk3) - $(use_with opengl board3d) - $(use_with python) - $(use_with sqlite) - --disable-cputest - --docdir="${EPREFIX}"/usr/share/doc/${PF}/html - --enable-simd=${simd} - ) - - econf "${econfargs[@]}" -} - -src_install() { - default - - mv "${ED}"/usr/share/doc/${PF}{/html/*.pdf,} || die - - insinto /usr/share/${PN} - doins ${PN}.weights *.bd - - dosym ../../fonts/dejavu/DejaVuSans.ttf /usr/share/${PN}/fonts/Vera.ttf - dosym ../../fonts/dejavu/DejaVuSans-Bold.ttf /usr/share/${PN}/fonts/VeraBd.ttf - dosym ../../fonts/dejavu/DejaVuSerif-Bold.ttf /usr/share/${PN}/fonts/VeraSeBd.ttf - - use gui && make_desktop_entry "gnubg -w" "GNU Backgammon" -} diff --git a/games-board/gnubg/gnubg-1.08.001.ebuild b/games-board/gnubg/gnubg-1.08.001.ebuild deleted file mode 100644 index fc284bf820fa..000000000000 --- a/games-board/gnubg/gnubg-1.08.001.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..12} ) -inherit autotools desktop python-single-r1 xdg - -DESCRIPTION="GNU BackGammon" -HOMEPAGE="https://www.gnu.org/software/gnubg/" -SRC_URI="mirror://gnu/${PN}/${PN}-release-${PV}-sources.tar.gz" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc64 ~x86" -IUSE=" - cpu_flags_x86_avx cpu_flags_x86_sse cpu_flags_x86_sse2 - gui opengl python sqlite" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) - opengl? ( gui )" - -RDEPEND=" - dev-libs/cglm - dev-libs/glib:2 - dev-libs/gmp:= - media-fonts/dejavu - media-libs/freetype:2 - media-libs/libpng:= - net-misc/curl - sys-libs/readline:= - virtual/libintl - x11-libs/cairo[svg(+)] - x11-libs/pango - gui? ( - media-libs/libcanberra[gtk3] - x11-libs/gdk-pixbuf:2 - x11-libs/gtk+:3 - ) - opengl? ( media-libs/libepoxy ) - python? ( ${PYTHON_DEPS} ) - sqlite? ( dev-db/sqlite:3 )" -DEPEND="${RDEPEND}" -BDEPEND=" - dev-build/autoconf-archive - sys-devel/gettext - virtual/pkgconfig - python? ( ${PYTHON_DEPS} )" - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_prepare() { - default - - #This was provided by gtkglext before - sed -i "s/\$(GTKGLEXT_LIBS)/-lGL/" Makefile.am || die - - sed -i "s|/tmp|${T}|" credits.sh || die #298275 - sed -i 's/fonts //' Makefile.am || die #335774 - sed -i 's/gzip/true/' doc/Makefile.am || die - - # use system's copy so py3.10 distutils warning doesn't trigger a fatal error - rm m4/ax_python_devel.m4 || die - - eautoreconf -} - -src_configure() { - local simd=no - use cpu_flags_x86_sse && simd=sse - use cpu_flags_x86_sse2 && simd=sse2 - use cpu_flags_x86_avx && simd=avx - - local econfargs=( - $(use_with gui gtk) - $(use_with gui gtk3) - $(use_with opengl board3d) - $(use_with python) - $(use_with sqlite) - --disable-cputest - --docdir="${EPREFIX}"/usr/share/doc/${PF}/html - --enable-simd=${simd} - ) - - econf "${econfargs[@]}" -} - -src_install() { - default - - mv "${ED}"/usr/share/doc/${PF}{/html/*.pdf,} || die - - insinto /usr/share/${PN} - doins ${PN}.weights *.bd - - dosym ../../fonts/dejavu/DejaVuSans.ttf /usr/share/${PN}/fonts/Vera.ttf - dosym ../../fonts/dejavu/DejaVuSans-Bold.ttf /usr/share/${PN}/fonts/VeraBd.ttf - dosym ../../fonts/dejavu/DejaVuSerif-Bold.ttf /usr/share/${PN}/fonts/VeraSeBd.ttf - - use gui && make_desktop_entry "gnubg -w" "GNU Backgammon" -} diff --git a/games-board/gnubg/gnubg-1.08.002.ebuild b/games-board/gnubg/gnubg-1.08.002.ebuild deleted file mode 100644 index 200ed22e57b9..000000000000 --- a/games-board/gnubg/gnubg-1.08.002.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..12} ) -inherit autotools desktop python-single-r1 xdg - -DESCRIPTION="GNU BackGammon" -HOMEPAGE="https://www.gnu.org/software/gnubg/" -SRC_URI="mirror://gnu/${PN}/${PN}-release-${PV}-sources.tar.gz" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc64 ~x86" -IUSE=" - cpu_flags_x86_avx cpu_flags_x86_sse cpu_flags_x86_sse2 - gui opengl python sqlite" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) - opengl? ( gui )" - -RDEPEND=" - dev-libs/cglm - dev-libs/glib:2 - dev-libs/gmp:= - media-fonts/dejavu - media-libs/freetype:2 - media-libs/libpng:= - net-misc/curl - sys-libs/readline:= - virtual/libintl - x11-libs/cairo[svg(+)] - x11-libs/pango - gui? ( - media-libs/libcanberra[gtk3] - x11-libs/gdk-pixbuf:2 - x11-libs/gtk+:3 - ) - opengl? ( media-libs/libepoxy ) - python? ( ${PYTHON_DEPS} ) - sqlite? ( dev-db/sqlite:3 )" -DEPEND="${RDEPEND}" -BDEPEND=" - dev-build/autoconf-archive - sys-devel/gettext - virtual/pkgconfig - python? ( ${PYTHON_DEPS} )" - -PATCHES=( "${FILESDIR}"/${P}-gtk3_relational.patch ) - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_prepare() { - default - - #This was provided by gtkglext before - sed -i "s/\$(GTKGLEXT_LIBS)/-lGL/" Makefile.am || die - - sed -i "s|/tmp|${T}|" credits.sh || die #298275 - sed -i 's/fonts //' Makefile.am || die #335774 - sed -i 's/gzip/true/' doc/Makefile.am || die - - # use system's copy so py3.10 distutils warning doesn't trigger a fatal error - rm m4/ax_python_devel.m4 || die - - eautoreconf -} - -src_configure() { - local simd=no - use cpu_flags_x86_sse && simd=sse - use cpu_flags_x86_sse2 && simd=sse2 - use cpu_flags_x86_avx && simd=avx - - local econfargs=( - $(use_with gui gtk) - $(use_with gui gtk3) - $(use_with opengl board3d) - $(use_with python) - $(use_with sqlite) - --disable-cputest - --docdir="${EPREFIX}"/usr/share/doc/${PF}/html - --enable-simd=${simd} - ) - - econf "${econfargs[@]}" -} - -src_install() { - default - - mv "${ED}"/usr/share/doc/${PF}{/html/*.pdf,} || die - - insinto /usr/share/${PN} - doins ${PN}.weights *.bd - - dosym ../../fonts/dejavu/DejaVuSans.ttf /usr/share/${PN}/fonts/Vera.ttf - dosym ../../fonts/dejavu/DejaVuSans-Bold.ttf /usr/share/${PN}/fonts/VeraBd.ttf - dosym ../../fonts/dejavu/DejaVuSerif-Bold.ttf /usr/share/${PN}/fonts/VeraSeBd.ttf - - use gui && make_desktop_entry "gnubg -w" "GNU Backgammon" -} diff --git a/games-board/megamek/Manifest b/games-board/megamek/Manifest index 223c105d2203..7f8e7ecce8e1 100644 --- a/games-board/megamek/Manifest +++ b/games-board/megamek/Manifest @@ -1,4 +1,5 @@ +AUX megamek-0.34.10-source8.patch 1261 BLAKE2B 7b41f35e98301044948f0d4787e4ac229862c358e3151a9135d3c45b3287ed05f2cad385707c6f429eb7020164296de363b6f9e0db694babc59565025c9c0463 SHA512 b4163badca10c2c80f44f475e046261c1d9e1d6e0918a46ef7c619ecb484eb1abd68f8441a4b780c210051ae161d9ca6cdd2faf2015ce5b8969edd45434a47fa DIST MegaMek-v0.34.10.zip 16677286 BLAKE2B 73c4ee9e38b4c50221c40c5d0cba1c13de00e586bf2cb9432c356f5c21045c26cfa64705b303c7213f29deda369a97ea5fba397c995c138731a66152c062c5b5 SHA512 943f6ed4f4d57197092a7aa09637f60827f23181a7b8b0991907fcc62109b471ea2ce53816a79dfcad9d8da65c9514be3190e924d9bf2b17aacf84fc1fa6e037 DIST megamek.png 9264 BLAKE2B cdff3e992af93cfc8f31be0c4d959ff5598eb3f7be58abfae4043a3e1f324d1985fc0621540f14ff7a2e2b4bb5e22672a940494a8e7c8d3339ad8f49c4c60979 SHA512 12a19fcb4ece9ee0fc38b3af10c37b7d362df9a41403d86dd1cfd8fb40a7b06784c71b5b160177b72d7aba048b78c4482f5417406d4add7feb47d13078bc79cf -EBUILD megamek-0.34.10-r2.ebuild 1164 BLAKE2B 624b8cc33e5c1c8cf77dad7e4cbe72af95ed1ae4bd51299169aa0f558fc5a7409aacd8f3263e9989dd5d979e6b4ac2fca51d9205236e5cf4bdbf89ed559e865f SHA512 92cb9849742da1e2fdad1beb9878f23efa15ac9c0793aa6986e65e1a6a25c9ae3b68767a5b9c123b130b76a43ec669b4cd531d71078a916f3156b8ba5a123987 +EBUILD megamek-0.34.10-r3.ebuild 1420 BLAKE2B d70f3a99168f5d06f0a09c3c8b2fd41b6a7244f6aadba46ff94836420c144b69b8224c828e8042440f2d804983fc73684ad6a9e2af91b021b6df4624bef1f3cb SHA512 ce44b4aafcff6b3bb9e3673051e1385ae97934de215a936adbc3434f80b542c94d06ac550096359b6ce87728219c302ae830f9c2ecd3527204ca890c861817ad MISC metadata.xml 386 BLAKE2B f90209655383403f6d148687482428c8b798d01d061e15b31db37b7699a44465274ef276fee72f5c5321c3cbcff176b7446995a7a6c8b93a286e0b186c5221de SHA512 02c338826dfd4a6338dbfb2e3b59e1158308fc3255271ab1124506585466110fc7c06f8aababcc1d83e66b4ca50c0fa8a89257ce062ea1683ae01331466d8e7f diff --git a/games-board/megamek/files/megamek-0.34.10-source8.patch b/games-board/megamek/files/megamek-0.34.10-source8.patch new file mode 100644 index 000000000000..27d4596d8d92 --- /dev/null +++ b/games-board/megamek/files/megamek-0.34.10-source8.patch @@ -0,0 +1,22 @@ +diff --git a/build.xml b/build.xml +index 9d3a7d6..a6732b6 100644 +--- a/build.xml ++++ b/build.xml +@@ -60,7 +60,7 @@ +
+ <target name="compile" depends="init" description="Compile java sources into class files">
+ <!-- compile -->
+- <javac debug="true" debuglevel="lines,source" target="1.5" source="1.5" destdir="${builddir}" srcdir="${srcdir}" memoryInitialSize="512m" memoryMaximumSize="512m" fork="true">
++ <javac debug="true" debuglevel="lines,source" destdir="${builddir}" srcdir="${srcdir}" memoryInitialSize="512m" memoryMaximumSize="512m" fork="true">
+ <classpath>
+ <pathelement location="${basedir}" />
+ <fileset dir="${libdir}" includes="*.jar" />
+@@ -208,7 +208,7 @@ +
+ <!-- compile -->
+ <echo message="building MegaMek from svn sources" />
+- <javac debug="true" debuglevel="lines,source" target="1.5" source="1.5" destdir="${svnbuilddir}" srcdir="${svndir}/${srcdir}" memoryInitialSize="512m" memoryMaximumSize="512m" fork="true">
++ <javac debug="true" debuglevel="lines,source" destdir="${svnbuilddir}" srcdir="${svndir}/${srcdir}" memoryInitialSize="512m" memoryMaximumSize="512m" fork="true">
+ <classpath>
+ <pathelement location="${svndir}" />
+ <fileset dir="${svndir}/${libdir}" includes="*.jar" />
diff --git a/games-board/megamek/megamek-0.34.10-r2.ebuild b/games-board/megamek/megamek-0.34.10-r3.ebuild index 213e94a3ce70..4a6545a38c87 100644 --- a/games-board/megamek/megamek-0.34.10-r2.ebuild +++ b/games-board/megamek/megamek-0.34.10-r3.ebuild @@ -1,27 +1,33 @@ # Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -inherit desktop edos2unix java-pkg-2 java-ant-2 +inherit desktop edos2unix java-pkg-2 DESCRIPTION="Unofficial online version of the Classic BattleTech board game" HOMEPAGE="https://megamek.org/" SRC_URI=" - https://downloads.sourceforge.net/${PN}/MegaMek-v${PV}.zip + https://downloads.sourceforge.net/project/megamek/Archived%20Stable/MegaMek%20v${PV}/MegaMek-v${PV}.zip https://dev.gentoo.org/~ionen/distfiles/${PN}.png" S="${WORKDIR}" LICENSE="GPL-2+" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64" -RDEPEND=">=virtual/jre-1.8:*" -DEPEND=">=virtual/jdk-1.8:*" BDEPEND="app-arch/unzip" +DEPEND=" + >=dev-java/ant-1.10.14-r3 + >=virtual/jdk-1.8:* +" +RDEPEND=">=virtual/jre-1.8:*" + +PATCHES=( "${FILESDIR}/megamek-0.34.10-source8.patch" ) src_prepare() { - default + default #780585 + java-pkg-2_src_prepare rm MegaMek.jar || die @@ -33,8 +39,12 @@ src_prepare() { # workaround encoding issues posing problems with >=jdk-1.8 find . -name '*.java' -exec sed -i 's/\xf6/\xc3\xb6/' {} + || die +} - java-pkg-2_src_prepare +src_compile() { + eant \ + -Dant.build.javac.source="$(java-pkg_get-source)" \ + -Dant.build.javac.target="$(java-pkg_get-target)" } src_install() { diff --git a/games-board/openyahtzee/Manifest b/games-board/openyahtzee/Manifest index 03202026a557..b595ec85b6ac 100644 --- a/games-board/openyahtzee/Manifest +++ b/games-board/openyahtzee/Manifest @@ -1,5 +1,4 @@ AUX openyahtzee-1.9.3-wx32.patch 520 BLAKE2B ce53e083b66aecd8e817501a2424a4289ba9e17f19410eec0dc4696c8c28894fe317465f1bd5910fdbbbc036c5c6144229ac1724d5f8927c6566af2bdfd63c8f SHA512 59e863ba5ea6aaacbf5b81a4890d59df1e3d5673fd0bf115e78d1daf675054a66caade4e27158b0eba1f92ee4aac34034b0c79cb86c0e3a345a8f7600d6586c0 DIST openyahtzee-1.9.3.tar.xz 178868 BLAKE2B 0cb5b87f8d4f9cdfbc81918f937ec783fef2488146f5497de0d01d6b50eeeef2edc308ca4230f1103b5770a03ccb74740e5c42b2ea01bd67705ed2aff6667d99 SHA512 7e696141d8f567247300c7f4924889b0a2f88866c70a10ad7619709990cacb726ec0af28bcee62a9f0d607d7f83ca5bb62d7275b2cc6e0343004f9125e4fb506 -EBUILD openyahtzee-1.9.3-r1.ebuild 900 BLAKE2B 59f006e79873969fded38d4fda8636272fa55d78a2fe82d9ecc6ad28bb23bfb613dccdaa697bec771e150e6ebfd38f19facd5c100d0e8c06931b81338b77cfe9 SHA512 fb5aef10eb2f49a6344f0b27644e184b8945b4624bf29259acd04a169a8a44f7a3108db1f8c9ef63906c470131521bf8f016ed3e948e8124a4574399f18e4dd4 EBUILD openyahtzee-1.9.3-r2.ebuild 631 BLAKE2B 31590cc2dbe4c4c7329b143dcdd537ffc2d1913a7a2b4c5730ff9734e48f4f91ba0f4bcbca9deaa31e9eb6be7c56f06b9eeb06167bb603ea7e16fccea35bf5e9 SHA512 3a62f86c9a5bbd0fdc368b671bf664075953b7762ce3aaf5fee5ec32eee2af61001a7d3d1bc25c09fee73d91b13158a1f9bf7142d54dcaccde988e04bc7e7cb8 MISC metadata.xml 335 BLAKE2B d48aff920af7eb627945824c46f0a888d3077e77df3af78d48df60f51c8237c2381d1f4af638090baf7f70833ba680c0eed3e4fa14f70f579bee3a26d0cf525c SHA512 b82b98db4889cffa82bf22c4a7017223db267cf656f2efd32c7192c8aff3555c58f1ea2731b99b0503f1adb750a7915e623c88e9f697a2b1896a5f94fd40b163 diff --git a/games-board/openyahtzee/openyahtzee-1.9.3-r1.ebuild b/games-board/openyahtzee/openyahtzee-1.9.3-r1.ebuild deleted file mode 100644 index d6c0225fb583..000000000000 --- a/games-board/openyahtzee/openyahtzee-1.9.3-r1.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -WX_GTK_VER="3.0" -inherit flag-o-matic toolchain-funcs wxwidgets - -DESCRIPTION="Full-featured wxWidgets version of the classic dice game Yahtzee" -HOMEPAGE="https://openyahtzee.sourceforge.net/" -SRC_URI="https://downloads.sourceforge.net/openyahtzee/${P}.tar.xz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND="x11-libs/wxGTK:${WX_GTK_VER}[X]" -DEPEND=" - ${RDEPEND} - dev-libs/boost -" - -pkg_pretend() { - local ver=4.6 - local msg="You need at least GCC ${ver}.x for C++11 range-based 'for' and nullptr support." - - if tc-is-gcc ; then - if ver_test ${ver} -gt $(gcc-version); then - die ${msg} - fi - else - ewarn "Ensure your compiler has C++11 support, otherwise build will fail." - fi -} - -src_configure() { - append-cxxflags -std=c++11 - setup-wxwidgets - econf --datadir=/usr/share -} diff --git a/games-board/pasang-emas/Manifest b/games-board/pasang-emas/Manifest index fb4fd06663e4..150b23c05884 100644 --- a/games-board/pasang-emas/Manifest +++ b/games-board/pasang-emas/Manifest @@ -1,7 +1,6 @@ -AUX pasang-emas-3.1.0-build.patch 1346 BLAKE2B 0ff7cb7800a5b65986a4311dbcb396863ce520786106b9450096bdd6bec5453279d3b93dd8de124b36649ca3c7b98c0b2f9b89ea53ac3f9352c22aae4eeff2a3 SHA512 5918f34bdb05f2717db5ad4c3e06adf5fe44f1093a8c964e5362bbfd86a542b9cd593ae4bf045d628b23e489f8365f2e4e2ee8b07a68ec96fffa2a055c804120 -DIST pasang-emas-3.1.0.tar.bz2 3030528 BLAKE2B c61caf905f17fb51fd58609c8f0ec9fc61c0db0fd75eb65d271db39f7c3e670d651d8ed2134aa165cdfd8358d252b78b7716008c1aa96e2f7e9fed1b6123f06e SHA512 c1f7dc259100e2fe643ac0a5d766dad10435145b3fd76e698335817bc30b7a55a5816df920fc3c86fb7b533661b1dd179b20ad01586be914bb3a9cad9be29a65 +DIST pasang-emas-6.3.0.tar.xz 2935180 BLAKE2B 183d8e41ddb1bcf8fca395d300660ab5f369a4a4d9337c987f6db8b2004861f1751a8b52f21634092f4c5f7de1e2d9edd872915fbf0666fbf088058435bd17f7 SHA512 55dce61a0292bc2b410527fbbcad79b1e956912be549b52dafdb0371da12199fadf2822df1b431cf9673c3b52aaa3732e99ddf4866ebd30cb518c4b9ce68e94a DIST pasang-emas-themes-1.0.tar.bz2 1190560 BLAKE2B a2218920dc601a12c86da15600f8cd09ae434265695d872d706086ab02b9b02e557e8c786789b8089d142b86114adbabfe392f1af290138a95a1d805845582a9 SHA512 8b82ce6ba588b83ed4a0d70d8aab256e2dae16143e64ca8a1fc25ffe61f001cdbc71d62d8eb42d9af4aeb63d6584f47b513b0ce1840d9b9f49d9b1b635eb4043 DIST pet-fragrance.tar.bz2 1019437 BLAKE2B a4408d60c4ea14efab84f10bbce4da0382253f19cd60a82b278ac55c6b9f897a0e2eeef924930b7c8159a02460e3a269dea4254126e2389c84fe0f02cf61c62e SHA512 2af8908848cc20962c70ef573156b208dbc33032529035ae6f0b5760f5eb1b718582dc823340587e29b7e66a2d3c89ba113dedbf299c0bef639f28329ff278f2 DIST pet-marble.tar.bz2 631999 BLAKE2B aee419bfe7355f6c90822deed14d44174d5862f08a6bcb81cabd3c2b05f7ee99ae836574af21e3a2a9c9bf203c1c39d8c4f435466cbbf274cdd162e2c6cc3805 SHA512 3ecaeaddb12e23fbd90e4d158a47dffb73b756bf9f5263d93c5f6aa21d290be3d91885de7200cdd3a45718b49ac19cd7073ed8bf83697af6bff64759f810122e -EBUILD pasang-emas-3.1.0-r1.ebuild 1524 BLAKE2B a77a6097f7a5f965132a98d3341bb5e08f5e7cbbf78bef46bcd0d12c839b565f206e794e1652025a2e85bd67a13ff78d1c88e2daf0db47c1fc2f84103bb20cec SHA512 b3b4bcd3e9f8b5172f75f7a705a0170b4cef64087ddbb7bf4d7f52ba694517162fbc34de7fb1030e0f43f4b6d9db412f6dfe42a228e539eb116029c0d4f4b1ca +EBUILD pasang-emas-6.3.0.ebuild 951 BLAKE2B fdec676cd8edb9db094240e2bca54ec4808740c21c58ce9ccb2ff747e35f250ad0692a57d6ee26f701fa0fbc6537054e6a9d3e42eabfbec11e2052c96127c60d SHA512 633a6302b26f8f5ad2578c6fe929abc59bdb444c57ff67562b0e2cf938a78e87561ee62014dd4e27e27d988ca172aa2a4192e67b2eb214a3a2e29f006faf8eaf MISC metadata.xml 419 BLAKE2B 345012ae3a2372a50e1d489fdf647905d66491fe890ad76fb433335cdedcb0b4ca9cdfc3b6503b47ca4e25f6fce21fea3a47ebc2c50e2a05978c424de24f312d SHA512 edeb86d802b544182148cdb42f96bf3af132b7216b5e319c9ee3fd943d0afcd081e0b108294d12ada612e3893334696cf07eacd6c606a265c3232a57038084c6 diff --git a/games-board/pasang-emas/files/pasang-emas-3.1.0-build.patch b/games-board/pasang-emas/files/pasang-emas-3.1.0-build.patch deleted file mode 100644 index 93703d8e6d1c..000000000000 --- a/games-board/pasang-emas/files/pasang-emas-3.1.0-build.patch +++ /dev/null @@ -1,42 +0,0 @@ ---- pasang-emas-2.1.0-orig/src/Makefile.in -+++ pasang-emas-2.1.0/src/Makefile.in -@@ -221,11 +221,11 @@ - pasang.vapi \ - pasang.h - --LDADD = libpasang.a $(DEPS_LIBS) -+LDADD = libpasang.a $(DEPS_LIBS) -lm - INCLUDES = $(DEPS_CFLAGS) \ - --include ../config.h \ - -DLOCALEDIR=\"$(localedir)\" \ -- -DPIXMAPSDIR=\"$(datadir)/pixmaps\" \ -+ -DPIXMAPSDIR=\"/usr/share/pixmaps\" \ - -DDATADIR=\"$(datadir)\" \ - -DTHEME_ROOT_DIR=\"$(datadir)/$(PACKAGE_TARNAME)/themes\" \ - -DUSER_THEME_ROOT_DIR=\".$(PACKAGE_TARNAME)/themes\" \ ---- pasang-emas-2.1.0-orig/data/Makefile.in -+++ pasang-emas-2.1.0/data/Makefile.in -@@ -229,10 +229,10 @@ - top_builddir = @top_builddir@ - top_srcdir = @top_srcdir@ - SUBDIRS = kayu --desktopdir = $(datadir)/applications -+desktopdir = /usr/share/applications - desktop_in_files = pasang-emas.desktop.in - desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) --appicondir = $(datadir)/pixmaps -+appicondir = /usr/share/pixmaps - appicon_DATA = \ - pasang-emas.png \ - pasang-emas-flash.png ---- pasang-emas-2.1.0-orig/po/Makefile.in.in -+++ pasang-emas-2.1.0/po/Makefile.in.in -@@ -34,7 +34,7 @@ - datarootdir = @datarootdir@ - libdir = @libdir@ - DATADIRNAME = @DATADIRNAME@ --itlocaledir = $(prefix)/$(DATADIRNAME)/locale -+itlocaledir = /usr/share/locale - subdir = po - install_sh = @install_sh@ - # Automake >= 1.8 provides @mkdir_p@. diff --git a/games-board/pasang-emas/pasang-emas-3.1.0-r1.ebuild b/games-board/pasang-emas/pasang-emas-6.3.0.ebuild index 87721db3f1bc..7cfc8c62a614 100644 --- a/games-board/pasang-emas/pasang-emas-3.1.0-r1.ebuild +++ b/games-board/pasang-emas/pasang-emas-6.3.0.ebuild @@ -1,14 +1,13 @@ # Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 - -inherit gnome2-utils toolchain-funcs +EAPI=8 +inherit toolchain-funcs DESCRIPTION="Traditional game of Brunei" HOMEPAGE="https://pasang-emas.sourceforge.net/" SRC_URI=" - https://downloads.sourceforge.net/${PN}/${P}.tar.bz2 + https://downloads.sourceforge.net/${PN}/${P}.tar.xz extras? ( https://downloads.sourceforge.net/${PN}/pasang-emas-themes-1.0.tar.bz2 https://downloads.sourceforge.net/${PN}/pet-marble.tar.bz2 @@ -18,38 +17,15 @@ SRC_URI=" LICENSE="GPL-3+" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="extras nls" +IUSE="extras" RESTRICT="test" # only used to validate .xml help files and fetches .dtd for it RDEPEND=" - app-text/gnome-doc-utils - x11-libs/gtk+:2 - nls? ( virtual/libintl )" + dev-libs/glib:2 + x11-libs/gtk+:3 +" DEPEND="${RDEPEND}" -BDEPEND=" - app-text/rarian - nls? ( sys-devel/gettext )" - -PATCHES=( - "${FILESDIR}"/${P}-build.patch -) - -src_prepare() { - default - - sed -i '/Encoding/d;/Icon/s:\.png::' data/pasang-emas.desktop.in || die - - gnome2_omf_fix -} - -src_configure() { - local econfargs=( - $(use_enable nls) - --with-help-dir="${EPREFIX}"/usr/share/gnome/help - --with-omf-dir="${EPREFIX}"/usr/share/omf - ) - econf "${econfargs[@]}" -} +BDEPEND="dev-util/itstool" src_compile(){ emake AR="$(tc-getAR)" @@ -63,15 +39,3 @@ src_install() { doins -r "${WORKDIR}"/{fragrance,marble,pasang-emas-themes-1.0/{conteng,kaca}} fi } - -pkg_preinst() { - gnome2_scrollkeeper_savelist -} - -pkg_postinst() { - gnome2_scrollkeeper_update -} - -pkg_postrm() { - gnome2_scrollkeeper_update -} diff --git a/games-board/pokerth/Manifest b/games-board/pokerth/Manifest index dcd80d6be8df..7fce0ffccdee 100644 --- a/games-board/pokerth/Manifest +++ b/games-board/pokerth/Manifest @@ -1,10 +1,11 @@ AUX pokerth-1.1.1-boost-1.65-ambiguous-advance.patch 465 BLAKE2B 4b7cb201233754ce5bc57338e7bcc8c03baebf3c021a34f01cfe221fba9062b6d2a51a5ee4c5644f0535de7a7bdccb27b6ae488a94fbcbcc2863b763a3b5103a SHA512 af91b98c04f844504c46b01c76a360d00bfe3993d6acdbc9800f2466833da42ad5e76a0ca3e197cb63aca10e4cb1eae73996b67691587eae2f2ee3975a33410e AUX pokerth-1.1.2-boost-1.66.patch 1655 BLAKE2B 392d570f3d5f204f148f9d3544e339e47d268beb71d334f98448efed01b3dc12ecb62fc2d3dbfc727b28f4611e97e3dcbb9dac366a5b4168a5c4dffb6ba41f13 SHA512 1e7c2fe643f577f88b6aad3825f514fb6b6165c6e02fed29778d1e3483ffb9a29074d0504197ab16e822b375cb0ad923ab58a5742623ced1a5d706ce91733cfe AUX pokerth-1.1.2-boost-1.73.patch 2281 BLAKE2B 590eba328d373a9a539bf1d433ec4a0794a2489cc6562f5e301cd12916ba92422dfe7f9766db8cc13ccb6c2f81ec0f25325824957e37001e8f2f755767a48b5d SHA512 b68e116123edef753346c537112366cf2c35c06547ea828f3ab65294acabf3a85e8bdfffb305c1e8a142560a60b313014842e7f039a4c51bc5f5ee54ec81943c +AUX pokerth-1.1.2-boost-1.85.patch 10725 BLAKE2B 0866b1492532b55a6a856b29d666e1554498793e5d28753b878e247a265238157790087bb2a1dd9870bd348733d92c55d7904c532d06d3ee372129d45cc45aea SHA512 90c5e4a3b8306e5ab2f4db48dd8fe692399fd697a3cac8fbea2829ae0f261cc00e80f29c542184f329dcc7b8e7b6d7fedbbb5842b7e58938479b4ee10283797f AUX pokerth-1.1.2-fix-includes.patch 3415 BLAKE2B 376286a1d125493804f894498d1f1ed4177b9abe4b1c5e3143a0d5d4da162fbe4f5e165c7abe38d58c374ab32e33baaf23df10f06ccb4c0fccc702a438c494d8 SHA512 fa3d67530ee52a00e63d73953f242b9201561b96b8ae73f26b27f3d54400719be65739e43377c5b2ae806d215fa9b5ba099838435948413e7581728d8ae9bef4 AUX pokerth-1.1.2-protobuf-23.patch 1475 BLAKE2B 9dacf8f5785596e68677034d939b88aeb6ccc0c4d5a8ef950f8ec317b350674abcae0a90cc4c03b8d0008aae03eebe3a0a220ad2cc2011a44097deeeff2fb5ac SHA512 a8f6222fa7324f9aa7757df9e5ed03f339828e0cc4c904224fcf88d8523eb8ec408fbdc6576345eab9439d8fee8ef4608d744b114862f4cc1491978ba4793d09 AUX pokerth-1.1.2-protobuf.patch 603 BLAKE2B 258ab192bf8c27266bc96103adfd52c0da9d719f07da674d31411f3248106fe919be741ab2829a250dba34e6eeaf023f9fbd6517581418c7f77b080ad47e34ab SHA512 ddb0ec7f60a0e494822e9c7abe9c9658c5df3b27e6be99624c5c959f0cc8db58ad13fb00ea947cfd3e81e48278ff27af8d09fec5e5c3acf31fe78ce70db89e1b AUX pokerth-1.1.2-system-websockets.patch 470 BLAKE2B ebf6e3f78917aac19c4bbae4b0ed34bde7613b9259aae5bd74fb6e2c820ff5f865265731e61e79b1a3d89a936ac8ebd4eb7f67a775389a956670e4a444cd263b SHA512 ad93bf9718375c0f04ee6a6a679d788ef404c02f980b0498e483363a9f96b6992951b0c9ac3710ce415f6dd985f1b25170842a7928d3552aba4c1a4fe45a7ed8 DIST pokerth-1.1.2.tar.gz 21354306 BLAKE2B d8e1ecc46e61d9c16ae3949099f6e72271a5ab2def9799652b0c612980e0c5e96cb2ccf4d659c1a90b9ac6433af95587fa5d44af80c16fb6a34a272751c9fc4a SHA512 d54c84f199636eb5a53580213e5e4ccc828cf565bf4b055797daa82e2ad54d8c52c7a16a781b82c8cc89d184a2b3c4105922394d08c7d2e06383b96963c36b5a -EBUILD pokerth-1.1.2-r1.ebuild 1785 BLAKE2B ccbd892270ab03cd3065643c19a20c0f564622f5097bb88355512aed6d623cbb103649ac5455c39de3cc65af0772ab5b70dcf0d8c50850a140fbeb054f062a79 SHA512 483d204bd94c2ddcbc60fd1f4b5bde3be69995332e386da5d8df6bbba2a67a21ea6fd4a9499152ab318cd2220a4df9dde00671e25b2d48b5100439d4d8d88b60 +EBUILD pokerth-1.1.2-r1.ebuild 1829 BLAKE2B 9bdb92cb6e92ca0b78a206e34bb53fca45eec1c40cfd96acaba08d48a2240e1e98f9dd5f17b12fa94e639410d5414615448266a15b339f71655452271e0d2baf SHA512 45db1ba1e952f11a407996c9e243a03b04d3dbb80ee1f36616df293475d0f0a8dea9117aadd18cc1cfd23d1b8fec45853ae9d9df7ffe93e1596ecc77ac45c2ab MISC metadata.xml 341 BLAKE2B ef48df7fbe2a33161c02b41c2cd9a77f3475771fc4b45b1a77949efbb42550174af0813beead969af54b350019175262445b8f47b0b67889d525abac42288203 SHA512 315127e17a6bec8caa7a3cddf8583ae0e9262441a8561225c7509607071f0eb473eeac121fd13766b9c43db8f0708e578e09b65401a165435fafdf079bf182d8 diff --git a/games-board/pokerth/files/pokerth-1.1.2-boost-1.85.patch b/games-board/pokerth/files/pokerth-1.1.2-boost-1.85.patch new file mode 100644 index 000000000000..c928afa4f136 --- /dev/null +++ b/games-board/pokerth/files/pokerth-1.1.2-boost-1.85.patch @@ -0,0 +1,249 @@ +https://bugs.gentoo.org/933265 +--- a/src/core/common/avatarmanager.cpp ++++ b/src/core/common/avatarmanager.cpp +@@ -87,20 +87,20 @@ AvatarManager::Init(const string &dataDir, const string &cacheDir) + path tmpDataPath(dataDir); + { + boost::mutex::scoped_lock lock(m_cacheDirMutex); +- m_cacheDir = tmpCachePath.directory_string(); ++ m_cacheDir = tmpCachePath.string(); + } + { + boost::mutex::scoped_lock lock(m_avatarsMutex); +- tmpRet = InternalReadDirectory((tmpDataPath / "gfx/avatars/default/people/").directory_string(), m_avatars); ++ tmpRet = InternalReadDirectory((tmpDataPath / "gfx/avatars/default/people/").string(), m_avatars); + retVal = retVal && tmpRet; +- tmpRet = InternalReadDirectory((tmpDataPath / "gfx/avatars/default/misc/").directory_string(), m_avatars); ++ tmpRet = InternalReadDirectory((tmpDataPath / "gfx/avatars/default/misc/").string(), m_avatars); + retVal = retVal && tmpRet; + } + if (cacheDir.empty() || tmpCachePath.empty()) + LOG_ERROR("Cache directory was not set!"); + else { + boost::mutex::scoped_lock lock(m_cachedAvatarsMutex); +- tmpRet = InternalReadDirectory(tmpCachePath.directory_string(), m_cachedAvatars); ++ tmpRet = InternalReadDirectory(tmpCachePath.string(), m_cachedAvatars); + retVal = retVal && tmpRet; + } + +@@ -113,7 +113,7 @@ AvatarManager::AddSingleAvatar(const std::string &fileName) + { + bool retVal = false; + path filePath(fileName); +- string tmpFileName(filePath.file_string()); ++ string tmpFileName(filePath.string()); + + if (!fileName.empty() && !tmpFileName.empty()) { + unsigned outFileSize = 0; +@@ -240,7 +240,7 @@ AvatarManager::GetAvatarFileType(const string &fileName) + AvatarFileType fileType; + + path filePath(fileName); +- string ext(extension(filePath)); ++ string ext(filePath.extension().string()); + if (boost::algorithm::iequals(ext, ".png")) + fileType = AVATAR_FILE_TYPE_PNG; + else if (boost::algorithm::iequals(ext, ".jpg") || boost::algorithm::iequals(ext, ".jpeg")) +@@ -362,7 +362,7 @@ AvatarManager::StoreAvatarInCache(const MD5Buf &md5buf, AvatarFileType avatarFil + if (IsValidAvatarFileType(avatarFileType, data, size)) { + path tmpPath(cacheDir); + tmpPath /= (md5buf.ToString() + ext); +- string fileName(tmpPath.file_string()); ++ string fileName(tmpPath.string()); + std::ofstream o(fileName.c_str(), ios_base::out | ios_base::binary | ios_base::trunc); + if (!o.fail()) { + o.write((const char *)data, size); +@@ -426,7 +426,7 @@ AvatarManager::RemoveOldAvatarCacheEntries() + } + try { + path cachePath(cacheDir); +- cacheDir = cachePath.directory_string(); ++ cacheDir = cachePath.string(); + // Never delete anything if we do not have a special cache dir set. + if (!cacheDir.empty()) { + boost::mutex::scoped_lock lock(m_cachedAvatarsMutex); +@@ -441,12 +441,12 @@ AvatarManager::RemoveOldAvatarCacheEntries() + while (i != end) { + bool keepFile = false; + path filePath(i->second); +- string fileString(filePath.file_string()); ++ string fileString(filePath.string()); + // Only consider files which are definitely in the cache dir. + if (fileString.size() > cacheDir.size() && fileString.substr(0, cacheDir.size()) == cacheDir) { + // Only consider files with MD5 as file name. + MD5Buf tmpBuf; +- if (exists(filePath) && tmpBuf.FromString(basename(filePath))) { ++ if (exists(filePath) && tmpBuf.FromString(filePath.stem().string())) { + timeMap.insert(TimeAvatarMap::value_type(last_write_time(filePath), i->first)); + keepFile = true; + } +@@ -520,10 +520,10 @@ AvatarManager::InternalReadDirectory(const std::string &dir, AvatarMap &avatars) + directory_iterator end; + + while (i != end) { +- if (is_regular(i->status())) { +- string md5sum(basename(i->path())); ++ if (is_regular_file(i->status())) { ++ string md5sum(i->path().stem().string()); + MD5Buf md5buf; +- string fileName(i->path().file_string()); ++ string fileName(i->path().string()); + if (md5buf.FromString(md5sum)) { + // Only consider files with md5sum as name. + avatars.insert(AvatarMap::value_type(md5buf, fileName)); +--- a/src/core/common/loghelper_server.cpp ++++ b/src/core/common/loghelper_server.cpp +@@ -59,7 +59,7 @@ loghelper_init(const string &logDir, int logLevel) + path tmpLogFile(logDir); + tmpLogFile /= SERVER_MSG_LOG_FILE_NAME; + +- g_logFile = tmpLogFile.directory_string(); ++ g_logFile = tmpLogFile.string(); + g_logLevel = logLevel; + } + +--- a/src/engine/log.cpp ++++ b/src/engine/log.cpp +@@ -84,7 +84,7 @@ Log::init() + mySqliteLogFileName /= string("pokerth-log-") + curDateTime + ".pdb"; + + // open sqlite-db +- sqlite3_open(mySqliteLogFileName.directory_string().c_str(), &mySqliteLogDb); ++ sqlite3_open(mySqliteLogFileName.string().c_str(), &mySqliteLogDb); + if( mySqliteLogDb != 0 ) { + + int i; +--- a/src/engine/log.h ++++ b/src/engine/log.h +@@ -73,7 +73,7 @@ public: + + std::string getMySqliteLogFileName() + { +- return mySqliteLogFileName.directory_string(); ++ return mySqliteLogFileName.string(); + } + + private: +--- a/src/gui/qt/qttools/nonqthelper/nonqthelper.cpp ++++ b/src/gui/qt/qttools/nonqthelper/nonqthelper.cpp +@@ -65,7 +65,7 @@ std::string + NonQtHelper::getDataPathStdString(const char *argv0) + { + boost::filesystem::path startPath(argv0); +- startPath = startPath.remove_leaf(); ++ startPath = startPath.remove_filename(); + startPath /= "data"; +- return stringToUtf8(startPath.directory_string()); ++ return stringToUtf8(startPath.string()); + } +--- a/src/net/common/clientstate.cpp ++++ b/src/net/common/clientstate.cpp +@@ -211,7 +211,7 @@ ClientStateStartServerListDownload::Enter(boost::shared_ptr<ClientThread> client + } else { + // Download the server list. + boost::shared_ptr<DownloadHelper> downloader(new DownloadHelper); +- downloader->Init(client->GetContext().GetServerListUrl(), tmpServerListPath.directory_string()); ++ downloader->Init(client->GetContext().GetServerListUrl(), tmpServerListPath.string()); + ClientStateDownloadingServerList::Instance().SetDownloadHelper(downloader); + client->SetState(ClientStateDownloadingServerList::Instance()); + } +@@ -303,13 +303,13 @@ ClientStateReadingServerList::Enter(boost::shared_ptr<ClientThread> client) + path zippedServerListPath(context.GetCacheDir()); + zippedServerListPath /= context.GetServerListUrl().substr(context.GetServerListUrl().find_last_of('/') + 1); + path xmlServerListPath; +- if (extension(zippedServerListPath) == ".z") { +- xmlServerListPath = change_extension(zippedServerListPath, ""); ++ if (zippedServerListPath.extension().string() == ".z") { ++ xmlServerListPath = zippedServerListPath.replace_extension(""); + + // Unzip the file using zlib. + try { +- std::ifstream inFile(zippedServerListPath.directory_string().c_str(), ios_base::in | ios_base::binary); +- std::ofstream outFile(xmlServerListPath.directory_string().c_str(), ios_base::out | ios_base::trunc); ++ std::ifstream inFile(zippedServerListPath.string().c_str(), ios_base::in | ios_base::binary); ++ std::ofstream outFile(xmlServerListPath.string().c_str(), ios_base::out | ios_base::trunc); + boost::iostreams::filtering_streambuf<boost::iostreams::input> in; + in.push(boost::iostreams::zlib_decompressor()); + in.push(inFile); +@@ -321,7 +321,7 @@ ClientStateReadingServerList::Enter(boost::shared_ptr<ClientThread> client) + xmlServerListPath = zippedServerListPath; + + // Parse the server address. +- TiXmlDocument doc(xmlServerListPath.directory_string()); ++ TiXmlDocument doc(xmlServerListPath.string()); + + if (doc.LoadFile()) { + client->ClearServerInfoMap(); +--- a/src/net/common/clientthread.cpp ++++ b/src/net/common/clientthread.cpp +@@ -977,7 +977,7 @@ ClientThread::GetCacheServerListFileName() + size_t pos = serverListUrl.find_last_of('/'); + if (!GetContext().GetCacheDir().empty() && !serverListUrl.empty() && pos != string::npos && ++pos < serverListUrl.length()) { + tmpServerListPath /= serverListUrl.substr(pos); +- fileName = tmpServerListPath.directory_string(); ++ fileName = tmpServerListPath.string(); + } + return fileName; + } +--- a/src/net/common/downloaderthread.cpp ++++ b/src/net/common/downloaderthread.cpp +@@ -96,7 +96,7 @@ DownloaderThread::Main() + // Previous download was finished. + if (m_curDownloadData) { + path filepath(m_curDownloadData->filename); +- std::ifstream instream(filepath.file_string().c_str(), ios_base::in | ios_base::binary); ++ std::ifstream instream(filepath.string().c_str(), ios_base::in | ios_base::binary); + // Find out file size. + // Not fully portable, but works on win/linux/mac. + instream.seekg(0, ios_base::beg); +@@ -132,7 +132,7 @@ DownloaderThread::Main() + } + if (m_curDownloadData && !m_curDownloadData->filename.empty()) { + path filepath(m_curDownloadData->filename); +- m_downloadHelper->Init(m_curDownloadData->address, filepath.file_string()); ++ m_downloadHelper->Init(m_curDownloadData->address, filepath.string()); + m_downloadInProgress = true; + } + } +--- a/src/net/common/serverlobbythread.cpp ++++ b/src/net/common/serverlobbythread.cpp +@@ -275,7 +275,7 @@ ServerLobbyThread::Init(const string &logDir) + boost::filesystem::path logPath(logDir); + if (!logDir.empty()) { + logPath /= SERVER_STATISTICS_FILE_NAME; +- m_statisticsFileName = logPath.directory_string(); ++ m_statisticsFileName = logPath.string(); + ReadStatisticsFile(); + } + } +@@ -1261,7 +1261,7 @@ ServerLobbyThread::HandleNetPacketAvatarEnd(boost::shared_ptr<SessionData> sessi + // Init finished - start session. + EstablishSession(session); + LOG_MSG("Client \"" << session->GetClientAddr() << "\" uploaded avatar \"" +- << boost::filesystem::path(avatarFileName).file_string() << "\"."); ++ << boost::filesystem::path(avatarFileName).string() << "\"."); + } else + SessionError(session, ERR_NET_WRONG_AVATAR_SIZE); + } +--- a/src/net/common/uploaderthread.cpp ++++ b/src/net/common/uploaderthread.cpp +@@ -94,7 +94,7 @@ UploaderThread::Main() + url += filepath.filename().string(); + #endif + } +- m_uploadHelper->Init(url, filepath.file_string(), data.user, data.pwd, data.filesize, data.httpPost); ++ m_uploadHelper->Init(url, filepath.string(), data.user, data.pwd, data.filesize, data.httpPost); + m_uploadInProgress = true; + } + } +--- a/src/pokerth_server.cpp ++++ b/src/pokerth_server.cpp +@@ -158,7 +158,7 @@ main(int argc, char *argv[]) + if (pidFile.empty()) { + path tmpPidPath(myConfig->readConfigString("LogDir")); + tmpPidPath /= "pokerth.pid"; +- pidFile = tmpPidPath.directory_string(); ++ pidFile = tmpPidPath.string(); + } + { + std::ofstream pidStream(pidFile.c_str(), ios_base::out | ios_base::trunc); diff --git a/games-board/pokerth/pokerth-1.1.2-r1.ebuild b/games-board/pokerth/pokerth-1.1.2-r1.ebuild index a5ec7b42c8e1..70d57e0843f2 100644 --- a/games-board/pokerth/pokerth-1.1.2-r1.ebuild +++ b/games-board/pokerth/pokerth-1.1.2-r1.ebuild @@ -47,6 +47,7 @@ PATCHES=( "${FILESDIR}"/${PN}-1.1.2-system-websockets.patch "${FILESDIR}"/${PN}-1.1.2-boost-1.73.patch "${FILESDIR}"/${PN}-1.1.2-protobuf-23.patch + "${FILESDIR}"/${PN}-1.1.2-boost-1.85.patch ) src_prepare() { diff --git a/games-board/pysolfc/Manifest b/games-board/pysolfc/Manifest index 2e16d7bf63e9..60e300124ec9 100644 --- a/games-board/pysolfc/Manifest +++ b/games-board/pysolfc/Manifest @@ -1,5 +1,5 @@ DIST PySolFC-3.0.0.tar.xz 33364860 BLAKE2B 964e0c7642d713f97c0655597ca893a6396d6c4968fcc9dc0c7487948bb5f94e349f70a7cb5b006760653719d6a51775f5e2944b48f84d45b5b3dda22be1b1e9 SHA512 f7c9bc6dff71047516979a6d9fb559c616d5d76c0b0a476564114f8b302788145599cc89cabbfbdc110a5a4eab6148bddb57a4847f40077ccbbe972f36b811b0 DIST PySolFC-Cardsets--Minimal-3.0.0.tar.xz 25188212 BLAKE2B a047a151b5c4256cfb0300c6bc75713db9aab63e4e76ba99233a59f39a9a7017406320a0e3b874b72084b3bccd14ca303f7af9666652efee85cf39803ad8c43c SHA512 9d4bacd072b450b29b9f1bec4557121a3647c2f837aeb6e249f452cb886467c5e7ca36dd36a78ea69a5c9df6f30d5245e12681d9d02fc9da2ece09c25d77e787 DIST PySolFC-Cardsets-3.0.tar.bz2 87075654 BLAKE2B 527463ba2abe22c553753f7cb8f6608867a3da01532461cd29b5cf007a49c242cbdbe82f50751283d17a46ecb15b263e324fbc1288b5c5eb3cc9bdc1cfc9b257 SHA512 4544bc8b890d0cd41d66bd513faf86c21455f4d0f154e567fd689917f2f3ca56fadf3ca9372bc80c5b1d5387aa4abfab7952e73024a3e41101112e716f80b762 -EBUILD pysolfc-3.0.0.ebuild 1933 BLAKE2B bb78b9bfb4c98d470e776dab820003331997fd8142bbe61e6408c0e17a27ee0b8078d7b8b3c1e5459900a33d67403546e3afbcd74092f93717845f27a9f24ff2 SHA512 199f90f4b47124eaf7e9503504bb8b6f19a9b8aaebc98a54f2769f3606faea63ec703d01f155fe1937f0df571727b6edbecb5601ef428d521ff03aa1c5495560 +EBUILD pysolfc-3.0.0.ebuild 1934 BLAKE2B 01acdf2c2b7bf304c306fa5e1985caf6a46fdb279fb0b03328c802dabc0728036c21096efbb5d683fabde84d32b87409de4e443a2cad1f47ac144578c5dd06a2 SHA512 14a8d50a2d22523836c32e708a4a560e9707970b7a29a2169e12c07f7d45a5b2f4d2cb7e16f9c95512b4a4c0307b37dd8b0dc0131237b41acd761596b2d124a4 MISC metadata.xml 563 BLAKE2B 3b59b69697c8e2e34a4dad3f042639eeaf78e93167299d68ee17e7a0efb9417d78efb4d85be54b2dfa9710767abd4f1de5d9579e9f2ece656e39c286149eb5cc SHA512 6f27d71460517af500de23bc137225272c9ea45bf727725f2964a104ba48ac2a5464a930071d85e67ebf4f83b29a3359041ff8b4966b19459ed8e6cd7a24cb3f diff --git a/games-board/pysolfc/pysolfc-3.0.0.ebuild b/games-board/pysolfc/pysolfc-3.0.0.ebuild index fee3dbfb8e5a..adff3487f9f4 100644 --- a/games-board/pysolfc/pysolfc-3.0.0.ebuild +++ b/games-board/pysolfc/pysolfc-3.0.0.ebuild @@ -5,8 +5,9 @@ EAPI=8 DISTUTILS_SINGLE_IMPL=1 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) PYTHON_REQ_USE="tk" + inherit distutils-r1 xdg MY_PN="PySolFC" diff --git a/games-board/stockfish/Manifest b/games-board/stockfish/Manifest index 28702bde5430..b4ff43aa5e73 100644 --- a/games-board/stockfish/Manifest +++ b/games-board/stockfish/Manifest @@ -14,6 +14,9 @@ DIST stockfish-16.1-nn-b1a57edbea57.nnue 65429575 BLAKE2B 22020e7e3a59530c2a9d29 DIST stockfish-16.1-nn-baff1ede1f90.nnue 3480122 BLAKE2B cb573cd1537b07afb6162c4c42da6363f3aaab472fedea8e2059ac481a7b774100637a067aa405c44f2d7f792ca74c32ed1e58ea8c4e00adafe1e8f0e3092a92 SHA512 56358da4810a2bf5b903668d8243ec888a0a64302a893207074b3f1644c9877ddd4557303f025eabcc6e0f7b31af42c1265ba2fd34209df9dd0ea205d4f4a8e9 DIST stockfish-16.1.tar.gz 176846 BLAKE2B d1cbc980496a8aea6668d50c2f24b69e2de39858dd50ff4fd807a3fca470e8e319901dd638bc09bb00c4bb0f886e4a8e87b021a7ff6c44edc540bfab45ceebcf SHA512 39962d92deba234e625b1f89568c9c469ecae02209c9c68dfd380034c70ab950d917bc5b7fa202a80b0e5cb59b6f3ef726b128ec9a28969e966308ebc7fbb056 DIST stockfish-16.tar.gz 195462 BLAKE2B 0f2a55baae13a9abd682672dd88aebcfcd66e4bf6cf1d0886eba48ff331e9aa853bd44fab74c6dbb8a1db4873bf8fe9f98b33ab713878d071950095bd3c0ba82 SHA512 cc8728bd76cb71ab2e3dddb909acf3ebd26a7d44130509dcb2cd90959c939d7324abebf2c69092230028333428a90fa345a10fcb4e9c50e53f4958c61daedcc7 +DIST stockfish-17-nn-1111cefa1111.nnue 74874478 BLAKE2B b2179b5727b13984be82f88715a55df7a84959944c92bd5758b492f6f8bd8f241696b491339ce64a0aaa059e3591115ff04d2382f7371075df5aea729cfa2dec SHA512 0814a77442d14f9eee02b1d45195cc8c9ed58e91d10ac22be56f562835baedc77094b442d23f2e088779e58d798184eabc8dfc919558e1ede552cde35d448025 +DIST stockfish-17-nn-37f18f62d772.nnue 3519630 BLAKE2B fe51553da8c051e66ecbc5e167f4a8b6c5701f80a9174e487b6a40962753c8a9ac96af2ff47df707b5044f83ef4baeac74b3154fd908dbe9728b40f020b8a7e6 SHA512 bf4d01f8cbff94dbff484636dd0351cd66f37eeaea7b7dbe16a3bfe231ae78cfabdeed040b789b64049c6063ef0dca21e4a4f332b99e49a52993e8595e372839 +DIST stockfish-17.tar.gz 204647 BLAKE2B 1b8bc3cb18df67fb8d8c0a02284c47d06862ca33aacd894816be92f3c11976f5eb3a767adce92a27bcbc35abec3db04e3600fe046060fe61247850fe263d9aea SHA512 2736c7e78a30670704b4400e20a4a5bb5b07b2e3a14d19149eccea9ba45cda5b9b42034b1ae40ef1f49c87fc1b0bc1750e998ff732da8c5fe45dd8bdbf90f9cc EBUILD stockfish-10.ebuild 1783 BLAKE2B 64978de8409789e492d0cb0039058330ce6ca16a0e5c041d5d3465bb5bb78e708b9677cddcb46011b96261c843d03540d78ba817b467ef5d0b5ae6916a10dc4e SHA512 6607fc9c69b9c60a1ce00b795ecc102e97c8875a794210a7cbb9703d48b73c6a52eb3ab71480202c1f1bc50cf5ba991d1e68437b6fdf7b7e9e7d17988555b8f3 EBUILD stockfish-13.ebuild 2037 BLAKE2B 9ee76596b1ea612f3f235496e454fd8a465e8442704c69a5c569c0a6a4f9d89017c18b4e45486e1b7bc14e6bb6e47f11d921e61ca821ccc132ba96f5db67100e SHA512 daa6b917553dd92e3a3bc01441f5db4680fc8b987eaf86408265de88caba383ab93a6a9a82c26bf07fdbdb718db08ed3e2a2d315196f2efc30c98d68006c37f5 EBUILD stockfish-14.1.ebuild 2046 BLAKE2B 721060955579258df84987460e8ccf54ca6db70795113684d0b2ebb84fcc5f4d6711f81da7b61275f284b753af7d6d7d1bd5a9f2023af366ca06d5ae60d80204 SHA512 f131d0a0e70efe8bec338b39b0cab949b55511b73fc81602d8609d2d068d4275cc310dcd19ca83dced1ab717aa7bd01d939c8b5a9bbc74044c5c70941099d457 @@ -23,4 +26,5 @@ EBUILD stockfish-15.1.ebuild 2045 BLAKE2B 3f74063bf4037fbe63e9d8be80e11865f3fdd5 EBUILD stockfish-16-r1.ebuild 2399 BLAKE2B c6452109d23790fb388d0517974ba65b8847f54dd0c1fa9027aefd5a098bc1ff1fd2bb8c4f5f934f9dec1e6a42319c9dd4e7dacda01d226e4ff33fc06d1ced63 SHA512 82a62a0cb0e6a5fd693cde296c66946b17ec0287e984760a0e6ab01d08c395a7d64d86dc75e2710a37b2b497747f98e7202df03b8132f01d8229a7e184322ce1 EBUILD stockfish-16.1.ebuild 2466 BLAKE2B 130c533c6601a7b1549cfb3ba629cd2fb08cdaa1da0f9de75aa85871aab9b08e37e022a30207a0db5329da18114801bffb5e04033795482528be8c401cee07bb SHA512 ec21587aef4783474d339fbfe0bb938a9faa1f605cb83607663fc19c6dafdfaaaa0781f8d625edc514daa7bfe230a313f7c1817555885cb51c5c514280e59876 EBUILD stockfish-16.ebuild 2142 BLAKE2B 1908f79b4463b75e4e873aaefeb658d1102ab0217f3acf29efea58554b4ba150f17d24d9c502437fe9c069c0b677a31954f552fa698776ba3769490ca3c17ee6 SHA512 07705ae97c8c2b5e3a51b9a7055d315d7b3a2bebc5c5f7657cbe161f962a207271ed6d07764d42600cdaa73d0dd1fb662562ffb116683160f693facfa755e42c -MISC metadata.xml 573 BLAKE2B 19e186e5ea10736441ea94751710f405e1c302a30b7e6c902c5cb916eeda6f1df580488623c17f7de89eb754cba5575f90ffdadcb713f161cee0304489349de7 SHA512 dbc9ecfa2e2b19d4f224ba16120b227ab993b6ed4d340b230b7bcfab0520a908f6a4fdb2dc741d134b256ba4001563b97dcf62b48bfabdf14f010f78bc1e73d6 +EBUILD stockfish-17.ebuild 2466 BLAKE2B 69addaa0eb309834329e11576342f015e03bfb5e87c232c536fd52977785811ef34797b91f2341c04f9771b883dc6b67a7bb6d840b665e05956d07e5b7d5f4e8 SHA512 c2dbb0d4f0a90276621f0dc9d2c603cd40542baf6238fc50185284258608c044ab67ce4a9cbf9e940f279b5e0460eb2a486b1c13004f7d21342ad48162258f44 +MISC metadata.xml 573 BLAKE2B 2b1f870ab3bad4a90940374e974a37ec52239b6684e78e5dd41b95a1503854c06a3a5185b48c56c542a4195d00293cc6628c362d93a835997e41122215bf8540 SHA512 a21725ea89118c85924985d95614e8702209b3184848f63271910dafa3d1f4e6238fb015558e287cc341262bb65bbafc33606042eb589c7499a92088c2a43574 diff --git a/games-board/stockfish/metadata.xml b/games-board/stockfish/metadata.xml index ae7eaa6fbcbd..7bd2eccc7b18 100644 --- a/games-board/stockfish/metadata.xml +++ b/games-board/stockfish/metadata.xml @@ -2,8 +2,8 @@ <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>tamiko@gentoo.org</email> - <name>Matthias Maier</name> + <email>patrick@gentoo.org</email> + <name>Patrick Lauer</name> </maintainer> <use> <flag name="general-32">Generic unoptimized 32-bits build</flag> diff --git a/games-board/stockfish/stockfish-17.ebuild b/games-board/stockfish/stockfish-17.ebuild new file mode 100644 index 000000000000..37f055b2abc6 --- /dev/null +++ b/games-board/stockfish/stockfish-17.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="Free UCI chess engine, claimed to be the strongest in the world" +HOMEPAGE="https://stockfishchess.org/" + +NNUE_FILES="nn-1111cefa1111.nnue nn-37f18f62d772.nnue" + +SRC_URI="https://github.com/official-stockfish/Stockfish/archive/sf_${PV}.tar.gz -> ${P}.tar.gz" + +for i in $NNUE_FILES; do + SRC_URI+=" https://tests.stockfishchess.org/api/nn/${i} -> ${P}-${i}" +done + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86" +IUSE="cpu_flags_arm_v7 cpu_flags_x86_avx2 cpu_flags_x86_popcnt cpu_flags_x86_sse cpu_flags_x86_avx512f + cpu_flags_x86_avx512dq debug general-32 general-64 +optimize" + +DEPEND="|| ( app-arch/unzip app-arch/zip )" + +S="${WORKDIR}/Stockfish-sf_${PV}/src" + +src_prepare() { + default + + # remove config sanity check that doesn't like our COMPILER settings + sed -i -e 's/ config-sanity//g' Makefile || die + + for i in $NNUE_FILES; do + cp "${DISTDIR}"/${P}-${i} ${i} || die "copying the nnue file failed" + done + + # prevent pre-stripping + sed -e 's:-strip $(BINDIR)/$(EXE)::' -i Makefile \ + || die 'failed to disable stripping in the Makefile' + + # Makefile is a bit optimistic + sed -e 's:-flto=full:-flto:g' -i Makefile || die +} + +src_compile() { + local my_arch + + # generic unoptimized first + use general-32 && my_arch=general-32 + use general-64 && my_arch=general-64 + + # x86 + use x86 && my_arch=x86-32-old + use cpu_flags_x86_sse && my_arch=x86-32 + + # amd64 + use amd64 && my_arch=x86-64 + use cpu_flags_x86_popcnt && my_arch=x86-64-modern + + # both bmi2 and avx2 are part of hni (haswell new instructions) + use cpu_flags_x86_avx2 && my_arch=x86-64-bmi2 + + # avx512 + # we currently can't express 'avx512vnni' 'avx512dq' 'avx512f' 'avx512bw' 'avx512vl' + # so only enable basic support + use cpu_flags_x86_avx512f && use cpu_flags_x86_avx512dq && my_arch=x86-64-avx512 + + # other architectures + use cpu_flags_arm_v7 && my_arch=armv7 + use ppc && my_arch=ppc + use ppc64 && my_arch=ppc64 + + # There's a nice hack in the Makefile that overrides the value of CXX with + # COMPILER to support Travis CI and we abuse it to make sure that we + # build with our compiler of choice. + emake profile-build ARCH="${my_arch}" \ + COMP="$(tc-getCXX)" \ + COMPILER="$(tc-getCXX)" \ + debug=$(usex debug "yes" "no") \ + optimize=$(usex optimize "yes" "no") +} + +src_install() { + dobin "${PN}" + dodoc ../AUTHORS ../README.md +} diff --git a/games-board/tali/Manifest b/games-board/tali/Manifest index 0125b64bbd5d..cc794d31f6ba 100644 --- a/games-board/tali/Manifest +++ b/games-board/tali/Manifest @@ -1,3 +1,3 @@ DIST tali-40.9.tar.xz 1672980 BLAKE2B 124935274373b95c915938da7bf47f4a7bea33c95424e81d8c25586382e547786d68d3fe0128dc5d812651bd2f619a8f02aaf1ede3f36d8daa2d735edcdf4e48 SHA512 8c38919519be574e9a44a0fef3208f3ac1ca371cd9127fa0cff34f2572b50f8706c9872193d9414b6ad91f57d1a084861d395078fcb01ccde5dfd35717a063d8 -EBUILD tali-40.9.ebuild 794 BLAKE2B 609d9a155b0a4fad449ce9445beb95ef2dd8cdf847be6f723dbbf22f4412e8c86fb8d5e7d8729e9cbc2be26537c05cec4a2547768e148d9feaac722d7c5ead92 SHA512 7b704920f734ed751b9d8766ef2837e8e9504d0e604458a8b82346b7b687d9eb84a9cb045deafccdd3ba286e3b4606c64bac3d04b8653b1ac968fbd482f3393d +EBUILD tali-40.9.ebuild 762 BLAKE2B 6a7a643c249c336ead3f90cdc94ec93ab41c414912d33f8334ccf6a31b4289a736344cf8e25c96de315633fdd24f2220e2b3d7da73bf2f754c851c45d178b484 SHA512 d9997b74dd697d88f02b407edb0ef25c241817686517db175046b0ea8800561df4bc9f03ec149884124fe10df987123cadfb8503a60563679bbc9c333de1d544 MISC metadata.xml 345 BLAKE2B d1b199ebfcdfb78197d547ee8230e3c504393f2432598ad8b301410462dd1244233f6520df92d9df6656d5b9b781cfa5a9c868860ca80f50b64aef6e63d3c073 SHA512 e7ffb5fc4d55f4064ad8f0cf1456f248feb522aa6e2a4e09c2787b54e2067ca884021d3d0ed6da124b563ae92b06093e5cd207d5fbbc91c0e203f6d1d087727d diff --git a/games-board/tali/tali-40.9.ebuild b/games-board/tali/tali-40.9.ebuild index 6137aab92146..c4c96dc4f44b 100644 --- a/games-board/tali/tali-40.9.ebuild +++ b/games-board/tali/tali-40.9.ebuild @@ -1,12 +1,12 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit gnome.org gnome2-utils meson python-any-r1 xdg DESCRIPTION="Beat the odds in a poker-style dice game" -HOMEPAGE="https://wiki.gnome.org/Apps/Tali https://gitlab.gnome.org/GNOME/tali" +HOMEPAGE="https://gitlab.gnome.org/GNOME/tali" LICENSE="GPL-2+ FDL-1.1+" SLOT="0" |