Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/
Date: Thu, 26 Aug 2021 23:21:45
Message-Id: 1630018517.26f2cf3987cf7734164f97b7abb50fc91bc8052b.sam@gentoo
1 commit: 26f2cf3987cf7734164f97b7abb50fc91bc8052b
2 Author: David Martí Huescar <Phireh <AT> fukurokuju <DOT> dev>
3 AuthorDate: Thu Aug 26 15:06:18 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 26 22:55:17 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26f2cf39
7
8 sys-devel/gdb: add guile USE flag
9
10 Add a new guile optional USE flag for GDB's scripting support.
11 Also adds the >=guile-2.0 optional dependency if such flag is active.
12
13 GDB has been compiling with '--without-guile' since #562902 and the option
14 seems to have been forgotten. Since GDB works with guile 2.0 to 3.0 it seems
15 about time to bring it back.
16
17 Package-Manager: Portage-3.0.20, Repoman-3.0.3
18 Signed-off-by: David Martí Huescar <Phireh <AT> fukurokuju.dev>
19 Bug: https://bugs.gentoo.org/562902
20 Closes: https://github.com/gentoo/gentoo/pull/22115
21 Signed-off-by: Sam James <sam <AT> gentoo.org>
22
23 sys-devel/gdb/gdb-10.1.ebuild | 6 +++---
24 sys-devel/gdb/gdb-10.2-r1.ebuild | 6 +++---
25 sys-devel/gdb/gdb-10.2.ebuild | 6 +++---
26 sys-devel/gdb/gdb-9999.ebuild | 6 +++---
27 4 files changed, 12 insertions(+), 12 deletions(-)
28
29 diff --git a/sys-devel/gdb/gdb-10.1.ebuild b/sys-devel/gdb/gdb-10.1.ebuild
30 index 43bc2989930..c751cccea85 100644
31 --- a/sys-devel/gdb/gdb-10.1.ebuild
32 +++ b/sys-devel/gdb/gdb-10.1.ebuild
33 @@ -46,7 +46,7 @@ SLOT="0"
34 if [[ ${PV} != 9999* ]] ; then
35 KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
36 fi
37 -IUSE="cet lzma multitarget nls +python +server source-highlight test vanilla xml xxhash"
38 +IUSE="cet guile lzma multitarget nls +python +server source-highlight test vanilla xml xxhash"
39 REQUIRED_USE="
40 python? ( ${PYTHON_REQUIRED_USE} )
41 "
42 @@ -65,6 +65,7 @@ RDEPEND="
43 sys-libs/zlib
44 lzma? ( app-arch/xz-utils )
45 python? ( ${PYTHON_DEPS} )
46 + guile? ( >=dev-scheme/guile-2.0 )
47 xml? ( dev-libs/expat )
48 source-highlight? (
49 dev-util/source-highlight
50 @@ -157,8 +158,6 @@ src_configure() {
51 --enable-64-bit-bfd
52 --disable-install-libbfd
53 --disable-install-libiberty
54 - # Disable guile for now as it requires guile-2.x #562902
55 - --without-guile
56 --enable-obsolete
57 # This only disables building in the readline subdir.
58 # For gdb itself, it'll use the system version.
59 @@ -176,6 +175,7 @@ src_configure() {
60 $(use multitarget && echo --enable-targets=all)
61 $(use_with python python "${EPYTHON}")
62 $(use_with xxhash)
63 + $(use_with guile)
64 )
65 if use sparc-solaris || use x86-solaris ; then
66 # disable largefile support
67
68 diff --git a/sys-devel/gdb/gdb-10.2-r1.ebuild b/sys-devel/gdb/gdb-10.2-r1.ebuild
69 index b5d5204d045..7440aef64f5 100644
70 --- a/sys-devel/gdb/gdb-10.2-r1.ebuild
71 +++ b/sys-devel/gdb/gdb-10.2-r1.ebuild
72 @@ -46,7 +46,7 @@ SLOT="0"
73 if [[ ${PV} != 9999* ]] ; then
74 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
75 fi
76 -IUSE="cet lzma multitarget nls +python +server source-highlight test vanilla xml xxhash"
77 +IUSE="cet guile lzma multitarget nls +python +server source-highlight test vanilla xml xxhash"
78 REQUIRED_USE="
79 python? ( ${PYTHON_REQUIRED_USE} )
80 "
81 @@ -65,6 +65,7 @@ RDEPEND="
82 sys-libs/zlib
83 lzma? ( app-arch/xz-utils )
84 python? ( ${PYTHON_DEPS} )
85 + guile? ( >=dev-scheme/guile-2.0 )
86 xml? ( dev-libs/expat )
87 source-highlight? (
88 dev-util/source-highlight
89 @@ -159,8 +160,6 @@ src_configure() {
90 --enable-64-bit-bfd
91 --disable-install-libbfd
92 --disable-install-libiberty
93 - # Disable guile for now as it requires guile-2.x #562902
94 - --without-guile
95 --enable-obsolete
96 # This only disables building in the readline subdir.
97 # For gdb itself, it'll use the system version.
98 @@ -178,6 +177,7 @@ src_configure() {
99 $(use multitarget && echo --enable-targets=all)
100 $(use_with python python "${EPYTHON}")
101 $(use_with xxhash)
102 + $(use_with guile)
103 )
104 if use sparc-solaris || use x86-solaris ; then
105 # disable largefile support
106
107 diff --git a/sys-devel/gdb/gdb-10.2.ebuild b/sys-devel/gdb/gdb-10.2.ebuild
108 index 9968e1b3e6a..bdb30edb1d9 100644
109 --- a/sys-devel/gdb/gdb-10.2.ebuild
110 +++ b/sys-devel/gdb/gdb-10.2.ebuild
111 @@ -46,7 +46,7 @@ SLOT="0"
112 if [[ ${PV} != 9999* ]] ; then
113 KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
114 fi
115 -IUSE="cet lzma multitarget nls +python +server source-highlight test vanilla xml xxhash"
116 +IUSE="cet guile lzma multitarget nls +python +server source-highlight test vanilla xml xxhash"
117 REQUIRED_USE="
118 python? ( ${PYTHON_REQUIRED_USE} )
119 "
120 @@ -65,6 +65,7 @@ RDEPEND="
121 sys-libs/zlib
122 lzma? ( app-arch/xz-utils )
123 python? ( ${PYTHON_DEPS} )
124 + guile? ( >=dev-scheme/guile-2.0 )
125 xml? ( dev-libs/expat )
126 source-highlight? (
127 dev-util/source-highlight
128 @@ -158,8 +159,6 @@ src_configure() {
129 --enable-64-bit-bfd
130 --disable-install-libbfd
131 --disable-install-libiberty
132 - # Disable guile for now as it requires guile-2.x #562902
133 - --without-guile
134 --enable-obsolete
135 # This only disables building in the readline subdir.
136 # For gdb itself, it'll use the system version.
137 @@ -177,6 +176,7 @@ src_configure() {
138 $(use multitarget && echo --enable-targets=all)
139 $(use_with python python "${EPYTHON}")
140 $(use_with xxhash)
141 + $(use_with guile)
142 )
143 if use sparc-solaris || use x86-solaris ; then
144 # disable largefile support
145
146 diff --git a/sys-devel/gdb/gdb-9999.ebuild b/sys-devel/gdb/gdb-9999.ebuild
147 index d45841148f9..fde1ad99243 100644
148 --- a/sys-devel/gdb/gdb-9999.ebuild
149 +++ b/sys-devel/gdb/gdb-9999.ebuild
150 @@ -46,7 +46,7 @@ SLOT="0"
151 if [[ ${PV} != 9999* ]] ; then
152 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
153 fi
154 -IUSE="cet lzma multitarget nls +python +server source-highlight test vanilla xml xxhash"
155 +IUSE="cet guile lzma multitarget nls +python +server source-highlight test vanilla xml xxhash"
156 REQUIRED_USE="
157 python? ( ${PYTHON_REQUIRED_USE} )
158 "
159 @@ -65,6 +65,7 @@ RDEPEND="
160 sys-libs/zlib
161 lzma? ( app-arch/xz-utils )
162 python? ( ${PYTHON_DEPS} )
163 + guile? ( >=dev-scheme/guile-2.0 )
164 xml? ( dev-libs/expat )
165 source-highlight? (
166 dev-util/source-highlight
167 @@ -156,8 +157,6 @@ src_configure() {
168 --enable-64-bit-bfd
169 --disable-install-libbfd
170 --disable-install-libiberty
171 - # Disable guile for now as it requires guile-2.x #562902
172 - --without-guile
173 --enable-obsolete
174 # This only disables building in the readline subdir.
175 # For gdb itself, it'll use the system version.
176 @@ -175,6 +174,7 @@ src_configure() {
177 $(use multitarget && echo --enable-targets=all)
178 $(use_with python python "${EPYTHON}")
179 $(use_with xxhash)
180 + $(use_with guile)
181 )
182 if use sparc-solaris || use x86-solaris ; then
183 # disable largefile support