* [PR PATCH] libstdc++-devel: install gdb python scripts
@ 2019-07-16 18:25 voidlinux-github
2020-11-01 1:57 ` ericonr
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: voidlinux-github @ 2019-07-16 18:25 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 403 bytes --]
There is a new pull request by yshui against master on the void-packages repository
https://github.com/yshui/void-packages libstdc++-gdb
https://github.com/void-linux/void-packages/pull/13157
libstdc++-devel: install gdb python scripts
This gives you nice things like pretty printing C++ STL data
structures.
A patch file from https://github.com/void-linux/void-packages/pull/13157.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-libstdc++-gdb-13157.patch --]
[-- Type: application/text/x-diff, Size: 1882 bytes --]
From 2384e5ad98e80cd5f66506117063d70269d628f5 Mon Sep 17 00:00:00 2001
From: Yuxuan Shui <yshuiv7@gmail.com>
Date: Tue, 16 Jul 2019 19:16:51 +0100
Subject: [PATCH] libstdc++-devel: install gdb python scripts
This gives you nice things like pretty printing C++ STL data
structures.
---
srcpkgs/gcc/template | 16 ++++++----------
1 file changed, 6 insertions(+), 10 deletions(-)
diff --git a/srcpkgs/gcc/template b/srcpkgs/gcc/template
index bebcba9ac3d..64c4fc4b27e 100644
--- a/srcpkgs/gcc/template
+++ b/srcpkgs/gcc/template
@@ -8,7 +8,7 @@ _isl_version=0.19
pkgname=gcc
version=${_minorver}.0
-revision=3
+revision=4
short_desc="GNU Compiler Collection"
maintainer="Juan RP <xtraeme@voidlinux.org>"
homepage="http://gcc.gnu.org"
@@ -33,7 +33,7 @@ replaces="gcc-gcj<7.2.0 gcc-gcj-jdk-compat<7.2.0 libmpx>=0 libmpx-devel>=0"
alternatives="cc:cc:/usr/bin/gcc"
if [ "$CHROOT_READY" ]; then
- hostmakedepends="perl flex"
+ hostmakedepends="perl flex python"
fi
makedepends="zlib-devel"
depends="binutils libgcc-devel-${version}_${revision}
@@ -367,14 +367,6 @@ do_install() {
rm -f ${DESTDIR}/usr/lib/libffi*
rm -f ${DESTDIR}/usr/share/man/man3/ffi*
- # Remove all python scripts in libdir.
- rm -f ${DESTDIR}/usr/lib/*.py
-
- # Remove more python stuff.
- if [ -d ${DESTDIR}/usr/share/gcc-${version}/python ]; then
- rm -rf ${DESTDIR}/usr/share/gcc-${version}/python
- fi
-
# Install c89 and c99 wrappers and its manpages, from NetBSD.
for f in c89 c99; do
vbin ${FILESDIR}/${f}.sh ${f}
@@ -702,6 +694,10 @@ libstdc++-devel_package() {
pkg_install() {
vmove "usr/lib/libstdc++.*a"
vmove "usr/lib/libsupc++.*"
+ vmkdir "usr/share/gdb/auto-load/usr/lib" 0755
+ mv "${DESTDIR}"/usr/lib/libstdc++.so.6.*-gdb.py "${PKGDESTDIR}/usr/share/gdb/auto-load/usr/lib"
+
+ vmove "usr/share/gcc-${version}/python/libstdcxx"
vmove usr/include/c++
}
}
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: libstdc++-devel: install gdb python scripts
2019-07-16 18:25 [PR PATCH] libstdc++-devel: install gdb python scripts voidlinux-github
@ 2020-11-01 1:57 ` ericonr
2020-12-20 2:03 ` ericonr
2020-12-20 2:03 ` [PR PATCH] [Closed]: " ericonr
2 siblings, 0 replies; 4+ messages in thread
From: ericonr @ 2020-11-01 1:57 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 239 bytes --]
New comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/13157#issuecomment-720014522
Comment:
Shouldn't this be made to work with python3?
And is python3 needed if the files aren't deleted?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: libstdc++-devel: install gdb python scripts
2019-07-16 18:25 [PR PATCH] libstdc++-devel: install gdb python scripts voidlinux-github
2020-11-01 1:57 ` ericonr
@ 2020-12-20 2:03 ` ericonr
2020-12-20 2:03 ` [PR PATCH] [Closed]: " ericonr
2 siblings, 0 replies; 4+ messages in thread
From: ericonr @ 2020-12-20 2:03 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 226 bytes --]
New comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/13157#issuecomment-748552132
Comment:
Closing for now due to inactivity, feel free to reopen if you wish to get back on it.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PR PATCH] [Closed]: libstdc++-devel: install gdb python scripts
2019-07-16 18:25 [PR PATCH] libstdc++-devel: install gdb python scripts voidlinux-github
2020-11-01 1:57 ` ericonr
2020-12-20 2:03 ` ericonr
@ 2020-12-20 2:03 ` ericonr
2 siblings, 0 replies; 4+ messages in thread
From: ericonr @ 2020-12-20 2:03 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 250 bytes --]
There's a closed pull request on the void-packages repository
libstdc++-devel: install gdb python scripts
https://github.com/void-linux/void-packages/pull/13157
Description:
This gives you nice things like pretty printing C++ STL data
structures.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-12-20 2:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-16 18:25 [PR PATCH] libstdc++-devel: install gdb python scripts voidlinux-github
2020-11-01 1:57 ` ericonr
2020-12-20 2:03 ` ericonr
2020-12-20 2:03 ` [PR PATCH] [Closed]: " ericonr
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).