Date: Thursday, February 27, 2020 @ 14:36:59 Author: anthraxx Revision: 376296
upgpkg: gdb 9.1-2: rebuild with source-highlight support - explicitly enable source-highlight and tui - add missing makedepends - add missing binutils duplicates - add missing co-maintainer Modified: gdb/trunk/PKGBUILD ----------+ PKGBUILD | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-02-27 14:27:51 UTC (rev 376295) +++ PKGBUILD 2020-02-27 14:36:59 UTC (rev 376296) @@ -1,4 +1,5 @@ # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Maintainer: Anatol Pomozov <[email protected]> # Contributor: Allan McRae <[email protected]> # Contributor: Jan de Groot <[email protected]> @@ -7,17 +8,17 @@ # of gdb (for arm/avr/...) pkgname=(gdb gdb-common) pkgver=9.1 -pkgrel=1 +pkgrel=2 pkgdesc='The GNU Debugger' arch=(x86_64) url='https://www.gnu.org/software/gdb/' license=(GPL3) -makedepends=(texinfo python guile2.0 ncurses expat xz source-highlight) +makedepends=(texinfo python guile2.0 ncurses expat xz mpfr source-highlight) source=(https://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig}) +sha1sums=('a50e13e1eecea468ea28c4a23d8c5a84f4db25be' + 'SKIP') b2sums=('b84b1dc627d7ba697dfd76ba7c0f4f88f1725e1e1b83134d08cf53bf867ebfa07e1d01eff2acd9a57d22a779077bf6ed95d6098e8a58c4d86eaed034ca62ac30' 'SKIP') -sha1sums=('a50e13e1eecea468ea28c4a23d8c5a84f4db25be' - 'SKIP') validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker prepare() { @@ -34,6 +35,8 @@ ../configure \ --prefix=/usr \ --disable-nls \ + --enable-source-highlight \ + --enable-tui \ --with-system-readline \ --with-python=/usr/bin/python \ --with-guile=guile-2.0 \ @@ -48,9 +51,9 @@ make DESTDIR="$pkgdir" install # resolve conflicts with binutils - rm "$pkgdir"/usr/include/{ansidecl,bfd,bfdlink,dis-asm,plugin-api,symcat}.h + rm "$pkgdir"/usr/include/{ansidecl,bfd,bfdlink,dis-asm,plugin-api,symcat,ctf,ctf-api,bfd_stdint,diagnostics}.h rm "$pkgdir"/usr/share/info/bfd.info - rm "$pkgdir"/usr/lib/{libbfd,libopcodes}.a + rm "$pkgdir"/usr/lib/{libbfd,libopcodes,libctf,libctf-nobfd}.a rm -r "$pkgdir"/usr/{bin,include,lib,share/info,share/man} } @@ -63,9 +66,9 @@ make DESTDIR="$pkgdir" install # resolve conflicts with binutils - rm "$pkgdir"/usr/include/{ansidecl,bfd,bfdlink,dis-asm,plugin-api,symcat}.h + rm "$pkgdir"/usr/include/{ansidecl,bfd,bfdlink,dis-asm,plugin-api,symcat,ctf,ctf-api,bfd_stdint,diagnostics}.h rm "$pkgdir"/usr/share/info/bfd.info - rm "$pkgdir"/usr/lib/{libbfd,libopcodes}.a + rm "$pkgdir"/usr/lib/{libbfd,libopcodes,libctf,libctf-nobfd}.a # install "custom" system gdbinit install -dm 755 "$pkgdir/etc/gdb"
