gdb: updated

This commit is contained in:
blue-devil
2020-09-09 01:41:10 +02:00
parent 29be7b32f5
commit 9e3f5d3ce5
3 changed files with 57 additions and 40 deletions
+28 -22
View File
@@ -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*")
+26 -17
View File
@@ -1,51 +1,53 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>gdb</Name>
<Homepage>http://www.gnu.org/software/gdb/gdb.html</Homepage>
<Homepage>http://www.gnu.org/software/gdb/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<PartOf>programming.debug</PartOf>
<License>GPLv3</License>
<IsA>app:console</IsA>
<Summary>GNU debugger</Summary>
<Description>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.</Description>
<Archive sha1sum="f45de6af561f0fa0241f0d5085198556fcfd1e5e" type="tarxz">mirrors://gnu/gdb/gdb-8.3.tar.xz</Archive>
<Archive sha1sum="356ee474a24bfb2f133894730916557dfea9da2e" type="tarxz">https://ftp.gnu.org/gnu/gdb/gdb-9.2.tar.xz</Archive>
<BuildDependencies>
<Dependency>xz-devel</Dependency>
<Dependency>texinfo</Dependency>
<Dependency>guile-devel</Dependency>
<Dependency>xz-devel</Dependency>
<Dependency>mpfr-devel</Dependency>
<Dependency>expat-devel</Dependency>
<Dependency>python-devel</Dependency>
<Dependency>readline-devel</Dependency>
<Dependency>ncurses-devel</Dependency>
<Dependency>guile2.0-devel</Dependency>
<Dependency>readline-devel</Dependency>
<Dependency>source-highlight-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>gdb</Name>
<Summary>GNU debugger</Summary>
<RuntimeDependencies>
<Dependency>xz</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>guile</Dependency>
<Dependency>expat</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>python</Dependency>
<Dependency>readline</Dependency>
<Dependency>ncurses</Dependency>
<Dependency>guile2.0</Dependency>
<Dependency>readline</Dependency>
<Dependency>source-highlight</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc/gdb</Path>
<Path fileType="data">/usr/share/gdb</Path>
<Path fileType="info">/usr/share/info</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="data">/usr/share/gdb</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="info">/usr/share/info</Path>
<Path fileType="doc">/usr/share/doc/gdb</Path>
</Files>
<AdditionalFiles>
<AdditionalFile owner="root" permission="0644" target="/usr/share/man/man1/gstack.1">gstack.1</AdditionalFile>
</AdditionalFiles>
</Package>
<Package>
@@ -60,6 +62,13 @@
</Package>
<History>
<Update release="7">
<Date>2020-09-07</Date>
<Version>9.2</Version>
<Comment>Major version bump.</Comment>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Update>
<Update release="6">
<Date>2020-01-07</Date>
<Version>8.3</Version>
@@ -103,4 +112,4 @@
<Email>ertugrulerata@gmail.com</Email>
</Update>
</History>
</PISI>
</PISI>
+3 -1
View File
@@ -2,8 +2,8 @@
<PISI>
<Source>
<Name>gdb</Name>
<Description xml:lang="tr">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.</Description>
<Summary xml:lang="tr">GNU hata ayıklayıcısı</Summary>
<Description xml:lang="tr">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.</Description>
<Summary xml:lang="es">Depurador GNU</Summary>
<Description xml:lang="es">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.</Description>
</Source>
@@ -11,6 +11,8 @@
<Package>
<Name>gdb-devel</Name>
<Summary xml:lang="tr">gdb için geliştirme dosyaları</Summary>
<Description xml:lang="tr">gdb-devel, gdb için geliştirme dosyalarını içerir.</Description>
<Summary xml:lang="en">Development files for gdb</Summary>
<Description xml:lang="tr">gdb-devel, provides development files for gdb.</Description>
</Package>
</PISI>