diff --git a/programming/debug/gdb/actions.py b/programming/debug/gdb/actions.py index 57ad471d82..ac2a028b72 100644 --- a/programming/debug/gdb/actions.py +++ b/programming/debug/gdb/actions.py @@ -4,41 +4,47 @@ # Licensed under the GNU General Public License, version 3. # See the file http://www.gnu.org/licenses/gpl.txt +from pisi.actionsapi import get from pisi.actionsapi import autotools from pisi.actionsapi import pisitools from pisi.actionsapi import shelltools -from pisi.actionsapi import get def setup(): - pisitools.dosed("config/override.m4", "2.64", "2.69") shelltools.system('sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure') - autotools.autoreconf("-vfi") - autotools.configure("--with-system-readline \ - --with-separate-debug-dir=/usr/lib/debug \ - --with-gdb-datadir=/usr/share/gdb \ - --with-pythondir=/usr/lib/%s/site-packages \ - --disable-nls \ - --disable-rpath \ - --with-python \ - --with-expat" % get.curPYTHON()) + + shelltools.makedirs("build") + shelltools.cd("build") + shelltools.system("../configure \ + --enable-tui \ + --prefix=/usr \ + --disable-nls \ + --with-python \ + --disable-rpath \ + --with-guile=guile-2.0 \ + --with-system-readline \ + --enable-source-highlight \ + --with-python=/usr/bin/python \ + --with-gdb-datadir=/usr/share/gdb \ + --with-system-gdbinit=/etc/gdb/gdbinit \ + --with-separate-debug-dir=/usr/lib/debug") def build(): + shelltools.cd("build") autotools.make() def install(): + shelltools.cd("build") autotools.rawInstall('DESTDIR="%s"' % get.installDIR()) - - for libdel in ["libbfd.a","libopcodes.a"]: + + # to prevent conflict with binutils delete these files: + for libdel in ["libbfd.a", "libopcodes.a", "libctf.a", "libctf-nobfd.a"]: pisitools.remove("/usr/lib/%s" % libdel) - # these are not necessary - #for info in ["bfd","configure","standards"]: - #pisitools.remove("/usr/share/info/%s.info" % info) - - pisitools.remove("/usr/share/info/bfd.info") - - for hea in ["ansidecl","symcat","dis-asm", "bfd_stdint", "diagnostics", "bfd", "bfdlink", "plugin-api"]: + for hea in ["ansidecl", "bfd", "bfdlink", "bfd_stdint", "diagnostics", "dis-asm", "plugin-api", "symcat", "ctf", "ctf-api"]: pisitools.remove("/usr/include/%s.h" % hea) - - pisitools.dodoc("README*", "MAINTAINERS", "COPYING*", "ChangeLog*") + + pisitools.remove("/usr/share/info/bfd.info") + + shelltools.cd("..") + pisitools.dodoc("README*", "COPYING*", "ChangeLog*") \ No newline at end of file diff --git a/programming/debug/gdb/pspec.xml b/programming/debug/gdb/pspec.xml index 8e19d43fff..d54f058f44 100644 --- a/programming/debug/gdb/pspec.xml +++ b/programming/debug/gdb/pspec.xml @@ -1,51 +1,53 @@ - + gdb - http://www.gnu.org/software/gdb/gdb.html + http://www.gnu.org/software/gdb/ PisiLinux Community admins@pisilinux.org + programming.debug GPLv3 app:console GNU debugger GDB, the GNU Project debugger, allows you to see what is going on 'inside' another program while it executes -- or what another program was doing at the moment it crashed. - mirrors://gnu/gdb/gdb-8.3.tar.xz + https://ftp.gnu.org/gnu/gdb/gdb-9.2.tar.xz - xz-devel texinfo - guile-devel + xz-devel + mpfr-devel expat-devel python-devel - readline-devel ncurses-devel + guile2.0-devel + readline-devel + source-highlight-devel gdb + GNU debugger xz - libgcc - guile expat + libgcc python - readline ncurses + guile2.0 + readline + source-highlight - /usr/bin /usr/lib - /usr/share/doc/gdb - /usr/share/gdb - /usr/share/info /usr/share/man + /usr/share/gdb + /usr/bin + /usr/share/info + /usr/share/doc/gdb - - gstack.1 - @@ -60,6 +62,13 @@ + + 2020-09-07 + 9.2 + Major version bump. + Blue Devil + bluedevil@sctzine.com + 2020-01-07 8.3 @@ -103,4 +112,4 @@ ertugrulerata@gmail.com - + \ No newline at end of file diff --git a/programming/debug/gdb/translations.xml b/programming/debug/gdb/translations.xml index 2166142c83..6361bfbd36 100644 --- a/programming/debug/gdb/translations.xml +++ b/programming/debug/gdb/translations.xml @@ -2,8 +2,8 @@ gdb - GDB, GNU Proje hata ayıklama aracı, çalışır durumdaki başka bir programın `içinde' olan biteni görmenizi, veya başka bir programın çöktüğü anda ne yapıyor olduğunu bilmenizi sağlar. GNU hata ayıklayıcısı + GDB, GNU Proje hata ayıklama aracı, çalışır durumdaki başka bir programın `içinde' olan biteni görmenizi, veya başka bir programın çöktüğü anda ne yapıyor olduğunu bilmenizi sağlar. Depurador GNU GDB, el depurador del proyecto GNU permite ver lo que está pasando 'en el interior de' otro programa mientras ejecuta -- o lo que estaba haciendo cuando quedó colgado. @@ -11,6 +11,8 @@ gdb-devel gdb için geliştirme dosyaları + gdb-devel, gdb için geliştirme dosyalarını içerir. Development files for gdb + gdb-devel, provides development files for gdb. \ No newline at end of file