commit:     4998b85bb5790bcccc3851567d9a82d7db29772a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 17 21:16:01 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar 17 21:16:14 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4998b85b

dev-debug/gdb: add USE=babeltrace

Previously automagic.

Closes: https://bugs.gentoo.org/915017
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-debug/gdb/{gdb-15.2-r102.ebuild => gdb-15.2-r103.ebuild} | 4 +++-
 dev-debug/gdb/{gdb-16.2-r1.ebuild => gdb-16.2-r2.ebuild}     | 4 +++-
 dev-debug/gdb/gdb-9999.ebuild                                | 4 +++-
 dev-debug/gdb/metadata.xml                                   | 1 +
 profiles/arch/hppa/package.use.mask                          | 4 ++++
 profiles/arch/mips/package.use.mask                          | 4 ++++
 profiles/arch/s390/package.use.mask                          | 4 ++++
 profiles/arch/sparc/package.use.mask                         | 4 ++++
 8 files changed, 26 insertions(+), 3 deletions(-)

diff --git a/dev-debug/gdb/gdb-15.2-r102.ebuild 
b/dev-debug/gdb/gdb-15.2-r103.ebuild
similarity index 97%
rename from dev-debug/gdb/gdb-15.2-r102.ebuild
rename to dev-debug/gdb/gdb-15.2-r103.ebuild
index eb2ff033467b..37ff9d538bf0 100644
--- a/dev-debug/gdb/gdb-15.2-r102.ebuild
+++ b/dev-debug/gdb/gdb-15.2-r103.ebuild
@@ -73,7 +73,7 @@ SRC_URI="
 
 LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
-IUSE="cet debuginfod guile lzma multitarget nls +python rocm +server sim 
source-highlight test vanilla xml xxhash zstd"
+IUSE="babeltrace cet debuginfod guile lzma multitarget nls +python rocm 
+server sim source-highlight test vanilla xml xxhash zstd"
 if [[ -n ${REGULAR_RELEASE} ]] ; then
        KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 fi
@@ -90,6 +90,7 @@ RDEPEND="
        >=sys-libs/ncurses-5.2-r2:=
        >=sys-libs/readline-7:=
        sys-libs/zlib
+       babeltrace? ( dev-util/babeltrace:= )
        debuginfod? (
                dev-libs/elfutils[debuginfod(-)]
        )
@@ -198,6 +199,7 @@ src_configure() {
                # Disable modules that are in a combined binutils/gdb tree. bug 
#490566
                --disable-{binutils,etc,gas,gold,gprof,gprofng,ld}
 
+               $(use_with babeltrace)
                $(use_with debuginfod)
 
                $(use_enable test unit-tests)

diff --git a/dev-debug/gdb/gdb-16.2-r1.ebuild b/dev-debug/gdb/gdb-16.2-r2.ebuild
similarity index 98%
rename from dev-debug/gdb/gdb-16.2-r1.ebuild
rename to dev-debug/gdb/gdb-16.2-r2.ebuild
index a53fd2dfbea4..94a55473c3a3 100644
--- a/dev-debug/gdb/gdb-16.2-r1.ebuild
+++ b/dev-debug/gdb/gdb-16.2-r2.ebuild
@@ -77,7 +77,7 @@ SRC_URI="
 
 LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
-IUSE="cet debuginfod guile lzma multitarget nls +python rocm +server sim 
source-highlight test vanilla xml xxhash zstd"
+IUSE="babeltrace cet debuginfod guile lzma multitarget nls +python rocm 
+server sim source-highlight test vanilla xml xxhash zstd"
 if [[ -n ${REGULAR_RELEASE} ]] ; then
        KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 fi
@@ -94,6 +94,7 @@ RDEPEND="
        >=sys-libs/ncurses-5.2-r2:=
        >=sys-libs/readline-7:=
        sys-libs/zlib
+       babeltrace? ( dev-util/babeltrace:= )
        debuginfod? (
                dev-libs/elfutils[debuginfod(-)]
        )
@@ -202,6 +203,7 @@ src_configure() {
                # Disable modules that are in a combined binutils/gdb tree. bug 
#490566
                --disable-{binutils,etc,gas,gold,gprof,gprofng,ld}
 
+               $(use_with babeltrace)
                $(use_with debuginfod)
 
                $(use_enable test unit-tests)

diff --git a/dev-debug/gdb/gdb-9999.ebuild b/dev-debug/gdb/gdb-9999.ebuild
index a53fd2dfbea4..94a55473c3a3 100644
--- a/dev-debug/gdb/gdb-9999.ebuild
+++ b/dev-debug/gdb/gdb-9999.ebuild
@@ -77,7 +77,7 @@ SRC_URI="
 
 LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
-IUSE="cet debuginfod guile lzma multitarget nls +python rocm +server sim 
source-highlight test vanilla xml xxhash zstd"
+IUSE="babeltrace cet debuginfod guile lzma multitarget nls +python rocm 
+server sim source-highlight test vanilla xml xxhash zstd"
 if [[ -n ${REGULAR_RELEASE} ]] ; then
        KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 fi
@@ -94,6 +94,7 @@ RDEPEND="
        >=sys-libs/ncurses-5.2-r2:=
        >=sys-libs/readline-7:=
        sys-libs/zlib
+       babeltrace? ( dev-util/babeltrace:= )
        debuginfod? (
                dev-libs/elfutils[debuginfod(-)]
        )
@@ -202,6 +203,7 @@ src_configure() {
                # Disable modules that are in a combined binutils/gdb tree. bug 
#490566
                --disable-{binutils,etc,gas,gold,gprof,gprofng,ld}
 
+               $(use_with babeltrace)
                $(use_with debuginfod)
 
                $(use_enable test unit-tests)

diff --git a/dev-debug/gdb/metadata.xml b/dev-debug/gdb/metadata.xml
index a9c1d3521c85..69d4e98e2c0f 100644
--- a/dev-debug/gdb/metadata.xml
+++ b/dev-debug/gdb/metadata.xml
@@ -6,6 +6,7 @@
                <name>Gentoo Toolchain Project</name>
        </maintainer>
        <use>
+               <flag name="babeltrace">Enable <pkg>dev-util/babeltrace</pkg> 
support</flag>
                <flag name="cet">Enable Intel Control-flow Enforcement 
Technology.</flag>
                <flag name="lzma">Support lzma compression in ELF debug 
info</flag>
                <flag name="multitarget">Support all known targets in one gdb 
binary</flag>

diff --git a/profiles/arch/hppa/package.use.mask 
b/profiles/arch/hppa/package.use.mask
index f954f68764b3..f63c5033acd6 100644
--- a/profiles/arch/hppa/package.use.mask
+++ b/profiles/arch/hppa/package.use.mask
@@ -4,6 +4,10 @@
 # NOTE: When masking a USE flag due to missing keywords, please file a keyword
 # request bug for the hppa arch.
 
+# Sam James <[email protected]> (2025-03-17)
+# dev-util/babeltrace is not keyworded here
+dev-debug/gdb babeltrace
+
 # Ionen Wolkens <[email protected]> (2025-03-10)
 # media-libs/libopenmpt is not keyworded here
 media-video/ffmpeg openmpt

diff --git a/profiles/arch/mips/package.use.mask 
b/profiles/arch/mips/package.use.mask
index 530e1a1a93fb..ce0229853573 100644
--- a/profiles/arch/mips/package.use.mask
+++ b/profiles/arch/mips/package.use.mask
@@ -1,6 +1,10 @@
 # Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
+# Sam James <[email protected]> (2025-03-17)
+# dev-util/babeltrace is not keyworded here
+dev-debug/gdb babeltrace
+
 # Ionen Wolkens <[email protected]> (2025-03-10)
 # net-libs/rabbitmq-c is not keyworded here
 media-video/ffmpeg rabbitmq

diff --git a/profiles/arch/s390/package.use.mask 
b/profiles/arch/s390/package.use.mask
index 4f89ecfd4757..42ac85e4c742 100644
--- a/profiles/arch/s390/package.use.mask
+++ b/profiles/arch/s390/package.use.mask
@@ -1,6 +1,10 @@
 # Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
+# Sam James <[email protected]> (2025-03-17)
+# dev-util/babeltrace is not keyworded here
+dev-debug/gdb babeltrace
+
 # Sam James <[email protected]. (2025-01-14)
 # dev-cpp/benchmark is not yet keyworded here
 dev-libs/re2 benchmark

diff --git a/profiles/arch/sparc/package.use.mask 
b/profiles/arch/sparc/package.use.mask
index 32defbe1684a..c7544ff4acef 100644
--- a/profiles/arch/sparc/package.use.mask
+++ b/profiles/arch/sparc/package.use.mask
@@ -1,6 +1,10 @@
 # Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
+# Sam James <[email protected]> (2025-03-17)
+# dev-util/babeltrace is not keyworded here
+dev-debug/gdb babeltrace
+
 # Ionen Wolkens <[email protected]> (2025-03-10)
 # media-libs/libopenmpt is not keyworded here
 media-video/ffmpeg openmpt

Reply via email to