diff options
Diffstat (limited to 'dev-dotnet/netcoredbg')
-rw-r--r-- | dev-dotnet/netcoredbg/Manifest | 4 | ||||
-rw-r--r-- | dev-dotnet/netcoredbg/netcoredbg-3.0.0.1012.ebuild | 240 | ||||
-rw-r--r-- | dev-dotnet/netcoredbg/netcoredbg-3.0.0.1018-r1.ebuild (renamed from dev-dotnet/netcoredbg/netcoredbg-3.0.0.1018.ebuild) | 49 |
3 files changed, 15 insertions, 278 deletions
diff --git a/dev-dotnet/netcoredbg/Manifest b/dev-dotnet/netcoredbg/Manifest index 6f61970ef3ca..647b3ce82fd5 100644 --- a/dev-dotnet/netcoredbg/Manifest +++ b/dev-dotnet/netcoredbg/Manifest @@ -22,7 +22,6 @@ DIST microsoft.diagnostics.dbgshim.win-x64.8.0.452401.nupkg 98042 BLAKE2B 04bff1 DIST microsoft.diagnostics.dbgshim.win-x86.8.0.452401.nupkg 87463 BLAKE2B 4ee374737e5dcdfbac5eb79f9e9ec2124537a858db220be30de740bc7568fd52d243d48216bb216a4f46e7c8f03c798cb7a7c84ff09f09333383f940b2786a27 SHA512 f745cfc7a746fc6fff19e703e262bb09fc7ed5dc71d157a049f1d3d8207782a5bbe50fef273f22f0be6f4b67c425cc7d7e3324bc1d413905d3a240bb9401ab48 DIST microsoft.netcore.platforms.1.1.0.nupkg 17960 BLAKE2B 6a9fa22d75f5a1c65746dd71a63c3d4e37c393e99c23007c10f5ecce248a04863bf26e7562c7751177a6985eaac266c29cc6a5443a4a853e773f88994ad2a3fd SHA512 6bf892c274596fe2c7164e3d8503b24e187f64d0b7bec6d9b05eb95f04086fceb7a85ea6b2685d42dc465c52f6f0e6f636c0b3fddac48f6f0125dfd83e92d106 DIST microsoft.netcore.targets.1.1.0.nupkg 18162 BLAKE2B 419d19e0da934ab4b9db75dd66cc22b83a003f34e93cf7a92feccf4f32d3d695e18b826b1aba13073dd4ec53aa7905a67346921d1055516647ddcde0d79009f1 SHA512 1ef033a68688aab9997ec1c0378acb1638b4afb618e533fcaf749d93389737ba94f4a0a94481becdf701c7e988ae2fe390136a8eae225887ee60db45063490fe -DIST netcoredbg-3.0.0.1012.tar.gz 1453062 BLAKE2B d5dbcd9a5eaf95b8eae5932d45386e91de9bba6d711e6f015865cbe669900f8fbefb6e3f3815ad264c6425aa1a42d82793b3659b50cfc3168522ce8764d469b4 SHA512 b3536a769e45b3b1159bfcbc8ed31c07fa36af19bea6fac23b48d74c8da59ca0e8e46ab024853aaf22e0a8e87d3c5e3d07acce7a13a3db00a695a344ae333f57 DIST netcoredbg-3.0.0.1018.tar.gz 1453368 BLAKE2B 27dcdead8de85d7cb3de6e72c5bc7be5e935a60d6bab88612b7a67d0a9873746e2551b9930f33bef22082d756e429c83af587ed4242158cb02cdc9442795ae88 SHA512 9048c6f3eb073ef443181305bd11db83ec7df011684f08aeb765af854f8320d919a9a9461d56bb6ae53d51812ef2fc0941791e1e0078469cb6011b783cb5d2a9 DIST netstandard.library.2.0.3.nupkg 3146139 BLAKE2B 311e5367398f76c74e78930bc2cd39e450a86bd8626311ded8d58bd84c94a8a84db3c11b2bc10f3eeba20a9d081fe7827981f702ad746b49ae3108c949ba1022 SHA512 e78f0cea69c14895b1b089644077dbce8631a626055d96522f4d29e061d8bfc3e48aa1419e74faf265b998612c03f721f5f0cef4690f824150a5689764dee601 DIST runtime.any.system.collections.4.3.0.nupkg 107990 BLAKE2B 802e2ae919a4834150d825ac086d8f47e2185e31b60b45f3dbe5f63b1d714953d9faaa7d8fe4cc25a1ea8495c4f8fd925bb198eea0b67e594a8558238b18196c SHA512 9f8833176c139b71a58694ae401c5aec209a63227be07c7ab559bef772082bd1f6cc38ba2949cb1c8e5c5514ad9f4ff51859838dc2f28191f8bb7ae611a50239 @@ -120,6 +119,5 @@ DIST system.xml.xdocument.4.3.0.nupkg 591350 BLAKE2B 86f910cef36c056f4a9ea9dc26e DIST system.xml.xmldocument.4.3.0.nupkg 285212 BLAKE2B 0d96ca356543e8e915597e0624dca42f0c7032a2ae9e380a6fba3fbee0dacb9e5f06017893b2b7a8b937dbb4de7d5665fa6648e3bf8df12e0d34e4075c125109 SHA512 22251b3f16de9aa06e091b24baea1b8c95752f0d22266faf34e1fb76b347b23f7910cdaf567058e23d06b7079961090ca70805070a2491add5da4d0271afd133 DIST system.xml.xpath.4.3.0.nupkg 250182 BLAKE2B 8a4177d47af56bc7a6289ed8f2cac41d504dee212a858ed221277b3f523b1ce38ccb47bc3ce4d59a2c7cfd77f00f3c9693a9c257c90adb38096ee77a860f10cc SHA512 2bd0979a2020579fb32ad374b89929a272e763ee1233ed9a215408c0a1f9f82a5fdb74330c1c55a6102e0dfdb8b7b59ed25fdf6454bf3de146152ea779f366e0 DIST system.xml.xpath.xdocument.4.3.0.nupkg 89906 BLAKE2B b15b21497207c788ab23bb4f80af85044770087b25623285da5081989dc1608730a1b5040e32b7c080b98ed790b010237a6e295351d5ec27ef66e0b21ed405a0 SHA512 06ac9786b2f20b1336f3f56a3c97536907d033f1a9b9ec07267192f60ed51732924aa366f481e862f1f63d75fabdc5de51b445c5cb6c36f1fb89690a29b6e1e8 -EBUILD netcoredbg-3.0.0.1012.ebuild 7421 BLAKE2B 6a4de6536ea65d01e04b113eaf02b8550c7c0e5030947868762b0a888efd41fd3187feda24e1e92924d82b432db172a1e00b3a89aac9c9c79b466251b5a7e37c SHA512 499b4c42d7bba6e8362248803fddbdc6b8ec9909ddc90f0ca34b878d055ae83793032ca62b768b1eeb30b360ce155439774f32e5acd734efd764a9b1f7aaf85d -EBUILD netcoredbg-3.0.0.1018.ebuild 7282 BLAKE2B 40a2a6036b1ba9bc4cc3fffdd627ef06c35622f4a6a8d5326f288d66348b91d19b9d17c84540e5c4065faf50a5b705b9b2a0166aef4a57d40917fd123e986890 SHA512 7ad681e02732f674e8d9c92a5df6f44c908ab63ca34740b907e1978e19d08da81378a2c02c7a99dff9f2e271fd38fc41bea5c905fe71436f91e6408c43656740 +EBUILD netcoredbg-3.0.0.1018-r1.ebuild 6823 BLAKE2B fbb1fc75700121d2c9283f067d21733977c1d899cee21b1dedee498583b4b80f2b8650a6a2b39877ae1a97860809dac39857501a3f48e0fafcf3a95bcf3e63c8 SHA512 074f38306906cf100a6617ea6cb43acd66f42bcff2ab8c059c5dab0be0610770f280352adcf407c0fbd8e3d6d573f7602ee8c230bf97370d240eda11678ac022 MISC metadata.xml 654 BLAKE2B a573a7c2db9fa694a01a7572fd755bd914c657bca6f08f0cc208b9c3021957bde64377a0b5ac9be45334adde1320763c326df59a6840afbc6620a055f72be630 SHA512 14a861f74a31d969aa105b1f314e0ce3a6948328b40f2fb77baf64b92e8c9b1cf9d5836600b687460b5a1336a3071ab8c26b92cdd2225bfa413f89ff4aefd15a diff --git a/dev-dotnet/netcoredbg/netcoredbg-3.0.0.1012.ebuild b/dev-dotnet/netcoredbg/netcoredbg-3.0.0.1012.ebuild deleted file mode 100644 index 9605178c2d4e..000000000000 --- a/dev-dotnet/netcoredbg/netcoredbg-3.0.0.1012.ebuild +++ /dev/null @@ -1,240 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -MY_PV="$(ver_cut 1-3)-$(ver_cut 4)" -DOTNET_RUNTIME_V="7.0.14" - -CMAKE_IN_SOURCE_BUILD="ON" - -NUGETS=" -microsoft.codeanalysis.analyzers@1.1.0 -microsoft.codeanalysis.common@2.3.0 -microsoft.codeanalysis.csharp.scripting@2.3.0 -microsoft.codeanalysis.csharp@2.3.0 -microsoft.codeanalysis.scripting.common@2.3.0 -microsoft.csharp@4.4.0 -microsoft.diagnostics.dbgshim.linux-arm64@8.0.452401 -microsoft.diagnostics.dbgshim.linux-arm@8.0.452401 -microsoft.diagnostics.dbgshim.linux-musl-arm64@8.0.452401 -microsoft.diagnostics.dbgshim.linux-musl-arm@8.0.452401 -microsoft.diagnostics.dbgshim.linux-musl-x64@8.0.452401 -microsoft.diagnostics.dbgshim.linux-x64@8.0.452401 -microsoft.diagnostics.dbgshim.osx-arm64@8.0.452401 -microsoft.diagnostics.dbgshim.osx-x64@8.0.452401 -microsoft.diagnostics.dbgshim.win-arm64@8.0.452401 -microsoft.diagnostics.dbgshim.win-arm@8.0.452401 -microsoft.diagnostics.dbgshim.win-x64@8.0.452401 -microsoft.diagnostics.dbgshim.win-x86@8.0.452401 -microsoft.diagnostics.dbgshim@8.0.452401 -microsoft.netcore.platforms@1.1.0 -microsoft.netcore.targets@1.1.0 -netstandard.library@2.0.3 -runtime.any.system.collections@4.3.0 -runtime.any.system.diagnostics.tools@4.3.0 -runtime.any.system.diagnostics.tracing@4.3.0 -runtime.any.system.globalization.calendars@4.3.0 -runtime.any.system.globalization@4.3.0 -runtime.any.system.io@4.3.0 -runtime.any.system.reflection.extensions@4.3.0 -runtime.any.system.reflection.primitives@4.3.0 -runtime.any.system.reflection@4.3.0 -runtime.any.system.resources.resourcemanager@4.3.0 -runtime.any.system.runtime.handles@4.3.0 -runtime.any.system.runtime.interopservices@4.3.0 -runtime.any.system.runtime@4.3.0 -runtime.any.system.text.encoding.extensions@4.3.0 -runtime.any.system.text.encoding@4.3.0 -runtime.any.system.threading.tasks@4.3.0 -runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl@4.3.0 -runtime.fedora.23-x64.runtime.native.system.security.cryptography.openssl@4.3.0 -runtime.fedora.24-x64.runtime.native.system.security.cryptography.openssl@4.3.0 -runtime.native.system.io.compression@4.3.0 -runtime.native.system.net.http@4.3.0 -runtime.native.system.security.cryptography.apple@4.3.0 -runtime.native.system.security.cryptography.openssl@4.3.0 -runtime.native.system@4.3.0 -runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl@4.3.0 -runtime.opensuse.42.1-x64.runtime.native.system.security.cryptography.openssl@4.3.0 -runtime.osx.10.10-x64.runtime.native.system.security.cryptography.apple@4.3.0 -runtime.osx.10.10-x64.runtime.native.system.security.cryptography.openssl@4.3.0 -runtime.rhel.7-x64.runtime.native.system.security.cryptography.openssl@4.3.0 -runtime.ubuntu.14.04-x64.runtime.native.system.security.cryptography.openssl@4.3.0 -runtime.ubuntu.16.04-x64.runtime.native.system.security.cryptography.openssl@4.3.0 -runtime.ubuntu.16.10-x64.runtime.native.system.security.cryptography.openssl@4.3.0 -runtime.unix.system.console@4.3.0 -runtime.unix.system.diagnostics.debug@4.3.0 -runtime.unix.system.io.filesystem@4.3.0 -runtime.unix.system.private.uri@4.3.0 -runtime.unix.system.runtime.extensions@4.3.0 -system.appcontext@4.3.0 -system.buffers@4.3.0 -system.collections.concurrent@4.3.0 -system.collections.immutable@1.3.1 -system.collections@4.3.0 -system.console@4.3.0 -system.diagnostics.debug@4.3.0 -system.diagnostics.fileversioninfo@4.3.0 -system.diagnostics.stacktrace@4.3.0 -system.diagnostics.tools@4.3.0 -system.diagnostics.tracing@4.3.0 -system.dynamic.runtime@4.3.0 -system.globalization.calendars@4.3.0 -system.globalization@4.3.0 -system.io.compression@4.3.0 -system.io.filesystem.primitives@4.3.0 -system.io.filesystem@4.3.0 -system.io@4.3.0 -system.linq.expressions@4.3.0 -system.linq@4.3.0 -system.objectmodel@4.3.0 -system.private.uri@4.3.0 -system.reflection.emit.ilgeneration@4.3.0 -system.reflection.emit.lightweight@4.3.0 -system.reflection.emit@4.3.0 -system.reflection.extensions@4.3.0 -system.reflection.metadata@1.4.2 -system.reflection.primitives@4.3.0 -system.reflection.typeextensions@4.3.0 -system.reflection@4.3.0 -system.resources.resourcemanager@4.3.0 -system.runtime.extensions@4.3.0 -system.runtime.handles@4.3.0 -system.runtime.interopservices@4.3.0 -system.runtime.numerics@4.3.0 -system.runtime@4.3.0 -system.security.cryptography.algorithms@4.3.0 -system.security.cryptography.cng@4.3.0 -system.security.cryptography.csp@4.3.0 -system.security.cryptography.encoding@4.3.0 -system.security.cryptography.openssl@4.3.0 -system.security.cryptography.primitives@4.3.0 -system.security.cryptography.x509certificates@4.3.0 -system.text.encoding.codepages@4.3.0 -system.text.encoding.extensions@4.3.0 -system.text.encoding@4.3.0 -system.text.regularexpressions@4.3.0 -system.threading.tasks.extensions@4.3.0 -system.threading.tasks.parallel@4.3.0 -system.threading.tasks@4.3.0 -system.threading.thread@4.3.0 -system.threading@4.3.0 -system.valuetuple@4.3.0 -system.xml.readerwriter@4.3.0 -system.xml.xdocument@4.3.0 -system.xml.xmldocument@4.3.0 -system.xml.xpath.xdocument@4.3.0 -system.xml.xpath@4.3.0 -" - -inherit check-reqs cmake flag-o-matic nuget - -DESCRIPTION="NetCoreDbg is a managed code debugger with MI interface for CoreCLR" -HOMEPAGE="https://github.com/Samsung/netcoredbg/" - -if [[ "${PV}" == *9999* ]] ; then - inherit git-r3 - - EGIT_REPO_URI="https://github.com/Samsung/${PN}.git" -else - SRC_URI="https://github.com/Samsung/${PN}/archive/refs/tags/${MY_PV}.tar.gz - -> ${P}.tar.gz" - S="${WORKDIR}/${PN}-${MY_PV}" - - KEYWORDS="~amd64" -fi - -# .NET runtime that would have otherwise be downloaded via git. -SRC_URI+=" - https://github.com/dotnet/runtime/archive/refs/tags/v${DOTNET_RUNTIME_V}.tar.gz - -> dotnet_runtime-${DOTNET_RUNTIME_V}.tar.gz -" -CORECLR_S="${WORKDIR}/runtime-${DOTNET_RUNTIME_V}/src/coreclr" - -SRC_URI+=" - ${NUGET_URIS} -" - -LICENSE="MIT" -SLOT="0/${MY_PV}" - -RDEPEND=" - >=virtual/dotnet-sdk-6.0 -" -BDEPEND=" - ${RDEPEND} - dev-dotnet/csharp-gentoodotnetinfo -" - -CHECKREQS_DISK_BUILD="1400M" -PATCHES=( - "${FILESDIR}/${PN}-3.0.0.1012-compileoptions.patch" - "${FILESDIR}/${PN}-3.0.0.1012-types-cstdint.patch" -) -QA_FLAGS_IGNORED=".*/libdbgshim.so" - -DOCS=( README.md docs/{interop,stepping}.md ) - -pkg_setup() { - if [[ "${MERGE_TYPE}" != binary ]] ; then - check-reqs_pkg_setup - fi -} - -src_unpack() { - nuget_link-system-nugets - nuget_link-nuget-archives - nuget_unpack-non-nuget-archives - - if [[ -n "${EGIT_REPO_URI}" ]] ; then - git-r3_src_unpack - fi -} - -src_prepare() { - if [[ -z "${DOTNET_ROOT}" ]] ; then - die "DOTNET_ROOT is not set" - fi - - export DOTNET_CLI_TELEMETRY_OPTOUT=1 - export DOTNET_NOLOGO=1 - export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1 - export MSBUILDDISABLENODEREUSE=1 - export UseSharedCompilation=false - - find "${S}" -type f -iname nuget.config -exec rm -v {} + || die - cat <<-EOF > NuGet.config || die -<?xml version="1.0" encoding="utf-8"?> -<configuration> -<packageSources> -<clear /> -<add key="nuget" value="${NUGET_PACKAGES}" /> -</packageSources> -</configuration> -EOF - cp NuGet.config tools/generrmsg/nuget.xml || die - - cmake_src_prepare -} - -src_configure() { - INSTALL_PREFIX="/usr/$(get_libdir)/${PN}" - gentoo-dotnet-info || die - append-cxxflags -fpermissive - - local -a mycmakeargs=( - -DBUILD_MANAGED=1 - -DCMAKE_INSTALL_PREFIX="${INSTALL_PREFIX}" - -DCORECLR_DIR="${CORECLR_S}" - -DDOTNET_DIR="${DOTNET_ROOT}" - ) - cmake_src_configure -} - -src_install() { - cmake_src_install - - dosym -r "${INSTALL_PREFIX}/${PN}" "/usr/bin/${PN}" - einstalldocs -} diff --git a/dev-dotnet/netcoredbg/netcoredbg-3.0.0.1018.ebuild b/dev-dotnet/netcoredbg/netcoredbg-3.0.0.1018-r1.ebuild index aeac34f8ec8e..f273ca2ffe32 100644 --- a/dev-dotnet/netcoredbg/netcoredbg-3.0.0.1018.ebuild +++ b/dev-dotnet/netcoredbg/netcoredbg-3.0.0.1018-r1.ebuild @@ -7,7 +7,7 @@ MY_PV="$(ver_cut 1-3)-$(ver_cut 4)" DOTNET_RUNTIME_V="7.0.14" CMAKE_IN_SOURCE_BUILD="ON" - +DOTNET_PKG_COMPAT="8.0" NUGETS=" microsoft.codeanalysis.analyzers@1.1.0 microsoft.codeanalysis.common@2.3.0 @@ -128,7 +128,7 @@ system.xml.xpath.xdocument@4.3.0 system.xml.xpath@4.3.0 " -inherit check-reqs cmake flag-o-matic nuget +inherit check-reqs dotnet-pkg flag-o-matic cmake DESCRIPTION="NetCoreDbg is a managed code debugger with MI interface for CoreCLR" HOMEPAGE="https://github.com/Samsung/netcoredbg/" @@ -159,15 +159,10 @@ SRC_URI+=" LICENSE="MIT" SLOT="0/${MY_PV}" -RDEPEND=" - >=virtual/dotnet-sdk-6.0 -" -BDEPEND=" - ${RDEPEND} - dev-dotnet/csharp-gentoodotnetinfo -" - CHECKREQS_DISK_BUILD="1400M" +DOTNET_PKG_PROJECTS=( + src/managed/ManagedPart.csproj # Restore but do not build those projects. +) PATCHES=( "${FILESDIR}/${PN}-3.0.0.1012-compileoptions.patch" ) @@ -175,10 +170,13 @@ QA_FLAGS_IGNORED=".*/libdbgshim.so" DOCS=( README.md docs/{interop,stepping}.md ) +pkg_setup() { + check-reqs_pkg_setup + dotnet-pkg_pkg_setup +} + src_unpack() { - nuget_link-system-nugets - nuget_link-nuget-archives - nuget_unpack-non-nuget-archives + dotnet-pkg_src_unpack if [[ -n "${EGIT_REPO_URI}" ]] ; then git-r3_src_unpack @@ -186,35 +184,16 @@ src_unpack() { } src_prepare() { - if [[ -z "${DOTNET_ROOT}" ]] ; then - die "DOTNET_ROOT is not set" - fi + cmake_src_prepare - export DOTNET_CLI_TELEMETRY_OPTOUT=1 - export DOTNET_NOLOGO=1 - export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1 - export MSBUILDDISABLENODEREUSE=1 - export UseSharedCompilation=false - - find "${S}" -type f -iname nuget.config -exec rm -v {} + || die - cat <<-EOF > NuGet.config || die -<?xml version="1.0" encoding="utf-8"?> -<configuration> -<packageSources> -<clear /> -<add key="nuget" value="${NUGET_PACKAGES}" /> -</packageSources> -</configuration> -EOF + nuget_writeconfig "$(pwd)/" cp NuGet.config tools/generrmsg/nuget.xml || die - - cmake_src_prepare } src_configure() { INSTALL_PREFIX="/usr/$(get_libdir)/${PN}" - gentoo-dotnet-info || die append-cxxflags -fpermissive + dotnet-pkg_src_configure local -a mycmakeargs=( -DBUILD_MANAGED=1 |