https://fedoraproject.org/wiki/Changes/Minimal_GDB_in_buildroot
== Summary ==
Create <code>gdb-minimal</code> package (without XML support, Python
support, Syntax Highlight and such) and switch to it in buildroot.
== Owner ==
* Name: [[User:ignatenkobrain|Igor Gnatenko]], [[User:sergiodj|Sergio
Durigan Junior]]
* Email: ignatenkobrain(a)fedoraproject.org, sergiodj(a)sergiodj.net
== Detailed Description ==
Create subpackage in <code>gdb</code> source package called
<code>gdb-minimal</code> that will contain 2 files:
* <code>/usr/libexec/gdb-minimal</code> — GDB executable built without
optional unneeded features
* <code>/usr/bin/gdb-add-index</code> — Executable script shared with
gdb-headless package (modified to fallback to gdb-minimal if exists)
debuginfo code in RPM needs just gdb-add-index and that one doesn't
need any syntax highlight or python plugins to work.
As of Apr 26, following packages would disappear from buildroot:
<pre>
boost-regex-1.69.0-6.fc30.x86_64
ctags-5.8-25.fc30.x86_64
gdbm-libs-1:1.18-4.fc30.x86_64
libbabeltrace-1.5.6-2.fc30.x86_64
libicu-63.1-2.fc30.x86_64
libipt-2.0-2.fc30.x86_64
python-pip-wheel-19.0.3-1.fc31.noarch
python-setuptools-wheel-40.8.0-1.fc30.noarch
python3-3.7.3-2.fc31.x86_64
python3-libs-3.7.3-2.fc31.x86_64
python3-pip-19.0.3-1.fc31.noarch
python3-setuptools-40.8.0-1.fc30.noarch
source-highlight-3.1.8-24.fc31.x86_64
sqlite-libs-3.27.2-3.fc31.x86_64
</pre>
== Benefit to Fedora ==
* Python 3 will disappear from buildroot (yes, it was there just because of GDB)
* RPM download size for buildroot preparation will go down from 101M to 85M
* installed buildroot size will go down from 439M to 350M
== Scope ==
* Proposal owners: Create a subpackage in gdb, Add <code>Suggests:
gdb-minimal</code> into rpm-build
* Other developers: N/A (not a System Wide Change)
* Release engineering: [
https://pagure.io/releng/issue/8311 #8311]
* Policies and guidelines: N/A (not a System Wide Change)
* Trademark approval: N/A (not needed for this Change)
== Upgrade/compatibility impact ==
N/A (not a System Wide Change)
== User Experience ==
Python 3 will disappear from buildroot, but nobody should have ever
relied on it since we have guidelines about that for long time:
https://docs.fedoraproject.org/en-US/packaging-guidelines/#buildrequires
== Dependencies ==
N/A (not a System Wide Change)
== Contingency Plan ==
* Contingency mechanism: (What to do? Who will do it?) N/A (not a
System Wide Change)
* Contingency deadline: N/A (not a System Wide Change)
* Blocks release? N/A (not a System Wide Change)
--
Ben Cotton
Fedora Program Manager
TZ=America/Indiana/Indianapolis
Pronouns: he/him