From 7bbbf7bde883f9dd1bec3412d24ab7f761679bf9 Mon Sep 17 00:00:00 2001 From: blue-devil Date: Wed, 9 Sep 2020 01:41:33 +0200 Subject: [PATCH] gdb-multiarch:first pisi release --- programming/debug/gdb-multiarch/actions.py | 47 ++++++++++++++++ programming/debug/gdb-multiarch/pspec.xml | 54 +++++++++++++++++++ .../debug/gdb-multiarch/translations.xml | 8 +++ 3 files changed, 109 insertions(+) create mode 100644 programming/debug/gdb-multiarch/actions.py create mode 100644 programming/debug/gdb-multiarch/pspec.xml create mode 100644 programming/debug/gdb-multiarch/translations.xml diff --git a/programming/debug/gdb-multiarch/actions.py b/programming/debug/gdb-multiarch/actions.py new file mode 100644 index 0000000000..9bd8e90d3b --- /dev/null +++ b/programming/debug/gdb-multiarch/actions.py @@ -0,0 +1,47 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# 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 + +def setup(): + shelltools.system('sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure') + autotools.autoreconf("-vif") + pisitools.cflags.add("-Wno-stringop-truncation \ + -Wno-maybe-uninitialized") + pisitools.cxxflags.add("-Wno-maybe-uninitialized") + + shelltools.makedirs("build") + shelltools.cd("build") + shelltools.system("../configure \ + --disable-nls \ + --prefix=/build \ + --enable-multilib \ + --enable-interwork \ + --enable-targets=all \ + --enable-languages=all \ + --with-guile=guile-2.0 \ + --with-system-readline \ + --with-python=/usr/bin/python \ + --with-system-gdbinit=/etc/gdb/gdbinit") +#--disable-rpath +def build(): + shelltools.cd("build") + autotools.make() + +def install(): + shelltools.cd("build") + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + # to avoid conflict rename binaries + pisitools.dodir("/usr/bin") + pisitools.domove("/build/bin/gdb", "/usr/bin/", "gdb-multiarch") + pisitools.removeDir("build") + + # 2020-04-09 To Do + # Compile with Python3 \ No newline at end of file diff --git a/programming/debug/gdb-multiarch/pspec.xml b/programming/debug/gdb-multiarch/pspec.xml new file mode 100644 index 0000000000..f1283810a8 --- /dev/null +++ b/programming/debug/gdb-multiarch/pspec.xml @@ -0,0 +1,54 @@ + + + + + gdb-multiarch + http://www.gnu.org/software/gdb/ + + Blue DeviL + bluedevil@sctzine.com + + programming.debug + GPLv3 + app::console + The GNU Debugger for all gdb supported architectures (i386/arm/mips...). + gdb-multiarch, is a split of GDB(GNU Debugger) which is for gdb supported architectures (i386/arm/mips...). + https://ftp.gnu.org/gnu/gdb/gdb-9.2.tar.xz + + texinfo + xz-devel + gdb-devel + mpfr-devel + expat-devel + python-devel + ncurses-devel + guile2.0-devel + readline-devel + + + + + gdb-multiarch + The GNU Debugger for all gdb supported architectures (i386/arm/mips...). + + gdb + mpfr + expat + python + guile2.0 + + + /usr/bin/gdb-multiarch + + + + + + 2020-04-09 + 9.2 + First pisi release + Blue DeviL + bluedevil@sctzine.com + + + \ No newline at end of file diff --git a/programming/debug/gdb-multiarch/translations.xml b/programming/debug/gdb-multiarch/translations.xml new file mode 100644 index 0000000000..eca5559598 --- /dev/null +++ b/programming/debug/gdb-multiarch/translations.xml @@ -0,0 +1,8 @@ + + + + gdb-multiarch + GDB(GNU Debugger) hata ayıklayıcısının desteklediği tüm mimariler için hata ayıklayıcısı. + gdb-multiarch i386/arm/mips gibi gdb'nin desteklediği tüm mimariler için hata ayıklayıcısı ve araçlarını sunar. + + \ No newline at end of file