commit:     ef8a980d8ba806cbaae6ec583255f758cf4a3396
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 21 13:59:44 2025 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Sep 21 14:48:22 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef8a980d

dev-dotnet/netcoredbg: bump to 3.1.2.1054

Bug: https://bugs.gentoo.org/955113
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-dotnet/netcoredbg/Manifest                     |   2 +
 ...coredbg-3.1.2.1054-cmake_minimum_required.patch |  50 +++++
 dev-dotnet/netcoredbg/netcoredbg-3.1.2.1054.ebuild | 215 +++++++++++++++++++++
 3 files changed, 267 insertions(+)

diff --git a/dev-dotnet/netcoredbg/Manifest b/dev-dotnet/netcoredbg/Manifest
index 0f43789b7625..de92b600708f 100644
--- a/dev-dotnet/netcoredbg/Manifest
+++ b/dev-dotnet/netcoredbg/Manifest
@@ -1,3 +1,4 @@
+DIST dotnet_runtime-8.0.20.tar.gz 85813510 BLAKE2B 
94cc03c87cdc2c6b9f063314565a27bd4b78ac2402f5140bd1cfb7f0b49df8db352e16a74812021a8393e302b2d35652241d13e6520d26b7852af4c43ce80808
 SHA512 
800b0a82a02176dc738f02f9c4a9a6b5b537718bb955944d70386daeb977015d956a4e8c3a81785349fe42d77005e0b85d96d509b4b01a0fb0d9c98cd9f38b9a
 DIST dotnet_runtime-8.0.7.tar.gz 85517045 BLAKE2B 
7c94d27617e2243ff95b8d426d780a675ecd80be05eb07f1691bf6b973ad6cf02868c78a5169e4f2d463f911cb4322ad6c889b693c8575a6baf4da0d0ddc6586
 SHA512 
7fd2145567400b3d1050551cdb1eb3990e01186d8933f7f3f0e416b3c5cba95ec1017cc30179fe31f638ad2da98e1079724c673bc7949ca78d10162476fc2ad9
 DIST microsoft.codeanalysis.analyzers.1.1.0.nupkg 102426 BLAKE2B 
a0b94d8d6036e8d1da75d12c60db77f5166aadb04e179607ad850782d3a602a62f3612798120ba29edb40588ccd277f1c400f87887c42933470eb7f5454ff6f6
 SHA512 
12d7a033ec66d072c9249677fb0712446290991a587b180e6d18ffef0eb97b738443fe69098370984ee56eba9f6ca0bbe57d11ac59d41a32d137c7f9a6734aac
 DIST microsoft.codeanalysis.common.2.3.0.nupkg 1029183 BLAKE2B 
51de8c2210392273cb8c3b40669c1d7dbd6def12c0dc73aa9750805bbe91b8f0ddace1dc0a6a7264d8a136bbedc967075fe0de0384c1347f6b1dc58755700e31
 SHA512 
9db6cd9d71031c5edfbb173168e0f2db32bb63c16d4e84d15b1d8a6f7a61930759a42e5a304c1e8a3572e451ddc677f1c8ae4dbbca7216bcfb04cd11738ebfd5
@@ -21,6 +22,7 @@ DIST microsoft.diagnostics.dbgshim.win-x86.8.0.532401.nupkg 
87871 BLAKE2B a4d752
 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.1.0.1031.tar.gz 1468658 BLAKE2B 
d63104cc5f560a8a212b5d862825ba87071bbc9b9f4a7589720aa1da3b635afd30b993aa1a5062f669020050d00d986762b9be485ec0cb3e105fe700396d9533
 SHA512 
8aba69d9c925cd4d2dd4e44752ae58c92852e80a171bf3ea1816c066e364307368d43d35cedca368403057e3393cc0e1b593c8db541b03a6c86516e770e8948c
+DIST netcoredbg-3.1.2.1054.tar.gz 1478878 BLAKE2B 
79defb7ec6703876061fff497bc857f2294f288392efb641d2a7a4fc6f3f72d87a9b438bf82dcd054e80084a912e0b4ab690bfec34f2b8e5d1fd26616d93fd64
 SHA512 
d9e118e940f64eb55598ecc76c84013b9b762655d77040310e53cccebf8d7ce5c02d8c079b3a2da9a8a307e2a10019c435cdd93514779af5b89c8a57cecb8dc7
 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
 DIST runtime.any.system.diagnostics.tools.4.3.0.nupkg 43707 BLAKE2B 
33d1c57eb4e50c06488da02ab2bb1b8dba9948026053e662986af05b74045c014e76815edbb588f10d6a904de22e4c50177f31f3fac36d159b9af361a4cb2b62
 SHA512 
bd257401e179d4b836a4a2f7236a0e303ae997d2453c946bf272036620a0b14e85e5f42c229332930a954655ab4cae359d191a3e3d9746df09535a651367764c

diff --git 
a/dev-dotnet/netcoredbg/files/netcoredbg-3.1.2.1054-cmake_minimum_required.patch
 
b/dev-dotnet/netcoredbg/files/netcoredbg-3.1.2.1054-cmake_minimum_required.patch
new file mode 100644
index 000000000000..815fa6c33809
--- /dev/null
+++ 
b/dev-dotnet/netcoredbg/files/netcoredbg-3.1.2.1054-cmake_minimum_required.patch
@@ -0,0 +1,50 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 2.8.12.2)
++cmake_minimum_required(VERSION 3.20)
+ 
+ if (BUILD_TESTING)
+     enable_testing()
+diff --git a/third_party/libelfin/CMakeLists.txt 
b/third_party/libelfin/CMakeLists.txt
+index 5168212..658c054 100644
+--- a/third_party/libelfin/CMakeLists.txt
++++ b/third_party/libelfin/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 2.8.12.2)
++cmake_minimum_required(VERSION 3.20)
+ 
+ project(libelfin)
+ 
+diff --git a/third_party/libelfin/dwarf/CMakeLists.txt 
b/third_party/libelfin/dwarf/CMakeLists.txt
+index 89db24d..2c7b400 100644
+--- a/third_party/libelfin/dwarf/CMakeLists.txt
++++ b/third_party/libelfin/dwarf/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 2.6)
++cmake_minimum_required(VERSION 3.20)
+ 
+ project(dwarf++)
+ 
+diff --git a/third_party/libelfin/elf/CMakeLists.txt 
b/third_party/libelfin/elf/CMakeLists.txt
+index 1c56c53..97fa55d 100644
+--- a/third_party/libelfin/elf/CMakeLists.txt
++++ b/third_party/libelfin/elf/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 2.6)
++cmake_minimum_required(VERSION 3.20)
+ 
+ project(elf++)
+ 
+diff --git a/third_party/linenoise-ng/CMakeLists.txt 
b/third_party/linenoise-ng/CMakeLists.txt
+index 434f432..df12d33 100755
+--- a/third_party/linenoise-ng/CMakeLists.txt
++++ b/third_party/linenoise-ng/CMakeLists.txt
+@@ -1,6 +1,6 @@
+ # -*- mode: CMAKE; -*-
+ 
+-cmake_minimum_required(VERSION 2.6)
++cmake_minimum_required(VERSION 3.20)
+ 
+ project(linenoise)
+ 

diff --git a/dev-dotnet/netcoredbg/netcoredbg-3.1.2.1054.ebuild 
b/dev-dotnet/netcoredbg/netcoredbg-3.1.2.1054.ebuild
new file mode 100644
index 000000000000..a12515fc5eab
--- /dev/null
+++ b/dev-dotnet/netcoredbg/netcoredbg-3.1.2.1054.ebuild
@@ -0,0 +1,215 @@
+# Copyright 1999-2025 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="8.0.20"
+
+CMAKE_IN_SOURCE_BUILD="ON"
+CMAKE_MAKEFILE_GENERATOR="emake"
+
+DOTNET_PKG_COMPAT="8.0"
+NUGETS="
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
+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
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
+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
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
+"
+
+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/";
+
+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}"
+
+CHECKREQS_DISK_BUILD="1400M"
+DOTNET_PKG_PROJECTS=(
+       src/managed/ManagedPart.csproj   # Restore but do not build those 
projects.
+)
+PATCHES=(
+       "${FILESDIR}/netcoredbg-3.0.0.1012-compileoptions.patch"
+       "${FILESDIR}/netcoredbg-3.1.2.1054-cmake_minimum_required.patch"
+)
+QA_FLAGS_IGNORED=".*/libdbgshim.so"
+
+DOCS=( README.md docs/{interop,stepping}.md )
+
+pkg_setup() {
+       check-reqs_pkg_setup
+       dotnet-pkg_pkg_setup
+}
+
+src_unpack() {
+       dotnet-pkg_src_unpack
+
+       if [[ -n "${EGIT_REPO_URI}" ]] ; then
+               git-r3_src_unpack
+       fi
+}
+
+src_prepare() {
+       cmake_src_prepare
+
+       nuget_writeconfig "$(pwd)/"
+       cp NuGet.config tools/generrmsg/nuget.xml || die
+}
+
+src_configure() {
+       INSTALL_PREFIX="/usr/$(get_libdir)/${PN}"
+       append-cxxflags -fpermissive
+       dotnet-pkg_src_configure
+
+       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
+}

Reply via email to