diff options
31 files changed, 388 insertions, 507 deletions
diff --git a/app-crypt/acme-sh/Manifest b/app-crypt/acme-sh/Manifest index 7e9c651e8b29..39344971ec0c 100644 --- a/app-crypt/acme-sh/Manifest +++ b/app-crypt/acme-sh/Manifest @@ -1 +1 @@ -DIST acme.sh-3.0.9.tar.gz 298025 BLAKE2B 166e311c63801cb6b4c8aade7afff63cba48ad74932c64b16a0ceb330176465548d9d99da5216b3c00146c59d37b48b24fb4c4bb1220bc5b7ea652d9000fddb1 SHA512 5f7431051de74ec1feca90d743233ddcec2a955e789e5237730498930c910d2a728c3f5e447a09f470a007ed9a4c90de329be58867d15a0fd13f6f18dca49bd0 +DIST acme.sh-3.1.0.tar.gz 301978 BLAKE2B 14a6af0bf62bce8088874229faef609804be74d63677d3f3d7f8404102204c5e04506c40cfc9029c154f8c7f67608bcf219b9bafec1d02f030d4238773762697 SHA512 b43579823ac6db85a2c36ab4aa049de199b072bfa096094f7cd424a3696e9a35a91532f9c0cf7cd664f17317e89e5776f17b274e4bf46d97f034ff31c363ffb6 diff --git a/app-crypt/acme-sh/acme-sh-3.0.9.ebuild b/app-crypt/acme-sh/acme-sh-3.1.0.ebuild index 541a699d4997..541a699d4997 100644 --- a/app-crypt/acme-sh/acme-sh-3.0.9.ebuild +++ b/app-crypt/acme-sh/acme-sh-3.1.0.ebuild diff --git a/dev-libs/intel-metrics-discovery/Manifest b/dev-libs/intel-metrics-discovery/Manifest index c9c0766ed2e6..c99815447b19 100644 --- a/dev-libs/intel-metrics-discovery/Manifest +++ b/dev-libs/intel-metrics-discovery/Manifest @@ -1 +1,2 @@ DIST metrics-discovery-1.13.176.tar.gz 5398346 BLAKE2B a50920e78404069bc92adbb06b5fa932680a03f8e72845c927aa8f8943eddd03805fad3e25ee5da5407e31a3209f7662b8cebc19fb9bbfd4d2df10b57225f138 SHA512 2c1aaa701a01700672ef1f45d86a8f78582be8f9ec9b160b94a1f1ba82f0567cb6bfafe2ff0cc9e0d3e5406215b7a402635ac128dae8382301077b3cb5ae2836 +DIST metrics-discovery-1.13.178.tar.gz 5398480 BLAKE2B f36a239318d7050f6abcb3cf9a9b12e9aea9b87a91a73dcd32f1d3d02addaf70f168fc8b17b19edcd2abfda2288170076237c9e8f9ce4c37cbb103b8faf68fd5 SHA512 d4fd142f23d06fff281106490d790eb81fe7cbf5fb4d2b57d796807aedaddb975a85d4c11880a867d6e60545eae106841cabbae6f80d9663f787b1aa3dd8af7d diff --git a/dev-libs/intel-metrics-discovery/files/intel-metrics-discovery-1.12.178-revert-definitions.patch b/dev-libs/intel-metrics-discovery/files/intel-metrics-discovery-1.12.178-revert-definitions.patch new file mode 100644 index 000000000000..4f707e3f4949 --- /dev/null +++ b/dev-libs/intel-metrics-discovery/files/intel-metrics-discovery-1.12.178-revert-definitions.patch @@ -0,0 +1,28 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -453,7 +453,6 @@ + if ("${BUILD_TYPE}" STREQUAL "release") + add_definitions(-DNDEBUG) + # optimization flags +- add_definitions(-O2) + elseif ("${BUILD_TYPE}" STREQUAL "release-internal" OR + "${BUILD_TYPE}" STREQUAL "releaseinternal") + add_definitions(-D_RELEASE_INTERNAL) +@@ -472,17 +471,10 @@ + add_definitions(-Wno-strict-aliasing) + add_definitions(-Wno-unknown-pragmas) + add_definitions(-Wno-comment) +- add_definitions(-msse) + if ("${BUILD_TYPE}" STREQUAL "release" OR + "${BUILD_TYPE}" STREQUAL "release-internal" OR + "${BUILD_TYPE}" STREQUAL "releaseinternal") +- add_definitions(-Werror=format-security) # treat format string security warnings as errors +- add_definitions(-Werror) # treat warning as errors + add_definitions(-fvisibility=hidden) # to disable exporting internal symbols (by default gcc exports all symbols) +- add_definitions(-flto) # enables Link-Time Optimization (LTO) +- add_definitions(-fPIC) # generates position-independent code during the compilation phase +- add_definitions(-fPIE) # generates position-independent executables during the compilation phase +- add_definitions(-pie) # produces position-independent executables during the linking phase + elseif ("${BUILD_TYPE}" STREQUAL "debug") + add_definitions(-g) + endif () diff --git a/dev-libs/intel-metrics-discovery/intel-metrics-discovery-1.13.178.ebuild b/dev-libs/intel-metrics-discovery/intel-metrics-discovery-1.13.178.ebuild new file mode 100644 index 000000000000..fa161df3c12e --- /dev/null +++ b/dev-libs/intel-metrics-discovery/intel-metrics-discovery-1.13.178.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CMAKE_BUILD_TYPE="Release" +MY_PN="${PN/intel-/}" +MY_P="${MY_PN}-${PV}" + +inherit cmake + +DESCRIPTION="A user mode library that provides access to GPU performance data" +HOMEPAGE="https://github.com/intel/metrics-discovery" +SRC_URI="https://github.com/intel/${MY_PN}/archive/refs/tags/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_PN}-${MY_P}" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64" + +DEPEND="x11-libs/libdrm" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}/${PN}-1.12.178-revert-definitions.patch" ) + +src_configure() { + local mycmakeargs=( -DLINUX_DISTRO="Gentoo" ) + cmake_src_configure +} diff --git a/dev-libs/intel-metrics-library/Manifest b/dev-libs/intel-metrics-library/Manifest index d485661a0d2e..eac223f39373 100644 --- a/dev-libs/intel-metrics-library/Manifest +++ b/dev-libs/intel-metrics-library/Manifest @@ -1 +1,2 @@ DIST metrics-library-1.0.173.tar.gz 280677 BLAKE2B 0394809b6a7f4d82cae96f045356a474846ff94d8362fea701ed811ecb45c4127aa2a64e66bd77aff37eb555b511159f87c8f459a601a1e98383b42c13987d48 SHA512 45f599e4299072d62c9e4cb205d52ad29492e36120b1f542a89f9e1767e7025cef56774d70ef8233ace7a69863056e8db8ba9ff4f9c6a95fa06508c6be7d9345 +DIST metrics-library-1.0.178.tar.gz 279352 BLAKE2B 20a95639c270f84f0fb773f80799593e800d74034dc2d5913fe1bede26ca8dd777b994610adf9bbe81314c2d1043f66ef086e3292f1c99f1b44f67a3a80810f1 SHA512 52f1580a3eafea678ec3d27b89097d8710ecc5dc710ad2a414b805799af0a70d32fd0d57894bbe99eca7855df142331fdf387270efe0b7240c867c5c108dfbed diff --git a/dev-libs/intel-metrics-library/intel-metrics-library-1.0.178.ebuild b/dev-libs/intel-metrics-library/intel-metrics-library-1.0.178.ebuild new file mode 100644 index 000000000000..86657df2d0c0 --- /dev/null +++ b/dev-libs/intel-metrics-library/intel-metrics-library-1.0.178.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CMAKE_BUILD_TYPE="Release" +MY_PN="${PN/intel-/}" +MY_P="${MY_PN}-${PV}" + +inherit cmake + +DESCRIPTION="User mode driver helper library that provides access to GPU performance counters" +HOMEPAGE="https://github.com/intel/metrics-library" +SRC_URI="https://github.com/intel/${MY_PN}/archive/refs/tags/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_PN}-${MY_P}" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64" + +DEPEND="x11-libs/libdrm" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -e '/-Werror/d' -i CMakeLists.txt || die + cmake_src_prepare +} diff --git a/dev-libs/intel-vc-intrinsics/Manifest b/dev-libs/intel-vc-intrinsics/Manifest index b0812f4b9a02..e5ddfb427852 100644 --- a/dev-libs/intel-vc-intrinsics/Manifest +++ b/dev-libs/intel-vc-intrinsics/Manifest @@ -1 +1,2 @@ DIST intel-vc-intrinsics-0.19.0.tar.gz 146538 BLAKE2B b32e91405a8ca4e56870d41d1d17bc9aa9d3ab94fbb76ef0444591a1fb1415cffc4cdea0c938d8b87844218390a0f190b276abbab133bb443f3c66be87a07544 SHA512 7900273bb37c95605707ce589ba0ff5f414ba7c46c0d41539fc11bef2dece8f7ef8b8ec3219330c36252bbf5de4a99045506b79a1afc1bc7598c26e6335d7fae +DIST intel-vc-intrinsics-0.20.2.tar.gz 146639 BLAKE2B d8d71ad06a1b7cfde93bf8c748ed4cdbd0e4da8ef6310fc61abc598173432b60df04fe14ed3bc9f51df65e39f42f755cf287e9ac223163690035eaf13c42aad2 SHA512 b4b6a4bc91d5187891129f04f8737be4572b6722f782175b7901571ec38e97be71b713c2d7783aaf9172ce77dc2943cd5c733ba1e60e0542474ab382ec2055ee diff --git a/dev-libs/intel-vc-intrinsics/intel-vc-intrinsics-0.20.2.ebuild b/dev-libs/intel-vc-intrinsics/intel-vc-intrinsics-0.20.2.ebuild new file mode 100644 index 000000000000..5659897082d6 --- /dev/null +++ b/dev-libs/intel-vc-intrinsics/intel-vc-intrinsics-0.20.2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CMAKE_BUILD_TYPE="Release" +LLVM_COMPAT=( {15..18} ) +MY_PN="${PN/intel-/}" +MY_P="${MY_PN}-${PV}" +PYTHON_COMPAT=( python3_{10..13} ) + +inherit cmake llvm-r1 python-any-r1 + +DESCRIPTION="A set of new intrinsics on top of core LLVM IR instructions" +HOMEPAGE="https://github.com/intel/vc-intrinsics" +SRC_URI="https://github.com/intel/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=" + dev-libs/libxml2:2= + $(llvm_gen_dep ' + sys-devel/llvm:${LLVM_SLOT} + ') + sys-libs/zlib +" +RDEPEND="${DEPEND}" +BDEPEND="${PYTHON_DEPS}" + +src_configure() { + local mycmakeargs=( + -DLLVM_DIR="$(get_llvm_prefix)" + ) + + cmake_src_configure +} diff --git a/dev-libs/level-zero/Manifest b/dev-libs/level-zero/Manifest index 2e846b69a6ae..c232ff7a96cc 100644 --- a/dev-libs/level-zero/Manifest +++ b/dev-libs/level-zero/Manifest @@ -1,2 +1,2 @@ -DIST level-zero-1.17.45.tar.gz 1152376 BLAKE2B 24ed5569431cd116808f48f2b718666baa8ecbdf0f69b56e7ca5a25fe5266cba48ba05c06946abd4a57562c8342aefc7f9c34b707435b793fe723412f64180d6 SHA512 83d97ffe43c21286a845bb9d11504414972c944d9b06975ba9e7680802a92a260b6246f3605ed32e5e5dec358972fbb5cab49543559dc36cb164a9c3b6a69d73 DIST level-zero-1.18.3.tar.gz 1186811 BLAKE2B ded186ca410e6d261e5139c6e4a8e02fd31d34a2fe14a3cd973586c286ddf86af074480daeed840183c96e8ba83a82826a9b504a99ec253377f2e94ad3c60b5a SHA512 b881a81cd4d0c83db7d68cb41ba50729686cb923161aca4e5f0b75b7a4d143cf51636bd1b19decbec1d70d70e20ac4e6b11fa8c207b556a147c5425c87a4f2ef +DIST level-zero-1.18.5.tar.gz 863581 BLAKE2B c726adc912b48ecd826998b6c1b566826ee8261a08b545d293450c36375015bf24dae1c24532e7b12fad7365df2e970184be7ae693cfaeecc88aa0472a2230de SHA512 68d7e0f7a4eba7b4b6d9e110348bd8ba700475cb13407ddbe3d275c1386eaeb785509cbb7f43ad8abf6a96a3de25c4e0e9b529ca994283eb885651944ec02760 diff --git a/dev-libs/level-zero/level-zero-1.18.3.ebuild b/dev-libs/level-zero/level-zero-1.18.3.ebuild index 4034c8711d28..68249c1101f3 100644 --- a/dev-libs/level-zero/level-zero-1.18.3.ebuild +++ b/dev-libs/level-zero/level-zero-1.18.3.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/oneapi-src/${PN}/archive/refs/tags/v${PV}.tar.gz -> LICENSE="MIT" SLOT="0/${PV}" -KEYWORDS="~amd64" +KEYWORDS="amd64" RDEPEND="dev-libs/spdlog:=" DEPEND="${RDEPEND}" diff --git a/dev-libs/level-zero/level-zero-1.17.45.ebuild b/dev-libs/level-zero/level-zero-1.18.5.ebuild index 68249c1101f3..4034c8711d28 100644 --- a/dev-libs/level-zero/level-zero-1.17.45.ebuild +++ b/dev-libs/level-zero/level-zero-1.18.5.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/oneapi-src/${PN}/archive/refs/tags/v${PV}.tar.gz -> LICENSE="MIT" SLOT="0/${PV}" -KEYWORDS="amd64" +KEYWORDS="~amd64" RDEPEND="dev-libs/spdlog:=" DEPEND="${RDEPEND}" diff --git a/dev-libs/opencl-clang/Manifest b/dev-libs/opencl-clang/Manifest index 4cfc4c7b625d..359c7b71b0e3 100644 --- a/dev-libs/opencl-clang/Manifest +++ b/dev-libs/opencl-clang/Manifest @@ -1,5 +1,9 @@ DIST opencl-clang-15.0.0.tar.gz 26212 BLAKE2B 02d3a8eb3964b6882bd94b676b4459412c753ac38e1e3012662021e98a8219225eaf6af4f62f4e0e97de428f55b0b698374dc39babff09a0fcc73213d5daacfe SHA512 a2ffce43493793524e9512be2e7bd46c0183b86b35a6f79018d355d07a83303a944e6dacebfb768e88ce75a7020a44939be872a2d4e754544198a9829f4febd4 +DIST opencl-clang-15.0.1.tar.gz 33438 BLAKE2B cc923db7a7efb4038a784e124d5b00b3c8ce708c515242a3f479ff9aa3597e8d7caa81350804225612bccf7d4dbe582a3549432496ee42be26ecf8993f02d88e SHA512 194eec1e2582eb7fba2d2956c1fc80b6107ff68c55052a338bed0d61f214a177f05ff3230b21cc1f5a8d11fc4812ab6bd1aaddab8ae6725275493a83fb6cc2fd DIST opencl-clang-16.0.0.tar.gz 28413 BLAKE2B c99f043171186f5d9e44618d5d637d6a5c7997f22577491f544e78d93edd5afe74ba88eaaea92a931dd87af71fb630fdf03d27f1a9f55d7c3b8bdf53dee54b07 SHA512 bf723edab7dc7a028eb79d01fd2306690a2169472760bf2783d593ffec4eb788f28f184c66b204cc074cb95a4149fcc63a1dcbee5563c620a9dc2c76bb5a2d5a +DIST opencl-clang-16.0.1.tar.gz 29768 BLAKE2B c6430ffcd35195cead1125c4dced06a7e4a755183d90c4445549f5e733d69e57732050e323bd46d44392060591756443e572f2c222ef0d10e35f7a561d65e203 SHA512 b479070492e12bcbcef3dc2023a3deed353fb195b1c715b5b1d5766dd5d2cd37ab51ba6f8ea02f21fb4065a15973aeb695ef4b876d979eb66b217e711a8a2145 DIST opencl-clang-17.0.0.tar.gz 28436 BLAKE2B dd86255e757d290fb0417d966098ad00ceb0440c83fa79d8bdaadc7ee9964b13810d27f93740f4b00b9c0e16e5c9b29213800d98042b6c211b45a9cd1402f038 SHA512 920e19c9c36fef1752bce46a1a240bfc0cdd22c09e5840520508c67ecd965524f5c1ce04d8879af146670377f758d3f457a8263338b84b6833e8916f10566698 +DIST opencl-clang-17.0.1.tar.gz 28918 BLAKE2B 236fa26f089f2803242ad7744418095519536815c082f157fdd9edd0de32d0b95e2d843b46305eeef30dae5910345661021d2fcd50c8bc57cc0720ceb3e0a995 SHA512 12c10ffb0dcfc4179bf7d917b84761d8249c4bb5b9860c3f033cb76d33fda27f1840735ea211ef1bd2f14f64db12a6cd830b3c201b9532f263771cc5d5ea3330 DIST opencl-clang-18.1.0.tar.gz 29006 BLAKE2B 7e115220a34f77a0291e8bfdb20850baebb17b61a69f4be8f4b3befafab6537daed3d0433916a0b6fa1a2b991eff40e3258ed11685375755ee2d9db14383304e SHA512 ce14b706b3624302008595e3104f299ef58d93a56ef95628f0f56c2e53a3a7ca1b1e5a989c41a33839fa5d4e126cca8537f2155113fd9781a43ac07f28b52ca4 +DIST opencl-clang-18.1.1.tar.gz 29225 BLAKE2B c98758bfb059b70eddbc7dca9826e44dd2d7ad978330739862f03e46c0ebd466eb451cdb086a51e55151a9fefdefc3abdb3d3878677677cd9445262c55384ccc SHA512 bd03b6292e559867ee5b983273375d5124fcb9e7929a68a40c39cfe5cae708d97f72962a7463a14c892776d5ecb1fac4e15006baafdf1ad553e4ca64c36ef583 DIST opencl-clang-19.1.0.tar.gz 34156 BLAKE2B a52e2b7dfb101f459ab1b84e946a9a160200699ac0cb50fa87404fa5352a17a94b1f6bb40406214930f95612848e91b9e3c3772fe38453e04e17860d4ba51ed8 SHA512 d6e42869f8db2bda7182d6ae18405c4ec51d9ea3f60c79a39d9dec9d79414a388e96419aa3c2e657d8c9ffc42de4b4f00d006ff747095e546a821c1956b86058 diff --git a/dev-libs/opencl-clang/files/opencl-clang-16.0.1-clang_library_dir.patch b/dev-libs/opencl-clang/files/opencl-clang-16.0.1-clang_library_dir.patch new file mode 100644 index 000000000000..2e9678c13731 --- /dev/null +++ b/dev-libs/opencl-clang/files/opencl-clang-16.0.1-clang_library_dir.patch @@ -0,0 +1,27 @@ +--- a/cl_headers/CMakeLists.txt ++++ b/cl_headers/CMakeLists.txt +@@ -19,15 +19,15 @@ + endfunction(copy_file) + + if(USE_PREBUILT_LLVM) +- set(OPENCL_HEADERS_DIR +- "${LLVM_LIBRARY_DIRS}/clang/${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}.${LLVM_VERSION_PATCH}/include/") +- if(NOT EXISTS ${OPENCL_HEADERS_DIR}) +- set(OPENCL_HEADERS_DIR +- "${LLVM_LIBRARY_DIRS}/clang/${LLVM_VERSION_MAJOR}/include/") +- endif() +- if(NOT EXISTS ${OPENCL_HEADERS_DIR}) +- message(FATAL_ERROR "[OPENCL-CLANG] Unable to find clang include folder at ${OPENCL_HEADERS_DIR}") +- endif() ++ if(EXISTS "${CLANG_LIBRARY_DIRS}/clang/${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}.${LLVM_VERSION_PATCH}/") ++ set(OPENCL_HEADERS_DIR ++ "${CLANG_LIBRARY_DIRS}/clang/${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}.${LLVM_VERSION_PATCH}/include/") ++ elseif(EXISTS "${CLANG_LIBRARY_DIRS}/clang/${LLVM_VERSION_MAJOR}/") ++ set(OPENCL_HEADERS_DIR ++ "${CLANG_LIBRARY_DIRS}/clang/${LLVM_VERSION_MAJOR}/include/") ++ else() ++ message(FATAL_ERROR "[OPENCL-CLANG] Couldn't find prebuilt LLVM include directory.") ++ endif() + else(USE_PREBUILT_LLVM) + set(OPENCL_HEADERS_DIR "${CLANG_SOURCE_DIR}/lib/Headers") + endif(USE_PREBUILT_LLVM) diff --git a/dev-libs/opencl-clang/opencl-clang-15.0.1.ebuild b/dev-libs/opencl-clang/opencl-clang-15.0.1.ebuild new file mode 100644 index 000000000000..b8ecb8f410af --- /dev/null +++ b/dev-libs/opencl-clang/opencl-clang-15.0.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LLVM_COMPAT=( 15 ) + +inherit cmake llvm-r1 + +DESCRIPTION="OpenCL-oriented thin wrapper library around clang" +HOMEPAGE="https://github.com/intel/opencl-clang" +SRC_URI="https://github.com/intel/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${PV}" + +LICENSE="UoI-NCSA" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~riscv" + +RDEPEND=" + dev-util/spirv-llvm-translator:${SLOT}= + $(llvm_gen_dep ' + sys-devel/clang:${LLVM_SLOT}=[static-analyzer] + sys-devel/llvm:${LLVM_SLOT}= + ') +" + +DEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}"/${PN}-8.0.0-clang_library_dir.patch ) + +src_configure() { + local mycmakeargs=( + -DCMAKE_INSTALL_PREFIX="$(get_llvm_prefix)" + -DCLANG_LIBRARY_DIRS="${EPREFIX}"/usr/lib/clang + -Wno-dev + ) + + cmake_src_configure +} diff --git a/dev-libs/opencl-clang/opencl-clang-16.0.1.ebuild b/dev-libs/opencl-clang/opencl-clang-16.0.1.ebuild new file mode 100644 index 000000000000..e438c91f8c87 --- /dev/null +++ b/dev-libs/opencl-clang/opencl-clang-16.0.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LLVM_COMPAT=( 16 ) + +inherit cmake llvm-r1 + +DESCRIPTION="OpenCL-oriented thin wrapper library around clang" +HOMEPAGE="https://github.com/intel/opencl-clang" +SRC_URI="https://github.com/intel/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${PV}" + +LICENSE="UoI-NCSA" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~riscv" + +RDEPEND=" + dev-util/spirv-llvm-translator:${SLOT}= + $(llvm_gen_dep ' + sys-devel/clang:${LLVM_SLOT}=[static-analyzer] + sys-devel/llvm:${LLVM_SLOT}= + ') +" + +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-16.0.1-clang_library_dir.patch +) + +src_configure() { + local mycmakeargs=( + -DCLANG_LIBRARY_DIRS="${EPREFIX}"/usr/lib + -DCMAKE_INSTALL_PREFIX="$(get_llvm_prefix)" + -Wno-dev + ) + + cmake_src_configure +} diff --git a/dev-libs/opencl-clang/opencl-clang-17.0.1.ebuild b/dev-libs/opencl-clang/opencl-clang-17.0.1.ebuild new file mode 100644 index 000000000000..65dcb960a1bd --- /dev/null +++ b/dev-libs/opencl-clang/opencl-clang-17.0.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LLVM_COMPAT=( 17 ) + +inherit cmake llvm-r1 + +DESCRIPTION="OpenCL-oriented thin wrapper library around clang" +HOMEPAGE="https://github.com/intel/opencl-clang" +SRC_URI="https://github.com/intel/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${PV}" + +LICENSE="UoI-NCSA" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~riscv" + +RDEPEND=" + dev-util/spirv-llvm-translator:${SLOT}= + $(llvm_gen_dep ' + sys-devel/clang:${LLVM_SLOT}=[static-analyzer] + sys-devel/llvm:${LLVM_SLOT}= + ') +" + +DEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}"/${PN}-17.0.0-clang_library_dir.patch ) + +src_configure() { + local mycmakeargs=( + -DCMAKE_INSTALL_PREFIX="$(get_llvm_prefix)" + -DCLANG_LIBRARY_DIRS="${EPREFIX}"/usr/lib + -DLLVM_VERSION_MAJOR="${LLVM_SLOT}" + -DPREFERRED_LLVM_VERSION="${LLVM_SLOT}" + -DUSE_PREBUILT_LLVM="ON" + -Wno-dev + ) + + cmake_src_configure +} diff --git a/dev-libs/opencl-clang/opencl-clang-18.1.1.ebuild b/dev-libs/opencl-clang/opencl-clang-18.1.1.ebuild new file mode 100644 index 000000000000..e71b7f5f6cb2 --- /dev/null +++ b/dev-libs/opencl-clang/opencl-clang-18.1.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LLVM_COMPAT=( 18 ) + +inherit cmake llvm-r1 + +DESCRIPTION="OpenCL-oriented thin wrapper library around clang" +HOMEPAGE="https://github.com/intel/opencl-clang" +SRC_URI="https://github.com/intel/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${PV}" + +LICENSE="UoI-NCSA" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~riscv" + +RDEPEND=" + dev-util/spirv-llvm-translator:${SLOT}= + $(llvm_gen_dep ' + sys-devel/clang:${LLVM_SLOT}=[static-analyzer] + sys-devel/llvm:${LLVM_SLOT}= + ') +" + +DEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}"/${PN}-17.0.0-clang_library_dir.patch ) + +src_configure() { + local mycmakeargs=( + -DCMAKE_INSTALL_PREFIX="$(get_llvm_prefix)" + -DCLANG_LIBRARY_DIRS="${EPREFIX}"/usr/lib + -DLLVM_VERSION_MAJOR="${LLVM_SLOT}" + -DUSE_PREBUILT_LLVM="ON" + -Wno-dev + ) + + cmake_src_configure +} diff --git a/dev-util/intel-graphics-system-controller/Manifest b/dev-util/intel-graphics-system-controller/Manifest index 8067a443eac0..a857591ffdbc 100644 --- a/dev-util/intel-graphics-system-controller/Manifest +++ b/dev-util/intel-graphics-system-controller/Manifest @@ -1 +1,2 @@ DIST intel-graphics-system-controller-0.9.3.tar.gz 206474 BLAKE2B 3af1caeed8d553b017f333ddacfbccb28e6d0f370ebc93b890686417fa400fb227f46cb83cfd686808a5e308ebbc2b2534b318ea4ba8a94a237b721e0ef5be37 SHA512 758059556efa6b94702291d11ca8267a3e4258299a324388c4a8fcb9efd2a2218ad354447ea32277439fc65d52f9481441d0bd699bfae1c375b7f807e21f9d94 +DIST intel-graphics-system-controller-0.9.5.tar.gz 207675 BLAKE2B 39e0bb6e7a81eadc31f44cad8a168c2077e39344bfe557a3d7417176c58b1cb15c22bebf0411d5b5c6af8e6acc2081f11a18383b5c45de8e7cd48f1aeb75b65e SHA512 6cd698e42cf5aa6b303fa1846b0906cbed16cb194bbdff860a11f9db31a2307a093f28d3caf19037ef9d4d62ef773066d88b9e0c0b7062fc24339ff4bdc9394e diff --git a/dev-util/intel-graphics-system-controller/intel-graphics-system-controller-0.9.5.ebuild b/dev-util/intel-graphics-system-controller/intel-graphics-system-controller-0.9.5.ebuild new file mode 100644 index 000000000000..358f6dec3c36 --- /dev/null +++ b/dev-util/intel-graphics-system-controller/intel-graphics-system-controller-0.9.5.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN="igsc" +MY_P="${MY_PN}-${PV}" +PYTHON_COMPAT=( python3_{10..13} ) + +inherit cmake python-any-r1 + +DESCRIPTION="Intel graphics system controller firmware update library" +HOMEPAGE="https://github.com/intel/igsc" +SRC_URI="https://github.com/intel/${MY_PN}/archive/refs/tags/V${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="Apache-2.0" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="+cli doc" + +RDEPEND=">=dev-libs/metee-3.2.4:=" +DEPEND="${RDEPEND}" +BDEPEND=" + doc? ( + ${PYTHON_DEPS} + app-text/doxygen + $(python_gen_any_dep 'dev-python/sphinx[${PYTHON_USEDEP}]') + ) +" + +pkg_setup() { + use doc && python-any-r1_pkg_setup +} + +src_configure() { + local mycmakeargs=( + -DENABLE_CLI="$(usex cli)" + -DENABLE_DOCS="$(usex doc)" + -DENABLE_PERF="OFF" + -DENABLE_WERROR="OFF" + + # If enabled, tests are automatically run during + # the compile phase and we cannot run them because + # they require permissions to access the hardware. + -DENABLE_TESTS="OFF" + ) + + cmake_src_configure +} diff --git a/games-simulation/openrct2/Manifest b/games-simulation/openrct2/Manifest index b7d31b84610f..02057dfe994a 100644 --- a/games-simulation/openrct2/Manifest +++ b/games-simulation/openrct2/Manifest @@ -1,13 +1,6 @@ -DIST openrct2-0.4.14.tar.gz 21917635 BLAKE2B 0fc5a105a416a1a9634ca90542c5234e19da534f07554c1f278b75a1209158d3783cfd69fad1e492140788f9cf3716f5e943391c7787015ae038ccaf7da8765d SHA512 11eaec800aee9667d1a9d5f255f556572221b5f2190740d16c847e23bb1feb75fcb3876c4078ca069517eda72a27fb22f5c6fb91458bdf66dfe1f8ab51bd4e07 -DIST openrct2-0.4.15.tar.gz 22045224 BLAKE2B dd0faca7bc4a8d2b5b7b82a087520c6b2a2351481b04c7a2f69e65546428772757df7fd241e8c42adf75eed5f2f94e50d57bbffa6a96e6b50268c1d6fd93045e SHA512 c9dd483993e53addb40097bab87e040bca4f87b8708118ccf4f9aa91a645ee9805f3ceed0cedc4f08b2ea7eb172a3ceac63a1df5f123b40a44cca548b86269af DIST openrct2-0.4.16.tar.gz 22266650 BLAKE2B 19efa7f08d2f1b82dc3643d6627a1e4758dd679c44d6f49992969b1e75dd5edfe2ab4fce7652dfebcc2e1574a6a404fa2abbf4dc281fb36a26c25ec40024ccc5 SHA512 523ecb6c1358b7d2ee51e862b96fd72215ba5151b888af2878baec099492e097c3d7a99525041e803c5f647eb97c9082751ccf97a468fb7e071d050a9c5fa4c7 DIST openrct2-objects-1.4.10.zip 7495378 BLAKE2B d59f17a419abc935c781075d526ba5e8d6c90d5a524fd314a8c9da3cbd211f87340d615f3a9fe292e2b28cc260734ed344cf2da1e8c76e7310076c2ad163adb0 SHA512 a137a81f6c627ac5d7222c34009d92a24e65bea9b8e0108e59fdf393f1000caee99b9dc9947f824241c055796112d11609b1bcae50ddc33f419723a06b708f64 -DIST openrct2-objects-1.4.7.zip 5411765 BLAKE2B 0ac59fbee6d22f832f52f03ad6e4e15bd60ba1955fc7a8f9deaf8fd114483cfdf20cd8ced42494716bf7a1d8dbeb7969cb1fa3852ae11e9afb0819c90ae6d389 SHA512 54f6872502333dc4063d0eca6d9e2cb6f7e6c7593be014a3c17df3b9a6dfa354b50c995953fb56973db8cef3733eedb3b64e680fe136724328156c1c590d9ae7 -DIST openrct2-objects-1.4.8.zip 5415469 BLAKE2B 685b2c0493fb367c0eb2087b486cc76b3ff86d6a6400812f13041b2298d63f881760aa6fe538ceea775b7a72b8997a1fbd2611152436057b9d749105e539cae1 SHA512 b25fbb751a8b0ee63aa76fc8559192bc32531019c4c03a27c638cf35be54b5f491c45372b1db94187b6865d0adbf0e29248d43d6b26fde7b829a7138d01d09c6 -DIST openrct2-openmusic-1.5.zip 40548101 BLAKE2B 11cf46a54716097038e134ae11aeb23823097ca96189dabeb0e43d7050d5e776aa309c38de247da15b1eec7ed6be6299d5673a92df1323cc3a4a5bbc4f48d567 SHA512 55d4afb854eaa5a69c42e7f0b26669c8fb58b2eba3e2892c655e76d8fab82e2734f39981d7f5ac69e11dc87d06c89795da2468feac3bc53ef6cfdd992e3924f3 DIST openrct2-openmusic-1.6.zip 42921141 BLAKE2B fff3ac6d944ed2021645c064de3daf88c11930bf8817e9c8620cfa73f2da076745dd5b5da36b616c8ee7b2ee0272228a88e264bf1ce948509dc90d77a7a87d5d SHA512 88e3242da45f372e06de04e58d03fc3d256b1485467a25a3f8878c03eb2570eea2c787a9e0416c1b040c15886723ced1379d762f941a23e4bd2fce81416123b0 DIST openrct2-opensound-1.0.5.zip 4012384 BLAKE2B 7ddb1437d7e68373f05bd60d77f03971b8a1d6f4280d008d5bf3e86b5d2cb46001a04edddeeb04a06a37801c3afbd35926beb54fe5a72c7fa88b50d0a0b18535 SHA512 fc46ffb3f6243b3d783a280481ce373a8ddc8cf1fd28bfeceecf6223b72b38f1d49d0c95eea3376308a61a77c50c7a06252b6d72248cfecc493b63b65bd6512a -DIST openrct2-replays-0.0.79.zip 1934633 BLAKE2B 4b5c4d96be91055ceff8f5f5f1a894cc2544659983e61ac2f42d655229357b6a368553c1ee45d147cb360c8d54bb0ca78b61a9716efa8d1d7f37cd7c5ba50fa7 SHA512 04acde4d60c8fa949b298dd15e38fe0421659357fa214dffb0577574e0b0ac218a01ce998f4e12e3ab13a88fbbba8096392462fda29c68a6215bc0875aaae9b2 -DIST openrct2-replays-0.0.80.zip 1830711 BLAKE2B b21d658e9e3423fc4cce4a688205660530b576243cb4fefdcbeaa6312e5979052182a51ed9418339c6fcacb6e4c78dfdb617db1934ca51950ea4f89927220f8e SHA512 a6019773e0178d3fa6968f04a5880c27e92cdd270355ddb5b9616b7a9f793a0cb09c246a82d3dd2f6bbf9f2f354a903a9bc4344fafb68532d695513ace7c6922 DIST openrct2-replays-0.0.83.zip 1829681 BLAKE2B fd3a6ff457d45b0b429b667173c95753bdbf9ecd136a7ce16b516c701d88e436e1796c32d1aa5dc7837dd35ea8db5a89a2c42a99dcd5744b826ab32f98030f98 SHA512 43877cd8452049d4519f0d3fd49d9234195a3d3e38af9a880d43509f0a578e1fef0d428673fea1a9a8307d9917be3e3c4ca9d9e466584b6abd5193a366d5f569 DIST openrct2-title-sequences-0.4.14.zip 7791573 BLAKE2B e0bc547b26ba0032c54be0661a1e26bf63a73e3bf0183e3e3d972cbff80e95dd4fa2584852f0da6a597849d822b6d89c3154cbe5ecc99b7eb456560810ed8d17 SHA512 27a1f5e87063ed9baf5faeca15a914e1a57584da6ab0d06d2b9e1f08e801c53f2ea9826381bf5e3dd8e220ff2da601a98841a08f9bcad1e0280b04746512bfb1 diff --git a/games-simulation/openrct2/files/openrct2-0.4.0-include-additional-paths.patch b/games-simulation/openrct2/files/openrct2-0.4.0-include-additional-paths.patch deleted file mode 100644 index b90d48c63c33..000000000000 --- a/games-simulation/openrct2/files/openrct2-0.4.0-include-additional-paths.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- a/src/openrct2/config/Config.cpp -+++ b/src/openrct2/config/Config.cpp -@@ -638,6 +638,7 @@ - log_verbose("config_find_rct1_path(...)"); - - static constexpr u8string_view searchLocations[] = { -+ R"(/usr/share/openrct2/rct1_data)", - R"(C:\Program Files\Steam\steamapps\common\Rollercoaster Tycoon Deluxe)", - R"(C:\Program Files (x86)\Steam\steamapps\common\Rollercoaster Tycoon Deluxe)", - R"(C:\GOG Games\RollerCoaster Tycoon Deluxe)", -@@ -683,6 +684,7 @@ - log_verbose("config_find_rct2_path(...)"); - - static constexpr u8string_view searchLocations[] = { -+ R"(/usr/share/openrct2/rct2_data)", - R"(C:\Program Files\Steam\steamapps\common\Rollercoaster Tycoon 2)", - R"(C:\Program Files (x86)\Steam\steamapps\common\Rollercoaster Tycoon 2)", - R"(C:\GOG Games\RollerCoaster Tycoon 2 Triple Thrill Pack)", diff --git a/games-simulation/openrct2/files/openrct2-0.4.15-include-additional-paths.patch b/games-simulation/openrct2/files/openrct2-0.4.15-include-additional-paths.patch deleted file mode 100644 index 16d306260e67..000000000000 --- a/games-simulation/openrct2/files/openrct2-0.4.15-include-additional-paths.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- a/src/openrct2/platform/Platform.Linux.cpp -+++ b/src/openrct2/platform/Platform.Linux.cpp -@@ -335,12 +335,12 @@ - - std::vector<std::string_view> GetSearchablePathsRCT1() - { -- return {}; -+ return { "/usr/share/openrct2/rct1_data" }; - } - - std::vector<std::string_view> GetSearchablePathsRCT2() - { -- return {}; -+ return { "/usr/share/openrct2/rct2_data" }; - } - - # ifndef NO_TTF diff --git a/games-simulation/openrct2/files/openrct2-0.4.16-tileelement.patch b/games-simulation/openrct2/files/openrct2-0.4.16-tileelement.patch new file mode 100644 index 000000000000..431a0660524d --- /dev/null +++ b/games-simulation/openrct2/files/openrct2-0.4.16-tileelement.patch @@ -0,0 +1,10 @@ +--- OpenRCT2-0.4.16/src/openrct2/ride/RideRatings.cpp.orig 2024-11-10 09:48:55.356964603 +0100 ++++ OpenRCT2-0.4.16/src/openrct2/ride/RideRatings.cpp 2024-11-10 09:50:34.049333283 +0100 +@@ -23,6 +23,7 @@ + #include "../world/tile_element/PathElement.h" + #include "../world/tile_element/SurfaceElement.h" ++#include "../world/tile_element/TileElement.h" + #include "../world/tile_element/TrackElement.h" + #include "Ride.h" + #include "RideData.h" + #include "Station.h" diff --git a/games-simulation/openrct2/openrct2-0.4.14.ebuild b/games-simulation/openrct2/openrct2-0.4.14.ebuild deleted file mode 100644 index 267f84e957ac..000000000000 --- a/games-simulation/openrct2/openrct2-0.4.14.ebuild +++ /dev/null @@ -1,180 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake readme.gentoo-r1 xdg-utils - -MY_PN="OpenRCT2" -MY_PN_MSX="openmusic" -MY_PN_OBJ="objects" -MY_PN_RPL="replays" -MY_PN_SFX="opensound" -MY_PN_TS="title-sequences" -MY_PV_MSX="1.5" -MY_PV_OBJ="1.4.7" -MY_PV_RPL="0.0.79" -MY_PV_SFX="1.0.5" -MY_PV_TS="0.4.14" - -DESCRIPTION="An open source re-implementation of Chris Sawyer's RollerCoaster Tycoon 2" -HOMEPAGE="https://openrct2.org/" -SRC_URI=" - https://github.com/${MY_PN}/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz - https://github.com/${MY_PN}/${MY_PN_MSX}/releases/download/v${MY_PV_MSX}/${MY_PN_MSX}.zip -> ${PN}-${MY_PN_MSX}-${MY_PV_MSX}.zip - https://github.com/${MY_PN}/${MY_PN_OBJ}/releases/download/v${MY_PV_OBJ}/${MY_PN_OBJ}.zip -> ${PN}-${MY_PN_OBJ}-${MY_PV_OBJ}.zip - https://github.com/${MY_PN}/OpenSoundEffects/releases/download/v${MY_PV_SFX}/${MY_PN_SFX}.zip -> ${PN}-${MY_PN_SFX}-${MY_PV_SFX}.zip - https://github.com/${MY_PN}/${MY_PN_TS}/releases/download/v${MY_PV_TS}/${MY_PN_TS}.zip -> ${PN}-${MY_PN_TS}-${MY_PV_TS}.zip - test? ( https://github.com/${MY_PN}/${MY_PN_RPL}/releases/download/v${MY_PV_RPL}/${MY_PN_RPL}.zip -> ${PN}-${MY_PN_RPL}-${MY_PV_RPL}.zip ) -" -S="${WORKDIR}/${MY_PN}-${PV}" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ppc64 x86" -IUSE="dedicated +flac +opengl scripting test +truetype +vorbis" -RESTRICT="!test? ( test )" - -COMMON_DEPEND=" - dev-libs/icu:= - dev-libs/jansson:= - dev-libs/libzip:= - media-libs/libpng:= - net-misc/curl[ssl] - sys-libs/zlib - !dedicated? ( - media-libs/libsdl2 - media-libs/speexdsp - flac? ( media-libs/flac:= ) - opengl? ( virtual/opengl ) - vorbis? ( media-libs/libvorbis ) - ) - dev-libs/openssl:0= - scripting? ( dev-lang/duktape:= ) - truetype? ( - media-libs/fontconfig:1.0 - media-libs/freetype:2 - ) -" - -RDEPEND=" - ${COMMON_DEPEND} - dedicated? ( - acct-group/openrct2 - acct-user/openrct2 - ) -" - -DEPEND=" - ${COMMON_DEPEND} - dev-cpp/nlohmann_json - test? ( dev-cpp/gtest ) -" - -BDEPEND=" - app-arch/unzip - virtual/pkgconfig -" - -PATCHES=( - "${FILESDIR}/${PN}-0.4.0-include-additional-paths.patch" - "${FILESDIR}/${PN}-0.4.1-gtest-1.10.patch" -) - -src_unpack() { - unpack "${P}".tar.gz - - mkdir -p "${S}"/data || die - cd "${S}"/data - unpack "${PN}-${MY_PN_MSX}-${MY_PV_MSX}".zip - unpack "${PN}-${MY_PN_SFX}-${MY_PV_SFX}".zip - - mkdir -p "${S}"/data/object || die - cd "${S}"/data/object || die - unpack "${PN}-${MY_PN_OBJ}-${MY_PV_OBJ}".zip - - mkdir -p "${S}"/data/sequence || die - cd "${S}"/data/sequence || die - unpack "${PN}-${MY_PN_TS}-${MY_PV_TS}".zip - - if use test; then - mkdir -p "${S}"/testdata/replays || die - cd "${S}"/testdata/replays || die - unpack "${PN}-${MY_PN_RPL}-${MY_PV_RPL}".zip - fi -} - -src_prepare() { - cmake_src_prepare - - # Don't treat warnings as errors. - sed -e 's/-Werror//' -i CMakeLists.txt || die -} - -src_configure() { - # Note: There is currently no support for Disord-RPC and Google Benchmark, - # as both packages do not exist in Gentoo, so support for them has been disabled. - local mycmakeargs=( - -DDISABLE_DISCORD_RPC=ON - $(usex !dedicated "-DDISABLE_FLAC=$(usex !flac)" "") - -DDISABLE_GOOGLE_BENCHMARK=ON - -DDISABLE_GUI=$(usex dedicated) - -DDISABLE_HTTP=OFF - -DDISABLE_IPO=ON - -DDISABLE_NETWORK=OFF - $(usex !dedicated "-DDISABLE_OPENGL=$(usex !opengl)" "") - -DDISABLE_TTF=$(usex !truetype) - $(usex !dedicated "-DDISABLE_VORBIS=$(usex !vorbis)" "") - -DDOWNLOAD_OBJECTS=OFF - -DDOWNLOAD_OPENMSX=OFF - -DDOWNLOAD_OPENSFX=OFF - -DDOWNLOAD_REPLAYS=OFF - -DDOWNLOAD_TITLE_SEQUENCES=OFF - -DENABLE_SCRIPTING=$(usex scripting) - -DOPENRCT2_USE_CCACHE=OFF - -DPORTABLE=OFF - -DSTATIC=OFF - -DWITH_TESTS=$(usex test) - -DUSE_MMAP=ON - ) - - cmake_src_configure -} - -src_test() { - # Since the tests need the OpenRCT2 data, - # we need to symlink them into the build directory, - # otherwise some tests will fail, as they don't find the OpenRCT2 data. - # It is currently not possible to override that path. - # See: https://github.com/OpenRCT2/OpenRCT2/issues/6473 - ln -s "${S}"/data "${BUILD_DIR}" || die - - cmake_src_test -} - -src_install() { - use scripting && DOCS+=( "distribution/scripting.md" "distribution/openrct2.d.ts" ) - - cmake_src_install - - if use dedicated; then - newinitd "${FILESDIR}"/openrct2.initd openrct2 - newconfd "${FILESDIR}"/openrct2.confd openrct2 - fi - - readme.gentoo_create_doc -} - -pkg_postinst() { - readme.gentoo_print_elog - - xdg_desktop_database_update - xdg_icon_cache_update - xdg_mimeinfo_database_update -} - -pkg_postrm() { - xdg_desktop_database_update - xdg_icon_cache_update - xdg_mimeinfo_database_update -} diff --git a/games-simulation/openrct2/openrct2-0.4.15.ebuild b/games-simulation/openrct2/openrct2-0.4.15.ebuild deleted file mode 100644 index efb5b081135e..000000000000 --- a/games-simulation/openrct2/openrct2-0.4.15.ebuild +++ /dev/null @@ -1,180 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake readme.gentoo-r1 xdg-utils - -MY_PN="OpenRCT2" -MY_PN_MSX="openmusic" -MY_PN_OBJ="objects" -MY_PN_RPL="replays" -MY_PN_SFX="opensound" -MY_PN_TS="title-sequences" -MY_PV_MSX="1.6" -MY_PV_OBJ="1.4.8" -MY_PV_RPL="0.0.80" -MY_PV_SFX="1.0.5" -MY_PV_TS="0.4.14" - -DESCRIPTION="An open source re-implementation of Chris Sawyer's RollerCoaster Tycoon 2" -HOMEPAGE="https://openrct2.org/" -SRC_URI=" - https://github.com/${MY_PN}/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz - https://github.com/${MY_PN}/${MY_PN_MSX}/releases/download/v${MY_PV_MSX}/${MY_PN_MSX}.zip -> ${PN}-${MY_PN_MSX}-${MY_PV_MSX}.zip - https://github.com/${MY_PN}/${MY_PN_OBJ}/releases/download/v${MY_PV_OBJ}/${MY_PN_OBJ}.zip -> ${PN}-${MY_PN_OBJ}-${MY_PV_OBJ}.zip - https://github.com/${MY_PN}/OpenSoundEffects/releases/download/v${MY_PV_SFX}/${MY_PN_SFX}.zip -> ${PN}-${MY_PN_SFX}-${MY_PV_SFX}.zip - https://github.com/${MY_PN}/${MY_PN_TS}/releases/download/v${MY_PV_TS}/${MY_PN_TS}.zip -> ${PN}-${MY_PN_TS}-${MY_PV_TS}.zip - test? ( https://github.com/${MY_PN}/${MY_PN_RPL}/releases/download/v${MY_PV_RPL}/${MY_PN_RPL}.zip -> ${PN}-${MY_PN_RPL}-${MY_PV_RPL}.zip ) -" -S="${WORKDIR}/${MY_PN}-${PV}" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" -IUSE="dedicated +flac +opengl scripting test +truetype +vorbis" -RESTRICT="!test? ( test )" - -COMMON_DEPEND=" - dev-libs/icu:= - dev-libs/jansson:= - dev-libs/libzip:= - media-libs/libpng:= - net-misc/curl[ssl] - sys-libs/zlib - !dedicated? ( - media-libs/libsdl2 - media-libs/speexdsp - flac? ( media-libs/flac:= ) - opengl? ( virtual/opengl ) - vorbis? ( media-libs/libvorbis ) - ) - dev-libs/openssl:0= - scripting? ( dev-lang/duktape:= ) - truetype? ( - media-libs/fontconfig:1.0 - media-libs/freetype:2 - ) -" - -RDEPEND=" - ${COMMON_DEPEND} - dedicated? ( - acct-group/openrct2 - acct-user/openrct2 - ) -" - -DEPEND=" - ${COMMON_DEPEND} - dev-cpp/nlohmann_json - test? ( dev-cpp/gtest ) -" - -BDEPEND=" - app-arch/unzip - virtual/pkgconfig -" - -PATCHES=( - "${FILESDIR}/${PN}-0.4.1-gtest-1.10.patch" - "${FILESDIR}/${PN}-0.4.15-include-additional-paths.patch" -) - -src_unpack() { - unpack "${P}".tar.gz - - mkdir -p "${S}"/data || die - cd "${S}"/data - unpack "${PN}-${MY_PN_MSX}-${MY_PV_MSX}".zip - unpack "${PN}-${MY_PN_SFX}-${MY_PV_SFX}".zip - - mkdir -p "${S}"/data/object || die - cd "${S}"/data/object || die - unpack "${PN}-${MY_PN_OBJ}-${MY_PV_OBJ}".zip - - mkdir -p "${S}"/data/sequence || die - cd "${S}"/data/sequence || die - unpack "${PN}-${MY_PN_TS}-${MY_PV_TS}".zip - - if use test; then - mkdir -p "${S}"/testdata/replays || die - cd "${S}"/testdata/replays || die - unpack "${PN}-${MY_PN_RPL}-${MY_PV_RPL}".zip - fi -} - -src_prepare() { - cmake_src_prepare - - # Don't treat warnings as errors. - sed -e 's/-Werror//' -i CMakeLists.txt || die -} - -src_configure() { - # Note: There is currently no support for Disord-RPC and Google Benchmark, - # as both packages do not exist in Gentoo, so support for them has been disabled. - local mycmakeargs=( - -DDISABLE_DISCORD_RPC=ON - $(usex !dedicated "-DDISABLE_FLAC=$(usex !flac)" "") - -DDISABLE_GOOGLE_BENCHMARK=ON - -DDISABLE_GUI=$(usex dedicated) - -DDISABLE_HTTP=OFF - -DDISABLE_IPO=ON - -DDISABLE_NETWORK=OFF - $(usex !dedicated "-DDISABLE_OPENGL=$(usex !opengl)" "") - -DDISABLE_TTF=$(usex !truetype) - $(usex !dedicated "-DDISABLE_VORBIS=$(usex !vorbis)" "") - -DDOWNLOAD_OBJECTS=OFF - -DDOWNLOAD_OPENMSX=OFF - -DDOWNLOAD_OPENSFX=OFF - -DDOWNLOAD_REPLAYS=OFF - -DDOWNLOAD_TITLE_SEQUENCES=OFF - -DENABLE_SCRIPTING=$(usex scripting) - -DOPENRCT2_USE_CCACHE=OFF - -DPORTABLE=OFF - -DSTATIC=OFF - -DWITH_TESTS=$(usex test) - -DUSE_MMAP=ON - ) - - cmake_src_configure -} - -src_test() { - # Since the tests need the OpenRCT2 data, - # we need to symlink them into the build directory, - # otherwise some tests will fail, as they don't find the OpenRCT2 data. - # It is currently not possible to override that path. - # See: https://github.com/OpenRCT2/OpenRCT2/issues/6473 - ln -s "${S}"/data "${BUILD_DIR}" || die - - cmake_src_test -} - -src_install() { - use scripting && DOCS+=( "distribution/scripting.md" "distribution/openrct2.d.ts" ) - - cmake_src_install - - if use dedicated; then - newinitd "${FILESDIR}"/openrct2.initd openrct2 - newconfd "${FILESDIR}"/openrct2.confd openrct2 - fi - - readme.gentoo_create_doc -} - -pkg_postinst() { - readme.gentoo_print_elog - - xdg_desktop_database_update - xdg_icon_cache_update - xdg_mimeinfo_database_update -} - -pkg_postrm() { - xdg_desktop_database_update - xdg_icon_cache_update - xdg_mimeinfo_database_update -} diff --git a/games-simulation/openrct2/openrct2-0.4.16.ebuild b/games-simulation/openrct2/openrct2-0.4.16.ebuild index c15629877f5a..ddfec5874f74 100644 --- a/games-simulation/openrct2/openrct2-0.4.16.ebuild +++ b/games-simulation/openrct2/openrct2-0.4.16.ebuild @@ -31,7 +31,7 @@ S="${WORKDIR}/${MY_PN}-${PV}" LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +KEYWORDS="amd64 ~arm arm64 ppc64 x86" IUSE="dedicated +flac +opengl scripting test +truetype +vorbis" RESTRICT="!test? ( test )" @@ -79,6 +79,7 @@ BDEPEND=" PATCHES=( "${FILESDIR}/${PN}-0.4.1-gtest-1.10.patch" "${FILESDIR}/${PN}-0.4.16-include-additional-paths.patch" + "${FILESDIR}/${PN}-0.4.16-tileelement.patch" ) src_unpack() { diff --git a/www-apps/phpsysinfo/Manifest b/www-apps/phpsysinfo/Manifest index 582949560b02..8f005b407121 100644 --- a/www-apps/phpsysinfo/Manifest +++ b/www-apps/phpsysinfo/Manifest @@ -1,2 +1 @@ -DIST phpsysinfo-3.4.3.tar.gz 1101922 BLAKE2B b4800af1bb6995f898681d80c95c87d7120146078b1a0f24d65c0217b6c6ea1d9dc9e9a8c54d9e4c1f41988ed68e28f263093af1217caf76af48b001da912136 SHA512 d0c5f0d36da6fa85dd299c8550633055fecc15e16f0f9a57e6765691a0c766da9893fd2be539492fb45b482165b1215ca9950b50f7bddfa84294833c06de27f7 DIST phpsysinfo-3.4.4.tar.gz 1109842 BLAKE2B ef192c27e6aff9c95a05b68780287c9118d79df8e95cb04447ab82fd3334dc18b0b790a1b66c903532a259a2243145fd03f8b746502072055c5beeec32e1d36b SHA512 0f2a6be998eb624ff473a9571f4975c2da8909e2f60826b0c713d781e22cd963fd864ce7bd97992321f86b0d69efb123caeeb24603dbd2223a9986d5e6e8720c diff --git a/www-apps/phpsysinfo/files/phpsysinfo-3.4.3-cve-2023-49006.patch b/www-apps/phpsysinfo/files/phpsysinfo-3.4.3-cve-2023-49006.patch deleted file mode 100644 index 6bed16996d20..000000000000 --- a/www-apps/phpsysinfo/files/phpsysinfo-3.4.3-cve-2023-49006.patch +++ /dev/null @@ -1,44 +0,0 @@ -From 4f2cee505e4f2e9b369a321063ff2c5e0c34ba45 Mon Sep 17 00:00:00 2001 -From: namiltd <namiltd@users.noreply.github.com> -Date: Wed, 24 May 2023 10:39:48 +0200 -Subject: [PATCH] Disable JSONP data mode by default for security reasons - ---- - phpsysinfo.ini.new | 7 +++++++ - read_config.php | 5 +++++ - 2 files changed, 12 insertions(+) - -diff --git a/phpsysinfo.ini.new b/phpsysinfo.ini.new -index f2c90f24..25b67c26 100644 ---- a/phpsysinfo.ini.new -+++ b/phpsysinfo.ini.new -@@ -47,6 +47,13 @@ ADD_PATHS=false - ; - ALLOWED=false - -+; Enable JSONP data mode (e.g. /phpsysinfo/xml.php?plugin=complete&jsonp&callback=getData) -+; Disabled by default for security reasons. -+; - false : JSONP data mode disabled -+; - true : JSONP data mode enabled -+; -+;JSONP=false -+ - ; List of sudo commands - ; Example : SUDO_COMMANDS="iptables-save" //execute "sudo iptables-save" instead "iptables-save" - ; SUDO_COMMANDS=false //no sudo commands -diff --git a/read_config.php b/read_config.php -index 17d0683a..53fbf38e 100644 ---- a/read_config.php -+++ b/read_config.php -@@ -89,6 +89,11 @@ - } - } - -+ if (isset($_GET['jsonp']) && (!defined('PSI_JSONP') || !PSI_JSONP)) { -+ echo "JSONP data mode not enabled in phpsysinfo.ini."; -+ die(); -+ } -+ - /* default error handler */ - if (function_exists('errorHandlerPsi')) { - restore_error_handler(); diff --git a/www-apps/phpsysinfo/phpsysinfo-3.4.3-r1.ebuild b/www-apps/phpsysinfo/phpsysinfo-3.4.3-r1.ebuild deleted file mode 100644 index 9c6a04a29c14..000000000000 --- a/www-apps/phpsysinfo/phpsysinfo-3.4.3-r1.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit optfeature webapp - -DESCRIPTION="A customizable PHP script that displays information about your system nicely" -HOMEPAGE="https://phpsysinfo.github.io/phpsysinfo/" -SRC_URI="https://github.com/rk4an/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2+" -KEYWORDS="amd64 ~hppa ppc ppc64 x86" -RDEPEND=" - dev-lang/php[simplexml,xml,xsl(+),xslt(+),unicode] - virtual/httpd-php -" - -PATCHES=( "${FILESDIR}/${PN}-3.4.3-cve-2023-49006.patch" ) - -need_httpd_cgi - -src_install() { - webapp_src_preinst - - dodoc CHANGELOG.md README* - rm CHANGELOG.md COPYING README* .gitignore || die - - mv phpsysinfo.ini{.new,} || die - insinto "${MY_HTDOCSDIR}" - doins -r . - - webapp_configfile "${MY_HTDOCSDIR}"/phpsysinfo.ini - - webapp_src_install -} - -pkg_postinst() { - optfeature "showing disk temperatures." app-admin/hddtemp - optfeature "showing system uptime." app-misc/uptimed - optfeature "showing snmp statistics." net-analyzer/net-snmp - optfeature "showing iptables rules." net-firewall/iptables - optfeature "showing ipmi sensors." sys-apps/ipmitool - optfeature "showing ipmi sensors." sys-apps/ipmiutil - optfeature "showing system sensors." sys-apps/lm-sensors - optfeature "showing s.m.a.r.t. health." sys-apps/smartmontools - optfeature "showing lsi raid controller health." sys-block/megactl - optfeature "showing fake raid statistics." sys-fs/dmraid - optfeature "showing software raid statistics." sys-fs/mdadm - optfeature "showing quota information." sys-fs/quota - optfeature "showing ipmi sensors." sys-libs/freeipmi - optfeature "showing apc ups statistics." sys-power/apcupsd - optfeature "showing ups statistics." sys-power/nut -} diff --git a/www-apps/phpsysinfo/phpsysinfo-3.4.4.ebuild b/www-apps/phpsysinfo/phpsysinfo-3.4.4.ebuild index 1b43fbab64d0..4225f3e8f229 100644 --- a/www-apps/phpsysinfo/phpsysinfo-3.4.4.ebuild +++ b/www-apps/phpsysinfo/phpsysinfo-3.4.4.ebuild @@ -10,7 +10,7 @@ HOMEPAGE="https://phpsysinfo.github.io/phpsysinfo/" SRC_URI="https://github.com/rk4an/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2+" -KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86" +KEYWORDS="amd64 ~hppa ppc ppc64 x86" RDEPEND=" dev-lang/php[simplexml,xml,xsl(+),xslt(+),unicode] virtual/httpd-php |