gdb: updated
This commit is contained in:
@@ -4,41 +4,47 @@
|
|||||||
# Licensed under the GNU General Public License, version 3.
|
# Licensed under the GNU General Public License, version 3.
|
||||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||||
|
|
||||||
|
from pisi.actionsapi import get
|
||||||
from pisi.actionsapi import autotools
|
from pisi.actionsapi import autotools
|
||||||
from pisi.actionsapi import pisitools
|
from pisi.actionsapi import pisitools
|
||||||
from pisi.actionsapi import shelltools
|
from pisi.actionsapi import shelltools
|
||||||
from pisi.actionsapi import get
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
pisitools.dosed("config/override.m4", "2.64", "2.69")
|
|
||||||
shelltools.system('sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure')
|
shelltools.system('sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure')
|
||||||
autotools.autoreconf("-vfi")
|
|
||||||
autotools.configure("--with-system-readline \
|
shelltools.makedirs("build")
|
||||||
--with-separate-debug-dir=/usr/lib/debug \
|
shelltools.cd("build")
|
||||||
--with-gdb-datadir=/usr/share/gdb \
|
shelltools.system("../configure \
|
||||||
--with-pythondir=/usr/lib/%s/site-packages \
|
--enable-tui \
|
||||||
--disable-nls \
|
--prefix=/usr \
|
||||||
--disable-rpath \
|
--disable-nls \
|
||||||
--with-python \
|
--with-python \
|
||||||
--with-expat" % get.curPYTHON())
|
--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():
|
def build():
|
||||||
|
shelltools.cd("build")
|
||||||
autotools.make()
|
autotools.make()
|
||||||
|
|
||||||
def install():
|
def install():
|
||||||
|
shelltools.cd("build")
|
||||||
autotools.rawInstall('DESTDIR="%s"' % get.installDIR())
|
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)
|
pisitools.remove("/usr/lib/%s" % libdel)
|
||||||
|
|
||||||
# these are not necessary
|
for hea in ["ansidecl", "bfd", "bfdlink", "bfd_stdint", "diagnostics", "dis-asm", "plugin-api", "symcat", "ctf", "ctf-api"]:
|
||||||
#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"]:
|
|
||||||
pisitools.remove("/usr/include/%s.h" % hea)
|
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*")
|
||||||
@@ -1,51 +1,53 @@
|
|||||||
<?xml version="1.0" ?>
|
<?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>
|
<PISI>
|
||||||
<Source>
|
<Source>
|
||||||
<Name>gdb</Name>
|
<Name>gdb</Name>
|
||||||
<Homepage>http://www.gnu.org/software/gdb/gdb.html</Homepage>
|
<Homepage>http://www.gnu.org/software/gdb/</Homepage>
|
||||||
<Packager>
|
<Packager>
|
||||||
<Name>PisiLinux Community</Name>
|
<Name>PisiLinux Community</Name>
|
||||||
<Email>admins@pisilinux.org</Email>
|
<Email>admins@pisilinux.org</Email>
|
||||||
</Packager>
|
</Packager>
|
||||||
|
<PartOf>programming.debug</PartOf>
|
||||||
<License>GPLv3</License>
|
<License>GPLv3</License>
|
||||||
<IsA>app:console</IsA>
|
<IsA>app:console</IsA>
|
||||||
<Summary>GNU debugger</Summary>
|
<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>
|
<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>
|
<BuildDependencies>
|
||||||
<Dependency>xz-devel</Dependency>
|
|
||||||
<Dependency>texinfo</Dependency>
|
<Dependency>texinfo</Dependency>
|
||||||
<Dependency>guile-devel</Dependency>
|
<Dependency>xz-devel</Dependency>
|
||||||
|
<Dependency>mpfr-devel</Dependency>
|
||||||
<Dependency>expat-devel</Dependency>
|
<Dependency>expat-devel</Dependency>
|
||||||
<Dependency>python-devel</Dependency>
|
<Dependency>python-devel</Dependency>
|
||||||
<Dependency>readline-devel</Dependency>
|
|
||||||
<Dependency>ncurses-devel</Dependency>
|
<Dependency>ncurses-devel</Dependency>
|
||||||
|
<Dependency>guile2.0-devel</Dependency>
|
||||||
|
<Dependency>readline-devel</Dependency>
|
||||||
|
<Dependency>source-highlight-devel</Dependency>
|
||||||
</BuildDependencies>
|
</BuildDependencies>
|
||||||
</Source>
|
</Source>
|
||||||
|
|
||||||
<Package>
|
<Package>
|
||||||
<Name>gdb</Name>
|
<Name>gdb</Name>
|
||||||
|
<Summary>GNU debugger</Summary>
|
||||||
<RuntimeDependencies>
|
<RuntimeDependencies>
|
||||||
<Dependency>xz</Dependency>
|
<Dependency>xz</Dependency>
|
||||||
<Dependency>libgcc</Dependency>
|
|
||||||
<Dependency>guile</Dependency>
|
|
||||||
<Dependency>expat</Dependency>
|
<Dependency>expat</Dependency>
|
||||||
|
<Dependency>libgcc</Dependency>
|
||||||
<Dependency>python</Dependency>
|
<Dependency>python</Dependency>
|
||||||
<Dependency>readline</Dependency>
|
|
||||||
<Dependency>ncurses</Dependency>
|
<Dependency>ncurses</Dependency>
|
||||||
|
<Dependency>guile2.0</Dependency>
|
||||||
|
<Dependency>readline</Dependency>
|
||||||
|
<Dependency>source-highlight</Dependency>
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
<Files>
|
<Files>
|
||||||
<Path fileType="executable">/usr/bin</Path>
|
|
||||||
<Path fileType="library">/usr/lib</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="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>
|
</Files>
|
||||||
<AdditionalFiles>
|
|
||||||
<AdditionalFile owner="root" permission="0644" target="/usr/share/man/man1/gstack.1">gstack.1</AdditionalFile>
|
|
||||||
</AdditionalFiles>
|
|
||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<Package>
|
<Package>
|
||||||
@@ -60,6 +62,13 @@
|
|||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<History>
|
<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">
|
<Update release="6">
|
||||||
<Date>2020-01-07</Date>
|
<Date>2020-01-07</Date>
|
||||||
<Version>8.3</Version>
|
<Version>8.3</Version>
|
||||||
@@ -103,4 +112,4 @@
|
|||||||
<Email>ertugrulerata@gmail.com</Email>
|
<Email>ertugrulerata@gmail.com</Email>
|
||||||
</Update>
|
</Update>
|
||||||
</History>
|
</History>
|
||||||
</PISI>
|
</PISI>
|
||||||
@@ -2,8 +2,8 @@
|
|||||||
<PISI>
|
<PISI>
|
||||||
<Source>
|
<Source>
|
||||||
<Name>gdb</Name>
|
<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>
|
<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>
|
<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>
|
<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>
|
</Source>
|
||||||
@@ -11,6 +11,8 @@
|
|||||||
<Package>
|
<Package>
|
||||||
<Name>gdb-devel</Name>
|
<Name>gdb-devel</Name>
|
||||||
<Summary xml:lang="tr">gdb için geliştirme dosyaları</Summary>
|
<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>
|
<Summary xml:lang="en">Development files for gdb</Summary>
|
||||||
|
<Description xml:lang="tr">gdb-devel, provides development files for gdb.</Description>
|
||||||
</Package>
|
</Package>
|
||||||
</PISI>
|
</PISI>
|
||||||
Reference in New Issue
Block a user