[arch-commits] Commit in gdb/trunk (PKGBUILD)

2020-11-12 Thread Evangelos Foutras via arch-commits
Date: Thursday, November 12, 2020 @ 12:13:15
  Author: foutrelis
Revision: 400518

upgpkg: gdb 10.1-4: Python 3.9 rebuild

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-11-12 12:08:11 UTC (rev 400517)
+++ PKGBUILD2020-11-12 12:13:15 UTC (rev 400518)
@@ -8,7 +8,7 @@
 # of gdb (for arm/avr/...)
 pkgname=(gdb gdb-common)
 pkgver=10.1
-pkgrel=3
+pkgrel=4
 pkgdesc='The GNU Debugger'
 arch=(x86_64)
 url='https://www.gnu.org/software/gdb/'


[arch-commits] Commit in gdb/trunk (PKGBUILD)

2020-11-04 Thread Anatol Pomozov via arch-commits
Date: Wednesday, November 4, 2020 @ 19:48:19
  Author: anatolik
Revision: 399273

add gdbserver back

Fixes FS#68517

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-11-04 15:51:32 UTC (rev 399272)
+++ PKGBUILD2020-11-04 19:48:19 UTC (rev 399273)
@@ -8,7 +8,7 @@
 # of gdb (for arm/avr/...)
 pkgname=(gdb gdb-common)
 pkgver=10.1
-pkgrel=1
+pkgrel=2
 pkgdesc='The GNU Debugger'
 arch=(x86_64)
 url='https://www.gnu.org/software/gdb/'
@@ -59,6 +59,7 @@
 
   cd gdb-$pkgver/build
   make -C gdb DESTDIR="$pkgdir" install
+  make -C gdbserver DESTDIR="$pkgdir" install
 
   # install "custom" system gdbinit
   install -dm 755 "$pkgdir/etc/gdb"


[arch-commits] Commit in gdb/trunk (PKGBUILD)

2020-10-26 Thread Anatol Pomozov via arch-commits
Date: Tuesday, October 27, 2020 @ 01:57:54
  Author: anatolik
Revision: 398840

bump guile dependency version

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-10-26 21:38:16 UTC (rev 398839)
+++ PKGBUILD2020-10-27 01:57:54 UTC (rev 398840)
@@ -13,7 +13,7 @@
 arch=(x86_64)
 url='https://www.gnu.org/software/gdb/'
 license=(GPL3)
-makedepends=(glibc gcc-libs texinfo python guile2.0 ncurses expat xz mpfr 
source-highlight
+makedepends=(glibc gcc-libs texinfo python guile ncurses expat xz mpfr 
source-highlight
  readline)
 source=(https://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
 sha1sums=('c625efd87116525fb3bbeca7eaa1028ee62c0e7d'
@@ -40,13 +40,13 @@
 --enable-tui \
 --with-system-readline \
 --with-python=/usr/bin/python \
---with-guile=guile-2.0 \
+--with-guile=guile-2.2 \
 --with-system-gdbinit=/etc/gdb/gdbinit
   make
 }
 
 package_gdb-common() {
-  depends=(python guile2.0)
+  depends=(python guile)
 
   cd gdb-$pkgver/build
   make -C gdb/data-directory DESTDIR="$pkgdir" install
@@ -54,7 +54,7 @@
 
 package_gdb() {
   depends=(glibc ncurses libncursesw.so gcc-libs expat xz mpfr 
source-highlight gdb-common=$pkgver
-   readline libreadline.so guile2.0 python libelf)
+   readline libreadline.so guile python libelf)
   backup=(etc/gdb/gdbinit)
 
   cd gdb-$pkgver/build


[arch-commits] Commit in gdb/trunk (PKGBUILD)

2020-10-26 Thread Anatol Pomozov via arch-commits
Date: Monday, October 26, 2020 @ 17:32:07
  Author: anatolik
Revision: 398817

upgpkg: gdb 10.1-1: Add missing libelf dependency

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-10-26 17:31:16 UTC (rev 398816)
+++ PKGBUILD2020-10-26 17:32:07 UTC (rev 398817)
@@ -54,7 +54,7 @@
 
 package_gdb() {
   depends=(glibc ncurses libncursesw.so gcc-libs expat xz mpfr 
source-highlight gdb-common=$pkgver
-   readline libreadline.so guile2.0 python)
+   readline libreadline.so guile2.0 python libelf)
   backup=(etc/gdb/gdbinit)
 
   cd gdb-$pkgver/build


[arch-commits] Commit in gdb/trunk (PKGBUILD)

2020-10-26 Thread Anatol Pomozov via arch-commits
Date: Monday, October 26, 2020 @ 17:18:41
  Author: anatolik
Revision: 398811

upgpkg: gdb 10.1-1

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-10-26 15:44:15 UTC (rev 398810)
+++ PKGBUILD2020-10-26 17:18:41 UTC (rev 398811)
@@ -7,8 +7,8 @@
 # gdb-common is a package that contains files common for all cross compiled 
versions
 # of gdb (for arm/avr/...)
 pkgname=(gdb gdb-common)
-pkgver=9.2
-pkgrel=2
+pkgver=10.1
+pkgrel=1
 pkgdesc='The GNU Debugger'
 arch=(x86_64)
 url='https://www.gnu.org/software/gdb/'
@@ -16,9 +16,9 @@
 makedepends=(glibc gcc-libs texinfo python guile2.0 ncurses expat xz mpfr 
source-highlight
  readline)
 source=(https://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
-sha1sums=('356ee474a24bfb2f133894730916557dfea9da2e'
+sha1sums=('c625efd87116525fb3bbeca7eaa1028ee62c0e7d'
   'SKIP')
-b2sums=('e83468f2d2fdcf4a7eb2943564750c7e9e9fa19b00bd832a9c149ad06b199cc7d6e7b8808d552e5f0e9e4f701a9262faf6b0b46ed4e0b4ecd3a0303d873d6d9a'
+b2sums=('69d79cd667ecb6e936b41a03817ade5dd9b761f97bc123d668b5f968d123c37d048fc8ec1289151e989f01bb01a43cc3d8b5b54f1807f1e3eb5f43e6bf0aa55b'
 'SKIP')
 validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
 


[arch-commits] Commit in gdb/trunk (PKGBUILD)

2020-09-27 Thread Levente Polyak via arch-commits
Date: Sunday, September 27, 2020 @ 13:31:33
  Author: anthraxx
Revision: 396712

upgpkg: gdb 9.2-2: simplify package() and declare first level deps

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |   24 +++-
 1 file changed, 7 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-09-27 12:32:46 UTC (rev 396711)
+++ PKGBUILD2020-09-27 13:31:33 UTC (rev 396712)
@@ -8,12 +8,13 @@
 # of gdb (for arm/avr/...)
 pkgname=(gdb gdb-common)
 pkgver=9.2
-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 mpfr source-highlight)
+makedepends=(glibc gcc-libs texinfo python guile2.0 ncurses expat xz mpfr 
source-highlight
+ readline)
 source=(https://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
 sha1sums=('356ee474a24bfb2f133894730916557dfea9da2e'
   'SKIP')
@@ -48,28 +49,17 @@
   depends=(python guile2.0)
 
   cd gdb-$pkgver/build
-
-  make DESTDIR="$pkgdir" install
-  # resolve conflicts with binutils
-  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,libctf,libctf-nobfd}.a
-
-  rm -r "$pkgdir"/usr/{bin,include,lib,share/info,share/man}
+  make -C gdb/data-directory DESTDIR="$pkgdir" install
 }
 
 package_gdb() {
-  depends=(ncurses expat xz mpfr source-highlight gdb-common=$pkgver)
+  depends=(glibc ncurses libncursesw.so gcc-libs expat xz mpfr 
source-highlight gdb-common=$pkgver
+   readline libreadline.so guile2.0 python)
   backup=(etc/gdb/gdbinit)
 
   cd gdb-$pkgver/build
-  make DESTDIR="$pkgdir" install
+  make -C gdb DESTDIR="$pkgdir" install
 
-  # resolve conflicts with binutils
-  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,libctf,libctf-nobfd}.a
-
   # install "custom" system gdbinit
   install -dm 755 "$pkgdir/etc/gdb"
   touch "$pkgdir/etc/gdb/gdbinit"


[arch-commits] Commit in gdb/trunk (PKGBUILD)

2020-05-26 Thread Anatol Pomozov via arch-commits
Date: Tuesday, May 26, 2020 @ 17:25:38
  Author: anatolik
Revision: 387587

upgpkg: gdb 9.2-1

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-05-26 16:05:45 UTC (rev 387586)
+++ PKGBUILD2020-05-26 17:25:38 UTC (rev 387587)
@@ -7,8 +7,8 @@
 # gdb-common is a package that contains files common for all cross compiled 
versions
 # of gdb (for arm/avr/...)
 pkgname=(gdb gdb-common)
-pkgver=9.1
-pkgrel=4
+pkgver=9.2
+pkgrel=1
 pkgdesc='The GNU Debugger'
 arch=(x86_64)
 url='https://www.gnu.org/software/gdb/'
@@ -15,9 +15,9 @@
 license=(GPL3)
 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'
+sha1sums=('356ee474a24bfb2f133894730916557dfea9da2e'
   'SKIP')
-b2sums=('b84b1dc627d7ba697dfd76ba7c0f4f88f1725e1e1b83134d08cf53bf867ebfa07e1d01eff2acd9a57d22a779077bf6ed95d6098e8a58c4d86eaed034ca62ac30'
+b2sums=('e83468f2d2fdcf4a7eb2943564750c7e9e9fa19b00bd832a9c149ad06b199cc7d6e7b8808d552e5f0e9e4f701a9262faf6b0b46ed4e0b4ecd3a0303d873d6d9a'
 'SKIP')
 validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
 


[arch-commits] Commit in gdb/trunk (PKGBUILD)

2020-05-21 Thread Evangelos Foutras via arch-commits
Date: Thursday, May 21, 2020 @ 19:21:07
  Author: foutrelis
Revision: 387374

upgpkg: gdb 9.1-4: keep gdbserver; no longer shipped with binutils

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-05-21 19:14:49 UTC (rev 387373)
+++ PKGBUILD2020-05-21 19:21:07 UTC (rev 387374)
@@ -8,7 +8,7 @@
 # of gdb (for arm/avr/...)
 pkgname=(gdb gdb-common)
 pkgver=9.1
-pkgrel=3
+pkgrel=4
 pkgdesc='The GNU Debugger'
 arch=(x86_64)
 url='https://www.gnu.org/software/gdb/'
@@ -69,10 +69,7 @@
   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,libctf,libctf-nobfd}.a
-  rm "$pkgdir"/usr/lib/libinproctrace.so*
-  rm "$pkgdir"/usr/bin/gdbserver
 
-
   # install "custom" system gdbinit
   install -dm 755 "$pkgdir/etc/gdb"
   touch "$pkgdir/etc/gdb/gdbinit"


[arch-commits] Commit in gdb/trunk (PKGBUILD)

2020-05-10 Thread Bartłomiej Piotrowski via arch-commits
Date: Sunday, May 10, 2020 @ 16:19:20
  Author: bpiotrowski
Revision: 383110

Remove files shipped by binutils 2.34-3

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-05-10 14:33:29 UTC (rev 383109)
+++ PKGBUILD2020-05-10 16:19:20 UTC (rev 383110)
@@ -8,7 +8,7 @@
 # of gdb (for arm/avr/...)
 pkgname=(gdb gdb-common)
 pkgver=9.1
-pkgrel=2
+pkgrel=3
 pkgdesc='The GNU Debugger'
 arch=(x86_64)
 url='https://www.gnu.org/software/gdb/'
@@ -69,7 +69,10 @@
   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,libctf,libctf-nobfd}.a
+  rm "$pkgdir"/usr/lib/libinproctrace.so*
+  rm "$pkgdir"/usr/bin/gdbserver
 
+
   # install "custom" system gdbinit
   install -dm 755 "$pkgdir/etc/gdb"
   touch "$pkgdir/etc/gdb/gdbinit"


[arch-commits] Commit in gdb/trunk (PKGBUILD)

2020-02-27 Thread Levente Polyak via arch-commits
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
===
--- PKGBUILD2020-02-27 14:27:51 UTC (rev 376295)
+++ PKGBUILD2020-02-27 14:36:59 UTC (rev 376296)
@@ -1,4 +1,5 @@
 # Maintainer: Levente Polyak 
+# Maintainer: Anatol Pomozov 
 # Contributor: Allan McRae 
 # Contributor: Jan de Groot 
 
@@ -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"


[arch-commits] Commit in gdb/trunk (PKGBUILD)

2020-02-20 Thread Levente Polyak via arch-commits
Date: Thursday, February 20, 2020 @ 22:43:55
  Author: anthraxx
Revision: 375969

overhault style and quite pkgdir's

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |   33 ++---
 1 file changed, 26 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-02-20 22:27:58 UTC (rev 375968)
+++ PKGBUILD2020-02-20 22:43:55 UTC (rev 375969)
@@ -1,4 +1,5 @@
-# Maintainer: Allan McRae 
+# Maintainer: Levente Polyak 
+# Contributor: Allan McRae 
 # Contributor: Jan de Groot 
 
 pkgbase=gdb
@@ -13,6 +14,8 @@
 license=(GPL3)
 makedepends=(texinfo python guile2.0 ncurses expat xz source-highlight)
 source=(https://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
+b2sums=('b84b1dc627d7ba697dfd76ba7c0f4f88f1725e1e1b83134d08cf53bf867ebfa07e1d01eff2acd9a57d22a779077bf6ed95d6098e8a58c4d86eaed034ca62ac30'
+'SKIP')
 sha1sums=('a50e13e1eecea468ea28c4a23d8c5a84f4db25be'
   'SKIP')
 validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
@@ -28,7 +31,9 @@
   cd gdb-$pkgver
 
   mkdir -p build && cd build
-  ../configure --prefix=/usr --disable-nls \
+  ../configure \
+--prefix=/usr \
+--disable-nls \
 --with-system-readline \
 --with-python=/usr/bin/python \
 --with-guile=guile-2.0 \
@@ -40,7 +45,14 @@
   depends=(python guile2.0)
 
   cd gdb-$pkgver/build
-  make -C gdb/data-directory DESTDIR=$pkgdir install
+
+  make DESTDIR="$pkgdir" install
+  # resolve conflicts with binutils
+  rm "$pkgdir"/usr/include/{ansidecl,bfd,bfdlink,dis-asm,plugin-api,symcat}.h
+  rm "$pkgdir"/usr/share/info/bfd.info
+  rm "$pkgdir"/usr/lib/{libbfd,libopcodes}.a
+
+  rm -r "$pkgdir"/usr/{bin,include,lib,share/info,share/man}
 }
 
 package_gdb() {
@@ -48,12 +60,19 @@
   backup=(etc/gdb/gdbinit)
 
   cd gdb-$pkgver/build
-  make -C gdb DESTDIR=$pkgdir install
+  make DESTDIR="$pkgdir" install
 
+  # resolve conflicts with binutils
+  rm "$pkgdir"/usr/include/{ansidecl,bfd,bfdlink,dis-asm,plugin-api,symcat}.h
+  rm "$pkgdir"/usr/share/info/bfd.info
+  rm "$pkgdir"/usr/lib/{libbfd,libopcodes}.a
+
   # install "custom" system gdbinit
-  install -dm755 $pkgdir/etc/gdb
-  touch $pkgdir/etc/gdb/gdbinit
+  install -dm 755 "$pkgdir/etc/gdb"
+  touch "$pkgdir/etc/gdb/gdbinit"
 
   # comes from gdb-common
-  rm -r $pkgdir/usr/share/gdb/
+  rm -r "$pkgdir/usr/share/gdb/"
 }
+
+# vim: ts=2 sw=2 et:


[arch-commits] Commit in gdb/trunk (PKGBUILD)

2020-02-20 Thread Anatol Pomozov via arch-commits
Date: Thursday, February 20, 2020 @ 22:27:58
  Author: anatolik
Revision: 375968

FS#62702 enable syntax highlighting

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-02-20 22:16:48 UTC (rev 375967)
+++ PKGBUILD2020-02-20 22:27:58 UTC (rev 375968)
@@ -11,7 +11,7 @@
 arch=(x86_64)
 url='https://www.gnu.org/software/gdb/'
 license=(GPL3)
-makedepends=(texinfo python guile2.0 ncurses expat xz)
+makedepends=(texinfo python guile2.0 ncurses expat xz source-highlight)
 source=(https://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
 sha1sums=('a50e13e1eecea468ea28c4a23d8c5a84f4db25be'
   'SKIP')
@@ -44,7 +44,7 @@
 }
 
 package_gdb() {
-  depends=(ncurses expat xz mpfr gdb-common=$pkgver)
+  depends=(ncurses expat xz mpfr source-highlight gdb-common=$pkgver)
   backup=(etc/gdb/gdbinit)
 
   cd gdb-$pkgver/build


[arch-commits] Commit in gdb/trunk (PKGBUILD python-3.8.patch)

2020-02-08 Thread Anatol Pomozov via arch-commits
Date: Saturday, February 8, 2020 @ 21:24:14
  Author: anatolik
Revision: 375012

upgpkg: gdb 9.1-1

Modified:
  gdb/trunk/PKGBUILD
Deleted:
  gdb/trunk/python-3.8.patch

--+
 PKGBUILD |   25 --
 python-3.8.patch |  128 -
 2 files changed, 11 insertions(+), 142 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-02-08 16:15:41 UTC (rev 375011)
+++ PKGBUILD2020-02-08 21:24:14 UTC (rev 375012)
@@ -5,25 +5,21 @@
 # gdb-common is a package that contains files common for all cross compiled 
versions
 # of gdb (for arm/avr/...)
 pkgname=(gdb gdb-common)
-pkgver=8.3.1
-pkgrel=4
+pkgver=9.1
+pkgrel=1
 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=(https://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig}
-python-3.8.patch)
-sha1sums=('d403ba208945bbf04f8130ea4853730cdf0c8fc7'
-  'SKIP'
-  '14e76d9f9806168cd8a7f5052ce6421a980371a3')
+source=(https://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
+sha1sums=('a50e13e1eecea468ea28c4a23d8c5a84f4db25be'
+  'SKIP')
 validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
 
 prepare() {
   cd gdb-$pkgver
 
-  patch -Np1 -i ../python-3.8.patch
-
   # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
   sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
 }
@@ -30,10 +26,11 @@
 
 build() {
   cd gdb-$pkgver
-  
-  ./configure --prefix=/usr --disable-nls \
+
+  mkdir -p build && cd build
+  ../configure --prefix=/usr --disable-nls \
 --with-system-readline \
---with-python=/usr/bin/python3 \
+--with-python=/usr/bin/python \
 --with-guile=guile-2.0 \
 --with-system-gdbinit=/etc/gdb/gdbinit
   make
@@ -42,7 +39,7 @@
 package_gdb-common() {
   depends=(python guile2.0)
 
-  cd gdb-$pkgver
+  cd gdb-$pkgver/build
   make -C gdb/data-directory DESTDIR=$pkgdir install
 }
 
@@ -50,7 +47,7 @@
   depends=(ncurses expat xz mpfr gdb-common=$pkgver)
   backup=(etc/gdb/gdbinit)
 
-  cd gdb-$pkgver
+  cd gdb-$pkgver/build
   make -C gdb DESTDIR=$pkgdir install
 
   # install "custom" system gdbinit

Deleted: python-3.8.patch
===
--- python-3.8.patch2020-02-08 16:15:41 UTC (rev 375011)
+++ python-3.8.patch2020-02-08 21:24:14 UTC (rev 375012)
@@ -1,128 +0,0 @@
-From b6484282f85bf7f11451b2441599c241d302ad9d Mon Sep 17 00:00:00 2001
-From: Raul Tambre 
-Date: Sat, 4 May 2019 15:48:17 -0400
-Subject: [PATCH] Fix incorrect use of 'is' operator for comparison in
- python/lib/gdb/command/prompt.py
-
-The 'is' operator is not meant to be used for comparisons. It currently working
-is an implementation detail of CPython.  CPython 3.8 has added a SyntaxWarning
-for this.
-
-diff --git a/gdb/python/lib/gdb/command/prompt.py 
b/gdb/python/lib/gdb/command/prompt.py
-index 3d662a7..04b9e49 100644
 a/gdb/python/lib/gdb/command/prompt.py
-+++ b/gdb/python/lib/gdb/command/prompt.py
-@@ -45,7 +45,7 @@ The currently defined substitutions are:
- self.hook_set = False
- 
- def get_show_string (self, pvalue):
--if self.value is not '':
-+if self.value:
-return "The extended prompt is: " + self.value
- else:
-return "The extended prompt is not set."
-@@ -57,7 +57,7 @@ The currently defined substitutions are:
- return ""
- 
- def before_prompt_hook(self, current):
--if self.value is not '':
-+if self.value:
- return gdb.prompt.substitute_prompt(self.value)
- else:
- return None
-
-From d9c4ba536c522b8dc2194d4100270a159be7894a Mon Sep 17 00:00:00 2001
-From: Sergio Durigan Junior 
-Date: Sun, 25 Aug 2019 12:10:35 -0400
-Subject: [PATCH] Use raw strings on gdb.python/py-xmethods.exp (and fix Python
- 3.8's "SyntaxWarning: invalid escape sequence")
-
-The way unrecognized escape sequences are handled has changed in
-Python 3.8: users now see a SyntaxWarning message, which will
-eventually become a SyntaxError in future versions of Python:
-
-  (gdb) source /blabla/gdb.python/py-xmethods/py-xmethods.py
-  /blabla/gdb.python/py-xmethods/py-xmethods.py:204: SyntaxWarning: invalid 
escape seque
-  nce \+
-'operator\+',
-  /blabla/gdb.python/py-xmethods/py-xmethods.py:211: SyntaxWarning: invalid 
escape seque
-  nce \+
-'operator\+\+',
-
-One of our testcases, gdb.python/py-xmethods.exp, contains strings in
-the form of "operator\+".  This is not recognized by Python, but is
-still needed by the testsuite to work properly.  The solution is
-simple: we just have to make sure these strings are marked as
-raw (i.e, r"").  This is what this patch does.  I took the opportunity
-to also convert other strings to raw, which, in two 

[arch-commits] Commit in gdb/trunk (PKGBUILD python-3.8.patch)

2019-11-14 Thread Evangelos Foutras via arch-commits
Date: Thursday, November 14, 2019 @ 11:07:27
  Author: foutrelis
Revision: 368487

upgpkg: gdb 8.3.1-4

Grab two Python fixes from upstream (FS#64493).

Added:
  gdb/trunk/python-3.8.patch
Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |   10 ++--
 python-3.8.patch |  128 +
 2 files changed, 135 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-11-14 10:40:21 UTC (rev 368486)
+++ PKGBUILD2019-11-14 11:07:27 UTC (rev 368487)
@@ -6,20 +6,24 @@
 # of gdb (for arm/avr/...)
 pkgname=(gdb gdb-common)
 pkgver=8.3.1
-pkgrel=3
+pkgrel=4
 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=(https://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
+source=(https://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig}
+python-3.8.patch)
 sha1sums=('d403ba208945bbf04f8130ea4853730cdf0c8fc7'
-  'SKIP')
+  'SKIP'
+  '14e76d9f9806168cd8a7f5052ce6421a980371a3')
 validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
 
 prepare() {
   cd gdb-$pkgver
 
+  patch -Np1 -i ../python-3.8.patch
+
   # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
   sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
 }

Added: python-3.8.patch
===
--- python-3.8.patch(rev 0)
+++ python-3.8.patch2019-11-14 11:07:27 UTC (rev 368487)
@@ -0,0 +1,128 @@
+From b6484282f85bf7f11451b2441599c241d302ad9d Mon Sep 17 00:00:00 2001
+From: Raul Tambre 
+Date: Sat, 4 May 2019 15:48:17 -0400
+Subject: [PATCH] Fix incorrect use of 'is' operator for comparison in
+ python/lib/gdb/command/prompt.py
+
+The 'is' operator is not meant to be used for comparisons. It currently working
+is an implementation detail of CPython.  CPython 3.8 has added a SyntaxWarning
+for this.
+
+diff --git a/gdb/python/lib/gdb/command/prompt.py 
b/gdb/python/lib/gdb/command/prompt.py
+index 3d662a7..04b9e49 100644
+--- a/gdb/python/lib/gdb/command/prompt.py
 b/gdb/python/lib/gdb/command/prompt.py
+@@ -45,7 +45,7 @@ The currently defined substitutions are:
+ self.hook_set = False
+ 
+ def get_show_string (self, pvalue):
+-if self.value is not '':
++if self.value:
+return "The extended prompt is: " + self.value
+ else:
+return "The extended prompt is not set."
+@@ -57,7 +57,7 @@ The currently defined substitutions are:
+ return ""
+ 
+ def before_prompt_hook(self, current):
+-if self.value is not '':
++if self.value:
+ return gdb.prompt.substitute_prompt(self.value)
+ else:
+ return None
+
+From d9c4ba536c522b8dc2194d4100270a159be7894a Mon Sep 17 00:00:00 2001
+From: Sergio Durigan Junior 
+Date: Sun, 25 Aug 2019 12:10:35 -0400
+Subject: [PATCH] Use raw strings on gdb.python/py-xmethods.exp (and fix Python
+ 3.8's "SyntaxWarning: invalid escape sequence")
+
+The way unrecognized escape sequences are handled has changed in
+Python 3.8: users now see a SyntaxWarning message, which will
+eventually become a SyntaxError in future versions of Python:
+
+  (gdb) source /blabla/gdb.python/py-xmethods/py-xmethods.py
+  /blabla/gdb.python/py-xmethods/py-xmethods.py:204: SyntaxWarning: invalid 
escape seque
+  nce \+
+'operator\+',
+  /blabla/gdb.python/py-xmethods/py-xmethods.py:211: SyntaxWarning: invalid 
escape seque
+  nce \+
+'operator\+\+',
+
+One of our testcases, gdb.python/py-xmethods.exp, contains strings in
+the form of "operator\+".  This is not recognized by Python, but is
+still needed by the testsuite to work properly.  The solution is
+simple: we just have to make sure these strings are marked as
+raw (i.e, r"").  This is what this patch does.  I took the opportunity
+to also convert other strings to raw, which, in two cases, allowed the
+removal of an extra backslash.
+
+I tested this using Python 3.7 and Python 3.8, and everything works
+fine.
+
+I think I could push this as obvious, but decided to send it to
+gdb-patches just in case.
+
+gdb/testsuite/ChangeLog:
+2019-08-26  Sergio Durigan Junior  
+
+   * gdb.python/py-xmethods.exp: Use raw strings when passing
+   arguments to SimpleXMethodMatcher.
+
+diff --git a/gdb/testsuite/gdb.python/py-xmethods.py 
b/gdb/testsuite/gdb.python/py-xmethods.py
+index 587842d7360..cea48b80d8c 100644
+--- a/gdb/testsuite/gdb.python/py-xmethods.py
 b/gdb/testsuite/gdb.python/py-xmethods.py
+@@ -199,34 +199,34 @@ def match(self, class_type, method_name):
+ 
+ 
+ global_dm_list = [
+-SimpleXMethodMatcher('A_plus_A',
+- '^dop::A$',
+- 'operator\+',
++

[arch-commits] Commit in gdb/trunk (PKGBUILD)

2019-10-31 Thread Felix Yan via arch-commits
Date: Thursday, October 31, 2019 @ 17:55:56
  Author: felixonmars
Revision: 366273

Python 3.8 rebuild

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-10-31 17:50:32 UTC (rev 366272)
+++ PKGBUILD2019-10-31 17:55:56 UTC (rev 366273)
@@ -6,7 +6,7 @@
 # of gdb (for arm/avr/...)
 pkgname=(gdb gdb-common)
 pkgver=8.3.1
-pkgrel=2
+pkgrel=3
 pkgdesc='The GNU Debugger'
 arch=(x86_64)
 url='https://www.gnu.org/software/gdb/'


[arch-commits] Commit in gdb/trunk (PKGBUILD)

2019-10-25 Thread Evangelos Foutras via arch-commits
Date: Friday, October 25, 2019 @ 15:58:13
  Author: foutrelis
Revision: 365652

Python 3.8 rebuild

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-10-25 15:58:11 UTC (rev 365651)
+++ PKGBUILD2019-10-25 15:58:13 UTC (rev 365652)
@@ -6,7 +6,7 @@
 # of gdb (for arm/avr/...)
 pkgname=(gdb gdb-common)
 pkgver=8.3.1
-pkgrel=1
+pkgrel=2
 pkgdesc='The GNU Debugger'
 arch=(x86_64)
 url='https://www.gnu.org/software/gdb/'


[arch-commits] Commit in gdb/trunk (PKGBUILD)

2019-10-01 Thread Anatol Pomozov via arch-commits
Date: Tuesday, October 1, 2019 @ 17:50:25
  Author: anatolik
Revision: 363617

upgpkg: gdb 8.3.1-1

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-10-01 17:27:23 UTC (rev 363616)
+++ PKGBUILD2019-10-01 17:50:25 UTC (rev 363617)
@@ -5,7 +5,7 @@
 # gdb-common is a package that contains files common for all cross compiled 
versions
 # of gdb (for arm/avr/...)
 pkgname=(gdb gdb-common)
-pkgver=8.3
+pkgver=8.3.1
 pkgrel=1
 pkgdesc='The GNU Debugger'
 arch=(x86_64)
@@ -13,7 +13,7 @@
 license=(GPL3)
 makedepends=(texinfo python guile2.0 ncurses expat xz)
 source=(https://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
-sha1sums=('f45de6af561f0fa0241f0d5085198556fcfd1e5e'
+sha1sums=('d403ba208945bbf04f8130ea4853730cdf0c8fc7'
   'SKIP')
 validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
 


[arch-commits] Commit in gdb/trunk (PKGBUILD)

2019-05-12 Thread Anatol Pomozov via arch-commits
Date: Sunday, May 12, 2019 @ 18:46:22
  Author: anatolik
Revision: 353137

upgpkg: gdb 8.3-1

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-05-12 15:19:40 UTC (rev 353136)
+++ PKGBUILD2019-05-12 18:46:22 UTC (rev 353137)
@@ -5,8 +5,8 @@
 # gdb-common is a package that contains files common for all cross compiled 
versions
 # of gdb (for arm/avr/...)
 pkgname=(gdb gdb-common)
-pkgver=8.2.1
-pkgrel=3
+pkgver=8.3
+pkgrel=1
 pkgdesc='The GNU Debugger'
 arch=(x86_64)
 url='https://www.gnu.org/software/gdb/'
@@ -13,7 +13,7 @@
 license=(GPL3)
 makedepends=(texinfo python guile2.0 ncurses expat xz)
 source=(https://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
-sha1sums=('023556a6d6effa1ffaadf0007cc4458cbe8dde3d'
+sha1sums=('f45de6af561f0fa0241f0d5085198556fcfd1e5e'
   'SKIP')
 validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
 


[arch-commits] Commit in gdb/trunk (PKGBUILD)

2019-05-04 Thread Antonio Rojas via arch-commits
Date: Saturday, May 4, 2019 @ 19:01:20
  Author: arojas
Revision: 352495

https

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-05-04 19:01:01 UTC (rev 352494)
+++ PKGBUILD2019-05-04 19:01:20 UTC (rev 352495)
@@ -9,7 +9,7 @@
 pkgrel=3
 pkgdesc='The GNU Debugger'
 arch=(x86_64)
-url='http://www.gnu.org/software/gdb/'
+url='https://www.gnu.org/software/gdb/'
 license=(GPL3)
 makedepends=(texinfo python guile2.0 ncurses expat xz)
 source=(https://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})


[arch-commits] Commit in gdb/trunk (PKGBUILD)

2019-01-10 Thread Felix Yan via arch-commits
Date: Thursday, January 10, 2019 @ 23:55:04
  Author: felixonmars
Revision: 343535

Readline 8.0 rebuild

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-01-10 23:49:16 UTC (rev 343534)
+++ PKGBUILD2019-01-10 23:55:04 UTC (rev 343535)
@@ -6,7 +6,7 @@
 # of gdb (for arm/avr/...)
 pkgname=(gdb gdb-common)
 pkgver=8.2.1
-pkgrel=2
+pkgrel=3
 pkgdesc='The GNU Debugger'
 arch=(x86_64)
 url='http://www.gnu.org/software/gdb/'


[arch-commits] Commit in gdb/trunk (PKGBUILD)

2019-01-10 Thread Felix Yan via arch-commits
Date: Thursday, January 10, 2019 @ 16:14:12
  Author: felixonmars
Revision: 343512

Readline 8.0 rebuild

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-01-10 16:12:05 UTC (rev 343511)
+++ PKGBUILD2019-01-10 16:14:12 UTC (rev 343512)
@@ -6,7 +6,7 @@
 # of gdb (for arm/avr/...)
 pkgname=(gdb gdb-common)
 pkgver=8.2.1
-pkgrel=1
+pkgrel=2
 pkgdesc='The GNU Debugger'
 arch=(x86_64)
 url='http://www.gnu.org/software/gdb/'


[arch-commits] Commit in gdb/trunk (PKGBUILD)

2018-12-25 Thread Anatol Pomozov via arch-commits
Date: Wednesday, December 26, 2018 @ 01:34:52
  Author: anatolik
Revision: 342736

upgpkg: gdb 8.2.1-1

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-12-25 14:45:22 UTC (rev 342735)
+++ PKGBUILD2018-12-26 01:34:52 UTC (rev 342736)
@@ -5,8 +5,8 @@
 # gdb-common is a package that contains files common for all cross compiled 
versions
 # of gdb (for arm/avr/...)
 pkgname=(gdb gdb-common)
-pkgver=8.2
-pkgrel=2
+pkgver=8.2.1
+pkgrel=1
 pkgdesc='The GNU Debugger'
 arch=(x86_64)
 url='http://www.gnu.org/software/gdb/'
@@ -13,7 +13,7 @@
 license=(GPL3)
 makedepends=(texinfo python guile2.0 ncurses expat xz)
 source=(https://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
-sha1sums=('ee66294d87a109f88a459d0da5d0bb2da5135f45'
+sha1sums=('023556a6d6effa1ffaadf0007cc4458cbe8dde3d'
   'SKIP')
 validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
 


[arch-commits] Commit in gdb/trunk (PKGBUILD)

2018-09-05 Thread Anatol Pomozov via arch-commits
Date: Wednesday, September 5, 2018 @ 20:33:13
  Author: anatolik
Revision: 333555

upgpkg: gdb 8.2-2

Remove files that conflict with binutils

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |8 ++--
 1 file changed, 2 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-09-05 20:25:35 UTC (rev 333554)
+++ PKGBUILD2018-09-05 20:33:13 UTC (rev 333555)
@@ -40,10 +40,7 @@
   depends=(python guile2.0)
 
   cd gdb-$pkgver
-  make DESTDIR=$pkgdir install
-  make -C bfd DESTDIR=$pkgdir uninstall # conflicts with binutils
-
-  rm -r $pkgdir/usr/{bin,include,lib,share/info,share/man}
+  make -C gdb/data-directory DESTDIR=$pkgdir install
 }
 
 package_gdb() {
@@ -51,8 +48,7 @@
   backup=(etc/gdb/gdbinit)
 
   cd gdb-$pkgver
-  make DESTDIR=$pkgdir install
-  make -C bfd DESTDIR=$pkgdir uninstall # conflicts with binutils
+  make -C gdb DESTDIR=$pkgdir install
 
   # install "custom" system gdbinit
   install -dm755 $pkgdir/etc/gdb


[arch-commits] Commit in gdb/trunk (PKGBUILD)

2018-09-05 Thread Anatol Pomozov via arch-commits
Date: Wednesday, September 5, 2018 @ 18:16:42
  Author: anatolik
Revision: 333521

upgpkg: gdb 8.2-2

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |   14 +++---
 1 file changed, 3 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-09-05 18:07:01 UTC (rev 333520)
+++ PKGBUILD2018-09-05 18:16:42 UTC (rev 333521)
@@ -7,7 +7,7 @@
 # of gdb (for arm/avr/...)
 pkgname=(gdb gdb-common)
 pkgver=8.2
-pkgrel=1
+pkgrel=2
 pkgdesc='The GNU Debugger'
 arch=(x86_64)
 url='http://www.gnu.org/software/gdb/'
@@ -41,12 +41,8 @@
 
   cd gdb-$pkgver
   make DESTDIR=$pkgdir install
+  make -C bfd DESTDIR=$pkgdir uninstall # conflicts with binutils
 
-  # resolve conflicts with binutils
-  rm $pkgdir/usr/include/{ansidecl,bfd,bfdlink,dis-asm,plugin-api,symcat}.h
-  rm $pkgdir/usr/share/info/bfd.info
-  rm $pkgdir/usr/lib/{libbfd,libopcodes}.a
-
   rm -r $pkgdir/usr/{bin,include,lib,share/info,share/man}
 }
 
@@ -56,16 +52,12 @@
 
   cd gdb-$pkgver
   make DESTDIR=$pkgdir install
+  make -C bfd DESTDIR=$pkgdir uninstall # conflicts with binutils
 
   # install "custom" system gdbinit
   install -dm755 $pkgdir/etc/gdb
   touch $pkgdir/etc/gdb/gdbinit
 
-  # resolve conflicts with binutils
-  rm $pkgdir/usr/include/{ansidecl,bfd,bfdlink,dis-asm,plugin-api,symcat}.h
-  rm $pkgdir/usr/share/info/bfd.info
-  rm $pkgdir/usr/lib/{libbfd,libopcodes}.a
-
   # comes from gdb-common
   rm -r $pkgdir/usr/share/gdb/
 }


[arch-commits] Commit in gdb/trunk (PKGBUILD)

2018-09-05 Thread Anatol Pomozov via arch-commits
Date: Wednesday, September 5, 2018 @ 16:52:37
  Author: anatolik
Revision: 333472

upgpkg: gdb 8.2-1

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-09-05 16:52:01 UTC (rev 333471)
+++ PKGBUILD2018-09-05 16:52:37 UTC (rev 333472)
@@ -6,7 +6,7 @@
 # gdb-common is a package that contains files common for all cross compiled 
versions
 # of gdb (for arm/avr/...)
 pkgname=(gdb gdb-common)
-pkgver=8.1.1
+pkgver=8.2
 pkgrel=1
 pkgdesc='The GNU Debugger'
 arch=(x86_64)
@@ -14,7 +14,7 @@
 license=(GPL3)
 makedepends=(texinfo python guile2.0 ncurses expat xz)
 source=(https://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
-sha1sums=('8c04c12f11b5ba74e7506785632c7fc593ead90f'
+sha1sums=('ee66294d87a109f88a459d0da5d0bb2da5135f45'
   'SKIP')
 validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
 


[arch-commits] Commit in gdb/trunk (PKGBUILD)

2018-08-07 Thread Anatol Pomozov via arch-commits
Date: Tuesday, August 7, 2018 @ 20:43:50
  Author: anatolik
Revision: 331137

upgpkg: gdb 8.1.1-1

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |   14 +-
 1 file changed, 5 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-08-07 20:16:48 UTC (rev 331136)
+++ PKGBUILD2018-08-07 20:43:50 UTC (rev 331137)
@@ -6,18 +6,16 @@
 # gdb-common is a package that contains files common for all cross compiled 
versions
 # of gdb (for arm/avr/...)
 pkgname=(gdb gdb-common)
-pkgver=8.1
-pkgrel=3
+pkgver=8.1.1
+pkgrel=1
 pkgdesc='The GNU Debugger'
 arch=(x86_64)
 url='http://www.gnu.org/software/gdb/'
 license=(GPL3)
 makedepends=(texinfo python guile2.0 ncurses expat xz)
-source=(https://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig}
-fix_python37.patch)
-sha1sums=('641861f7d3f22b6a23bc3e801f0ff29a78375490'
-  'SKIP'
-  '37a299b86478228cf35f00c7e01274c07dc5fa94')
+source=(https://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
+sha1sums=('8c04c12f11b5ba74e7506785632c7fc593ead90f'
+  'SKIP')
 validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
 
 prepare() {
@@ -25,8 +23,6 @@
 
   # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
   sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
-
-  patch -p1 < ../fix_python37.patch
 }
 
 build() {


[arch-commits] Commit in gdb/trunk (PKGBUILD)

2018-07-01 Thread Felix Yan via arch-commits
Date: Sunday, July 1, 2018 @ 07:41:42
  Author: felixonmars
Revision: 327905

Python 3.7 rebuild

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-07-01 07:37:26 UTC (rev 327904)
+++ PKGBUILD2018-07-01 07:41:42 UTC (rev 327905)
@@ -7,7 +7,7 @@
 # of gdb (for arm/avr/...)
 pkgname=(gdb gdb-common)
 pkgver=8.1
-pkgrel=2
+pkgrel=3
 pkgdesc='The GNU Debugger'
 arch=(x86_64)
 url='http://www.gnu.org/software/gdb/'


[arch-commits] Commit in gdb/trunk (PKGBUILD fix_python37.patch)

2018-07-01 Thread Anatol Pomozov via arch-commits
Date: Sunday, July 1, 2018 @ 07:37:26
  Author: anatolik
Revision: 327904

Pull python 3.7 fix from upstream

Added:
  gdb/trunk/fix_python37.patch
Modified:
  gdb/trunk/PKGBUILD

+
 PKGBUILD   |   10 +--
 fix_python37.patch |   66 +++
 2 files changed, 73 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-07-01 06:33:45 UTC (rev 327903)
+++ PKGBUILD2018-07-01 07:37:26 UTC (rev 327904)
@@ -7,15 +7,17 @@
 # of gdb (for arm/avr/...)
 pkgname=(gdb gdb-common)
 pkgver=8.1
-pkgrel=1
+pkgrel=2
 pkgdesc='The GNU Debugger'
 arch=(x86_64)
 url='http://www.gnu.org/software/gdb/'
 license=(GPL3)
 makedepends=(texinfo python guile2.0 ncurses expat xz)
-source=(https://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
+source=(https://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig}
+fix_python37.patch)
 sha1sums=('641861f7d3f22b6a23bc3e801f0ff29a78375490'
-  'SKIP')
+  'SKIP'
+  '37a299b86478228cf35f00c7e01274c07dc5fa94')
 validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
 
 prepare() {
@@ -23,6 +25,8 @@
 
   # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
   sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
+
+  patch -p1 < ../fix_python37.patch
 }
 
 build() {

Added: fix_python37.patch
===
--- fix_python37.patch  (rev 0)
+++ fix_python37.patch  2018-07-01 07:37:26 UTC (rev 327904)
@@ -0,0 +1,66 @@
+From aeab512851bf6ed623d1c6c4305b6ce05e51a10c Mon Sep 17 00:00:00 2001
+From: Paul Koning 
+Date: Fri, 8 Jun 2018 13:26:36 -0400
+Subject: [PATCH] Fix build issue with Python 3.7
+
+Originally reported in
+https://bugzilla.redhat.com/show_bug.cgi?id=1577396 -- gdb build fails
+with Python 3.7 due to references to a Python internal function whose
+declaration changed in 3.7.
+
+gdb/ChangeLog
+2018-06-08  Paul Koning  
+
+   PR gdb/23252
+
+   * python/python.c (do_start_initialization):
+   Avoid call to internal Python API.
+   (init__gdb_module): New function.
+---
+ gdb/ChangeLog   |  8 
+ gdb/python/python.c | 18 +++---
+ 2 files changed, 23 insertions(+), 3 deletions(-)
+
+diff --git a/gdb/python/python.c b/gdb/python/python.c
+index 1805c906284..20fc674f20a 100644
+--- a/gdb/python/python.c
 b/gdb/python/python.c
+@@ -1667,6 +1667,17 @@ finalize_python (void *ignore)
+   restore_active_ext_lang (previous_active);
+ }
+ 
++#ifdef IS_PY3K
++/* This is called via the PyImport_AppendInittab mechanism called
++   during initialization, to make the built-in _gdb module known to
++   Python.  */
++PyMODINIT_FUNC
++init__gdb_module (void)
++{
++  return PyModule_Create (_GdbModuleDef);
++}
++#endif
++
+ static bool
+ do_start_initialization ()
+ {
+@@ -1707,6 +1718,9 @@ do_start_initialization ()
+  remain alive for the duration of the program's execution, so
+  it is not freed after this call.  */
+   Py_SetProgramName (progname_copy);
++
++  /* Define _gdb as a built-in module.  */
++  PyImport_AppendInittab ("_gdb", init__gdb_module);
+ #else
+   Py_SetProgramName (progname.release ());
+ #endif
+@@ -1716,9 +1730,7 @@ do_start_initialization ()
+   PyEval_InitThreads ();
+ 
+ #ifdef IS_PY3K
+-  gdb_module = PyModule_Create (_GdbModuleDef);
+-  /* Add _gdb module to the list of known built-in modules.  */
+-  _PyImport_FixupBuiltin (gdb_module, "_gdb");
++  gdb_module = PyImport_ImportModule ("_gdb");
+ #else
+   gdb_module = Py_InitModule ("_gdb", python_GdbMethods);
+ #endif


[arch-commits] Commit in gdb/trunk (PKGBUILD)

2018-01-30 Thread Anatol Pomozov via arch-commits
Date: Wednesday, January 31, 2018 @ 07:26:08
  Author: anatolik
Revision: 315655

upgpkg: gdb 8.1-1

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-01-31 07:18:48 UTC (rev 315654)
+++ PKGBUILD2018-01-31 07:26:08 UTC (rev 315655)
@@ -6,7 +6,7 @@
 # gdb-common is a package that contains files common for all cross compiled 
versions
 # of gdb (for arm/avr/...)
 pkgname=(gdb gdb-common)
-pkgver=8.0.1
+pkgver=8.1
 pkgrel=1
 pkgdesc='The GNU Debugger'
 arch=(x86_64)
@@ -14,7 +14,7 @@
 license=(GPL3)
 makedepends=(texinfo python guile2.0 ncurses expat xz)
 source=(https://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
-sha1sums=('faa945f77cf9bb5ae9530664f8b34ad21e38088f'
+sha1sums=('641861f7d3f22b6a23bc3e801f0ff29a78375490'
   'SKIP')
 validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
 
@@ -51,7 +51,7 @@
 }
 
 package_gdb() {
-  depends=(ncurses expat xz gdb-common=$pkgver)
+  depends=(ncurses expat xz mpfr gdb-common=$pkgver)
   backup=(etc/gdb/gdbinit)
 
   cd gdb-$pkgver


[arch-commits] Commit in gdb/trunk (PKGBUILD)

2017-09-07 Thread Anatol Pomozov
Date: Thursday, September 7, 2017 @ 22:19:20
  Author: anatolik
Revision: 305021

upgpkg: gdb 8.0.1-1

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-09-07 21:35:15 UTC (rev 305020)
+++ PKGBUILD2017-09-07 22:19:20 UTC (rev 305021)
@@ -6,7 +6,7 @@
 # gdb-common is a package that contains files common for all cross compiled 
versions
 # of gdb (for arm/avr/...)
 pkgname=(gdb gdb-common)
-pkgver=8.0
+pkgver=8.0.1
 pkgrel=1
 pkgdesc='The GNU Debugger'
 arch=(i686 x86_64)
@@ -14,7 +14,7 @@
 license=(GPL3)
 makedepends=(texinfo python guile2.0 ncurses expat xz)
 source=(https://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
-sha1sums=('148c8e783ebf9b281241d0566db59961191ec64d'
+sha1sums=('faa945f77cf9bb5ae9530664f8b34ad21e38088f'
   'SKIP')
 validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
 


[arch-commits] Commit in gdb/trunk (PKGBUILD)

2017-06-04 Thread Anatol Pomozov
Date: Monday, June 5, 2017 @ 01:39:21
  Author: anatolik
Revision: 297797

upgpkg: gdb 8.0-1

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-06-04 22:58:42 UTC (rev 297796)
+++ PKGBUILD2017-06-05 01:39:21 UTC (rev 297797)
@@ -6,8 +6,8 @@
 # gdb-common is a package that contains files common for all cross compiled 
versions
 # of gdb (for arm/avr/...)
 pkgname=(gdb gdb-common)
-pkgver=7.12.1
-pkgrel=3
+pkgver=8.0
+pkgrel=1
 pkgdesc='The GNU Debugger'
 arch=(i686 x86_64)
 url='http://www.gnu.org/software/gdb/'
@@ -14,7 +14,7 @@
 license=(GPL3)
 makedepends=(texinfo python guile2.0 ncurses expat xz)
 source=(https://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
-sha1sums=('ef77c5345d6f9fdcdf7a5d8503301242b701936e'
+sha1sums=('148c8e783ebf9b281241d0566db59961191ec64d'
   'SKIP')
 validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
 


[arch-commits] Commit in gdb/trunk (PKGBUILD)

2017-04-04 Thread Anatol Pomozov
Date: Tuesday, April 4, 2017 @ 14:35:56
  Author: anatolik
Revision: 292071

FS#53538 add missing guile2.0 dependency to gdb-common

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-04-04 12:39:09 UTC (rev 292070)
+++ PKGBUILD2017-04-04 14:35:56 UTC (rev 292071)
@@ -7,7 +7,7 @@
 # of gdb (for arm/avr/...)
 pkgname=(gdb gdb-common)
 pkgver=7.12.1
-pkgrel=2
+pkgrel=3
 pkgdesc='The GNU Debugger'
 arch=(i686 x86_64)
 url='http://www.gnu.org/software/gdb/'
@@ -37,7 +37,7 @@
 }
 
 package_gdb-common() {
-  depends=(python guile)
+  depends=(python guile2.0)
 
   cd gdb-$pkgver
   make DESTDIR=$pkgdir install


[arch-commits] Commit in gdb/trunk (PKGBUILD)

2017-03-29 Thread Anatol Pomozov
Date: Thursday, March 30, 2017 @ 04:21:52
  Author: anatolik
Revision: 291840

Guile 2.2 rebuild

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-03-29 21:48:49 UTC (rev 291839)
+++ PKGBUILD2017-03-30 04:21:52 UTC (rev 291840)
@@ -7,12 +7,12 @@
 # of gdb (for arm/avr/...)
 pkgname=(gdb gdb-common)
 pkgver=7.12.1
-pkgrel=1
+pkgrel=2
 pkgdesc='The GNU Debugger'
 arch=(i686 x86_64)
 url='http://www.gnu.org/software/gdb/'
 license=(GPL3)
-makedepends=(texinfo python guile ncurses expat xz)
+makedepends=(texinfo python guile2.0 ncurses expat xz)
 source=(https://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
 sha1sums=('ef77c5345d6f9fdcdf7a5d8503301242b701936e'
   'SKIP')
@@ -31,6 +31,7 @@
   ./configure --prefix=/usr --disable-nls \
 --with-system-readline \
 --with-python=/usr/bin/python3 \
+--with-guile=guile-2.0 \
 --with-system-gdbinit=/etc/gdb/gdbinit
   make
 }


[arch-commits] Commit in gdb/trunk (PKGBUILD)

2017-01-25 Thread Anatol Pomozov
Date: Wednesday, January 25, 2017 @ 12:19:45
  Author: anatolik
Revision: 287415

upgpkg: gdb 7.12.1-1

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-01-25 11:23:18 UTC (rev 287414)
+++ PKGBUILD2017-01-25 12:19:45 UTC (rev 287415)
@@ -6,8 +6,8 @@
 # gdb-common is a package that contains files common for all cross compiled 
versions
 # of gdb (for arm/avr/...)
 pkgname=(gdb gdb-common)
-pkgver=7.12
-pkgrel=4
+pkgver=7.12.1
+pkgrel=1
 pkgdesc='The GNU Debugger'
 arch=(i686 x86_64)
 url='http://www.gnu.org/software/gdb/'
@@ -14,7 +14,7 @@
 license=(GPL3)
 makedepends=(texinfo python guile ncurses expat xz)
 source=(https://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
-sha1sums=('1a6a0f2fe04d6ac9ba85048af35610e0fc217300'
+sha1sums=('ef77c5345d6f9fdcdf7a5d8503301242b701936e'
   'SKIP')
 validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
 


[arch-commits] Commit in gdb/trunk (PKGBUILD)

2016-12-24 Thread Bartłomiej Piotrowski
Date: Saturday, December 24, 2016 @ 11:27:13
  Author: bpiotrowski
Revision: 284610

Python 3.6 rebuild

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-12-24 11:25:42 UTC (rev 284609)
+++ PKGBUILD2016-12-24 11:27:13 UTC (rev 284610)
@@ -7,7 +7,7 @@
 # of gdb (for arm/avr/...)
 pkgname=(gdb gdb-common)
 pkgver=7.12
-pkgrel=3
+pkgrel=4
 pkgdesc='The GNU Debugger'
 arch=(i686 x86_64)
 url='http://www.gnu.org/software/gdb/'


[arch-commits] Commit in gdb/trunk (PKGBUILD)

2016-11-07 Thread Felix Yan
Date: Monday, November 7, 2016 @ 10:16:12
  Author: felixonmars
Revision: 280022

readline 7.0 rebuild

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-11-07 10:08:40 UTC (rev 280021)
+++ PKGBUILD2016-11-07 10:16:12 UTC (rev 280022)
@@ -7,7 +7,7 @@
 # of gdb (for arm/avr/...)
 pkgname=(gdb gdb-common)
 pkgver=7.12
-pkgrel=2
+pkgrel=3
 pkgdesc='The GNU Debugger'
 arch=(i686 x86_64)
 url='http://www.gnu.org/software/gdb/'


[arch-commits] Commit in gdb/trunk (PKGBUILD)

2016-11-07 Thread Felix Yan
Date: Monday, November 7, 2016 @ 09:35:09
  Author: felixonmars
Revision: 280016

readline 7.0 rebuild

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-11-07 09:27:24 UTC (rev 280015)
+++ PKGBUILD2016-11-07 09:35:09 UTC (rev 280016)
@@ -7,7 +7,7 @@
 # of gdb (for arm/avr/...)
 pkgname=(gdb gdb-common)
 pkgver=7.12
-pkgrel=1
+pkgrel=2
 pkgdesc='The GNU Debugger'
 arch=(i686 x86_64)
 url='http://www.gnu.org/software/gdb/'


[arch-commits] Commit in gdb/trunk (PKGBUILD)

2016-10-07 Thread Anatol Pomozov
Date: Friday, October 7, 2016 @ 19:41:26
  Author: anatolik
Revision: 277906

upgpkg: gdb 7.12-1

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-10-07 19:40:07 UTC (rev 277905)
+++ PKGBUILD2016-10-07 19:41:26 UTC (rev 277906)
@@ -6,8 +6,8 @@
 # gdb-common is a package that contains files common for all cross compiled 
versions
 # of gdb (for arm/avr/...)
 pkgname=(gdb gdb-common)
-pkgver=7.11.1
-pkgrel=2
+pkgver=7.12
+pkgrel=1
 pkgdesc='The GNU Debugger'
 arch=(i686 x86_64)
 url='http://www.gnu.org/software/gdb/'
@@ -14,7 +14,7 @@
 license=(GPL3)
 makedepends=(texinfo python guile ncurses expat xz)
 source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
-sha1sums=('df23fde077df1b8555949281bc963596f70de3ec'
+sha1sums=('1a6a0f2fe04d6ac9ba85048af35610e0fc217300'
   'SKIP')
 validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
 


[arch-commits] Commit in gdb/trunk (PKGBUILD)

2016-08-15 Thread Anatol Pomozov
Date: Monday, August 15, 2016 @ 19:04:37
  Author: anatolik
Revision: 273814

upgpkg: gdb 7.11.1-2

Split out arch independent scripts into gdb-common package.

Cross compiled packages like avr-gdb should depend on it.

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |   33 +++--
 1 file changed, 27 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-08-15 15:58:16 UTC (rev 273813)
+++ PKGBUILD2016-08-15 19:04:37 UTC (rev 273814)
@@ -2,16 +2,17 @@
 # Maintainer: Allan McRae 
 # Contributor: Jan de Groot 
 
-pkgname=gdb
+pkgbase=gdb
+# gdb-common is a package that contains files common for all cross compiled 
versions
+# of gdb (for arm/avr/...)
+pkgname=(gdb gdb-common)
 pkgver=7.11.1
-pkgrel=1
+pkgrel=2
 pkgdesc='The GNU Debugger'
 arch=(i686 x86_64)
 url='http://www.gnu.org/software/gdb/'
 license=(GPL3)
-depends=(ncurses expat python xz guile)
-makedepends=(texinfo)
-backup=(etc/gdb/gdbinit)
+makedepends=(texinfo python guile ncurses expat xz)
 source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
 sha1sums=('df23fde077df1b8555949281bc963596f70de3ec'
   'SKIP')
@@ -34,10 +35,27 @@
   make
 }
 
-package() {
+package_gdb-common() {
+  depends=(python guile)
+
   cd gdb-$pkgver
   make DESTDIR=$pkgdir install
 
+  # resolve conflicts with binutils
+  rm $pkgdir/usr/include/{ansidecl,bfd,bfdlink,dis-asm,plugin-api,symcat}.h
+  rm $pkgdir/usr/share/info/bfd.info
+  rm $pkgdir/usr/lib/{libbfd,libopcodes}.a
+
+  rm -r $pkgdir/usr/{bin,include,lib,share/info,share/man}
+}
+
+package_gdb() {
+  depends=(ncurses expat xz gdb-common=$pkgver)
+  backup=(etc/gdb/gdbinit)
+
+  cd gdb-$pkgver
+  make DESTDIR=$pkgdir install
+
   # install "custom" system gdbinit
   install -dm755 $pkgdir/etc/gdb
   touch $pkgdir/etc/gdb/gdbinit
@@ -46,4 +64,7 @@
   rm $pkgdir/usr/include/{ansidecl,bfd,bfdlink,dis-asm,plugin-api,symcat}.h
   rm $pkgdir/usr/share/info/bfd.info
   rm $pkgdir/usr/lib/{libbfd,libopcodes}.a
+
+  # comes from gdb-common
+  rm -r $pkgdir/usr/share/gdb/
 }


[arch-commits] Commit in gdb/trunk (PKGBUILD)

2016-06-01 Thread Anatol Pomozov
Date: Wednesday, June 1, 2016 @ 20:33:12
  Author: anatolik
Revision: 268828

upgpkg: gdb 7.11.1-1

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-06-01 18:10:44 UTC (rev 268827)
+++ PKGBUILD2016-06-01 18:33:12 UTC (rev 268828)
@@ -3,7 +3,7 @@
 # Contributor: Jan de Groot 
 
 pkgname=gdb
-pkgver=7.11
+pkgver=7.11.1
 pkgrel=1
 pkgdesc='The GNU Debugger'
 arch=(i686 x86_64)
@@ -13,7 +13,7 @@
 makedepends=(texinfo)
 backup=(etc/gdb/gdbinit)
 source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
-sha1sums=('466208d771d97d3dfcf965d5c835a669cff8d847'
+sha1sums=('df23fde077df1b8555949281bc963596f70de3ec'
   'SKIP')
 validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
 


[arch-commits] Commit in gdb/trunk (PKGBUILD gdb.install)

2016-04-29 Thread Anatol Pomozov
Date: Friday, April 29, 2016 @ 20:23:49
  Author: anatolik
Revision: 266646

This install functionality is handled by hooks now. 
https://www.archlinux.org/todo/hooks-part-1/

Modified:
  gdb/trunk/PKGBUILD
Deleted:
  gdb/trunk/gdb.install

-+
 PKGBUILD|1 -
 gdb.install |   20 
 2 files changed, 21 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-04-29 18:23:03 UTC (rev 266645)
+++ PKGBUILD2016-04-29 18:23:49 UTC (rev 266646)
@@ -12,7 +12,6 @@
 depends=(ncurses expat python xz guile)
 makedepends=(texinfo)
 backup=(etc/gdb/gdbinit)
-install=gdb.install
 source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
 sha1sums=('466208d771d97d3dfcf965d5c835a669cff8d847'
   'SKIP')

Deleted: gdb.install
===
--- gdb.install 2016-04-29 18:23:03 UTC (rev 266645)
+++ gdb.install 2016-04-29 18:23:49 UTC (rev 266646)
@@ -1,20 +0,0 @@
-infodir=usr/share/info
-filelist=(annotate.info gdb.info{,-{1,2,3,4,5,6}} stabs.info)
-
-post_install() {
-  [[ -x usr/bin/install-info ]] || return 0
-  for file in ${filelist[@]}; do
-install-info $infodir/$file.gz $infodir/dir 2> /dev/null
-  done
-}
-
-post_upgrade() {
-  post_install $1
-}
-
-pre_remove() {
-  [[ -x usr/bin/install-info ]] || return 0
-  for file in ${filelist[@]}; do
-install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
-  done
-}


[arch-commits] Commit in gdb/trunk (PKGBUILD)

2016-02-24 Thread Anatol Pomozov
Date: Wednesday, February 24, 2016 @ 18:18:36
  Author: anatolik
Revision: 260224

upgpkg: gdb 7.11-1

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-02-24 12:55:28 UTC (rev 260223)
+++ PKGBUILD2016-02-24 17:18:36 UTC (rev 260224)
@@ -3,7 +3,7 @@
 # Contributor: Jan de Groot 
 
 pkgname=gdb
-pkgver=7.10.1
+pkgver=7.11
 pkgrel=1
 pkgdesc='The GNU Debugger'
 arch=(i686 x86_64)
@@ -14,7 +14,7 @@
 backup=(etc/gdb/gdbinit)
 install=gdb.install
 source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
-sha1sums=('7d67703b31444ae41d8b8707455b97d3fac4ad65'
+sha1sums=('466208d771d97d3dfcf965d5c835a669cff8d847'
   'SKIP')
 validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
 


[arch-commits] Commit in gdb/trunk (PKGBUILD)

2015-12-11 Thread Anatol Pomozov
Date: Friday, December 11, 2015 @ 16:46:45
  Author: anatolik
Revision: 255795

upgpkg: gdb 7.10.1-1

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-12-11 12:55:14 UTC (rev 255794)
+++ PKGBUILD2015-12-11 15:46:45 UTC (rev 255795)
@@ -3,8 +3,8 @@
 # Contributor: Jan de Groot 
 
 pkgname=gdb
-pkgver=7.10
-pkgrel=4
+pkgver=7.10.1
+pkgrel=1
 pkgdesc='The GNU Debugger'
 arch=(i686 x86_64)
 url='http://www.gnu.org/software/gdb/'
@@ -14,7 +14,7 @@
 backup=(etc/gdb/gdbinit)
 install=gdb.install
 source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
-sha1sums=('95338f65ae9f61ecb76592f2cbe336a7d948b905'
+sha1sums=('7d67703b31444ae41d8b8707455b97d3fac4ad65'
   'SKIP')
 validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
 


[arch-commits] Commit in gdb/trunk (PKGBUILD)

2015-09-19 Thread Evangelos Foutras
Date: Saturday, September 19, 2015 @ 18:50:34
  Author: foutrelis
Revision: 246661

Python 3.5 rebuild

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-09-19 16:49:25 UTC (rev 246660)
+++ PKGBUILD2015-09-19 16:50:34 UTC (rev 246661)
@@ -4,7 +4,7 @@
 
 pkgname=gdb
 pkgver=7.10
-pkgrel=3
+pkgrel=4
 pkgdesc='The GNU Debugger'
 arch=(i686 x86_64)
 url='http://www.gnu.org/software/gdb/'


[arch-commits] Commit in gdb/trunk (PKGBUILD)

2015-09-07 Thread Evangelos Foutras
Date: Monday, September 7, 2015 @ 11:52:07
  Author: foutrelis
Revision: 245446

ncurses 6.0 rebuild.

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-09-07 09:48:00 UTC (rev 245445)
+++ PKGBUILD2015-09-07 09:52:07 UTC (rev 245446)
@@ -4,7 +4,7 @@
 
 pkgname=gdb
 pkgver=7.10
-pkgrel=1
+pkgrel=2
 pkgdesc='The GNU Debugger'
 arch=(i686 x86_64)
 url='http://www.gnu.org/software/gdb/'


[arch-commits] Commit in gdb/trunk (PKGBUILD)

2015-09-07 Thread Evangelos Foutras
Date: Monday, September 7, 2015 @ 15:39:45
  Author: foutrelis
Revision: 245454

ncurses 6.0 rebuild.

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-09-07 13:27:49 UTC (rev 245453)
+++ PKGBUILD2015-09-07 13:39:45 UTC (rev 245454)
@@ -4,7 +4,7 @@
 
 pkgname=gdb
 pkgver=7.10
-pkgrel=2
+pkgrel=3
 pkgdesc='The GNU Debugger'
 arch=(i686 x86_64)
 url='http://www.gnu.org/software/gdb/'


[arch-commits] Commit in gdb/trunk (PKGBUILD)

2015-08-29 Thread Anatol Pomozov
Date: Sunday, August 30, 2015 @ 02:54:19
  Author: anatolik
Revision: 245077

upgpkg: gdb 7.10-1

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |   16 
 1 file changed, 8 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-08-29 22:53:05 UTC (rev 245076)
+++ PKGBUILD2015-08-30 00:54:19 UTC (rev 245077)
@@ -3,18 +3,18 @@
 # Contributor: Jan de Groot j...@archlinux.org
 
 pkgname=gdb
-pkgver=7.9.1
+pkgver=7.10
 pkgrel=1
 pkgdesc='The GNU Debugger'
-arch=('i686' 'x86_64')
-url=http://www.gnu.org/software/gdb/;
-license=('GPL3')
-depends=('ncurses' 'expat' 'python' 'xz' 'guile')
-makedepends=('texinfo')
-backup=('etc/gdb/gdbinit')
+arch=(i686 x86_64)
+url='http://www.gnu.org/software/gdb/'
+license=(GPL3)
+depends=(ncurses expat python xz guile)
+makedepends=(texinfo)
+backup=(etc/gdb/gdbinit)
 install=gdb.install
 source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
-sha1sums=('04ba2906279b16b5f99c4f6b25942843a3717cdb'
+sha1sums=('95338f65ae9f61ecb76592f2cbe336a7d948b905'
   'SKIP')
 validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
 


[arch-commits] Commit in gdb/trunk (PKGBUILD)

2015-07-29 Thread Anatol Pomozov
Date: Wednesday, July 29, 2015 @ 18:12:22
  Author: anatolik
Revision: 242843

FS#44921 Use python3 for bindings

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-07-29 14:30:38 UTC (rev 242842)
+++ PKGBUILD2015-07-29 16:12:22 UTC (rev 242843)
@@ -9,7 +9,7 @@
 arch=('i686' 'x86_64')
 url=http://www.gnu.org/software/gdb/;
 license=('GPL3')
-depends=('ncurses' 'expat' 'python2' 'xz' 'guile')
+depends=('ncurses' 'expat' 'python' 'xz' 'guile')
 makedepends=('texinfo')
 backup=('etc/gdb/gdbinit')
 install=gdb.install
@@ -28,10 +28,9 @@
 build() {
   cd gdb-$pkgver
   
-  # guile support has a severe bug 
https://sourceware.org/bugzilla/show_bug.cgi?id=17247
   ./configure --prefix=/usr --disable-nls \
 --with-system-readline \
---with-python=/usr/bin/python2 \
+--with-python=/usr/bin/python3 \
 --with-system-gdbinit=/etc/gdb/gdbinit
   make
 }


[arch-commits] Commit in gdb/trunk (PKGBUILD)

2015-05-14 Thread Anatol Pomozov
Date: Thursday, May 14, 2015 @ 15:31:38
  Author: anatolik
Revision: 239345

upgpkg: gdb 7.9.1-1

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-05-14 10:37:11 UTC (rev 239344)
+++ PKGBUILD2015-05-14 13:31:38 UTC (rev 239345)
@@ -3,7 +3,7 @@
 # Contributor: Jan de Groot j...@archlinux.org
 
 pkgname=gdb
-pkgver=7.9
+pkgver=7.9.1
 pkgrel=1
 pkgdesc='The GNU Debugger'
 arch=('i686' 'x86_64')
@@ -14,7 +14,7 @@
 backup=('etc/gdb/gdbinit')
 install=gdb.install
 source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
-sha1sums=('1dabff2168bd8fe3cadf9386e47a47c527ea99ba'
+sha1sums=('04ba2906279b16b5f99c4f6b25942843a3717cdb'
   'SKIP')
 validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
 


[arch-commits] Commit in gdb/trunk (PKGBUILD)

2015-02-20 Thread Anatol Pomozov
Date: Friday, February 20, 2015 @ 22:05:52
  Author: anatolik
Revision: 231707

upgpkg: gdb 7.9-1

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |   10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-02-20 19:44:38 UTC (rev 231706)
+++ PKGBUILD2015-02-20 21:05:52 UTC (rev 231707)
@@ -3,7 +3,7 @@
 # Contributor: Jan de Groot j...@archlinux.org
 
 pkgname=gdb
-pkgver=7.8.2
+pkgver=7.9
 pkgrel=1
 pkgdesc='The GNU Debugger'
 arch=('i686' 'x86_64')
@@ -14,8 +14,8 @@
 backup=('etc/gdb/gdbinit')
 install=gdb.install
 source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
-md5sums=('a80cf252ed2e775d4e4533341bbf2459'
- 'SKIP')
+sha1sums=('1dabff2168bd8fe3cadf9386e47a47c527ea99ba'
+  'SKIP')
 validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
 
 prepare() {
@@ -45,7 +45,7 @@
   touch $pkgdir/etc/gdb/gdbinit
 
   # resolve conflicts with binutils
-  rm $pkgdir/usr/include/{ansidecl,bfd,bfdlink,dis-asm,symcat}.h
-  rm $pkgdir/usr/share/info/{bfd,configure,standards}.info
+  rm $pkgdir/usr/include/{ansidecl,bfd,bfdlink,dis-asm,plugin-api,symcat}.h
+  rm $pkgdir/usr/share/info/bfd.info
   rm $pkgdir/usr/lib/{libbfd,libopcodes}.a
 }


[arch-commits] Commit in gdb/trunk (PKGBUILD)

2015-01-15 Thread Anatol Pomozov
Date: Friday, January 16, 2015 @ 02:11:47
  Author: anatolik
Revision: 229126

upgpkg: gdb 7.8.2-1

Add guile support

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |   24 
 1 file changed, 12 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-01-16 00:55:27 UTC (rev 229125)
+++ PKGBUILD2015-01-16 01:11:47 UTC (rev 229126)
@@ -3,23 +3,23 @@
 # Contributor: Jan de Groot j...@archlinux.org
 
 pkgname=gdb
-pkgver=7.8.1
+pkgver=7.8.2
 pkgrel=1
-pkgdesc=The GNU Debugger
+pkgdesc='The GNU Debugger'
 arch=('i686' 'x86_64')
 url=http://www.gnu.org/software/gdb/;
 license=('GPL3')
-depends=('ncurses' 'expat' 'python2' 'xz')
+depends=('ncurses' 'expat' 'python2' 'xz' 'guile')
 makedepends=('texinfo')
 backup=('etc/gdb/gdbinit')
 install=gdb.install
 source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
-md5sums=('8072be87a94be0936bc3b4b6941b0862'
+md5sums=('a80cf252ed2e775d4e4533341bbf2459'
  'SKIP')
 validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
 
 prepare() {
-  cd ${pkgname}-${pkgver}
+  cd gdb-$pkgver
 
   # hack! - libiberty configure tests for header files using $CPP $CPPFLAGS
   sed -i /ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/ libiberty/configure
@@ -26,20 +26,19 @@
 }
 
 build() {
-  cd ${pkgname}-${pkgver}
+  cd gdb-$pkgver
   
   # guile support has a severe bug 
https://sourceware.org/bugzilla/show_bug.cgi?id=17247
   ./configure --prefix=/usr --disable-nls \
 --with-system-readline \
 --with-python=/usr/bin/python2 \
---with-system-gdbinit=/etc/gdb/gdbinit \
---without-guile
+--with-system-gdbinit=/etc/gdb/gdbinit
   make
 }
 
 package() {
-  cd ${pkgname}-${pkgver}
-  make DESTDIR=${pkgdir} install
+  cd gdb-$pkgver
+  make DESTDIR=$pkgdir install
 
   # install custom system gdbinit
   install -dm755 $pkgdir/etc/gdb
@@ -46,6 +45,7 @@
   touch $pkgdir/etc/gdb/gdbinit
 
   # resolve conflicts with binutils
-  rm ${pkgdir}/usr/include/{ansidecl,bfd,bfdlink,dis-asm,symcat}.h
-  rm ${pkgdir}/usr/share/info/{bfd,configure,standards}.info
+  rm $pkgdir/usr/include/{ansidecl,bfd,bfdlink,dis-asm,symcat}.h
+  rm $pkgdir/usr/share/info/{bfd,configure,standards}.info
+  rm $pkgdir/usr/lib/{libbfd,libopcodes}.a
 }


[arch-commits] Commit in gdb/trunk (PKGBUILD)

2014-12-29 Thread Anatol Pomozov
Date: Tuesday, December 30, 2014 @ 01:18:46
  Author: anatolik
Revision: 228161

Add validpgpkeys

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |1 +
 1 file changed, 1 insertion(+)

Modified: PKGBUILD
===
--- PKGBUILD2014-12-30 00:12:53 UTC (rev 228160)
+++ PKGBUILD2014-12-30 00:18:46 UTC (rev 228161)
@@ -16,6 +16,7 @@
 source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
 md5sums=('8072be87a94be0936bc3b4b6941b0862'
  'SKIP')
+validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
 
 prepare() {
   cd ${pkgname}-${pkgver}


[arch-commits] Commit in gdb/trunk (PKGBUILD)

2014-10-29 Thread Anatol Pomozov
Date: Thursday, October 30, 2014 @ 00:02:20
  Author: anatolik
Revision: 225455

upgpkg: gdb 7.8.1-1

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |   12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-10-29 21:21:03 UTC (rev 225454)
+++ PKGBUILD2014-10-29 23:02:20 UTC (rev 225455)
@@ -3,8 +3,8 @@
 # Contributor: Jan de Groot j...@archlinux.org
 
 pkgname=gdb
-pkgver=7.8
-pkgrel=2
+pkgver=7.8.1
+pkgrel=1
 pkgdesc=The GNU Debugger
 arch=('i686' 'x86_64')
 url=http://www.gnu.org/software/gdb/;
@@ -14,11 +14,11 @@
 backup=('etc/gdb/gdbinit')
 install=gdb.install
 source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
-md5sums=('bd958fe9019d7c7896f29f6724a764ed'
+md5sums=('8072be87a94be0936bc3b4b6941b0862'
  'SKIP')
 
 prepare() {
-  cd ${srcdir}/${pkgname}-${pkgver}
+  cd ${pkgname}-${pkgver}
 
   # hack! - libiberty configure tests for header files using $CPP $CPPFLAGS
   sed -i /ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/ libiberty/configure
@@ -25,7 +25,7 @@
 }
 
 build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
+  cd ${pkgname}-${pkgver}
   
   # guile support has a severe bug 
https://sourceware.org/bugzilla/show_bug.cgi?id=17247
   ./configure --prefix=/usr --disable-nls \
@@ -37,7 +37,7 @@
 }
 
 package() {
-  cd ${srcdir}/${pkgname}-${pkgver}
+  cd ${pkgname}-${pkgver}
   make DESTDIR=${pkgdir} install
 
   # install custom system gdbinit


[arch-commits] Commit in gdb/trunk (PKGBUILD)

2014-08-27 Thread Anatol Pomozov
Date: Wednesday, August 27, 2014 @ 08:17:40
  Author: anatolik
Revision: 220690

upgpkg: gdb 7.8-2

Disable guile dependency
https://sourceware.org/bugzilla/show_bug.cgi?id=17247

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |8 +---
 1 file changed, 5 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-08-27 06:15:05 UTC (rev 220689)
+++ PKGBUILD2014-08-27 06:17:40 UTC (rev 220690)
@@ -4,12 +4,12 @@
 
 pkgname=gdb
 pkgver=7.8
-pkgrel=1
+pkgrel=2
 pkgdesc=The GNU Debugger
 arch=('i686' 'x86_64')
 url=http://www.gnu.org/software/gdb/;
 license=('GPL3')
-depends=('ncurses' 'expat' 'python2' 'xz' 'guile')
+depends=('ncurses' 'expat' 'python2' 'xz')
 makedepends=('texinfo')
 backup=('etc/gdb/gdbinit')
 install=gdb.install
@@ -27,10 +27,12 @@
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
   
+  # guile support has a severe bug 
https://sourceware.org/bugzilla/show_bug.cgi?id=17247
   ./configure --prefix=/usr --disable-nls \
 --with-system-readline \
 --with-python=/usr/bin/python2 \
---with-system-gdbinit=/etc/gdb/gdbinit
+--with-system-gdbinit=/etc/gdb/gdbinit \
+--without-guile
   make
 }
 



[arch-commits] Commit in gdb/trunk (PKGBUILD)

2014-07-29 Thread Anatol Pomozov
Date: Wednesday, July 30, 2014 @ 06:08:39
  Author: anatolik
Revision: 218354

upgpkg: gdb 7.8-1

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-07-30 02:18:37 UTC (rev 218353)
+++ PKGBUILD2014-07-30 04:08:39 UTC (rev 218354)
@@ -3,18 +3,18 @@
 # Contributor: Jan de Groot j...@archlinux.org
 
 pkgname=gdb
-pkgver=7.7.1
+pkgver=7.8
 pkgrel=1
 pkgdesc=The GNU Debugger
 arch=('i686' 'x86_64')
 url=http://www.gnu.org/software/gdb/;
 license=('GPL3')
-depends=('ncurses' 'expat' 'python2' 'xz')
+depends=('ncurses' 'expat' 'python2' 'xz' 'guile')
 makedepends=('texinfo')
 backup=('etc/gdb/gdbinit')
 install=gdb.install
-source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.bz2{,.sig})
-md5sums=('77b20b515e7c25f032cb9732a66620fe'
+source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
+md5sums=('bd958fe9019d7c7896f29f6724a764ed'
  'SKIP')
 
 prepare() {



[arch-commits] Commit in gdb/trunk (PKGBUILD)

2014-05-06 Thread Anatol Pomozov
Date: Tuesday, May 6, 2014 @ 20:12:46
  Author: anatolik
Revision: 212091

upgpkg: gdb 7.7.1-1

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-05-06 16:06:39 UTC (rev 212090)
+++ PKGBUILD2014-05-06 18:12:46 UTC (rev 212091)
@@ -3,18 +3,18 @@
 # Contributor: Jan de Groot j...@archlinux.org
 
 pkgname=gdb
-pkgver=7.7
+pkgver=7.7.1
 pkgrel=1
 pkgdesc=The GNU Debugger
 arch=('i686' 'x86_64')
 url=http://www.gnu.org/software/gdb/;
 license=('GPL3')
-depends=('ncurses' 'expat' 'python2')
+depends=('ncurses' 'expat' 'python2' 'xz')
 makedepends=('texinfo')
 backup=('etc/gdb/gdbinit')
 install=gdb.install
 source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.bz2{,.sig})
-md5sums=('271a18f41858a7e98b28ae4eb91287c9'
+md5sums=('77b20b515e7c25f032cb9732a66620fe'
  'SKIP')
 
 prepare() {



[arch-commits] Commit in gdb/trunk (PKGBUILD gdb.install)

2014-02-06 Thread Allan McRae
Date: Thursday, February 6, 2014 @ 14:09:39
  Author: allan
Revision: 205507

upgpkg: gdb 7.7-1

upstream update

Modified:
  gdb/trunk/PKGBUILD
  gdb/trunk/gdb.install

-+
 PKGBUILD|5 ++---
 gdb.install |2 +-
 2 files changed, 3 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-02-06 10:55:43 UTC (rev 205506)
+++ PKGBUILD2014-02-06 13:09:39 UTC (rev 205507)
@@ -3,7 +3,7 @@
 # Contributor: Jan de Groot j...@archlinux.org
 
 pkgname=gdb
-pkgver=7.6.2
+pkgver=7.7
 pkgrel=1
 pkgdesc=The GNU Debugger
 arch=('i686' 'x86_64')
@@ -14,7 +14,7 @@
 backup=('etc/gdb/gdbinit')
 install=gdb.install
 source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.bz2{,.sig})
-md5sums=('496399e96654fc0f899a5c964bc1f0f8'
+md5sums=('271a18f41858a7e98b28ae4eb91287c9'
  'SKIP')
 
 prepare() {
@@ -44,6 +44,5 @@
 
   # resolve conflicts with binutils
   rm ${pkgdir}/usr/include/{ansidecl,bfd,bfdlink,dis-asm,symcat}.h
-  rm ${pkgdir}/usr/lib/{libbfd,libiberty,libopcodes}.a
   rm ${pkgdir}/usr/share/info/{bfd,configure,standards}.info
 }

Modified: gdb.install
===
--- gdb.install 2014-02-06 10:55:43 UTC (rev 205506)
+++ gdb.install 2014-02-06 13:09:39 UTC (rev 205507)
@@ -1,5 +1,5 @@
 infodir=usr/share/info
-filelist=(annotate.info gdb.info{,-{1,2,3,4,5,6,7}} gdbint.info{,-{1,2}} 
stabs.info)
+filelist=(annotate.info gdb.info{,-{1,2,3,4,5,6}} stabs.info)
 
 post_install() {
   [[ -x usr/bin/install-info ]] || return 0



[arch-commits] Commit in gdb/trunk (PKGBUILD)

2013-12-12 Thread Allan McRae
Date: Thursday, December 12, 2013 @ 16:27:00
  Author: allan
Revision: 201465

upgpkg: gdb 7.6.2-1

upstream update

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-12-12 15:15:01 UTC (rev 201464)
+++ PKGBUILD2013-12-12 15:27:00 UTC (rev 201465)
@@ -3,7 +3,7 @@
 # Contributor: Jan de Groot j...@archlinux.org
 
 pkgname=gdb
-pkgver=7.6.1
+pkgver=7.6.2
 pkgrel=1
 pkgdesc=The GNU Debugger
 arch=('i686' 'x86_64')
@@ -14,7 +14,7 @@
 backup=('etc/gdb/gdbinit')
 install=gdb.install
 source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.bz2{,.sig})
-md5sums=('fbc4dab4181e6e9937075b43a4ce2732'
+md5sums=('496399e96654fc0f899a5c964bc1f0f8'
  'SKIP')
 
 prepare() {



[arch-commits] Commit in gdb/trunk (PKGBUILD)

2013-08-30 Thread Allan McRae
Date: Saturday, August 31, 2013 @ 07:33:18
  Author: allan
Revision: 193780

upgpkg: gdb 7.6.1-1

upstream update

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-08-30 20:51:15 UTC (rev 193779)
+++ PKGBUILD2013-08-31 05:33:18 UTC (rev 193780)
@@ -3,7 +3,7 @@
 # Contributor: Jan de Groot j...@archlinux.org
 
 pkgname=gdb
-pkgver=7.6
+pkgver=7.6.1
 pkgrel=1
 pkgdesc=The GNU Debugger
 arch=('i686' 'x86_64')
@@ -15,7 +15,7 @@
 options=('!libtool')
 install=gdb.install
 source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.bz2{,.sig})
-md5sums=('fda57170e4d11cdde74259ca575412a8'
+md5sums=('fbc4dab4181e6e9937075b43a4ce2732'
  'SKIP')
 
 prepare() {



[arch-commits] Commit in gdb/trunk (PKGBUILD gdb.install)

2013-04-27 Thread Allan McRae
Date: Saturday, April 27, 2013 @ 08:38:44
  Author: allan
Revision: 183694

upgpkg: gdb 7.6-1

upstream update

Modified:
  gdb/trunk/PKGBUILD
  gdb/trunk/gdb.install

-+
 PKGBUILD|   13 ++---
 gdb.install |4 +++-
 2 files changed, 13 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-04-27 04:42:47 UTC (rev 183693)
+++ PKGBUILD2013-04-27 06:38:44 UTC (rev 183694)
@@ -3,7 +3,7 @@
 # Contributor: Jan de Groot j...@archlinux.org
 
 pkgname=gdb
-pkgver=7.5.1
+pkgver=7.6
 pkgrel=1
 pkgdesc=The GNU Debugger
 arch=('i686' 'x86_64')
@@ -15,9 +15,16 @@
 options=('!libtool')
 install=gdb.install
 source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.bz2{,.sig})
-md5sums=('3f48f468b24447cf24820054ff6e85b1'
- '31ab569c78a01d3f946c6fe0336175fe')
+md5sums=('fda57170e4d11cdde74259ca575412a8'
+ 'SKIP')
 
+prepare() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  # hack! - libiberty configure tests for header files using $CPP $CPPFLAGS
+  sed -i /ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/ libiberty/configure
+}
+
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
   

Modified: gdb.install
===
--- gdb.install 2013-04-27 04:42:47 UTC (rev 183693)
+++ gdb.install 2013-04-27 06:38:44 UTC (rev 183694)
@@ -1,7 +1,8 @@
 infodir=usr/share/info
-filelist=(annotate.info gdb.info gdb.info-1 gdb.info-2 gdb.info-3 gdb.info-4 
gdbint.info gdbint.info-1 gdbint.info-2 stabs.info)
+filelist=(annotate.info gdb.info{,-{1,2,3,4,5,6,7}} gdbint.info{,-{1,2}} 
stabs.info)
 
 post_install() {
+  [[ -x usr/bin/install-info ]] || return 0
   for file in ${filelist[@]}; do
 install-info $infodir/$file.gz $infodir/dir 2 /dev/null
   done
@@ -12,6 +13,7 @@
 }
 
 pre_remove() {
+  [[ -x usr/bin/install-info ]] || return 0
   for file in ${filelist[@]}; do
 install-info --delete $infodir/$file.gz $infodir/dir 2 /dev/null
   done



[arch-commits] Commit in gdb/trunk (PKGBUILD)

2012-11-29 Thread Allan McRae
Date: Thursday, November 29, 2012 @ 23:19:46
  Author: allan
Revision: 172147

upgpkg: gdb 7.5.1-1

upstream update

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-11-30 03:08:07 UTC (rev 172146)
+++ PKGBUILD2012-11-30 04:19:46 UTC (rev 172147)
@@ -3,7 +3,7 @@
 # Contributor: Jan de Groot j...@archlinux.org
 
 pkgname=gdb
-pkgver=7.5
+pkgver=7.5.1
 pkgrel=1
 pkgdesc=The GNU Debugger
 arch=('i686' 'x86_64')
@@ -15,8 +15,8 @@
 options=('!libtool')
 install=gdb.install
 source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.bz2{,.sig})
-md5sums=('24a6779a9fe0260667710de1b082ef61'
- 'c1d42158075135b539ecba166987bc15')
+md5sums=('3f48f468b24447cf24820054ff6e85b1'
+ '31ab569c78a01d3f946c6fe0336175fe')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}



[arch-commits] Commit in gdb/trunk (PKGBUILD)

2012-08-17 Thread Allan McRae
Date: Saturday, August 18, 2012 @ 01:24:06
  Author: allan
Revision: 165405

upgpkg: gdb 7.5-1

upstream update

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-08-18 01:24:31 UTC (rev 165404)
+++ PKGBUILD2012-08-18 05:24:06 UTC (rev 165405)
@@ -3,7 +3,7 @@
 # Contributor: Jan de Groot j...@archlinux.org
 
 pkgname=gdb
-pkgver=7.4.1
+pkgver=7.5
 pkgrel=1
 pkgdesc=The GNU Debugger
 arch=('i686' 'x86_64')
@@ -15,8 +15,8 @@
 options=('!libtool')
 install=gdb.install
 source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.bz2{,.sig})
-md5sums=('8854d34691087ec127d934692639855f'
- 'a3d48626efc9e7d802f0734ca39a7878')
+md5sums=('24a6779a9fe0260667710de1b082ef61'
+ 'c1d42158075135b539ecba166987bc15')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}



[arch-commits] Commit in gdb/trunk (PKGBUILD)

2012-04-26 Thread Allan McRae
Date: Friday, April 27, 2012 @ 01:05:56
  Author: allan
Revision: 157330

upgpkg: gdb 7.4.1-1

upstream update

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-04-27 04:56:59 UTC (rev 157329)
+++ PKGBUILD2012-04-27 05:05:56 UTC (rev 157330)
@@ -3,7 +3,7 @@
 # Contributor: Jan de Groot j...@archlinux.org
 
 pkgname=gdb
-pkgver=7.4
+pkgver=7.4.1
 pkgrel=1
 pkgdesc=The GNU Debugger
 arch=('i686' 'x86_64')
@@ -15,8 +15,8 @@
 options=('!libtool')
 install=gdb.install
 source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.bz2{,.sig})
-md5sums=('95a9a8305fed4d30a30a6dc28ff9d060'
- 'd5ac067e8dca336cf4586e4e2269d3b2')
+md5sums=('8854d34691087ec127d934692639855f'
+ 'a3d48626efc9e7d802f0734ca39a7878')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}



[arch-commits] Commit in gdb/trunk (PKGBUILD)

2012-01-24 Thread Allan McRae
Date: Wednesday, January 25, 2012 @ 01:02:08
  Author: allan
Revision: 147257

upgpkg: gdb 7.4-1

upstream update

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-01-25 05:10:29 UTC (rev 147256)
+++ PKGBUILD2012-01-25 06:02:08 UTC (rev 147257)
@@ -3,7 +3,7 @@
 # Contributor: Jan de Groot j...@archlinux.org
 
 pkgname=gdb
-pkgver=7.3.1
+pkgver=7.4
 pkgrel=1
 pkgdesc=The GNU Debugger
 arch=('i686' 'x86_64')
@@ -14,8 +14,9 @@
 backup=('etc/gdb/gdbinit')
 options=('!libtool')
 install=gdb.install
-source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('b89a5fac359c618dda97b88645ceab47')
+source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.bz2{,.sig})
+md5sums=('95a9a8305fed4d30a30a6dc28ff9d060'
+ 'd5ac067e8dca336cf4586e4e2269d3b2')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}



[arch-commits] Commit in gdb/trunk (PKGBUILD)

2011-09-04 Thread Allan McRae
Date: Monday, September 5, 2011 @ 01:57:27
  Author: allan
Revision: 137002

upgpkg: gdb 7.3.1-1

upstream update

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-09-05 05:55:06 UTC (rev 137001)
+++ PKGBUILD2011-09-05 05:57:27 UTC (rev 137002)
@@ -3,8 +3,8 @@
 # Contributor: Jan de Groot j...@archlinux.org
 
 pkgname=gdb
-pkgver=7.3
-pkgrel=2
+pkgver=7.3.1
+pkgrel=1
 pkgdesc=The GNU Debugger
 arch=('i686' 'x86_64')
 url=http://www.gnu.org/software/gdb/;
@@ -15,7 +15,7 @@
 options=('!libtool')
 install=gdb.install
 source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('485022b8df7ba2221f217e128f479fe7')
+md5sums=('b89a5fac359c618dda97b88645ceab47')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}



[arch-commits] Commit in gdb/trunk (PKGBUILD)

2011-07-30 Thread Allan McRae
Date: Sunday, July 31, 2011 @ 00:32:05
  Author: allan
Revision: 133976

upgpkg: gdb 7.3-2
python support must be explicitly configured now

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-07-31 04:15:59 UTC (rev 133975)
+++ PKGBUILD2011-07-31 04:32:05 UTC (rev 133976)
@@ -4,7 +4,7 @@
 
 pkgname=gdb
 pkgver=7.3
-pkgrel=1
+pkgrel=2
 pkgdesc=The GNU Debugger
 arch=('i686' 'x86_64')
 url=http://www.gnu.org/software/gdb/;
@@ -22,6 +22,7 @@
   
   ./configure --prefix=/usr --disable-nls \
 --with-system-readline \
+--with-python=/usr/bin/python2 \
 --with-system-gdbinit=/etc/gdb/gdbinit
   make
 }



[arch-commits] Commit in gdb/trunk (PKGBUILD gdb.install)

2011-07-29 Thread Allan McRae
Date: Friday, July 29, 2011 @ 21:37:16
  Author: allan
Revision: 133610

upgpkg: gdb 7.3-1
upstream update

Modified:
  gdb/trunk/PKGBUILD
  gdb/trunk/gdb.install

-+
 PKGBUILD|   11 ---
 gdb.install |2 +-
 2 files changed, 5 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-07-29 22:28:52 UTC (rev 133609)
+++ PKGBUILD2011-07-30 01:37:16 UTC (rev 133610)
@@ -1,10 +1,10 @@
 # $Id$
 # Maintainer: Allan McRae al...@archlinux.org
-# Maintainer: Jan de Groot j...@archlinux.org
+# Contributor: Jan de Groot j...@archlinux.org
 
 pkgname=gdb
-pkgver=7.2
-pkgrel=2
+pkgver=7.3
+pkgrel=1
 pkgdesc=The GNU Debugger
 arch=('i686' 'x86_64')
 url=http://www.gnu.org/software/gdb/;
@@ -15,7 +15,7 @@
 options=('!libtool')
 install=gdb.install
 source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('64260e6c56979ee750a01055f16091a5')
+md5sums=('485022b8df7ba2221f217e128f479fe7')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
@@ -24,9 +24,6 @@
 --with-system-readline \
 --with-system-gdbinit=/etc/gdb/gdbinit
   make
-  
-  # requires dejagnu
-  #make check
 }
 
 package() {

Modified: gdb.install
===
--- gdb.install 2011-07-29 22:28:52 UTC (rev 133609)
+++ gdb.install 2011-07-30 01:37:16 UTC (rev 133610)
@@ -1,4 +1,4 @@
-infodir=/usr/share/info
+infodir=usr/share/info
 filelist=(annotate.info gdb.info gdb.info-1 gdb.info-2 gdb.info-3 gdb.info-4 
gdbint.info gdbint.info-1 gdbint.info-2 stabs.info)
 
 post_install() {



[arch-commits] Commit in gdb/trunk (PKGBUILD gdb-python-2.7.patch)

2010-08-17 Thread Allan McRae
Date: Tuesday, August 17, 2010 @ 11:03:23
  Author: allan
Revision: 87672

upgpkg: gdb 7.1-3
-m

Added:
  gdb/trunk/gdb-python-2.7.patch
Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |   24 ++--
 gdb-python-2.7.patch |   27 +++
 2 files changed, 45 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2010-08-17 14:53:17 UTC (rev 87671)
+++ PKGBUILD2010-08-17 15:03:23 UTC (rev 87672)
@@ -4,31 +4,43 @@
 
 pkgname=gdb
 pkgver=7.1
-pkgrel=2
+pkgrel=3
 pkgdesc=The GNU Debugger
 arch=('i686' 'x86_64')
 url=http://www.gnu.org/software/gdb/;
 license=('GPL3')
-depends=('ncurses' 'expat' 'python')
+depends=('ncurses' 'expat' 'python2')
 makedepends=('texinfo')
 backup=('etc/gdb/gdbinit')
 options=('!libtool')
 install=gdb.install
 source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.bz2
-tui-no-gdbarch.patch)
+tui-no-gdbarch.patch
+gdb-python-2.7.patch)
 md5sums=('21dce610476c054687b52770d2ddc657'
- 'e2f3f6cb11d72e3727ed4f7c49ea395f')
+ 'e2f3f6cb11d72e3727ed4f7c49ea395f'
+ 'eae41a42d44edaf8bfd464e5b227583e')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
   patch -Np1 -i $srcdir/tui-no-gdbarch.patch
   
+  # python-2.7 compatibility
+  patch -Np1 -i $srcdir/gdb-python-2.7.patch
+  
+  # ppl-0.11 compatibility
+  sed -i /ppl_minor_version=/s#10#11# configure
+  
   ./configure --prefix=/usr --disable-nls \
 --with-system-readline \
 --with-system-gdbinit=/etc/gdb/gdbinit
-  make || return 1
-  make DESTDIR=${pkgdir} install || return 1
+  make
+}
 
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+
   # install custom system gdbinit
   install -dm755 $pkgdir/etc/gdb
   touch $pkgdir/etc/gdb/gdbinit

Added: gdb-python-2.7.patch
===
--- gdb-python-2.7.patch(rev 0)
+++ gdb-python-2.7.patch2010-08-17 15:03:23 UTC (rev 87672)
@@ -0,0 +1,27 @@
+--- gdb-7.0/gdb/configure.ac~  2010-07-08 14:54:43.770583270 +0200
 gdb-7.0/gdb/configure.ac   2010-07-08 14:56:17.539947910 +0200
+@@ -881,6 +881,12 @@
+   LIBS=$LIBS ${python_libs}
+   have_libpython=no
+   if test ${have_libpython} = no; then
++AC_TRY_LIBPYTHON(python2.7, have_libpython)
++if test ${HAVE_LIBPYTHON2_7} = yes; then
++  AC_DEFINE(HAVE_LIBPYTHON2_7, 1, [Define if Python 2.7 is being used.])
++fi
++  fi
++  if test ${have_libpython} = no; then
+ AC_TRY_LIBPYTHON(python2.6, have_libpython)
+ if test ${HAVE_LIBPYTHON2_6} = yes; then
+   AC_DEFINE(HAVE_LIBPYTHON2_6, 1, [Define if Python 2.6 is being used.])
+--- gdb-7.0/gdb/python/python-internal.h~  2010-07-08 14:54:43.136858331 
+0200
 gdb-7.0/gdb/python/python-internal.h   2010-07-08 14:56:56.739736159 
+0200
+@@ -45,6 +45,9 @@
+ #elif HAVE_LIBPYTHON2_6
+ #include python2.6/Python.h
+ #include python2.6/frameobject.h
++#elif HAVE_LIBPYTHON2_7
++#include python2.7/Python.h
++#include python2.7/frameobject.h
+ #else
+ #error Unable to find usable Python.h
+ #endif



[arch-commits] Commit in gdb/trunk (PKGBUILD tui-no-gdbarch.patch)

2010-04-11 Thread Allan McRae
Date: Sunday, April 11, 2010 @ 07:51:03
  Author: allan
Revision: 77190

upgpkg: gdb 7.1-2
fix FS#19000 (TUI mode failue), FS#19040 (get old patch out of PKGBUILD)

Added:
  gdb/trunk/tui-no-gdbarch.patch
Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |8 +++
 tui-no-gdbarch.patch |   54 +
 2 files changed, 58 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2010-04-11 11:45:47 UTC (rev 77189)
+++ PKGBUILD2010-04-11 11:51:03 UTC (rev 77190)
@@ -4,7 +4,7 @@
 
 pkgname=gdb
 pkgver=7.1
-pkgrel=1
+pkgrel=2
 pkgdesc=The GNU Debugger
 arch=('i686' 'x86_64')
 url=http://www.gnu.org/software/gdb/;
@@ -15,13 +15,13 @@
 options=('!libtool')
 install=gdb.install
 source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.bz2
-gdb-readline-6.0.patch)
+tui-no-gdbarch.patch)
 md5sums=('21dce610476c054687b52770d2ddc657'
- '82e9eac057954899092405e9ef97d029')
+ 'e2f3f6cb11d72e3727ed4f7c49ea395f')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
-  patch -Np1 -i $srcdir/gdb-readline-6.0.patch
+  patch -Np1 -i $srcdir/tui-no-gdbarch.patch
   
   ./configure --prefix=/usr --disable-nls \
 --with-system-readline \

Added: tui-no-gdbarch.patch
===
--- tui-no-gdbarch.patch(rev 0)
+++ tui-no-gdbarch.patch2010-04-11 11:51:03 UTC (rev 77190)
@@ -0,0 +1,54 @@
+2010-03-20  Daniel Jacobowitz  d...@codesourcery.com
+
+   * tui/tui-disasm.c (tui_get_begin_asm_address): Default to
+   get_current_arch.
+   * tui/tui-layout.c (extract_display_start_addr): Likewise.
+
+Index: src/gdb/tui/tui-disasm.c
+===
+RCS file: /cvs/src/src/gdb/tui/tui-disasm.c,v
+retrieving revision 1.33
+diff -u -p -r1.33 tui-disasm.c
+--- src/gdb/tui/tui-disasm.c   1 Jan 2010 07:32:07 -   1.33
 src/gdb/tui/tui-disasm.c   20 Mar 2010 04:17:05 -
+@@ -21,6 +21,7 @@
+along with this program.  If not, see http://www.gnu.org/licenses/.  */
+ 
+ #include defs.h
++#include arch-utils.h
+ #include symtab.h
+ #include breakpoint.h
+ #include frame.h
+@@ -330,7 +331,7 @@ tui_get_begin_asm_address (struct gdbarc
+ {
+   struct tui_gen_win_info *locator;
+   struct tui_locator_element *element;
+-  struct gdbarch *gdbarch = NULL;
++  struct gdbarch *gdbarch = get_current_arch ();
+   CORE_ADDR addr;
+ 
+   locator = tui_locator_win_info_ptr ();
+Index: src/gdb/tui/tui-layout.c
+===
+RCS file: /cvs/src/src/gdb/tui/tui-layout.c,v
+retrieving revision 1.36
+diff -u -p -r1.36 tui-layout.c
+--- src/gdb/tui/tui-layout.c   1 Jan 2010 07:32:07 -   1.36
 src/gdb/tui/tui-layout.c   20 Mar 2010 04:17:05 -
+@@ -21,6 +21,7 @@
+along with this program.  If not, see http://www.gnu.org/licenses/.  */
+ 
+ #include defs.h
++#include arch-utils.h
+ #include command.h
+ #include symtab.h
+ #include frame.h
+@@ -522,7 +523,7 @@ static void
+ extract_display_start_addr (struct gdbarch **gdbarch_p, CORE_ADDR *addr_p)
+ {
+   enum tui_layout_type cur_layout = tui_current_layout ();
+-  struct gdbarch *gdbarch = NULL;
++  struct gdbarch *gdbarch = get_current_arch ();
+   CORE_ADDR addr;
+   CORE_ADDR pc;
+   struct symtab_and_line cursal = get_current_source_symtab_and_line ();



[arch-commits] Commit in gdb/trunk (PKGBUILD)

2010-01-31 Thread Allan McRae
Date: Sunday, January 31, 2010 @ 05:09:33
  Author: allan
Revision: 66470

upgpkg: gdb 7.0.1-2
add global gcbinit (FS#18041)

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |   11 +--
 1 file changed, 9 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2010-01-31 09:50:03 UTC (rev 66469)
+++ PKGBUILD2010-01-31 10:09:33 UTC (rev 66470)
@@ -4,13 +4,14 @@
 
 pkgname=gdb
 pkgver=7.0.1
-pkgrel=1
+pkgrel=2
 pkgdesc=The GNU Debugger
 arch=('i686' 'x86_64')
 url=http://www.gnu.org/software/gdb/;
 license=('GPL3')
 depends=('ncurses' 'expat' 'python')
 makedepends=('texinfo')
+backup=('etc/gdb/gdbinit')
 options=('!libtool')
 install=gdb.install
 source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.bz2
@@ -22,10 +23,16 @@
   cd ${srcdir}/${pkgname}-${pkgver}
   patch -Np1 -i $srcdir/gdb-readline-6.0.patch
   
-  ./configure --prefix=/usr --disable-nls --with-system-readline
+  ./configure --prefix=/usr --disable-nls \
+--with-system-readline \
+--with-system-gdbinit=/etc/gdbinit
   make || return 1
   make DESTDIR=${pkgdir} install || return 1
 
+  # install custom system gdbinit
+  install -dm755 $pkgdir/etc/gdb
+  touch $pkgdir/etc/gdb/gdbinit
+
   # resolve conflicts with binutils
   rm -f ${pkgdir}/usr/include/{bfd,dis-asm,symcat,ansidecl,bfdlink}.h
   rm -f ${pkgdir}/usr/lib/{libiberty,libbfd,libopcodes}.a



[arch-commits] Commit in gdb/trunk (PKGBUILD)

2010-01-31 Thread Allan McRae
Date: Monday, February 1, 2010 @ 00:29:25
  Author: allan
Revision: 66631

upgpkg: gdb 7.0.1-3
get the system gdbinit path right...

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2010-02-01 02:43:54 UTC (rev 66630)
+++ PKGBUILD2010-02-01 05:29:25 UTC (rev 66631)
@@ -4,7 +4,7 @@
 
 pkgname=gdb
 pkgver=7.0.1
-pkgrel=2
+pkgrel=3
 pkgdesc=The GNU Debugger
 arch=('i686' 'x86_64')
 url=http://www.gnu.org/software/gdb/;
@@ -25,7 +25,7 @@
   
   ./configure --prefix=/usr --disable-nls \
 --with-system-readline \
---with-system-gdbinit=/etc/gdbinit
+--with-system-gdbinit=/etc/gdb/gdbinit
   make || return 1
   make DESTDIR=${pkgdir} install || return 1
 



[arch-commits] Commit in gdb/trunk (PKGBUILD)

2010-01-12 Thread Allan McRae
Date: Tuesday, January 12, 2010 @ 16:48:45
  Author: allan
Revision: 62832

upgpkg: gdb 7.0.1-1
upstream update

Modified:
  gdb/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2010-01-12 16:38:28 UTC (rev 62831)
+++ PKGBUILD2010-01-12 21:48:45 UTC (rev 62832)
@@ -3,8 +3,8 @@
 # Maintainer: Jan de Groot j...@archlinux.org
 
 pkgname=gdb
-pkgver=7.0
-pkgrel=2
+pkgver=7.0.1
+pkgrel=1
 pkgdesc=The GNU Debugger
 arch=('i686' 'x86_64')
 url=http://www.gnu.org/software/gdb/;
@@ -15,7 +15,7 @@
 install=gdb.install
 source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.bz2
 gdb-readline-6.0.patch)
-md5sums=('3386a7b69c010785c920ffc1e9cb890a'
+md5sums=('53ebade39bfdc1d06744e5188b6438b1'
  '82e9eac057954899092405e9ef97d029')
 
 build() {