From 67717f5ed7e33856e34f632d5f17a5e218401c0a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 4 Sep 2022 04:20:30 +0100 Subject: gentoo auto-resync : 04:09:2022 - 04:20:30 --- dev-util/Manifest.gz | Bin 68635 -> 68813 bytes dev-util/b2/Manifest | 10 ++ dev-util/b2/b2-4.9.2.ebuild | 64 +++++++++ .../files/b2-4.9.2-add-none-feature-options.patch | 22 +++ .../files/b2-4.9.2-darwin-gentoo-toolchain.patch | 16 +++ .../b2/files/b2-4.9.2-disable_python_rpath.patch | 11 ++ .../files/b2-4.9.2-no-implicit-march-flags.patch | 148 +++++++++++++++++++++ dev-util/b2/files/b2-4.9.2-odr.patch | 54 ++++++++ .../b2/files/b2-4.9.2-respect-user-flags.patch | 11 ++ dev-util/b2/files/site-config.jam | 11 ++ dev-util/b2/metadata.xml | 11 ++ dev-util/boost-build/Manifest | 8 +- dev-util/boost-build/boost-build-1.79.0-r1.ebuild | 75 +++++++++++ dev-util/boost-build/boost-build-1.79.0.ebuild | 73 ---------- dev-util/boost-build/boost-build-1.80.0.ebuild | 66 --------- ...ost-build-1.80.0-add-none-feature-options.patch | 22 --- ...oost-build-1.80.0-no-implicit-march-flags.patch | 148 --------------------- .../boost-build/files/boost-build-1.80.0-odr.patch | 54 -------- .../boost-build-1.80.0-respect-user-flags.patch | 11 -- dev-util/difftastic/Manifest | 4 +- dev-util/difftastic/difftastic-0.32.0.ebuild | 121 ----------------- dev-util/difftastic/difftastic-0.35.0.ebuild | 134 +++++++++++++++++++ dev-util/systemtap/Manifest | 2 +- dev-util/systemtap/systemtap-4.7-r1.ebuild | 127 ++++++++++++++++++ dev-util/systemtap/systemtap-4.7.ebuild | 126 ------------------ 25 files changed, 698 insertions(+), 631 deletions(-) create mode 100644 dev-util/b2/Manifest create mode 100644 dev-util/b2/b2-4.9.2.ebuild create mode 100644 dev-util/b2/files/b2-4.9.2-add-none-feature-options.patch create mode 100644 dev-util/b2/files/b2-4.9.2-darwin-gentoo-toolchain.patch create mode 100644 dev-util/b2/files/b2-4.9.2-disable_python_rpath.patch create mode 100644 dev-util/b2/files/b2-4.9.2-no-implicit-march-flags.patch create mode 100644 dev-util/b2/files/b2-4.9.2-odr.patch create mode 100644 dev-util/b2/files/b2-4.9.2-respect-user-flags.patch create mode 100644 dev-util/b2/files/site-config.jam create mode 100644 dev-util/b2/metadata.xml create mode 100644 dev-util/boost-build/boost-build-1.79.0-r1.ebuild delete mode 100644 dev-util/boost-build/boost-build-1.79.0.ebuild delete mode 100644 dev-util/boost-build/boost-build-1.80.0.ebuild delete mode 100644 dev-util/boost-build/files/boost-build-1.80.0-add-none-feature-options.patch delete mode 100644 dev-util/boost-build/files/boost-build-1.80.0-no-implicit-march-flags.patch delete mode 100644 dev-util/boost-build/files/boost-build-1.80.0-odr.patch delete mode 100644 dev-util/boost-build/files/boost-build-1.80.0-respect-user-flags.patch delete mode 100644 dev-util/difftastic/difftastic-0.32.0.ebuild create mode 100644 dev-util/difftastic/difftastic-0.35.0.ebuild create mode 100644 dev-util/systemtap/systemtap-4.7-r1.ebuild delete mode 100644 dev-util/systemtap/systemtap-4.7.ebuild (limited to 'dev-util') diff --git a/dev-util/Manifest.gz b/dev-util/Manifest.gz index 6ab5ca71bc38..2b4bd5cab561 100644 Binary files a/dev-util/Manifest.gz and b/dev-util/Manifest.gz differ diff --git a/dev-util/b2/Manifest b/dev-util/b2/Manifest new file mode 100644 index 000000000000..2a92210b008a --- /dev/null +++ b/dev-util/b2/Manifest @@ -0,0 +1,10 @@ +AUX b2-4.9.2-add-none-feature-options.patch 588 BLAKE2B b2531258cd54eb73f9a0b9172d07d5e71856cf1112d7e39bd82e3cf14416aee92681833f73a2e0627ee787757dd12ca82d3d132a3a5b5c396cf8243ce2330767 SHA512 144a348afa5af165da3cbc922fd12a63f57d7d2c4d2300342fe08ef506eea8819dab3d8b8181179205530aca98e931b8a1062f4c3e0c7078a637c9aede2949e4 +AUX b2-4.9.2-darwin-gentoo-toolchain.patch 399 BLAKE2B 213ddbeac6be079df8383ac51c1935c21c7c4e9c2fad2dc71cc0e6317d1bcb282d7fa26997eb677408a5b5fdf2809062c54be18265dd618ec01cc771d99fdff1 SHA512 9d69ecab3cdd58915269491ed98824c554a5291820b8c3116d3aa36acee69edca4eb1528baeece513d290c20fcedabd342d426aa2c153f7ad5f08e0815357868 +AUX b2-4.9.2-disable_python_rpath.patch 343 BLAKE2B 7b8449db1054dcee76ecbe1b1c826ae3d6964acfcfc0850ff3c75d3c71b043587bccac6b96797229c6dec39beb593893d16ae93a4d7fd16b969129fe63f73d0b SHA512 99bc1260f3d36faf60ab2837039466201bddfeec5c60f65c1c5e52d6d6c1667d419376328f8202596aa2b66448308175d2504062ee6e1708ea0f44d02988ceb4 +AUX b2-4.9.2-no-implicit-march-flags.patch 8376 BLAKE2B 50e0b8effbb268467d90cc51df70dc4bd234789b352a279d9bb3e60161be80296f5f31f4a0d2a3d1ae2380f3079f7b950b24ef494574e25bbda48b516c6aacbb SHA512 0089a48cbe3e9e4f222e5cd1e9e12a5c4d16857b002a1c849f4cf6f8d7935c0a9b1e0f51ced51bf5346c2fdcbd214ce05e3c144c98fbf82a9842c45b59c19740 +AUX b2-4.9.2-odr.patch 1109 BLAKE2B 0bf70f2b2237369acd5089d1d1c6e1362f1d3528b036a7f7b9c5c4d077e60850f45c87a67c830f441297e09be2f7dd8bf41ea45a2c66b307678404c4a0db0ed5 SHA512 90ca58661322b35c4af6543558015368385a1b0e12740cd76723d893f95411645ec4a3a23694503863dd786b73a0ec9b0cb34b473e357334d8e82d973f800e4b +AUX b2-4.9.2-respect-user-flags.patch 461 BLAKE2B e5a9e0293afb7bde189c03677189ef11e0c1c07b8e02d598dc7e4d02f9fe1bf7079e94adb4150cd551ce0bf39b8c5710cb2f6b4bc685588900c4644127836fb2 SHA512 54af91eecd42cc8e5a079e29f1f3d9a8ebc8a6587254038167f531ddb217108d49161689bd45e1ed7e92eb7cfed53addeee2971e16e41d02fe3904b071bd96b9 +AUX site-config.jam 688 BLAKE2B e43a7ad1a94d113a7f890e8b634770f5c60556101d428d83f655bbbe72c46b587485886a9941d05a2ae4319fc325f1e0ecfb9b660158b81c5e9fd02e0b1c0530 SHA512 b65bf1be3133f9f66d3139b00f195a288591bb20a13ba35041507c2c33d7d2da6047c3b02dc27bc4eb21798b91e1262a60e294b7fd4af90808b9de0f5af517df +DIST b2-4.9.2.tar.gz 975882 BLAKE2B 83c2ef85c9f1ae20922541ca8c344316f1660ee069426e3a9907c0a19e1c94db470c67d0c29a1f31788eddb86ab414ab06b9713f8ea53d974d1d8f0ca29f4aa5 SHA512 eab180770608b863dcf6a5fbc626e1733cf4353cf62f4189bd28258a03591fdb7853f5dddb4d3dad60f1bb06db5415025b792a30c2c65f7b1278f61e33f903e3 +EBUILD b2-4.9.2.ebuild 1874 BLAKE2B 0ee2cf909fba380873e0cc2e9a1866d290e0910fc3324744e1c6bdaa53338e18aecd11cdd89bea3d48a8898db9e1c5f0013af82346006396925eb4588f67adff SHA512 4b006b3c0bebd08ddf2470bfc60d071e1c2a37fe7135cb0e671e68fb7e3dcc5b23ef62b61b395b550467068bb0bb9cacd2d8877eafd3ba2eda221e328a61d5d1 +MISC metadata.xml 320 BLAKE2B e32bcf6d7bfe5e8a0f36d34022d49ef8baf1d4c0324fa7e7b25e1fa41ac81c21e010a8e49d456b7ce6027c51af57b6b07f3bdc8b7e05daa18b288c63a58a171e SHA512 767da992cd650d91b393848e73d6f0626febcb02eba350a16d390e8416a2832c49b1ca2608be98a9f4abd9ae2078a7f1a543a387be139e5533f90d82171796bf diff --git a/dev-util/b2/b2-4.9.2.ebuild b/dev-util/b2/b2-4.9.2.ebuild new file mode 100644 index 000000000000..87941672b2d5 --- /dev/null +++ b/dev-util/b2/b2-4.9.2.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic toolchain-funcs + +MY_PV="$(ver_rs 1- _)" + +DESCRIPTION="A system for large project software construction, simple to use and powerful" +HOMEPAGE="https://www.bfgroup.xyz/b2/" +SRC_URI="https://github.com/bfgroup/b2/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${P}/src" + +LICENSE="Boost-1.0" +SLOT="0" +#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="examples" +RESTRICT="test" + +RDEPEND="!dev-util/boost-build" + +PATCHES=( + "${FILESDIR}"/${PN}-4.9.2-disable_python_rpath.patch + "${FILESDIR}"/${PN}-4.9.2-darwin-gentoo-toolchain.patch + "${FILESDIR}"/${PN}-4.9.2-add-none-feature-options.patch + "${FILESDIR}"/${PN}-4.9.2-respect-user-flags.patch + "${FILESDIR}"/${PN}-4.9.2-no-implicit-march-flags.patch + "${FILESDIR}"/${PN}-4.9.2-odr.patch +) + +src_configure() { + # need to enable LFS explicitly for 64-bit offsets on 32-bit hosts (#761100) + append-lfs-flags +} + +src_compile() { + cd engine || die + ${CONFIG_SHELL:-${BASH}} ./build.sh cxx --cxx="$(tc-getCXX)" --cxxflags="${CXXFLAGS}" -d+2 --without-python || die "building b2 failed" +} + +src_test() { + # Forget tests, b2 is a lost cause + : +} + +src_install() { + dobin engine/b2 + + insinto /usr/share/b2/src + doins -r "${FILESDIR}/site-config.jam" \ + bootstrap.jam build-system.jam ../example/user-config.jam \ + build kernel options tools util + + find "${ED}"/usr/share/b2/src -iname '*.py' -delete || die + + dodoc ../notes/{changes,release_procedure,build_dir_option,relative_source_paths}.txt + + if use examples; then + docinto examples + dodoc -r ../example/. + docompress -x /usr/share/doc/${PF}/examples + fi +} diff --git a/dev-util/b2/files/b2-4.9.2-add-none-feature-options.patch b/dev-util/b2/files/b2-4.9.2-add-none-feature-options.patch new file mode 100644 index 000000000000..620dea0af51b --- /dev/null +++ b/dev-util/b2/files/b2-4.9.2-add-none-feature-options.patch @@ -0,0 +1,22 @@ +--- a/tools/features/debug-feature.jam ++++ b/tools/features/debug-feature.jam +@@ -18,7 +18,7 @@ common usage is to build release variant with debugging information. + |# # end::doc[] + + feature.feature debug-symbols +- : on off ++ : on off none + : propagated ; + + #| tag::prof-doc[] +--- a/tools/features/optimization-feature.jam ++++ b/tools/features/optimization-feature.jam +@@ -16,7 +16,7 @@ smaller binary. + |# # end::doc[] + + feature.feature optimization +- : off speed space minimal debug ++ : off none speed space minimal debug + : propagated ; + + #| tag::inline-doc[] diff --git a/dev-util/b2/files/b2-4.9.2-darwin-gentoo-toolchain.patch b/dev-util/b2/files/b2-4.9.2-darwin-gentoo-toolchain.patch new file mode 100644 index 000000000000..8de98014dbdc --- /dev/null +++ b/dev-util/b2/files/b2-4.9.2-darwin-gentoo-toolchain.patch @@ -0,0 +1,16 @@ +Avoid adding all kinds of things to the toolchain's flags that within +Gentoo (Prefix) we really shouldn't, such as sysroot, deployment target, +arch, etc. + +--- a/tools/darwin.jam ++++ b/tools/darwin.jam +@@ -240,6 +240,9 @@ + } + } + ++ # leave compiler flags etc. up to the toolchain ++ return $(version-feature) ; ++ + if $(version-feature) + { + if $(.debug-configuration) diff --git a/dev-util/b2/files/b2-4.9.2-disable_python_rpath.patch b/dev-util/b2/files/b2-4.9.2-disable_python_rpath.patch new file mode 100644 index 000000000000..b7b47cc93a47 --- /dev/null +++ b/dev-util/b2/files/b2-4.9.2-disable_python_rpath.patch @@ -0,0 +1,11 @@ +--- a/tools/python.jam ++++ b/tools/python.jam +@@ -1000,7 +1000,7 @@ + # linux). + : $(usage-requirements) + $(set-PYTHONPATH) +- $(libraries) $(dll-path) python.lib ++ $(libraries) python.lib + ; + } + diff --git a/dev-util/b2/files/b2-4.9.2-no-implicit-march-flags.patch b/dev-util/b2/files/b2-4.9.2-no-implicit-march-flags.patch new file mode 100644 index 000000000000..2845d6e52f84 --- /dev/null +++ b/dev-util/b2/files/b2-4.9.2-no-implicit-march-flags.patch @@ -0,0 +1,148 @@ +--- a/tools/gcc.jam ++++ b/tools/gcc.jam +@@ -1131,145 +1131,11 @@ local rule cpu-flags ( toolset variable : architecture : instruction-set + : + # x86 and compatible + # The 'native' option appeared in gcc 4.2 so we cannot safely use it as default. + # Use i686 instead for 32-bit. +-toolset.flags gcc OPTIONS x86/32/ : -march=i686 ; +-cpu-flags gcc OPTIONS : x86 : native : -march=native ; +-cpu-flags gcc OPTIONS : x86 : i486 : -march=i486 ; +-cpu-flags gcc OPTIONS : x86 : i586 : -march=i586 ; +-cpu-flags gcc OPTIONS : x86 : i686 : -march=i686 ; +-cpu-flags gcc OPTIONS : x86 : pentium : -march=pentium ; +-cpu-flags gcc OPTIONS : x86 : pentium-mmx : -march=pentium-mmx ; +-cpu-flags gcc OPTIONS : x86 : pentiumpro : -march=pentiumpro ; +-cpu-flags gcc OPTIONS : x86 : pentium2 : -march=pentium2 ; +-cpu-flags gcc OPTIONS : x86 : pentium3 : -march=pentium3 ; +-cpu-flags gcc OPTIONS : x86 : pentium3m : -march=pentium3m ; +-cpu-flags gcc OPTIONS : x86 : pentium-m : -march=pentium-m ; +-cpu-flags gcc OPTIONS : x86 : pentium4 : -march=pentium4 ; +-cpu-flags gcc OPTIONS : x86 : pentium4m : -march=pentium4m ; +-cpu-flags gcc OPTIONS : x86 : prescott : -march=prescott ; +-cpu-flags gcc OPTIONS : x86 : nocona : -march=nocona ; +-cpu-flags gcc OPTIONS : x86 : core2 : -march=core2 ; +-cpu-flags gcc OPTIONS : x86 : conroe : -march=core2 ; +-cpu-flags gcc OPTIONS : x86 : conroe-xe : -march=core2 ; +-cpu-flags gcc OPTIONS : x86 : conroe-l : -march=core2 ; +-cpu-flags gcc OPTIONS : x86 : allendale : -march=core2 ; +-cpu-flags gcc OPTIONS : x86 : wolfdale : -march=core2 -msse4.1 ; +-cpu-flags gcc OPTIONS : x86 : merom : -march=core2 ; +-cpu-flags gcc OPTIONS : x86 : merom-xe : -march=core2 ; +-cpu-flags gcc OPTIONS : x86 : kentsfield : -march=core2 ; +-cpu-flags gcc OPTIONS : x86 : kentsfield-xe : -march=core2 ; +-cpu-flags gcc OPTIONS : x86 : yorksfield : -march=core2 ; +-cpu-flags gcc OPTIONS : x86 : penryn : -march=core2 ; +-cpu-flags gcc OPTIONS : x86 : corei7 : -march=corei7 ; +-cpu-flags gcc OPTIONS : x86 : nehalem : -march=corei7 ; +-cpu-flags gcc OPTIONS : x86 : corei7-avx : -march=corei7-avx ; +-cpu-flags gcc OPTIONS : x86 : sandy-bridge : -march=corei7-avx ; +-cpu-flags gcc OPTIONS : x86 : core-avx-i : -march=core-avx-i ; +-cpu-flags gcc OPTIONS : x86 : ivy-bridge : -march=core-avx-i ; +-cpu-flags gcc OPTIONS : x86 : haswell : -march=core-avx-i -mavx2 -mfma -mbmi -mbmi2 -mlzcnt ; +-cpu-flags gcc OPTIONS : x86 : broadwell : -march=broadwell ; +-cpu-flags gcc OPTIONS : x86 : skylake : -march=skylake ; +-cpu-flags gcc OPTIONS : x86 : skylake-avx512 : -march=skylake-avx512 ; +-cpu-flags gcc OPTIONS : x86 : cannonlake : -march=skylake-avx512 -mavx512vbmi -mavx512ifma -msha ; +-cpu-flags gcc OPTIONS : x86 : icelake-client : -march=icelake-client ; +-cpu-flags gcc OPTIONS : x86 : icelake-server : -march=icelake-server ; +-cpu-flags gcc OPTIONS : x86 : cascadelake : -march=skylake-avx512 -mavx512vnni ; +-cpu-flags gcc OPTIONS : x86 : cooperlake : -march=cooperlake ; +-cpu-flags gcc OPTIONS : x86 : tigerlake : -march=tigerlake ; +-cpu-flags gcc OPTIONS : x86 : rocketlake : -march=rocketlake ; +-cpu-flags gcc OPTIONS : x86 : alderlake : -march=alderlake ; +-cpu-flags gcc OPTIONS : x86 : sapphirerapids : -march=sapphirerapids ; +-cpu-flags gcc OPTIONS : x86 : k6 : -march=k6 ; +-cpu-flags gcc OPTIONS : x86 : k6-2 : -march=k6-2 ; +-cpu-flags gcc OPTIONS : x86 : k6-3 : -march=k6-3 ; +-cpu-flags gcc OPTIONS : x86 : athlon : -march=athlon ; +-cpu-flags gcc OPTIONS : x86 : athlon-tbird : -march=athlon-tbird ; +-cpu-flags gcc OPTIONS : x86 : athlon-4 : -march=athlon-4 ; +-cpu-flags gcc OPTIONS : x86 : athlon-xp : -march=athlon-xp ; +-cpu-flags gcc OPTIONS : x86 : athlon-mp : -march=athlon-mp ; + ## +-cpu-flags gcc OPTIONS : x86 : k8 : -march=k8 ; +-cpu-flags gcc OPTIONS : x86 : opteron : -march=opteron ; +-cpu-flags gcc OPTIONS : x86 : athlon64 : -march=athlon64 ; +-cpu-flags gcc OPTIONS : x86 : athlon-fx : -march=athlon-fx ; +-cpu-flags gcc OPTIONS : x86 : k8-sse3 : -march=k8-sse3 ; +-cpu-flags gcc OPTIONS : x86 : opteron-sse3 : -march=opteron-sse3 ; +-cpu-flags gcc OPTIONS : x86 : athlon64-sse3 : -march=athlon64-sse3 ; +-cpu-flags gcc OPTIONS : x86 : amdfam10 : -march=amdfam10 ; +-cpu-flags gcc OPTIONS : x86 : barcelona : -march=barcelona ; +-cpu-flags gcc OPTIONS : x86 : bdver1 : -march=bdver1 ; +-cpu-flags gcc OPTIONS : x86 : bdver2 : -march=bdver2 ; +-cpu-flags gcc OPTIONS : x86 : bdver3 : -march=bdver3 ; +-cpu-flags gcc OPTIONS : x86 : bdver4 : -march=bdver4 ; +-cpu-flags gcc OPTIONS : x86 : btver1 : -march=btver1 ; +-cpu-flags gcc OPTIONS : x86 : btver2 : -march=btver2 ; +-cpu-flags gcc OPTIONS : x86 : znver1 : -march=znver1 ; +-cpu-flags gcc OPTIONS : x86 : znver2 : -march=znver2 ; +-cpu-flags gcc OPTIONS : x86 : znver3 : -march=znver3 ; +-cpu-flags gcc OPTIONS : x86 : winchip-c6 : -march=winchip-c6 ; +-cpu-flags gcc OPTIONS : x86 : winchip2 : -march=winchip2 ; +-cpu-flags gcc OPTIONS : x86 : c3 : -march=c3 ; +-cpu-flags gcc OPTIONS : x86 : c3-2 : -march=c3-2 ; +-cpu-flags gcc OPTIONS : x86 : c7 : -march=c7 ; + ## +-cpu-flags gcc OPTIONS : x86 : atom : -march=atom ; + # Sparc +-cpu-flags gcc OPTIONS : sparc : v7 : -mcpu=v7 : default ; +-cpu-flags gcc OPTIONS : sparc : cypress : -mcpu=cypress ; +-cpu-flags gcc OPTIONS : sparc : v8 : -mcpu=v8 ; +-cpu-flags gcc OPTIONS : sparc : supersparc : -mcpu=supersparc ; +-cpu-flags gcc OPTIONS : sparc : sparclite : -mcpu=sparclite ; +-cpu-flags gcc OPTIONS : sparc : hypersparc : -mcpu=hypersparc ; +-cpu-flags gcc OPTIONS : sparc : sparclite86x : -mcpu=sparclite86x ; +-cpu-flags gcc OPTIONS : sparc : f930 : -mcpu=f930 ; +-cpu-flags gcc OPTIONS : sparc : f934 : -mcpu=f934 ; +-cpu-flags gcc OPTIONS : sparc : sparclet : -mcpu=sparclet ; +-cpu-flags gcc OPTIONS : sparc : tsc701 : -mcpu=tsc701 ; +-cpu-flags gcc OPTIONS : sparc : v9 : -mcpu=v9 ; +-cpu-flags gcc OPTIONS : sparc : ultrasparc : -mcpu=ultrasparc ; +-cpu-flags gcc OPTIONS : sparc : ultrasparc3 : -mcpu=ultrasparc3 ; + # RS/6000 & PowerPC +-cpu-flags gcc OPTIONS : power : 403 : -mcpu=403 ; +-cpu-flags gcc OPTIONS : power : 505 : -mcpu=505 ; +-cpu-flags gcc OPTIONS : power : 601 : -mcpu=601 ; +-cpu-flags gcc OPTIONS : power : 602 : -mcpu=602 ; +-cpu-flags gcc OPTIONS : power : 603 : -mcpu=603 ; +-cpu-flags gcc OPTIONS : power : 603e : -mcpu=603e ; +-cpu-flags gcc OPTIONS : power : 604 : -mcpu=604 ; +-cpu-flags gcc OPTIONS : power : 604e : -mcpu=604e ; +-cpu-flags gcc OPTIONS : power : 620 : -mcpu=620 ; +-cpu-flags gcc OPTIONS : power : 630 : -mcpu=630 ; +-cpu-flags gcc OPTIONS : power : 740 : -mcpu=740 ; +-cpu-flags gcc OPTIONS : power : 7400 : -mcpu=7400 ; +-cpu-flags gcc OPTIONS : power : 7450 : -mcpu=7450 ; +-cpu-flags gcc OPTIONS : power : 750 : -mcpu=750 ; +-cpu-flags gcc OPTIONS : power : 801 : -mcpu=801 ; +-cpu-flags gcc OPTIONS : power : 821 : -mcpu=821 ; +-cpu-flags gcc OPTIONS : power : 823 : -mcpu=823 ; +-cpu-flags gcc OPTIONS : power : 860 : -mcpu=860 ; +-cpu-flags gcc OPTIONS : power : 970 : -mcpu=970 ; +-cpu-flags gcc OPTIONS : power : 8540 : -mcpu=8540 ; +-cpu-flags gcc OPTIONS : power : power : -mcpu=power ; +-cpu-flags gcc OPTIONS : power : power2 : -mcpu=power2 ; +-cpu-flags gcc OPTIONS : power : power3 : -mcpu=power3 ; +-cpu-flags gcc OPTIONS : power : power4 : -mcpu=power4 ; +-cpu-flags gcc OPTIONS : power : power5 : -mcpu=power5 ; +-cpu-flags gcc OPTIONS : power : powerpc : -mcpu=powerpc ; +-cpu-flags gcc OPTIONS : power : powerpc64 : -mcpu=powerpc64 ; +-cpu-flags gcc OPTIONS : power : rios : -mcpu=rios ; +-cpu-flags gcc OPTIONS : power : rios1 : -mcpu=rios1 ; +-cpu-flags gcc OPTIONS : power : rios2 : -mcpu=rios2 ; +-cpu-flags gcc OPTIONS : power : rsc : -mcpu=rsc ; +-cpu-flags gcc OPTIONS : power : rs64a : -mcpu=rs64 ; +-cpu-flags gcc OPTIONS : s390x : z196 : -march=z196 ; +-cpu-flags gcc OPTIONS : s390x : zEC12 : -march=zEC12 ; +-cpu-flags gcc OPTIONS : s390x : z13 : -march=z13 ; +-cpu-flags gcc OPTIONS : s390x : z14 : -march=z14 ; +-cpu-flags gcc OPTIONS : s390x : z15 : -march=z15 ; + # ARM +-cpu-flags gcc OPTIONS : arm : cortex-a9+vfpv3 : -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard ; +-cpu-flags gcc OPTIONS : arm : cortex-a53 : -mcpu=cortex-a53 ; +-cpu-flags gcc OPTIONS : arm : cortex-r5 : -mcpu=cortex-r5 ; +-cpu-flags gcc OPTIONS : arm : cortex-r5+vfpv3-d16 : -mcpu=cortex-r5 -mfpu=vfpv3-d16 -mfloat-abi=hard ; + # AIX variant of RS/6000 & PowerPC + toolset.flags gcc AROPTIONS 64/aix : "-X64" ; + diff --git a/dev-util/b2/files/b2-4.9.2-odr.patch b/dev-util/b2/files/b2-4.9.2-odr.patch new file mode 100644 index 000000000000..62cbca189640 --- /dev/null +++ b/dev-util/b2/files/b2-4.9.2-odr.patch @@ -0,0 +1,54 @@ +Avoid ODR violations by giving "_stack" internal linkage +https://bugs.gentoo.org/858320 + +--- a/engine/function.cpp ++++ b/engine/function.cpp +@@ -213,11 +213,11 @@ + } JAM_FUNCTION; + + ++namespace ++{ + typedef struct _stack STACK; + typedef STACK* stack_ptr; + +-namespace +-{ + template + using remove_cref_t + = typename std::remove_const< +@@ -260,7 +260,6 @@ + typename select_last_impl<(sizeof...(A) == 1), type_list > + ::template type; + #endif +-} + + struct _stack + { +@@ -439,6 +438,8 @@ + cleanups_size += n; + } + ++} ++ + static STACK * stack_global() + { + static _stack singleton; +--- a/engine/make1.cpp ++++ b/engine/make1.cpp +@@ -86,6 +86,7 @@ + #define T_STATE_MAKE1B 1 /* make1b() should be called */ + #define T_STATE_MAKE1C 2 /* make1c() should be called */ + ++namespace { + typedef struct _state state; + struct _state + { +@@ -94,6 +95,7 @@ + TARGET * parent; /* parent argument necessary for MAKE1A */ + int32_t curstate; /* current state */ + }; ++} + + static void make1a( state * const ); + static void make1b( state * const ); diff --git a/dev-util/b2/files/b2-4.9.2-respect-user-flags.patch b/dev-util/b2/files/b2-4.9.2-respect-user-flags.patch new file mode 100644 index 000000000000..b0de4f0e885f --- /dev/null +++ b/dev-util/b2/files/b2-4.9.2-respect-user-flags.patch @@ -0,0 +1,11 @@ +--- a/engine/build.sh ++++ b/engine/build.sh +@@ -496,7 +496,7 @@ modules/set.cpp \ + if test_true ${B2_DEBUG_OPT} ; then B2_CXXFLAGS="${B2_CXXFLAGS_DEBUG}" + else B2_CXXFLAGS="${B2_CXXFLAGS_RELEASE} -DNDEBUG" + fi +- ( B2_VERBOSE_OPT=${TRUE} echo_run ${B2_CXX} ${B2_CXXFLAGS} ${B2_SOURCES} -o b2 ) ++ ( B2_VERBOSE_OPT=${TRUE} echo_run ${B2_CXX} ${CPPFLAGS} ${B2_CXXFLAGS} ${LDFLAGS} ${B2_SOURCES} -o b2 ) + } + + if test_true ${B2_VERBOSE_OPT} ; then diff --git a/dev-util/b2/files/site-config.jam b/dev-util/b2/files/site-config.jam new file mode 100644 index 000000000000..6afe52684ccc --- /dev/null +++ b/dev-util/b2/files/site-config.jam @@ -0,0 +1,11 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the Boost Software License, Version 1.0. +# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) + +# Define two new variants to be used when building boost (or separate boost-libs) +# on Gentoo. The two variants make use of Gentoo-specific optimization and debug-symbols +# values "none" which are not part of the official boost distribution. +# DO NOT RELY ON THE FOLLOWING VARIANTS TO BE PRESENT ON OTHER OS! +variant gentoorelease : release : none none shared ; +variant gentoodebug : debug : none on shared ; + diff --git a/dev-util/b2/metadata.xml b/dev-util/b2/metadata.xml new file mode 100644 index 000000000000..97a8de7cc239 --- /dev/null +++ b/dev-util/b2/metadata.xml @@ -0,0 +1,11 @@ + + + + + soap@gentoo.org + David Seifert + + + bfgroup/b2 + + diff --git a/dev-util/boost-build/Manifest b/dev-util/boost-build/Manifest index ddf0c77a5056..79b00f7b670e 100644 --- a/dev-util/boost-build/Manifest +++ b/dev-util/boost-build/Manifest @@ -4,13 +4,7 @@ AUX boost-build-1.73.0-add-none-feature-options.patch 475 BLAKE2B 5211dbc9188056 AUX boost-build-1.76.0-respect-user-flags.patch 456 BLAKE2B 02a383d7a969220da3a40bfe822a807c67734a286f65c3d1dbda18c263593cc6940f5ed260bea1d1ccc20c0726b04859ce2d97c151d10b067206f79d417af237 SHA512 06df6dbf1bc48f224a77ccef202f0cde61c594e6be23418196fbc274bb8e1b6e16a8f2ef9fd45d112cb57af8987df23282e0b1bd4bf4ca6603127b573f54810b AUX boost-build-1.78.0-darwin-gentoo-toolchain.patch 399 BLAKE2B 213ddbeac6be079df8383ac51c1935c21c7c4e9c2fad2dc71cc0e6317d1bcb282d7fa26997eb677408a5b5fdf2809062c54be18265dd618ec01cc771d99fdff1 SHA512 9d69ecab3cdd58915269491ed98824c554a5291820b8c3116d3aa36acee69edca4eb1528baeece513d290c20fcedabd342d426aa2c153f7ad5f08e0815357868 AUX boost-build-1.78.0-no-implicit-march-flags.patch 17236 BLAKE2B c8c068f48de2d14307c74c64db63ad5f74b9913650f807a53f8e837a8f4b67ba3484bdd6dc9b25cd297e94d5344208e4df6950e2827893bb58ed0ce518bfe66f SHA512 73589b6e88c26a89b874f251f53ec36a08f8709f2a2be7cde876347213c49e87800f9917b529d7f843b3ce4c0ef126ab67b919089be481955a39294a0a8d84a6 -AUX boost-build-1.80.0-add-none-feature-options.patch 588 BLAKE2B b2531258cd54eb73f9a0b9172d07d5e71856cf1112d7e39bd82e3cf14416aee92681833f73a2e0627ee787757dd12ca82d3d132a3a5b5c396cf8243ce2330767 SHA512 144a348afa5af165da3cbc922fd12a63f57d7d2c4d2300342fe08ef506eea8819dab3d8b8181179205530aca98e931b8a1062f4c3e0c7078a637c9aede2949e4 -AUX boost-build-1.80.0-no-implicit-march-flags.patch 8376 BLAKE2B 50e0b8effbb268467d90cc51df70dc4bd234789b352a279d9bb3e60161be80296f5f31f4a0d2a3d1ae2380f3079f7b950b24ef494574e25bbda48b516c6aacbb SHA512 0089a48cbe3e9e4f222e5cd1e9e12a5c4d16857b002a1c849f4cf6f8d7935c0a9b1e0f51ced51bf5346c2fdcbd214ce05e3c144c98fbf82a9842c45b59c19740 -AUX boost-build-1.80.0-odr.patch 1109 BLAKE2B 0bf70f2b2237369acd5089d1d1c6e1362f1d3528b036a7f7b9c5c4d077e60850f45c87a67c830f441297e09be2f7dd8bf41ea45a2c66b307678404c4a0db0ed5 SHA512 90ca58661322b35c4af6543558015368385a1b0e12740cd76723d893f95411645ec4a3a23694503863dd786b73a0ec9b0cb34b473e357334d8e82d973f800e4b -AUX boost-build-1.80.0-respect-user-flags.patch 461 BLAKE2B e5a9e0293afb7bde189c03677189ef11e0c1c07b8e02d598dc7e4d02f9fe1bf7079e94adb4150cd551ce0bf39b8c5710cb2f6b4bc685588900c4644127836fb2 SHA512 54af91eecd42cc8e5a079e29f1f3d9a8ebc8a6587254038167f531ddb217108d49161689bd45e1ed7e92eb7cfed53addeee2971e16e41d02fe3904b071bd96b9 AUX site-config.jam 688 BLAKE2B e43a7ad1a94d113a7f890e8b634770f5c60556101d428d83f655bbbe72c46b587485886a9941d05a2ae4319fc325f1e0ecfb9b660158b81c5e9fd02e0b1c0530 SHA512 b65bf1be3133f9f66d3139b00f195a288591bb20a13ba35041507c2c33d7d2da6047c3b02dc27bc4eb21798b91e1262a60e294b7fd4af90808b9de0f5af517df DIST boost_1_79_0.tar.bz2 113456811 BLAKE2B 61f47ca022e60745868e6bdd3b5c75603dd68d878e126dcbb73de5b40fc03c0eec8eede3ec304ece58050435ef2fc1ed7eb763773c20673f85e32bbf4d5f978a SHA512 70909e0561c213d10a1fdd692f9ae7b293d3cdc63e925bdc207da9e9bba6e86474341100e7ee5de6d94f9561196b1a3a1597055a7b7382babf8931131170a312 -DIST boost_1_80_0.tar.bz2 115869904 BLAKE2B 507e811be7659442c41bc2d99811bd02a236dc94932e1a7a8cf256243b479f2d2707819cd99e016a51c9dadc215713e803afdd9ea4c105af8d5d2d28d3d06a1f SHA512 829a95b463473d69ff79ea41799c68429bb79d3b2321fbdb71df079af237ab01de9ad7e9612d8783d925730acada010068d2d1aa856c34244ee5c0ece16f208f -EBUILD boost-build-1.79.0.ebuild 2121 BLAKE2B 26af62750e19a7bce5abd5b5c004d66591d5ef6e8c0161903dde740ba6758d8657daac1b98a78ead85c47fece46c2c954797cfcc9c200757f51b03060e0a9be8 SHA512 b361c10f4ca1733774d8d98fbeb52551eafbab8e7d99a488a4d60bb5edbef82aef15f3b36235f200d194f6a9089c46465f61516b492e100fa2644db0ed6a5c0f -EBUILD boost-build-1.80.0.ebuild 1988 BLAKE2B cf0239cd7f569857897eb60d12f0259cd63d8956ce05f5cbab5a4151557fd1a435573dfb950a5e431673fa21b1ae6aac41bbe50547717eeead97111cabf92a02 SHA512 dc23887aeb7f0ce749a6ad0b3fbaf9fd674d0eb9eb7311ec8623160a1083b9877730a276a4bdbe11c10726f210130de00a886d49a88ed0cb277c0a37ec67ee34 +EBUILD boost-build-1.79.0-r1.ebuild 2145 BLAKE2B d0dab5ff71dc9a6efabf2b62223ce51fdabbbe83474e008119855f1cbb9d2a02a7b05019314aa5c5e5f53148ebce817eab30e38967e2edd72c166205d76a02fe SHA512 668f153fd9db6a2a74e3c164bbf567b30e1f4dc9a60e264e60656382f14e316366f0003306ca092881bcab8a637ddcf71be9613159efc6b944baf84fad0cc636 MISC metadata.xml 320 BLAKE2B b8916adb7b84ead3feef70414578019e07de58086e6954cf2a26a77368a99bc75bf99ca18f111a67531d318863fab700083ebcd7612e7d40ece89086d9d4974c SHA512 7c2c8fa591a6c3d05b5d4808077b890d5757bbb4c12a9fe7ed7b4ebc738244266196baba07da434ac3609c0d00aed4ef9c2346524f141e679b94376f804c508b diff --git a/dev-util/boost-build/boost-build-1.79.0-r1.ebuild b/dev-util/boost-build/boost-build-1.79.0-r1.ebuild new file mode 100644 index 000000000000..74cea514f585 --- /dev/null +++ b/dev-util/boost-build/boost-build-1.79.0-r1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic toolchain-funcs + +MY_PV="$(ver_rs 1- _)" + +DESCRIPTION="A system for large project software construction, simple to use and powerful" +HOMEPAGE="https://www.boost.org/build/" +SRC_URI="https://boostorg.jfrog.io/artifactory/main/release/${PV}/source/boost_${MY_PV}.tar.bz2" +S="${WORKDIR}/boost_${MY_PV}/tools/build/src" + +LICENSE="Boost-1.0" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="examples" +RESTRICT="test" + +RDEPEND="!dev-util/b2" + +PATCHES=( + "${FILESDIR}"/${PN}-1.71.0-disable_python_rpath.patch + "${FILESDIR}"/${PN}-1.78.0-darwin-gentoo-toolchain.patch + "${FILESDIR}"/${PN}-1.73.0-add-none-feature-options.patch + "${FILESDIR}"/${PN}-1.76.0-respect-user-flags.patch + "${FILESDIR}"/${PN}-1.78.0-no-implicit-march-flags.patch +) + +src_unpack() { + tar xojf "${DISTDIR}/${A}" boost_${MY_PV}/tools/build || die "unpacking tar failed" +} + +src_prepare() { + default + + pushd .. >/dev/null || die + eapply "${FILESDIR}"/${PN}-1.71.0-fix-test.patch + popd >/dev/null || die +} + +src_configure() { + # need to enable LFS explicitly for 64-bit offsets on 32-bit hosts (#761100) + append-lfs-flags +} + +src_compile() { + cd engine || die + ${CONFIG_SHELL:-${BASH}} ./build.sh cxx --cxx="$(tc-getCXX)" --cxxflags="${CXXFLAGS}" -d+2 --without-python || die "building bjam failed" +} + +src_test() { + # Forget tests, bjam is a lost cause + : +} + +src_install() { + dobin engine/{bjam,b2} + + insinto /usr/share/boost-build/src + doins -r "${FILESDIR}/site-config.jam" \ + ../boost-build.jam bootstrap.jam build-system.jam ../example/user-config.jam *.py \ + build kernel options tools util + + find "${ED}"/usr/share/boost-build/src -iname '*.py' -delete || die + + dodoc ../notes/{changes,release_procedure,build_dir_option,relative_source_paths}.txt + + if use examples; then + docinto examples + dodoc -r ../example/. + docompress -x /usr/share/doc/${PF}/examples + fi +} diff --git a/dev-util/boost-build/boost-build-1.79.0.ebuild b/dev-util/boost-build/boost-build-1.79.0.ebuild deleted file mode 100644 index f17231c6f894..000000000000 --- a/dev-util/boost-build/boost-build-1.79.0.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic toolchain-funcs - -MY_PV="$(ver_rs 1- _)" - -DESCRIPTION="A system for large project software construction, simple to use and powerful" -HOMEPAGE="https://www.boost.org/build/" -SRC_URI="https://boostorg.jfrog.io/artifactory/main/release/${PV}/source/boost_${MY_PV}.tar.bz2" -S="${WORKDIR}/boost_${MY_PV}/tools/build/src" - -LICENSE="Boost-1.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="examples" -RESTRICT="test" - -PATCHES=( - "${FILESDIR}"/${PN}-1.71.0-disable_python_rpath.patch - "${FILESDIR}"/${PN}-1.78.0-darwin-gentoo-toolchain.patch - "${FILESDIR}"/${PN}-1.73.0-add-none-feature-options.patch - "${FILESDIR}"/${PN}-1.76.0-respect-user-flags.patch - "${FILESDIR}"/${PN}-1.78.0-no-implicit-march-flags.patch -) - -src_unpack() { - tar xojf "${DISTDIR}/${A}" boost_${MY_PV}/tools/build || die "unpacking tar failed" -} - -src_prepare() { - default - - pushd .. >/dev/null || die - eapply "${FILESDIR}"/${PN}-1.71.0-fix-test.patch - popd >/dev/null || die -} - -src_configure() { - # need to enable LFS explicitly for 64-bit offsets on 32-bit hosts (#761100) - append-lfs-flags -} - -src_compile() { - cd engine || die - ${CONFIG_SHELL:-${BASH}} ./build.sh cxx --cxx="$(tc-getCXX)" --cxxflags="${CXXFLAGS}" -d+2 --without-python || die "building bjam failed" -} - -src_test() { - # Forget tests, bjam is a lost cause - : -} - -src_install() { - dobin engine/{bjam,b2} - - insinto /usr/share/boost-build/src - doins -r "${FILESDIR}/site-config.jam" \ - ../boost-build.jam bootstrap.jam build-system.jam ../example/user-config.jam *.py \ - build kernel options tools util - - find "${ED}"/usr/share/boost-build/src -iname '*.py' -delete || die - - dodoc ../notes/{changes,release_procedure,build_dir_option,relative_source_paths}.txt - - if use examples; then - docinto examples - dodoc -r ../example/. - docompress -x /usr/share/doc/${PF}/examples - fi -} diff --git a/dev-util/boost-build/boost-build-1.80.0.ebuild b/dev-util/boost-build/boost-build-1.80.0.ebuild deleted file mode 100644 index dcacdf3a18df..000000000000 --- a/dev-util/boost-build/boost-build-1.80.0.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic toolchain-funcs - -MY_PV="$(ver_rs 1- _)" - -DESCRIPTION="A system for large project software construction, simple to use and powerful" -HOMEPAGE="https://www.boost.org/build/" -SRC_URI="https://boostorg.jfrog.io/artifactory/main/release/${PV}/source/boost_${MY_PV}.tar.bz2" -S="${WORKDIR}/boost_${MY_PV}/tools/build/src" - -LICENSE="Boost-1.0" -SLOT="0" -#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="examples" -RESTRICT="test" - -PATCHES=( - "${FILESDIR}"/${PN}-1.71.0-disable_python_rpath.patch - "${FILESDIR}"/${PN}-1.78.0-darwin-gentoo-toolchain.patch - "${FILESDIR}"/${PN}-1.80.0-add-none-feature-options.patch - "${FILESDIR}"/${PN}-1.80.0-respect-user-flags.patch - "${FILESDIR}"/${PN}-1.80.0-no-implicit-march-flags.patch - "${FILESDIR}"/${PN}-1.80.0-odr.patch -) - -src_unpack() { - tar xojf "${DISTDIR}/${A}" boost_${MY_PV}/tools/build || die "unpacking tar failed" -} - -src_configure() { - # need to enable LFS explicitly for 64-bit offsets on 32-bit hosts (#761100) - append-lfs-flags -} - -src_compile() { - cd engine || die - ${CONFIG_SHELL:-${BASH}} ./build.sh cxx --cxx="$(tc-getCXX)" --cxxflags="${CXXFLAGS}" -d+2 --without-python || die "building bjam failed" -} - -src_test() { - # Forget tests, bjam is a lost cause - : -} - -src_install() { - dobin engine/b2 - - insinto /usr/share/b2/src - doins -r "${FILESDIR}/site-config.jam" \ - bootstrap.jam build-system.jam ../example/user-config.jam \ - build kernel options tools util - - find "${ED}"/usr/share/b2/src -iname '*.py' -delete || die - - dodoc ../notes/{changes,release_procedure,build_dir_option,relative_source_paths}.txt - - if use examples; then - docinto examples - dodoc -r ../example/. - docompress -x /usr/share/doc/${PF}/examples - fi -} diff --git a/dev-util/boost-build/files/boost-build-1.80.0-add-none-feature-options.patch b/dev-util/boost-build/files/boost-build-1.80.0-add-none-feature-options.patch deleted file mode 100644 index 620dea0af51b..000000000000 --- a/dev-util/boost-build/files/boost-build-1.80.0-add-none-feature-options.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- a/tools/features/debug-feature.jam -+++ b/tools/features/debug-feature.jam -@@ -18,7 +18,7 @@ common usage is to build release variant with debugging information. - |# # end::doc[] - - feature.feature debug-symbols -- : on off -+ : on off none - : propagated ; - - #| tag::prof-doc[] ---- a/tools/features/optimization-feature.jam -+++ b/tools/features/optimization-feature.jam -@@ -16,7 +16,7 @@ smaller binary. - |# # end::doc[] - - feature.feature optimization -- : off speed space minimal debug -+ : off none speed space minimal debug - : propagated ; - - #| tag::inline-doc[] diff --git a/dev-util/boost-build/files/boost-build-1.80.0-no-implicit-march-flags.patch b/dev-util/boost-build/files/boost-build-1.80.0-no-implicit-march-flags.patch deleted file mode 100644 index 2845d6e52f84..000000000000 --- a/dev-util/boost-build/files/boost-build-1.80.0-no-implicit-march-flags.patch +++ /dev/null @@ -1,148 +0,0 @@ ---- a/tools/gcc.jam -+++ b/tools/gcc.jam -@@ -1131,145 +1131,11 @@ local rule cpu-flags ( toolset variable : architecture : instruction-set + : - # x86 and compatible - # The 'native' option appeared in gcc 4.2 so we cannot safely use it as default. - # Use i686 instead for 32-bit. --toolset.flags gcc OPTIONS x86/32/ : -march=i686 ; --cpu-flags gcc OPTIONS : x86 : native : -march=native ; --cpu-flags gcc OPTIONS : x86 : i486 : -march=i486 ; --cpu-flags gcc OPTIONS : x86 : i586 : -march=i586 ; --cpu-flags gcc OPTIONS : x86 : i686 : -march=i686 ; --cpu-flags gcc OPTIONS : x86 : pentium : -march=pentium ; --cpu-flags gcc OPTIONS : x86 : pentium-mmx : -march=pentium-mmx ; --cpu-flags gcc OPTIONS : x86 : pentiumpro : -march=pentiumpro ; --cpu-flags gcc OPTIONS : x86 : pentium2 : -march=pentium2 ; --cpu-flags gcc OPTIONS : x86 : pentium3 : -march=pentium3 ; --cpu-flags gcc OPTIONS : x86 : pentium3m : -march=pentium3m ; --cpu-flags gcc OPTIONS : x86 : pentium-m : -march=pentium-m ; --cpu-flags gcc OPTIONS : x86 : pentium4 : -march=pentium4 ; --cpu-flags gcc OPTIONS : x86 : pentium4m : -march=pentium4m ; --cpu-flags gcc OPTIONS : x86 : prescott : -march=prescott ; --cpu-flags gcc OPTIONS : x86 : nocona : -march=nocona ; --cpu-flags gcc OPTIONS : x86 : core2 : -march=core2 ; --cpu-flags gcc OPTIONS : x86 : conroe : -march=core2 ; --cpu-flags gcc OPTIONS : x86 : conroe-xe : -march=core2 ; --cpu-flags gcc OPTIONS : x86 : conroe-l : -march=core2 ; --cpu-flags gcc OPTIONS : x86 : allendale : -march=core2 ; --cpu-flags gcc OPTIONS : x86 : wolfdale : -march=core2 -msse4.1 ; --cpu-flags gcc OPTIONS : x86 : merom : -march=core2 ; --cpu-flags gcc OPTIONS : x86 : merom-xe : -march=core2 ; --cpu-flags gcc OPTIONS : x86 : kentsfield : -march=core2 ; --cpu-flags gcc OPTIONS : x86 : kentsfield-xe : -march=core2 ; --cpu-flags gcc OPTIONS : x86 : yorksfield : -march=core2 ; --cpu-flags gcc OPTIONS : x86 : penryn : -march=core2 ; --cpu-flags gcc OPTIONS : x86 : corei7 : -march=corei7 ; --cpu-flags gcc OPTIONS : x86 : nehalem : -march=corei7 ; --cpu-flags gcc OPTIONS : x86 : corei7-avx : -march=corei7-avx ; --cpu-flags gcc OPTIONS : x86 : sandy-bridge : -march=corei7-avx ; --cpu-flags gcc OPTIONS : x86 : core-avx-i : -march=core-avx-i ; --cpu-flags gcc OPTIONS : x86 : ivy-bridge : -march=core-avx-i ; --cpu-flags gcc OPTIONS : x86 : haswell : -march=core-avx-i -mavx2 -mfma -mbmi -mbmi2 -mlzcnt ; --cpu-flags gcc OPTIONS : x86 : broadwell : -march=broadwell ; --cpu-flags gcc OPTIONS : x86 : skylake : -march=skylake ; --cpu-flags gcc OPTIONS : x86 : skylake-avx512 : -march=skylake-avx512 ; --cpu-flags gcc OPTIONS : x86 : cannonlake : -march=skylake-avx512 -mavx512vbmi -mavx512ifma -msha ; --cpu-flags gcc OPTIONS : x86 : icelake-client : -march=icelake-client ; --cpu-flags gcc OPTIONS : x86 : icelake-server : -march=icelake-server ; --cpu-flags gcc OPTIONS : x86 : cascadelake : -march=skylake-avx512 -mavx512vnni ; --cpu-flags gcc OPTIONS : x86 : cooperlake : -march=cooperlake ; --cpu-flags gcc OPTIONS : x86 : tigerlake : -march=tigerlake ; --cpu-flags gcc OPTIONS : x86 : rocketlake : -march=rocketlake ; --cpu-flags gcc OPTIONS : x86 : alderlake : -march=alderlake ; --cpu-flags gcc OPTIONS : x86 : sapphirerapids : -march=sapphirerapids ; --cpu-flags gcc OPTIONS : x86 : k6 : -march=k6 ; --cpu-flags gcc OPTIONS : x86 : k6-2 : -march=k6-2 ; --cpu-flags gcc OPTIONS : x86 : k6-3 : -march=k6-3 ; --cpu-flags gcc OPTIONS : x86 : athlon : -march=athlon ; --cpu-flags gcc OPTIONS : x86 : athlon-tbird : -march=athlon-tbird ; --cpu-flags gcc OPTIONS : x86 : athlon-4 : -march=athlon-4 ; --cpu-flags gcc OPTIONS : x86 : athlon-xp : -march=athlon-xp ; --cpu-flags gcc OPTIONS : x86 : athlon-mp : -march=athlon-mp ; - ## --cpu-flags gcc OPTIONS : x86 : k8 : -march=k8 ; --cpu-flags gcc OPTIONS : x86 : opteron : -march=opteron ; --cpu-flags gcc OPTIONS : x86 : athlon64 : -march=athlon64 ; --cpu-flags gcc OPTIONS : x86 : athlon-fx : -march=athlon-fx ; --cpu-flags gcc OPTIONS : x86 : k8-sse3 : -march=k8-sse3 ; --cpu-flags gcc OPTIONS : x86 : opteron-sse3 : -march=opteron-sse3 ; --cpu-flags gcc OPTIONS : x86 : athlon64-sse3 : -march=athlon64-sse3 ; --cpu-flags gcc OPTIONS : x86 : amdfam10 : -march=amdfam10 ; --cpu-flags gcc OPTIONS : x86 : barcelona : -march=barcelona ; --cpu-flags gcc OPTIONS : x86 : bdver1 : -march=bdver1 ; --cpu-flags gcc OPTIONS : x86 : bdver2 : -march=bdver2 ; --cpu-flags gcc OPTIONS : x86 : bdver3 : -march=bdver3 ; --cpu-flags gcc OPTIONS : x86 : bdver4 : -march=bdver4 ; --cpu-flags gcc OPTIONS : x86 : btver1 : -march=btver1 ; --cpu-flags gcc OPTIONS : x86 : btver2 : -march=btver2 ; --cpu-flags gcc OPTIONS : x86 : znver1 : -march=znver1 ; --cpu-flags gcc OPTIONS : x86 : znver2 : -march=znver2 ; --cpu-flags gcc OPTIONS : x86 : znver3 : -march=znver3 ; --cpu-flags gcc OPTIONS : x86 : winchip-c6 : -march=winchip-c6 ; --cpu-flags gcc OPTIONS : x86 : winchip2 : -march=winchip2 ; --cpu-flags gcc OPTIONS : x86 : c3 : -march=c3 ; --cpu-flags gcc OPTIONS : x86 : c3-2 : -march=c3-2 ; --cpu-flags gcc OPTIONS : x86 : c7 : -march=c7 ; - ## --cpu-flags gcc OPTIONS : x86 : atom : -march=atom ; - # Sparc --cpu-flags gcc OPTIONS : sparc : v7 : -mcpu=v7 : default ; --cpu-flags gcc OPTIONS : sparc : cypress : -mcpu=cypress ; --cpu-flags gcc OPTIONS : sparc : v8 : -mcpu=v8 ; --cpu-flags gcc OPTIONS : sparc : supersparc : -mcpu=supersparc ; --cpu-flags gcc OPTIONS : sparc : sparclite : -mcpu=sparclite ; --cpu-flags gcc OPTIONS : sparc : hypersparc : -mcpu=hypersparc ; --cpu-flags gcc OPTIONS : sparc : sparclite86x : -mcpu=sparclite86x ; --cpu-flags gcc OPTIONS : sparc : f930 : -mcpu=f930 ; --cpu-flags gcc OPTIONS : sparc : f934 : -mcpu=f934 ; --cpu-flags gcc OPTIONS : sparc : sparclet : -mcpu=sparclet ; --cpu-flags gcc OPTIONS : sparc : tsc701 : -mcpu=tsc701 ; --cpu-flags gcc OPTIONS : sparc : v9 : -mcpu=v9 ; --cpu-flags gcc OPTIONS : sparc : ultrasparc : -mcpu=ultrasparc ; --cpu-flags gcc OPTIONS : sparc : ultrasparc3 : -mcpu=ultrasparc3 ; - # RS/6000 & PowerPC --cpu-flags gcc OPTIONS : power : 403 : -mcpu=403 ; --cpu-flags gcc OPTIONS : power : 505 : -mcpu=505 ; --cpu-flags gcc OPTIONS : power : 601 : -mcpu=601 ; --cpu-flags gcc OPTIONS : power : 602 : -mcpu=602 ; --cpu-flags gcc OPTIONS : power : 603 : -mcpu=603 ; --cpu-flags gcc OPTIONS : power : 603e : -mcpu=603e ; --cpu-flags gcc OPTIONS : power : 604 : -mcpu=604 ; --cpu-flags gcc OPTIONS : power : 604e : -mcpu=604e ; --cpu-flags gcc OPTIONS : power : 620 : -mcpu=620 ; --cpu-flags gcc OPTIONS : power : 630 : -mcpu=630 ; --cpu-flags gcc OPTIONS : power : 740 : -mcpu=740 ; --cpu-flags gcc OPTIONS : power : 7400 : -mcpu=7400 ; --cpu-flags gcc OPTIONS : power : 7450 : -mcpu=7450 ; --cpu-flags gcc OPTIONS : power : 750 : -mcpu=750 ; --cpu-flags gcc OPTIONS : power : 801 : -mcpu=801 ; --cpu-flags gcc OPTIONS : power : 821 : -mcpu=821 ; --cpu-flags gcc OPTIONS : power : 823 : -mcpu=823 ; --cpu-flags gcc OPTIONS : power : 860 : -mcpu=860 ; --cpu-flags gcc OPTIONS : power : 970 : -mcpu=970 ; --cpu-flags gcc OPTIONS : power : 8540 : -mcpu=8540 ; --cpu-flags gcc OPTIONS : power : power : -mcpu=power ; --cpu-flags gcc OPTIONS : power : power2 : -mcpu=power2 ; --cpu-flags gcc OPTIONS : power : power3 : -mcpu=power3 ; --cpu-flags gcc OPTIONS : power : power4 : -mcpu=power4 ; --cpu-flags gcc OPTIONS : power : power5 : -mcpu=power5 ; --cpu-flags gcc OPTIONS : power : powerpc : -mcpu=powerpc ; --cpu-flags gcc OPTIONS : power : powerpc64 : -mcpu=powerpc64 ; --cpu-flags gcc OPTIONS : power : rios : -mcpu=rios ; --cpu-flags gcc OPTIONS : power : rios1 : -mcpu=rios1 ; --cpu-flags gcc OPTIONS : power : rios2 : -mcpu=rios2 ; --cpu-flags gcc OPTIONS : power : rsc : -mcpu=rsc ; --cpu-flags gcc OPTIONS : power : rs64a : -mcpu=rs64 ; --cpu-flags gcc OPTIONS : s390x : z196 : -march=z196 ; --cpu-flags gcc OPTIONS : s390x : zEC12 : -march=zEC12 ; --cpu-flags gcc OPTIONS : s390x : z13 : -march=z13 ; --cpu-flags gcc OPTIONS : s390x : z14 : -march=z14 ; --cpu-flags gcc OPTIONS : s390x : z15 : -march=z15 ; - # ARM --cpu-flags gcc OPTIONS : arm : cortex-a9+vfpv3 : -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard ; --cpu-flags gcc OPTIONS : arm : cortex-a53 : -mcpu=cortex-a53 ; --cpu-flags gcc OPTIONS : arm : cortex-r5 : -mcpu=cortex-r5 ; --cpu-flags gcc OPTIONS : arm : cortex-r5+vfpv3-d16 : -mcpu=cortex-r5 -mfpu=vfpv3-d16 -mfloat-abi=hard ; - # AIX variant of RS/6000 & PowerPC - toolset.flags gcc AROPTIONS 64/aix : "-X64" ; - diff --git a/dev-util/boost-build/files/boost-build-1.80.0-odr.patch b/dev-util/boost-build/files/boost-build-1.80.0-odr.patch deleted file mode 100644 index 62cbca189640..000000000000 --- a/dev-util/boost-build/files/boost-build-1.80.0-odr.patch +++ /dev/null @@ -1,54 +0,0 @@ -Avoid ODR violations by giving "_stack" internal linkage -https://bugs.gentoo.org/858320 - ---- a/engine/function.cpp -+++ b/engine/function.cpp -@@ -213,11 +213,11 @@ - } JAM_FUNCTION; - - -+namespace -+{ - typedef struct _stack STACK; - typedef STACK* stack_ptr; - --namespace --{ - template - using remove_cref_t - = typename std::remove_const< -@@ -260,7 +260,6 @@ - typename select_last_impl<(sizeof...(A) == 1), type_list > - ::template type; - #endif --} - - struct _stack - { -@@ -439,6 +438,8 @@ - cleanups_size += n; - } - -+} -+ - static STACK * stack_global() - { - static _stack singleton; ---- a/engine/make1.cpp -+++ b/engine/make1.cpp -@@ -86,6 +86,7 @@ - #define T_STATE_MAKE1B 1 /* make1b() should be called */ - #define T_STATE_MAKE1C 2 /* make1c() should be called */ - -+namespace { - typedef struct _state state; - struct _state - { -@@ -94,6 +95,7 @@ - TARGET * parent; /* parent argument necessary for MAKE1A */ - int32_t curstate; /* current state */ - }; -+} - - static void make1a( state * const ); - static void make1b( state * const ); diff --git a/dev-util/boost-build/files/boost-build-1.80.0-respect-user-flags.patch b/dev-util/boost-build/files/boost-build-1.80.0-respect-user-flags.patch deleted file mode 100644 index b0de4f0e885f..000000000000 --- a/dev-util/boost-build/files/boost-build-1.80.0-respect-user-flags.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/engine/build.sh -+++ b/engine/build.sh -@@ -496,7 +496,7 @@ modules/set.cpp \ - if test_true ${B2_DEBUG_OPT} ; then B2_CXXFLAGS="${B2_CXXFLAGS_DEBUG}" - else B2_CXXFLAGS="${B2_CXXFLAGS_RELEASE} -DNDEBUG" - fi -- ( B2_VERBOSE_OPT=${TRUE} echo_run ${B2_CXX} ${B2_CXXFLAGS} ${B2_SOURCES} -o b2 ) -+ ( B2_VERBOSE_OPT=${TRUE} echo_run ${B2_CXX} ${CPPFLAGS} ${B2_CXXFLAGS} ${LDFLAGS} ${B2_SOURCES} -o b2 ) - } - - if test_true ${B2_VERBOSE_OPT} ; then diff --git a/dev-util/difftastic/Manifest b/dev-util/difftastic/Manifest index 09a767a2d9f1..eb92cf7eba55 100644 --- a/dev-util/difftastic/Manifest +++ b/dev-util/difftastic/Manifest @@ -18,8 +18,8 @@ DIST crossbeam-epoch-0.9.8.crate 46012 BLAKE2B 181df06d1a9925ad1b3e2df70f290fc9c DIST crossbeam-utils-0.8.8.crate 39681 BLAKE2B 2b3e64bfcaa044a9351c1cc8e9ea53fd68fd0bb9875ae523e0cd309a85ad23b340267bdb742d363b5d99fc065ed74f6cbb3ad1e33dec7d14d99ec458875e7e10 SHA512 ab960afdb82863160a3fa1c21c64b35b3112725bd72fc8e0724175937f4b23d0628253032229501938cd86a8e406a59c06cb44e8bdf34619de781a84ebb46ea0 DIST ctor-0.1.22.crate 9311 BLAKE2B a13fb97cf767fae19486ca8b970f1712bfcf4ec9edda40c01add4bdb7a81e9136acb1208c79763cd612160bf39b342460fecc334c6e421e7f7ff610c4bc44e2f SHA512 cd7c60dae8fb19c3b10e0bf1ffbcedac90cbbd147d564335e4da2d5483f64ea3dc10ad17d7573b00958db0a72cce45f8b7bc10c32864dd943fe64df8d22aaaab DIST diff-0.1.12.crate 10223 BLAKE2B 369f305661f1da31207f3801ed1841dbce12451ac9c3e9d3736f7158ece433af9b2e42c29063e5d93bb86b1d300e503caa9c3ce7dd0b25553f91d72a9eea5298 SHA512 0e81331c0424e9369963e23894a6412b65a3ed4f3154ccc184fc84cf1c5985b81c586a6b34e8c6c0e5c3afba38fb15277cfd89e7f50c85bd5d8d4d24ba670d16 -DIST difftastic-0.32.0.gh.tar.gz 26712270 BLAKE2B 3ff97b6169111a7bc3a728f857333621ef262ca7ff538bc887f424fe8636732d9db4efa3b924b8893917cc0dbcf63f76d3a6a9aa0213fa4289447bd7b52f1b25 SHA512 a76a7e87d4a92bab5db8578aa450c1a1be12cc1a6ac37525832232b098516ec78b964b3bab98bd5875b3ba0ccc712122d08101bb2db317c2a6dd66de3abae642 DIST difftastic-0.34.0.gh.tar.gz 26757611 BLAKE2B 29d929c3ac471e956b8f34dc8170e02dbc7cf1b41a5b2477836120e400e6dc76524c7a5afff51e7469138517ed256ac00822c6d95ad09eef8ba0649c0fd18333 SHA512 b394d6cec02eaf9adaab4780639f1a93a8709aa2e4d9d83b526c17dcac709c38789974fac9d4c56e39f558c20b496059ea468993ffba3571283fba61114e4a5b +DIST difftastic-0.35.0.gh.tar.gz 26842590 BLAKE2B 813886175ab24c1398e72f180114bd456eca61ce6e9112ce33bd28e16696e023c5f8822a435e1df07167f0bd82014a1d905fa0925a7794df5f85249e4f448c23 SHA512 356d1a5cb91eb016099ceaae4ce21b95fd2bbf7021e043277fa354f379a0ebcfd43a7c1f459d6509aa5112acab3529cd7f66491ce2c7a5cc1d7688bd635fc436 DIST either-1.6.1.crate 13641 BLAKE2B e5f40c40a5edb6dcb07a10bf79183cbe42438f1f70f3932dce72f6f6e91f75f24d17d82bc447507def4dad4345ffc9dd9162dde778afb253bdb1218e91887949 SHA512 4bfe56920e30cbc8eb4f90162db618f7dca653b42db35ab6a7045d3fd9a24ceb1778b1f79613850bdb1a87ad3794fa0d73015e46c48d513f368d8c3776fc9ddf DIST env_logger-0.7.1.crate 32281 BLAKE2B 6f1894c64f301ca4b687270c911dbe230f674662aa0561b97c4d2537886e404664b5773d4e223e2018047c222a951232c3cb52ec5bddbfb6665e34c3e7ea52f5 SHA512 604060d2ee83ab337a2d20d6784d1b7541534d2fd9e1662fc5c709fa681672a9db5e34d00face864b56ae321962e644ebe29fbb6d68a0d556419cf5d71c6149f DIST errno-0.2.8.crate 9276 BLAKE2B b73738deb47d1f76ec91ffd15558126d32312647b82677290725669edb01b8f34a503172fad6518ebf0ffb1633ef0afaf0750982b9384a9fb87833d31721c9a8 SHA512 1f513743224cd9a9b7e4caaf33dab075a4a79efa90c9f46c9edfb0c8600daccd3ad2677ba2116621e19fcf8be456954da5d611cbcea4b6f1410f7731828b50d1 @@ -90,6 +90,6 @@ DIST windows_i686_msvc-0.36.1.crate 724575 BLAKE2B cf964bec007d8432e2009644cf7f8 DIST windows_x86_64_gnu-0.36.1.crate 790934 BLAKE2B 9dec5d966bdc89efbc81989acca242d519f51676ec37487df2bfacd6bfbc5a8de2871be72c5b96a073a899c666e3a39aa60d493e7df39fa90efe869fb744a332 SHA512 598b69e4f2cd3d68f910d526a66dadb465ff30a8c261c9a4455aa1c5b952d23c04f8edaa063cd16fb43564c116a13f06d607f3a0a9c7495054b8bfe1c04d1865 DIST windows_x86_64_msvc-0.36.1.crate 661999 BLAKE2B 4cf967f10d4ce148bac967598168752d1996b4ddf5278a8fca53360566c37c1a014bfb4dfdc0ae2d96e01196c42eb4906ea80d8e9dd23b9e9f3163631c9e253e SHA512 89c22ed51a74f531662d80ae0fa5e0215728db1e6caf3c13eaeba95a93548b43c00b8474f52553ac866ac83c203b6c22dc44fbc870e882a4c9c97ba54b87c631 DIST wu-diff-0.1.2.crate 33439 BLAKE2B 78b90ed8a42b3a7a1697f92227edb9f0cb8e74583edf8079b8f85110f6fc049eb68370e93ead3940ae222d108c2f18b7f301e9285968e046d362669a79bbb3ca SHA512 6d93c8854dba66f48f736db3f9e997d11d07a0fef3e13219716e553c0f5936f1d00468b88d9164329cfd195271aa242ec7dfd58560074f1a41e8558719ba5af0 -EBUILD difftastic-0.32.0.ebuild 2313 BLAKE2B bf57e684cd5a5e8d0f3f95ee97879c3fa3584a7f4b45c412b8690a4f2ca48ee78b4987de0291c7052c1c7322b6048b3c8e1f60a24fea7056c8b6e242d02ca012 SHA512 cdc8b87101ab07a6ff3ea171b2b908e1bdfc2d571fba8489b3b05af400e7bd25440f8b772291046eefb328244df03e4ce4b589f4f13f9f840978ab0386f1faaa EBUILD difftastic-0.34.0.ebuild 2618 BLAKE2B 9b1a5565e2613fd7cafa79720b21c95ff36006e1e79cbe4b51c841354818879e088382484ef5460f3644ae7287281c932b476d3bd864bda4119575b8c42c2117 SHA512 1a55609253bd41107dc61b4e39523d8cfacb175be6458ef1d6dc309c4895c6a931b9dbf137d2d56ef7afcdeef6a2f079e7d7e599b4c9075b0c4fead807645e1e +EBUILD difftastic-0.35.0.ebuild 2635 BLAKE2B 6eca1b44f20ee648a5171375106b595ad7cdb249f1dd6d55be44dbeda13b1595b32ca6eba0672f2cd89eb8c35fe3eaa0ebc723ddcf5f542db7c0c4c265fe6b8c SHA512 7ce878cea65ad76cbdf4baa5c489c001bbdde766afbd9f86256ee7bb71020e482174a582041c7915e28bc9b2a3051317f1fe37451697e0e602c71fc9e8870f2b MISC metadata.xml 333 BLAKE2B 3ba43124273c8969651c7ff68c86718cf0484850e98b2e5de2b4aaacea67e95609b286c6156dc74cb1fa1201e198f0cb685b9cb1f80a6c81cfb8b712dec96a05 SHA512 0726b7ca030ff47d0a304f30f97671e7274905c9c5187edd61eba9224207430ad1cd98d76ecb4120f8b9d722e628834f7bc3d0a3734ef22f0df48fcb44c6c2b3 diff --git a/dev-util/difftastic/difftastic-0.32.0.ebuild b/dev-util/difftastic/difftastic-0.32.0.ebuild deleted file mode 100644 index 3e049575a92d..000000000000 --- a/dev-util/difftastic/difftastic-0.32.0.ebuild +++ /dev/null @@ -1,121 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Auto-Generated by cargo-ebuild 0.5.1 - -EAPI=8 - -CRATES=" - aho-corasick-0.7.18 - ansi_term-0.12.1 - archery-0.4.0 - atty-0.2.14 - autocfg-1.1.0 - bitflags-1.3.2 - bumpalo-3.9.1 - bytecount-0.6.2 - cc-1.0.73 - cfg-if-1.0.0 - clap-3.1.18 - clap_lex-0.2.0 - const_format-0.2.23 - const_format_proc_macros-0.2.22 - crossbeam-channel-0.5.4 - crossbeam-deque-0.8.1 - crossbeam-epoch-0.9.8 - crossbeam-utils-0.8.8 - ctor-0.1.22 - diff-0.1.12 - either-1.6.1 - env_logger-0.7.1 - fixedbitset-0.4.1 - fnv-1.0.7 - hashbrown-0.11.2 - hermit-abi-0.1.19 - humantime-1.3.0 - indexmap-1.7.0 - itertools-0.10.3 - lazy_static-1.4.0 - libc-0.2.126 - libmimalloc-sys-0.1.24 - log-0.4.17 - memchr-2.5.0 - memoffset-0.6.5 - mimalloc-0.1.28 - minimal-lexical-0.2.1 - nom-7.1.1 - num_cpus-1.13.1 - once_cell-1.12.0 - os_str_bytes-6.0.1 - output_vt100-0.1.3 - owo-colors-3.4.0 - petgraph-0.6.1 - pretty_assertions-1.2.1 - pretty_env_logger-0.4.0 - proc-macro2-1.0.39 - quick-error-1.2.3 - quote-1.0.18 - radix-heap-0.4.2 - rayon-1.5.3 - rayon-core-1.9.3 - regex-1.5.6 - regex-syntax-0.6.26 - rpds-0.10.0 - rustc-hash-1.1.0 - same-file-1.0.6 - scopeguard-1.1.0 - static_assertions-1.1.0 - strsim-0.10.0 - syn-1.0.95 - term_size-0.3.2 - termcolor-1.1.3 - terminal_size-0.1.17 - textwrap-0.15.0 - tree-sitter-0.20.6 - tree_magic_mini-3.0.3 - typed-arena-2.0.1 - unicode-ident-1.0.0 - unicode-width-0.1.9 - unicode-xid-0.2.3 - walkdir-2.3.2 - winapi-0.3.9 - winapi-i686-pc-windows-gnu-0.4.0 - winapi-util-0.1.5 - winapi-x86_64-pc-windows-gnu-0.4.0 - wu-diff-0.1.2 -" - -inherit cargo - -DESCRIPTION="A structural diff that understands syntax." -# Double check the homepage as the cargo_metadata crate -# does not provide this value so instead repository is used -HOMEPAGE="https://github.com/wilfred/difftastic" -SRC_URI=" - $(cargo_crate_uris ${CRATES}) - https://github.com/Wilfred/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz -" - -# License set may be more restrictive as OR is not respected -# use cargo-license for a more accurate license picture -LICENSE="Apache-2.0 MIT MPL-2.0 Unlicense ZLIB" -SLOT="0" -KEYWORDS="~amd64" - -QA_FLAGS_IGNORED="usr/bin/difft" - -DOCS=( - CHANGELOG.md - README.md - manual/ -) - -src_prepare() { - rm manual/.gitignore || die - default -} - -src_install() { - cargo_src_install - dodoc -r "${DOCS[@]}" -} diff --git a/dev-util/difftastic/difftastic-0.35.0.ebuild b/dev-util/difftastic/difftastic-0.35.0.ebuild new file mode 100644 index 000000000000..75a3ce21b10b --- /dev/null +++ b/dev-util/difftastic/difftastic-0.35.0.ebuild @@ -0,0 +1,134 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Auto-Generated by cargo-ebuild 0.5.2 + +EAPI=8 + +CRATES=" + aho-corasick-0.7.18 + ansi_term-0.12.1 + archery-0.4.0 + atty-0.2.14 + autocfg-1.1.0 + bitflags-1.3.2 + bumpalo-3.9.1 + bytecount-0.6.2 + cc-1.0.73 + cfg-if-1.0.0 + clap-3.1.18 + clap_lex-0.2.0 + const_format-0.2.23 + const_format_proc_macros-0.2.22 + crossbeam-channel-0.5.4 + crossbeam-deque-0.8.1 + crossbeam-epoch-0.9.8 + crossbeam-utils-0.8.8 + ctor-0.1.22 + diff-0.1.12 + either-1.6.1 + env_logger-0.7.1 + errno-0.2.8 + errno-dragonfly-0.1.2 + fixedbitset-0.4.1 + fnv-1.0.7 + hashbrown-0.11.2 + hermit-abi-0.1.19 + humantime-1.3.0 + indexmap-1.7.0 + io-lifetimes-0.7.3 + itertools-0.10.3 + lazy_static-1.4.0 + libc-0.2.126 + libmimalloc-sys-0.1.24 + linux-raw-sys-0.0.46 + log-0.4.17 + memchr-2.5.0 + memoffset-0.6.5 + mimalloc-0.1.28 + minimal-lexical-0.2.1 + nom-7.1.1 + num_cpus-1.13.1 + once_cell-1.12.0 + os_str_bytes-6.0.1 + output_vt100-0.1.3 + owo-colors-3.4.0 + petgraph-0.6.1 + pretty_assertions-1.2.1 + pretty_env_logger-0.4.0 + proc-macro2-1.0.39 + quick-error-1.2.3 + quote-1.0.18 + radix-heap-0.4.2 + rayon-1.5.3 + rayon-core-1.9.3 + regex-1.5.6 + regex-syntax-0.6.26 + rpds-0.10.0 + rustc-hash-1.1.0 + rustix-0.35.9 + same-file-1.0.6 + scopeguard-1.1.0 + static_assertions-1.1.0 + strsim-0.10.0 + syn-1.0.95 + term_size-0.3.2 + termcolor-1.1.3 + terminal_size-0.1.17 + terminal_size-0.2.1 + textwrap-0.15.0 + tree-sitter-0.20.6 + tree_magic_mini-3.0.3 + typed-arena-2.0.1 + unicode-ident-1.0.0 + unicode-width-0.1.9 + unicode-xid-0.2.3 + version_check-0.9.4 + walkdir-2.3.2 + winapi-0.3.9 + winapi-i686-pc-windows-gnu-0.4.0 + winapi-util-0.1.5 + winapi-x86_64-pc-windows-gnu-0.4.0 + windows-sys-0.36.1 + windows_aarch64_msvc-0.36.1 + windows_i686_gnu-0.36.1 + windows_i686_msvc-0.36.1 + windows_x86_64_gnu-0.36.1 + windows_x86_64_msvc-0.36.1 + wu-diff-0.1.2 +" + +inherit cargo + +DESCRIPTION="A structural diff that understands syntax." +# Double check the homepage as the cargo_metadata crate +# does not provide this value so instead repository is used +HOMEPAGE="https://github.com/wilfred/difftastic" +SRC_URI=" + $(cargo_crate_uris ${CRATES}) + https://github.com/Wilfred/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz +" + +# License set may be more restrictive as OR is not respected +# use cargo-license for a more accurate license picture +LICENSE="Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT MPL-2.0 Unlicense ZLIB" +SLOT="0" +KEYWORDS="~amd64" + +QA_FLAGS_IGNORED="usr/bin/difft" + +DOCS=( + CHANGELOG.md + README.md + manual/ +) + +src_prepare() { + rm manual/.gitignore || die + default +} + +src_install() { + cargo_src_install + dodoc -r "${DOCS[@]}" +} diff --git a/dev-util/systemtap/Manifest b/dev-util/systemtap/Manifest index 13ddd8930648..b8c300a315b3 100644 --- a/dev-util/systemtap/Manifest +++ b/dev-util/systemtap/Manifest @@ -8,5 +8,5 @@ EBUILD systemtap-4.4.ebuild 2885 BLAKE2B 3ab515c217ac8b58b70a2c46e44e2f3fbc55f5f EBUILD systemtap-4.5-r1.ebuild 3257 BLAKE2B 820e5ab1f3e123c2e265c89f77dd02964603641ac9b47c1de1187f130b8d4b68b039c6f44ad4e6d8792ab705570aa0982fe8d8676001abf672d4d36812505497 SHA512 5522e91b54d98aec2a304b7b26c450e48ddf50a315db51d35c09246a1f9ef4fe60b2db9d8ecec4d605e571a843b403163239f59b16f13edee0858eb75a6e72c6 EBUILD systemtap-4.5.ebuild 2821 BLAKE2B 45cd56187b5b8da6a7e815f0953c2d826ce668f1018910501c267ab7a145c7cabe4a615643a05b4180dbbe59e679c8fb913d3235a0f1d7bd03a57f7b7ffbb00d SHA512 b19089f6c2efc45620045abe7be37963136beb5c453645be1f7f1b52ed007c733291907334843de71cbb11e4089b5935703cd0f17ff6ecf9672a40ba13649cae EBUILD systemtap-4.6.ebuild 3264 BLAKE2B 36768eae7877b68327662f9b125689c51ab74a44915709a58136af03031d88aad996c377dd8d8d66f14007a7b013cdb4d88339fb049ecf2a9712f276d260958e SHA512 c3ab1a88139b673e5c13e72d44b4e4dd60c296319a249e9f789bfa9b99c4e26e7d6cd0fb1eaff066c54bc45f9b03842ed4e1a7b0464b79ccb108d6ca8aaac0fc -EBUILD systemtap-4.7.ebuild 3264 BLAKE2B 36768eae7877b68327662f9b125689c51ab74a44915709a58136af03031d88aad996c377dd8d8d66f14007a7b013cdb4d88339fb049ecf2a9712f276d260958e SHA512 c3ab1a88139b673e5c13e72d44b4e4dd60c296319a249e9f789bfa9b99c4e26e7d6cd0fb1eaff066c54bc45f9b03842ed4e1a7b0464b79ccb108d6ca8aaac0fc +EBUILD systemtap-4.7-r1.ebuild 3280 BLAKE2B a291e7dd6484e532ee9ac9c5a387827ff773760ca98abcb33a56b8f72c730f10799e9d6d4f2e033a80a710b9407f438418da2aec1e4de0c9b420c140dc73c4b3 SHA512 9c5dae0918eac6b289cd58414fae6b0ac1e46a6388e92ef28a1c0e2447a3e389aab5bb9e186e45ec94836046c82ade97266563297d4485a8996e43138698c1f6 MISC metadata.xml 303 BLAKE2B 5db95d500a08d656d0221a474d297c8357712f19334f45db347e36f14a10365d65777e0d24c68f75d4855b3ee1778dca1ecf4a05b19d2dd3975acf25a12b4523 SHA512 27261bc875c881495a9b0e1fffc811dff40b763a9e6453ca47143cb8d7d867682becd7266f8d559ad8c32bb5d7de9698341055d483f3e6a68b107895aa174b77 diff --git a/dev-util/systemtap/systemtap-4.7-r1.ebuild b/dev-util/systemtap/systemtap-4.7-r1.ebuild new file mode 100644 index 000000000000..8b1337d9a590 --- /dev/null +++ b/dev-util/systemtap/systemtap-4.7-r1.ebuild @@ -0,0 +1,127 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} pypy3 ) + +inherit autotools linux-info python-single-r1 + +DESCRIPTION="A linux trace/probe tool" +HOMEPAGE="https://www.sourceware.org/systemtap" +SRC_URI="https://www.sourceware.org/${PN}/ftp/releases/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="libvirt selinux sqlite +ssl test zeroconf" + +CDEPEND=" + ${PYTHON_DEPS} + + dev-libs/boost:= + >=dev-libs/elfutils-0.142 + dev-libs/json-c:= + sys-libs/ncurses:= + sys-libs/readline:= + + libvirt? ( >=app-emulation/libvirt-1.0.2 ) + selinux? ( sys-libs/libselinux ) + sqlite? ( dev-db/sqlite:3 ) + ssl? ( + dev-libs/nspr + dev-libs/nss + ) + zeroconf? ( net-dns/avahi ) +" +DEPEND=" + ${CDEPEND} + app-arch/cpio + app-text/xmlto + $(python_gen_cond_dep 'dev-python/setuptools[${PYTHON_USEDEP}]') + >=sys-devel/gettext-0.18.2 + + libvirt? ( dev-libs/libxml2 ) +" +RDEPEND=" + ${CDEPEND} + acct-group/stapdev + acct-group/stapsys + acct-group/stapusr +" +BDEPEND="test? ( dev-util/dejagnu )" + +CONFIG_CHECK="~KPROBES ~RELAY ~DEBUG_FS" +ERROR_KPROBES="${PN} requires support for KProbes Instrumentation (KPROBES) - this can be enabled in 'Instrumentation Support -> Kprobes'." +ERROR_RELAY="${PN} works with support for user space relay support (RELAY) - this can be enabled in 'General setup -> Kernel->user space relay support (formerly relayfs)'." +ERROR_DEBUG_FS="${PN} works best with support for Debug Filesystem (DEBUG_FS) - this can be enabled in 'Kernel hacking -> Debug Filesystem'." + +DOCS="AUTHORS HACKING NEWS README" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="!test? ( test )" +PATCHES=( + "${FILESDIR}/${PN}-3.1-ia64.patch" +) + +pkg_setup() { + linux-info_pkg_setup + python-single-r1_pkg_setup +} + +src_prepare() { + python_fix_shebang . + + sed -i \ + -e 's|-Werror||g' \ + configure.ac \ + Makefile.am \ + stapbpf/Makefile.am \ + stapdyn/Makefile.am \ + staprun/Makefile.am \ + testsuite/systemtap.unprivileged/unprivileged_probes.exp \ + testsuite/systemtap.unprivileged/unprivileged_myproc.exp \ + testsuite/systemtap.base/stmt_rel_user.exp \ + testsuite/systemtap.base/sdt_va_args.exp \ + testsuite/systemtap.base/sdt_misc.exp \ + testsuite/systemtap.base/sdt.exp \ + scripts/kprobes_test/gen_code.py \ + || die "Failed to clean up sources" + + default + eautoreconf +} + +src_configure() { + local myeconfargs=( + --disable-docs + --disable-grapher + --disable-refdocs + --disable-server + # Our toolchain sets this for us already and adding in + # -D_FORTIFY_SOURCE=2 breaks builds w/ no optimisation. + # This option (at least as of 4.5) doesn't pass -fno* etc, + # it just doesn't _add_ options, which is good. If it changes + # to actually pass -fno-stack-protector and friends, we'll + # need to change course. Forcing =2 also has problems for + # setting it to 3. + # bug #794667. + --disable-ssp + --enable-pie + --with-python3 + --without-java + --without-openssl + --without-python2-probes + --without-rpm + $(use_enable libvirt virt) + $(use_enable sqlite) + $(use_with zeroconf avahi) + $(use_with ssl nss) + $(use_with selinux) + ) + PYTHON3="${PYTHON}" econf "${myeconfargs[@]}" +} + +src_install() { + default + python_optimize +} diff --git a/dev-util/systemtap/systemtap-4.7.ebuild b/dev-util/systemtap/systemtap-4.7.ebuild deleted file mode 100644 index a4f2a7d2663b..000000000000 --- a/dev-util/systemtap/systemtap-4.7.ebuild +++ /dev/null @@ -1,126 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..10} pypy3 ) - -inherit autotools linux-info python-single-r1 - -DESCRIPTION="A linux trace/probe tool" -HOMEPAGE="https://www.sourceware.org/systemtap" -SRC_URI="https://www.sourceware.org/${PN}/ftp/releases/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="libvirt selinux sqlite +ssl test zeroconf" - -CDEPEND=" - ${PYTHON_DEPS} - - >=dev-libs/elfutils-0.142 - dev-libs/json-c:= - sys-libs/ncurses:0= - sys-libs/readline:0= - - libvirt? ( >=app-emulation/libvirt-1.0.2 ) - selinux? ( sys-libs/libselinux ) - sqlite? ( dev-db/sqlite:3 ) - ssl? ( - dev-libs/nspr - dev-libs/nss - ) - zeroconf? ( net-dns/avahi ) -" -DEPEND=" - ${CDEPEND} - app-arch/cpio - app-text/xmlto - $(python_gen_cond_dep 'dev-python/setuptools[${PYTHON_USEDEP}]') - >=sys-devel/gettext-0.18.2 - - libvirt? ( dev-libs/libxml2 ) -" -RDEPEND=" - ${CDEPEND} - acct-group/stapdev - acct-group/stapsys - acct-group/stapusr -" -BDEPEND="test? ( dev-util/dejagnu )" - -CONFIG_CHECK="~KPROBES ~RELAY ~DEBUG_FS" -ERROR_KPROBES="${PN} requires support for KProbes Instrumentation (KPROBES) - this can be enabled in 'Instrumentation Support -> Kprobes'." -ERROR_RELAY="${PN} works with support for user space relay support (RELAY) - this can be enabled in 'General setup -> Kernel->user space relay support (formerly relayfs)'." -ERROR_DEBUG_FS="${PN} works best with support for Debug Filesystem (DEBUG_FS) - this can be enabled in 'Kernel hacking -> Debug Filesystem'." - -DOCS="AUTHORS HACKING NEWS README" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" -RESTRICT="!test? ( test )" -PATCHES=( - "${FILESDIR}/${PN}-3.1-ia64.patch" -) - -pkg_setup() { - linux-info_pkg_setup - python-single-r1_pkg_setup -} - -src_prepare() { - python_fix_shebang . - - sed -i \ - -e 's|-Werror||g' \ - configure.ac \ - Makefile.am \ - stapbpf/Makefile.am \ - stapdyn/Makefile.am \ - staprun/Makefile.am \ - testsuite/systemtap.unprivileged/unprivileged_probes.exp \ - testsuite/systemtap.unprivileged/unprivileged_myproc.exp \ - testsuite/systemtap.base/stmt_rel_user.exp \ - testsuite/systemtap.base/sdt_va_args.exp \ - testsuite/systemtap.base/sdt_misc.exp \ - testsuite/systemtap.base/sdt.exp \ - scripts/kprobes_test/gen_code.py \ - || die "Failed to clean up sources" - - default - eautoreconf -} - -src_configure() { - local myeconfargs=( - --disable-docs - --disable-grapher - --disable-refdocs - --disable-server - # Our toolchain sets this for us already and adding in - # -D_FORTIFY_SOURCE=2 breaks builds w/ no optimisation. - # This option (at least as of 4.5) doesn't pass -fno* etc, - # it just doesn't _add_ options, which is good. If it changes - # to actually pass -fno-stack-protector and friends, we'll - # need to change course. Forcing =2 also has problems for - # setting it to 3. - # bug #794667. - --disable-ssp - --enable-pie - --with-python3 - --without-java - --without-openssl - --without-python2-probes - --without-rpm - $(use_enable libvirt virt) - $(use_enable sqlite) - $(use_with zeroconf avahi) - $(use_with ssl nss) - $(use_with selinux) - ) - PYTHON3="${PYTHON}" econf "${myeconfargs[@]}" -} - -src_install() { - default - python_optimize -} -- cgit v1.2.3