[arch-commits] Commit in gdb/repos (6 files)

2016-02-24 Thread Anatol Pomozov
Date: Wednesday, February 24, 2016 @ 18:19:05
  Author: anatolik
Revision: 260225

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  gdb/repos/testing-i686/
  gdb/repos/testing-i686/PKGBUILD
(from rev 260224, gdb/trunk/PKGBUILD)
  gdb/repos/testing-i686/gdb.install
(from rev 260224, gdb/trunk/gdb.install)
  gdb/repos/testing-x86_64/
  gdb/repos/testing-x86_64/PKGBUILD
(from rev 260224, gdb/trunk/PKGBUILD)
  gdb/repos/testing-x86_64/gdb.install
(from rev 260224, gdb/trunk/gdb.install)

+
 testing-i686/PKGBUILD  |   50 +++
 testing-i686/gdb.install   |   20 +
 testing-x86_64/PKGBUILD|   50 +++
 testing-x86_64/gdb.install |   20 +
 4 files changed, 140 insertions(+)

Copied: gdb/repos/testing-i686/PKGBUILD (from rev 260224, gdb/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2016-02-24 17:19:05 UTC (rev 260225)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Allan McRae 
+# Contributor: Jan de Groot 
+
+pkgname=gdb
+pkgver=7.11
+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)
+install=gdb.install
+source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
+sha1sums=('466208d771d97d3dfcf965d5c835a669cff8d847'
+  'SKIP')
+validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
+
+prepare() {
+  cd gdb-$pkgver
+
+  # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
+  sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
+}
+
+build() {
+  cd gdb-$pkgver
+  
+  ./configure --prefix=/usr --disable-nls \
+--with-system-readline \
+--with-python=/usr/bin/python3 \
+--with-system-gdbinit=/etc/gdb/gdbinit
+  make
+}
+
+package() {
+  cd gdb-$pkgver
+  make DESTDIR=$pkgdir install
+
+  # 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
+}

Copied: gdb/repos/testing-i686/gdb.install (from rev 260224, 
gdb/trunk/gdb.install)
===
--- testing-i686/gdb.install(rev 0)
+++ testing-i686/gdb.install2016-02-24 17:19:05 UTC (rev 260225)
@@ -0,0 +1,20 @@
+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
+}

Copied: gdb/repos/testing-x86_64/PKGBUILD (from rev 260224, gdb/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2016-02-24 17:19:05 UTC (rev 260225)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Allan McRae 
+# Contributor: Jan de Groot 
+
+pkgname=gdb
+pkgver=7.11
+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)
+install=gdb.install
+source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
+sha1sums=('466208d771d97d3dfcf965d5c835a669cff8d847'
+  'SKIP')
+validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
+
+prepare() {
+  cd gdb-$pkgver
+
+  # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
+  sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
+}
+
+build() {
+  cd gdb-$pkgver
+  
+  ./configure --prefix=/usr --disable-nls \
+--with-system-readline \
+--with-python=/usr/bin/python3 \
+--with-system-gdbinit=/etc/gdb/gdbinit
+  make
+}
+
+package() {
+  cd gdb-$pkgver
+  make DESTDIR=$pkgdir install
+
+  # 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
+}

Copied: gdb/repos/testing-x86_64/gdb.install (from rev 260224, 

[arch-commits] Commit in gdb/repos (6 files)

2015-12-11 Thread Anatol Pomozov
Date: Friday, December 11, 2015 @ 16:47:21
  Author: anatolik
Revision: 255796

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  gdb/repos/testing-i686/
  gdb/repos/testing-i686/PKGBUILD
(from rev 255795, gdb/trunk/PKGBUILD)
  gdb/repos/testing-i686/gdb.install
(from rev 255795, gdb/trunk/gdb.install)
  gdb/repos/testing-x86_64/
  gdb/repos/testing-x86_64/PKGBUILD
(from rev 255795, gdb/trunk/PKGBUILD)
  gdb/repos/testing-x86_64/gdb.install
(from rev 255795, gdb/trunk/gdb.install)

+
 testing-i686/PKGBUILD  |   50 +++
 testing-i686/gdb.install   |   20 +
 testing-x86_64/PKGBUILD|   50 +++
 testing-x86_64/gdb.install |   20 +
 4 files changed, 140 insertions(+)

Copied: gdb/repos/testing-i686/PKGBUILD (from rev 255795, gdb/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2015-12-11 15:47:21 UTC (rev 255796)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Allan McRae 
+# Contributor: Jan de Groot 
+
+pkgname=gdb
+pkgver=7.10.1
+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)
+install=gdb.install
+source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
+sha1sums=('7d67703b31444ae41d8b8707455b97d3fac4ad65'
+  'SKIP')
+validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
+
+prepare() {
+  cd gdb-$pkgver
+
+  # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
+  sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
+}
+
+build() {
+  cd gdb-$pkgver
+  
+  ./configure --prefix=/usr --disable-nls \
+--with-system-readline \
+--with-python=/usr/bin/python3 \
+--with-system-gdbinit=/etc/gdb/gdbinit
+  make
+}
+
+package() {
+  cd gdb-$pkgver
+  make DESTDIR=$pkgdir install
+
+  # 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
+}

Copied: gdb/repos/testing-i686/gdb.install (from rev 255795, 
gdb/trunk/gdb.install)
===
--- testing-i686/gdb.install(rev 0)
+++ testing-i686/gdb.install2015-12-11 15:47:21 UTC (rev 255796)
@@ -0,0 +1,20 @@
+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
+}

Copied: gdb/repos/testing-x86_64/PKGBUILD (from rev 255795, gdb/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2015-12-11 15:47:21 UTC (rev 255796)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Allan McRae 
+# Contributor: Jan de Groot 
+
+pkgname=gdb
+pkgver=7.10.1
+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)
+install=gdb.install
+source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
+sha1sums=('7d67703b31444ae41d8b8707455b97d3fac4ad65'
+  'SKIP')
+validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
+
+prepare() {
+  cd gdb-$pkgver
+
+  # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
+  sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
+}
+
+build() {
+  cd gdb-$pkgver
+  
+  ./configure --prefix=/usr --disable-nls \
+--with-system-readline \
+--with-python=/usr/bin/python3 \
+--with-system-gdbinit=/etc/gdb/gdbinit
+  make
+}
+
+package() {
+  cd gdb-$pkgver
+  make DESTDIR=$pkgdir install
+
+  # 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
+}

Copied: gdb/repos/testing-x86_64/gdb.install (from rev 255795, 

[arch-commits] Commit in gdb/repos (6 files)

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

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  gdb/repos/staging-i686/
  gdb/repos/staging-i686/PKGBUILD
(from rev 246661, gdb/trunk/PKGBUILD)
  gdb/repos/staging-i686/gdb.install
(from rev 246661, gdb/trunk/gdb.install)
  gdb/repos/staging-x86_64/
  gdb/repos/staging-x86_64/PKGBUILD
(from rev 246661, gdb/trunk/PKGBUILD)
  gdb/repos/staging-x86_64/gdb.install
(from rev 246661, gdb/trunk/gdb.install)

+
 staging-i686/PKGBUILD  |   50 +++
 staging-i686/gdb.install   |   20 +
 staging-x86_64/PKGBUILD|   50 +++
 staging-x86_64/gdb.install |   20 +
 4 files changed, 140 insertions(+)

Copied: gdb/repos/staging-i686/PKGBUILD (from rev 246661, gdb/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2015-09-19 16:50:41 UTC (rev 246662)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Allan McRae 
+# Contributor: Jan de Groot 
+
+pkgname=gdb
+pkgver=7.10
+pkgrel=4
+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)
+install=gdb.install
+source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
+sha1sums=('95338f65ae9f61ecb76592f2cbe336a7d948b905'
+  'SKIP')
+validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
+
+prepare() {
+  cd gdb-$pkgver
+
+  # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
+  sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
+}
+
+build() {
+  cd gdb-$pkgver
+  
+  ./configure --prefix=/usr --disable-nls \
+--with-system-readline \
+--with-python=/usr/bin/python3 \
+--with-system-gdbinit=/etc/gdb/gdbinit
+  make
+}
+
+package() {
+  cd gdb-$pkgver
+  make DESTDIR=$pkgdir install
+
+  # 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
+}

Copied: gdb/repos/staging-i686/gdb.install (from rev 246661, 
gdb/trunk/gdb.install)
===
--- staging-i686/gdb.install(rev 0)
+++ staging-i686/gdb.install2015-09-19 16:50:41 UTC (rev 246662)
@@ -0,0 +1,20 @@
+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
+}

Copied: gdb/repos/staging-x86_64/PKGBUILD (from rev 246661, gdb/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2015-09-19 16:50:41 UTC (rev 246662)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Allan McRae 
+# Contributor: Jan de Groot 
+
+pkgname=gdb
+pkgver=7.10
+pkgrel=4
+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)
+install=gdb.install
+source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
+sha1sums=('95338f65ae9f61ecb76592f2cbe336a7d948b905'
+  'SKIP')
+validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
+
+prepare() {
+  cd gdb-$pkgver
+
+  # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
+  sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
+}
+
+build() {
+  cd gdb-$pkgver
+  
+  ./configure --prefix=/usr --disable-nls \
+--with-system-readline \
+--with-python=/usr/bin/python3 \
+--with-system-gdbinit=/etc/gdb/gdbinit
+  make
+}
+
+package() {
+  cd gdb-$pkgver
+  make DESTDIR=$pkgdir install
+
+  # 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
+}

Copied: gdb/repos/staging-x86_64/gdb.install (from rev 246661, 

[arch-commits] Commit in gdb/repos (6 files)

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

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  gdb/repos/staging-i686/
  gdb/repos/staging-i686/PKGBUILD
(from rev 245446, gdb/trunk/PKGBUILD)
  gdb/repos/staging-i686/gdb.install
(from rev 245446, gdb/trunk/gdb.install)
  gdb/repos/staging-x86_64/
  gdb/repos/staging-x86_64/PKGBUILD
(from rev 245446, gdb/trunk/PKGBUILD)
  gdb/repos/staging-x86_64/gdb.install
(from rev 245446, gdb/trunk/gdb.install)

+
 staging-i686/PKGBUILD  |   50 +++
 staging-i686/gdb.install   |   20 +
 staging-x86_64/PKGBUILD|   50 +++
 staging-x86_64/gdb.install |   20 +
 4 files changed, 140 insertions(+)

Copied: gdb/repos/staging-i686/PKGBUILD (from rev 245446, gdb/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2015-09-07 09:52:14 UTC (rev 245447)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Allan McRae 
+# Contributor: Jan de Groot 
+
+pkgname=gdb
+pkgver=7.10
+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)
+install=gdb.install
+source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
+sha1sums=('95338f65ae9f61ecb76592f2cbe336a7d948b905'
+  'SKIP')
+validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
+
+prepare() {
+  cd gdb-$pkgver
+
+  # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
+  sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
+}
+
+build() {
+  cd gdb-$pkgver
+  
+  ./configure --prefix=/usr --disable-nls \
+--with-system-readline \
+--with-python=/usr/bin/python3 \
+--with-system-gdbinit=/etc/gdb/gdbinit
+  make
+}
+
+package() {
+  cd gdb-$pkgver
+  make DESTDIR=$pkgdir install
+
+  # 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
+}

Copied: gdb/repos/staging-i686/gdb.install (from rev 245446, 
gdb/trunk/gdb.install)
===
--- staging-i686/gdb.install(rev 0)
+++ staging-i686/gdb.install2015-09-07 09:52:14 UTC (rev 245447)
@@ -0,0 +1,20 @@
+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
+}

Copied: gdb/repos/staging-x86_64/PKGBUILD (from rev 245446, gdb/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2015-09-07 09:52:14 UTC (rev 245447)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Allan McRae 
+# Contributor: Jan de Groot 
+
+pkgname=gdb
+pkgver=7.10
+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)
+install=gdb.install
+source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
+sha1sums=('95338f65ae9f61ecb76592f2cbe336a7d948b905'
+  'SKIP')
+validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
+
+prepare() {
+  cd gdb-$pkgver
+
+  # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
+  sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
+}
+
+build() {
+  cd gdb-$pkgver
+  
+  ./configure --prefix=/usr --disable-nls \
+--with-system-readline \
+--with-python=/usr/bin/python3 \
+--with-system-gdbinit=/etc/gdb/gdbinit
+  make
+}
+
+package() {
+  cd gdb-$pkgver
+  make DESTDIR=$pkgdir install
+
+  # 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
+}

Copied: gdb/repos/staging-x86_64/gdb.install (from rev 245446, 

[arch-commits] Commit in gdb/repos (6 files)

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

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  gdb/repos/testing-i686/
  gdb/repos/testing-i686/PKGBUILD
(from rev 245077, gdb/trunk/PKGBUILD)
  gdb/repos/testing-i686/gdb.install
(from rev 245077, gdb/trunk/gdb.install)
  gdb/repos/testing-x86_64/
  gdb/repos/testing-x86_64/PKGBUILD
(from rev 245077, gdb/trunk/PKGBUILD)
  gdb/repos/testing-x86_64/gdb.install
(from rev 245077, gdb/trunk/gdb.install)

+
 testing-i686/PKGBUILD  |   50 +++
 testing-i686/gdb.install   |   20 +
 testing-x86_64/PKGBUILD|   50 +++
 testing-x86_64/gdb.install |   20 +
 4 files changed, 140 insertions(+)

Copied: gdb/repos/testing-i686/PKGBUILD (from rev 245077, gdb/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2015-08-30 00:54:58 UTC (rev 245078)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Allan McRae al...@archlinux.org
+# Contributor: Jan de Groot j...@archlinux.org
+
+pkgname=gdb
+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)
+install=gdb.install
+source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
+sha1sums=('95338f65ae9f61ecb76592f2cbe336a7d948b905'
+  'SKIP')
+validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
+
+prepare() {
+  cd gdb-$pkgver
+
+  # hack! - libiberty configure tests for header files using $CPP $CPPFLAGS
+  sed -i /ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/ libiberty/configure
+}
+
+build() {
+  cd gdb-$pkgver
+  
+  ./configure --prefix=/usr --disable-nls \
+--with-system-readline \
+--with-python=/usr/bin/python3 \
+--with-system-gdbinit=/etc/gdb/gdbinit
+  make
+}
+
+package() {
+  cd gdb-$pkgver
+  make DESTDIR=$pkgdir install
+
+  # 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
+}

Copied: gdb/repos/testing-i686/gdb.install (from rev 245077, 
gdb/trunk/gdb.install)
===
--- testing-i686/gdb.install(rev 0)
+++ testing-i686/gdb.install2015-08-30 00:54:58 UTC (rev 245078)
@@ -0,0 +1,20 @@
+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
+}

Copied: gdb/repos/testing-x86_64/PKGBUILD (from rev 245077, gdb/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2015-08-30 00:54:58 UTC (rev 245078)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Allan McRae al...@archlinux.org
+# Contributor: Jan de Groot j...@archlinux.org
+
+pkgname=gdb
+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)
+install=gdb.install
+source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
+sha1sums=('95338f65ae9f61ecb76592f2cbe336a7d948b905'
+  'SKIP')
+validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
+
+prepare() {
+  cd gdb-$pkgver
+
+  # hack! - libiberty configure tests for header files using $CPP $CPPFLAGS
+  sed -i /ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/ libiberty/configure
+}
+
+build() {
+  cd gdb-$pkgver
+  
+  ./configure --prefix=/usr --disable-nls \
+--with-system-readline \
+--with-python=/usr/bin/python3 \
+--with-system-gdbinit=/etc/gdb/gdbinit
+  make
+}
+
+package() {
+  cd gdb-$pkgver
+  make DESTDIR=$pkgdir install
+
+  # 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
+}

Copied: gdb/repos/testing-x86_64/gdb.install (from rev 245077, 
gdb/trunk/gdb.install)

[arch-commits] Commit in gdb/repos (6 files)

2015-05-14 Thread Anatol Pomozov
Date: Thursday, May 14, 2015 @ 15:32:09
  Author: anatolik
Revision: 239346

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  gdb/repos/testing-i686/
  gdb/repos/testing-i686/PKGBUILD
(from rev 239345, gdb/trunk/PKGBUILD)
  gdb/repos/testing-i686/gdb.install
(from rev 239345, gdb/trunk/gdb.install)
  gdb/repos/testing-x86_64/
  gdb/repos/testing-x86_64/PKGBUILD
(from rev 239345, gdb/trunk/PKGBUILD)
  gdb/repos/testing-x86_64/gdb.install
(from rev 239345, gdb/trunk/gdb.install)

+
 testing-i686/PKGBUILD  |   51 +++
 testing-i686/gdb.install   |   20 
 testing-x86_64/PKGBUILD|   51 +++
 testing-x86_64/gdb.install |   20 
 4 files changed, 142 insertions(+)

Copied: gdb/repos/testing-i686/PKGBUILD (from rev 239345, gdb/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2015-05-14 13:32:09 UTC (rev 239346)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Allan McRae al...@archlinux.org
+# Contributor: Jan de Groot j...@archlinux.org
+
+pkgname=gdb
+pkgver=7.9.1
+pkgrel=1
+pkgdesc='The GNU Debugger'
+arch=('i686' 'x86_64')
+url=http://www.gnu.org/software/gdb/;
+license=('GPL3')
+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})
+sha1sums=('04ba2906279b16b5f99c4f6b25942843a3717cdb'
+  'SKIP')
+validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
+
+prepare() {
+  cd gdb-$pkgver
+
+  # hack! - libiberty configure tests for header files using $CPP $CPPFLAGS
+  sed -i /ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/ libiberty/configure
+}
+
+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-system-gdbinit=/etc/gdb/gdbinit
+  make
+}
+
+package() {
+  cd gdb-$pkgver
+  make DESTDIR=$pkgdir install
+
+  # 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
+}

Copied: gdb/repos/testing-i686/gdb.install (from rev 239345, 
gdb/trunk/gdb.install)
===
--- testing-i686/gdb.install(rev 0)
+++ testing-i686/gdb.install2015-05-14 13:32:09 UTC (rev 239346)
@@ -0,0 +1,20 @@
+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
+}

Copied: gdb/repos/testing-x86_64/PKGBUILD (from rev 239345, gdb/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2015-05-14 13:32:09 UTC (rev 239346)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Allan McRae al...@archlinux.org
+# Contributor: Jan de Groot j...@archlinux.org
+
+pkgname=gdb
+pkgver=7.9.1
+pkgrel=1
+pkgdesc='The GNU Debugger'
+arch=('i686' 'x86_64')
+url=http://www.gnu.org/software/gdb/;
+license=('GPL3')
+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})
+sha1sums=('04ba2906279b16b5f99c4f6b25942843a3717cdb'
+  'SKIP')
+validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
+
+prepare() {
+  cd gdb-$pkgver
+
+  # hack! - libiberty configure tests for header files using $CPP $CPPFLAGS
+  sed -i /ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/ libiberty/configure
+}
+
+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-system-gdbinit=/etc/gdb/gdbinit
+  make
+}
+
+package() {
+  cd gdb-$pkgver
+  make DESTDIR=$pkgdir install
+
+  # install custom system gdbinit
+  install -dm755 $pkgdir/etc/gdb
+  touch $pkgdir/etc/gdb/gdbinit
+
+  # resolve conflicts with binutils
+  rm 

[arch-commits] Commit in gdb/repos (6 files)

2015-02-20 Thread Anatol Pomozov
Date: Friday, February 20, 2015 @ 22:06:47
  Author: anatolik
Revision: 231708

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  gdb/repos/testing-i686/
  gdb/repos/testing-i686/PKGBUILD
(from rev 231707, gdb/trunk/PKGBUILD)
  gdb/repos/testing-i686/gdb.install
(from rev 231707, gdb/trunk/gdb.install)
  gdb/repos/testing-x86_64/
  gdb/repos/testing-x86_64/PKGBUILD
(from rev 231707, gdb/trunk/PKGBUILD)
  gdb/repos/testing-x86_64/gdb.install
(from rev 231707, gdb/trunk/gdb.install)

+
 testing-i686/PKGBUILD  |   51 +++
 testing-i686/gdb.install   |   20 
 testing-x86_64/PKGBUILD|   51 +++
 testing-x86_64/gdb.install |   20 
 4 files changed, 142 insertions(+)

Copied: gdb/repos/testing-i686/PKGBUILD (from rev 231707, gdb/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2015-02-20 21:06:47 UTC (rev 231708)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Allan McRae al...@archlinux.org
+# Contributor: Jan de Groot j...@archlinux.org
+
+pkgname=gdb
+pkgver=7.9
+pkgrel=1
+pkgdesc='The GNU Debugger'
+arch=('i686' 'x86_64')
+url=http://www.gnu.org/software/gdb/;
+license=('GPL3')
+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})
+sha1sums=('1dabff2168bd8fe3cadf9386e47a47c527ea99ba'
+  'SKIP')
+validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
+
+prepare() {
+  cd gdb-$pkgver
+
+  # hack! - libiberty configure tests for header files using $CPP $CPPFLAGS
+  sed -i /ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/ libiberty/configure
+}
+
+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-system-gdbinit=/etc/gdb/gdbinit
+  make
+}
+
+package() {
+  cd gdb-$pkgver
+  make DESTDIR=$pkgdir install
+
+  # 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
+}

Copied: gdb/repos/testing-i686/gdb.install (from rev 231707, 
gdb/trunk/gdb.install)
===
--- testing-i686/gdb.install(rev 0)
+++ testing-i686/gdb.install2015-02-20 21:06:47 UTC (rev 231708)
@@ -0,0 +1,20 @@
+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
+}

Copied: gdb/repos/testing-x86_64/PKGBUILD (from rev 231707, gdb/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2015-02-20 21:06:47 UTC (rev 231708)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Allan McRae al...@archlinux.org
+# Contributor: Jan de Groot j...@archlinux.org
+
+pkgname=gdb
+pkgver=7.9
+pkgrel=1
+pkgdesc='The GNU Debugger'
+arch=('i686' 'x86_64')
+url=http://www.gnu.org/software/gdb/;
+license=('GPL3')
+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})
+sha1sums=('1dabff2168bd8fe3cadf9386e47a47c527ea99ba'
+  'SKIP')
+validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
+
+prepare() {
+  cd gdb-$pkgver
+
+  # hack! - libiberty configure tests for header files using $CPP $CPPFLAGS
+  sed -i /ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/ libiberty/configure
+}
+
+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-system-gdbinit=/etc/gdb/gdbinit
+  make
+}
+
+package() {
+  cd gdb-$pkgver
+  make DESTDIR=$pkgdir install
+
+  # install custom system gdbinit
+  install -dm755 $pkgdir/etc/gdb
+  touch $pkgdir/etc/gdb/gdbinit
+
+  # resolve conflicts with binutils
+  rm 

[arch-commits] Commit in gdb/repos (6 files)

2015-01-15 Thread Anatol Pomozov
Date: Friday, January 16, 2015 @ 02:12:24
  Author: anatolik
Revision: 229127

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  gdb/repos/testing-i686/
  gdb/repos/testing-i686/PKGBUILD
(from rev 229126, gdb/trunk/PKGBUILD)
  gdb/repos/testing-i686/gdb.install
(from rev 229126, gdb/trunk/gdb.install)
  gdb/repos/testing-x86_64/
  gdb/repos/testing-x86_64/PKGBUILD
(from rev 229126, gdb/trunk/PKGBUILD)
  gdb/repos/testing-x86_64/gdb.install
(from rev 229126, gdb/trunk/gdb.install)

+
 testing-i686/PKGBUILD  |   51 +++
 testing-i686/gdb.install   |   20 
 testing-x86_64/PKGBUILD|   51 +++
 testing-x86_64/gdb.install |   20 
 4 files changed, 142 insertions(+)

Copied: gdb/repos/testing-i686/PKGBUILD (from rev 229126, gdb/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2015-01-16 01:12:24 UTC (rev 229127)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Allan McRae al...@archlinux.org
+# Contributor: Jan de Groot j...@archlinux.org
+
+pkgname=gdb
+pkgver=7.8.2
+pkgrel=1
+pkgdesc='The GNU Debugger'
+arch=('i686' 'x86_64')
+url=http://www.gnu.org/software/gdb/;
+license=('GPL3')
+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=('a80cf252ed2e775d4e4533341bbf2459'
+ 'SKIP')
+validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
+
+prepare() {
+  cd gdb-$pkgver
+
+  # hack! - libiberty configure tests for header files using $CPP $CPPFLAGS
+  sed -i /ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/ libiberty/configure
+}
+
+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-system-gdbinit=/etc/gdb/gdbinit
+  make
+}
+
+package() {
+  cd gdb-$pkgver
+  make DESTDIR=$pkgdir install
+
+  # 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,symcat}.h
+  rm $pkgdir/usr/share/info/{bfd,configure,standards}.info
+  rm $pkgdir/usr/lib/{libbfd,libopcodes}.a
+}

Copied: gdb/repos/testing-i686/gdb.install (from rev 229126, 
gdb/trunk/gdb.install)
===
--- testing-i686/gdb.install(rev 0)
+++ testing-i686/gdb.install2015-01-16 01:12:24 UTC (rev 229127)
@@ -0,0 +1,20 @@
+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
+}

Copied: gdb/repos/testing-x86_64/PKGBUILD (from rev 229126, gdb/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2015-01-16 01:12:24 UTC (rev 229127)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Allan McRae al...@archlinux.org
+# Contributor: Jan de Groot j...@archlinux.org
+
+pkgname=gdb
+pkgver=7.8.2
+pkgrel=1
+pkgdesc='The GNU Debugger'
+arch=('i686' 'x86_64')
+url=http://www.gnu.org/software/gdb/;
+license=('GPL3')
+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=('a80cf252ed2e775d4e4533341bbf2459'
+ 'SKIP')
+validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
+
+prepare() {
+  cd gdb-$pkgver
+
+  # hack! - libiberty configure tests for header files using $CPP $CPPFLAGS
+  sed -i /ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/ libiberty/configure
+}
+
+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-system-gdbinit=/etc/gdb/gdbinit
+  make
+}
+
+package() {
+  cd gdb-$pkgver
+  make DESTDIR=$pkgdir install
+
+  # install custom system gdbinit
+  install -dm755 $pkgdir/etc/gdb
+  touch $pkgdir/etc/gdb/gdbinit
+
+  # resolve conflicts with binutils
+  rm 

[arch-commits] Commit in gdb/repos (6 files)

2014-10-29 Thread Anatol Pomozov
Date: Thursday, October 30, 2014 @ 00:09:01
  Author: anatolik
Revision: 225456

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  gdb/repos/testing-i686/
  gdb/repos/testing-i686/PKGBUILD
(from rev 225455, gdb/trunk/PKGBUILD)
  gdb/repos/testing-i686/gdb.install
(from rev 225455, gdb/trunk/gdb.install)
  gdb/repos/testing-x86_64/
  gdb/repos/testing-x86_64/PKGBUILD
(from rev 225455, gdb/trunk/PKGBUILD)
  gdb/repos/testing-x86_64/gdb.install
(from rev 225455, gdb/trunk/gdb.install)

+
 testing-i686/PKGBUILD  |   50 +++
 testing-i686/gdb.install   |   20 +
 testing-x86_64/PKGBUILD|   50 +++
 testing-x86_64/gdb.install |   20 +
 4 files changed, 140 insertions(+)

Copied: gdb/repos/testing-i686/PKGBUILD (from rev 225455, gdb/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2014-10-29 23:09:01 UTC (rev 225456)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Allan McRae al...@archlinux.org
+# Contributor: Jan de Groot j...@archlinux.org
+
+pkgname=gdb
+pkgver=7.8.1
+pkgrel=1
+pkgdesc=The GNU Debugger
+arch=('i686' 'x86_64')
+url=http://www.gnu.org/software/gdb/;
+license=('GPL3')
+depends=('ncurses' 'expat' 'python2' 'xz')
+makedepends=('texinfo')
+backup=('etc/gdb/gdbinit')
+install=gdb.install
+source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
+md5sums=('8072be87a94be0936bc3b4b6941b0862'
+ 'SKIP')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+
+  # hack! - libiberty configure tests for header files using $CPP $CPPFLAGS
+  sed -i /ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/ libiberty/configure
+}
+
+build() {
+  cd ${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 \
+--without-guile
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+
+  # 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,symcat}.h
+  rm ${pkgdir}/usr/share/info/{bfd,configure,standards}.info
+}

Copied: gdb/repos/testing-i686/gdb.install (from rev 225455, 
gdb/trunk/gdb.install)
===
--- testing-i686/gdb.install(rev 0)
+++ testing-i686/gdb.install2014-10-29 23:09:01 UTC (rev 225456)
@@ -0,0 +1,20 @@
+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
+}

Copied: gdb/repos/testing-x86_64/PKGBUILD (from rev 225455, gdb/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2014-10-29 23:09:01 UTC (rev 225456)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Allan McRae al...@archlinux.org
+# Contributor: Jan de Groot j...@archlinux.org
+
+pkgname=gdb
+pkgver=7.8.1
+pkgrel=1
+pkgdesc=The GNU Debugger
+arch=('i686' 'x86_64')
+url=http://www.gnu.org/software/gdb/;
+license=('GPL3')
+depends=('ncurses' 'expat' 'python2' 'xz')
+makedepends=('texinfo')
+backup=('etc/gdb/gdbinit')
+install=gdb.install
+source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
+md5sums=('8072be87a94be0936bc3b4b6941b0862'
+ 'SKIP')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+
+  # hack! - libiberty configure tests for header files using $CPP $CPPFLAGS
+  sed -i /ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/ libiberty/configure
+}
+
+build() {
+  cd ${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 \
+--without-guile
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+
+  # 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,symcat}.h
+  rm ${pkgdir}/usr/share/info/{bfd,configure,standards}.info
+}

Copied: 

[arch-commits] Commit in gdb/repos (6 files)

2014-08-27 Thread Anatol Pomozov
Date: Wednesday, August 27, 2014 @ 08:18:11
  Author: anatolik
Revision: 220691

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  gdb/repos/testing-i686/
  gdb/repos/testing-i686/PKGBUILD
(from rev 220690, gdb/trunk/PKGBUILD)
  gdb/repos/testing-i686/gdb.install
(from rev 220690, gdb/trunk/gdb.install)
  gdb/repos/testing-x86_64/
  gdb/repos/testing-x86_64/PKGBUILD
(from rev 220690, gdb/trunk/PKGBUILD)
  gdb/repos/testing-x86_64/gdb.install
(from rev 220690, gdb/trunk/gdb.install)

+
 testing-i686/PKGBUILD  |   50 +++
 testing-i686/gdb.install   |   20 +
 testing-x86_64/PKGBUILD|   50 +++
 testing-x86_64/gdb.install |   20 +
 4 files changed, 140 insertions(+)

Copied: gdb/repos/testing-i686/PKGBUILD (from rev 220690, gdb/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2014-08-27 06:18:11 UTC (rev 220691)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Allan McRae al...@archlinux.org
+# Contributor: Jan de Groot j...@archlinux.org
+
+pkgname=gdb
+pkgver=7.8
+pkgrel=2
+pkgdesc=The GNU Debugger
+arch=('i686' 'x86_64')
+url=http://www.gnu.org/software/gdb/;
+license=('GPL3')
+depends=('ncurses' 'expat' 'python2' 'xz')
+makedepends=('texinfo')
+backup=('etc/gdb/gdbinit')
+install=gdb.install
+source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
+md5sums=('bd958fe9019d7c7896f29f6724a764ed'
+ '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}
+  
+  # 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
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+
+  # 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,symcat}.h
+  rm ${pkgdir}/usr/share/info/{bfd,configure,standards}.info
+}

Copied: gdb/repos/testing-i686/gdb.install (from rev 220690, 
gdb/trunk/gdb.install)
===
--- testing-i686/gdb.install(rev 0)
+++ testing-i686/gdb.install2014-08-27 06:18:11 UTC (rev 220691)
@@ -0,0 +1,20 @@
+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
+}

Copied: gdb/repos/testing-x86_64/PKGBUILD (from rev 220690, gdb/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2014-08-27 06:18:11 UTC (rev 220691)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Allan McRae al...@archlinux.org
+# Contributor: Jan de Groot j...@archlinux.org
+
+pkgname=gdb
+pkgver=7.8
+pkgrel=2
+pkgdesc=The GNU Debugger
+arch=('i686' 'x86_64')
+url=http://www.gnu.org/software/gdb/;
+license=('GPL3')
+depends=('ncurses' 'expat' 'python2' 'xz')
+makedepends=('texinfo')
+backup=('etc/gdb/gdbinit')
+install=gdb.install
+source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
+md5sums=('bd958fe9019d7c7896f29f6724a764ed'
+ '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}
+  
+  # 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
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+
+  # 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,symcat}.h
+  rm 

[arch-commits] Commit in gdb/repos (6 files)

2014-07-29 Thread Anatol Pomozov
Date: Wednesday, July 30, 2014 @ 06:09:15
  Author: anatolik
Revision: 218355

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  gdb/repos/testing-i686/
  gdb/repos/testing-i686/PKGBUILD
(from rev 218354, gdb/trunk/PKGBUILD)
  gdb/repos/testing-i686/gdb.install
(from rev 218354, gdb/trunk/gdb.install)
  gdb/repos/testing-x86_64/
  gdb/repos/testing-x86_64/PKGBUILD
(from rev 218354, gdb/trunk/PKGBUILD)
  gdb/repos/testing-x86_64/gdb.install
(from rev 218354, gdb/trunk/gdb.install)

+
 testing-i686/PKGBUILD  |   48 +++
 testing-i686/gdb.install   |   20 +
 testing-x86_64/PKGBUILD|   48 +++
 testing-x86_64/gdb.install |   20 +
 4 files changed, 136 insertions(+)

Copied: gdb/repos/testing-i686/PKGBUILD (from rev 218354, gdb/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2014-07-30 04:09:15 UTC (rev 218355)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Allan McRae al...@archlinux.org
+# Contributor: Jan de Groot j...@archlinux.org
+
+pkgname=gdb
+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' 'guile')
+makedepends=('texinfo')
+backup=('etc/gdb/gdbinit')
+install=gdb.install
+source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
+md5sums=('bd958fe9019d7c7896f29f6724a764ed'
+ '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}
+  
+  ./configure --prefix=/usr --disable-nls \
+--with-system-readline \
+--with-python=/usr/bin/python2 \
+--with-system-gdbinit=/etc/gdb/gdbinit
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+
+  # 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,symcat}.h
+  rm ${pkgdir}/usr/share/info/{bfd,configure,standards}.info
+}

Copied: gdb/repos/testing-i686/gdb.install (from rev 218354, 
gdb/trunk/gdb.install)
===
--- testing-i686/gdb.install(rev 0)
+++ testing-i686/gdb.install2014-07-30 04:09:15 UTC (rev 218355)
@@ -0,0 +1,20 @@
+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
+}

Copied: gdb/repos/testing-x86_64/PKGBUILD (from rev 218354, gdb/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2014-07-30 04:09:15 UTC (rev 218355)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Allan McRae al...@archlinux.org
+# Contributor: Jan de Groot j...@archlinux.org
+
+pkgname=gdb
+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' 'guile')
+makedepends=('texinfo')
+backup=('etc/gdb/gdbinit')
+install=gdb.install
+source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
+md5sums=('bd958fe9019d7c7896f29f6724a764ed'
+ '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}
+  
+  ./configure --prefix=/usr --disable-nls \
+--with-system-readline \
+--with-python=/usr/bin/python2 \
+--with-system-gdbinit=/etc/gdb/gdbinit
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+
+  # 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,symcat}.h
+  rm ${pkgdir}/usr/share/info/{bfd,configure,standards}.info
+}

Copied: gdb/repos/testing-x86_64/gdb.install (from rev 218354, 
gdb/trunk/gdb.install)
===
--- 

[arch-commits] Commit in gdb/repos (6 files)

2014-05-06 Thread Anatol Pomozov
Date: Tuesday, May 6, 2014 @ 20:13:21
  Author: anatolik
Revision: 212092

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  gdb/repos/testing-i686/
  gdb/repos/testing-i686/PKGBUILD
(from rev 212091, gdb/trunk/PKGBUILD)
  gdb/repos/testing-i686/gdb.install
(from rev 212091, gdb/trunk/gdb.install)
  gdb/repos/testing-x86_64/
  gdb/repos/testing-x86_64/PKGBUILD
(from rev 212091, gdb/trunk/PKGBUILD)
  gdb/repos/testing-x86_64/gdb.install
(from rev 212091, gdb/trunk/gdb.install)

+
 testing-i686/PKGBUILD  |   48 +++
 testing-i686/gdb.install   |   20 +
 testing-x86_64/PKGBUILD|   48 +++
 testing-x86_64/gdb.install |   20 +
 4 files changed, 136 insertions(+)

Copied: gdb/repos/testing-i686/PKGBUILD (from rev 212091, gdb/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2014-05-06 18:13:21 UTC (rev 212092)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Allan McRae al...@archlinux.org
+# Contributor: Jan de Groot j...@archlinux.org
+
+pkgname=gdb
+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' 'xz')
+makedepends=('texinfo')
+backup=('etc/gdb/gdbinit')
+install=gdb.install
+source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.bz2{,.sig})
+md5sums=('77b20b515e7c25f032cb9732a66620fe'
+ '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}
+  
+  ./configure --prefix=/usr --disable-nls \
+--with-system-readline \
+--with-python=/usr/bin/python2 \
+--with-system-gdbinit=/etc/gdb/gdbinit
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+
+  # 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,symcat}.h
+  rm ${pkgdir}/usr/share/info/{bfd,configure,standards}.info
+}

Copied: gdb/repos/testing-i686/gdb.install (from rev 212091, 
gdb/trunk/gdb.install)
===
--- testing-i686/gdb.install(rev 0)
+++ testing-i686/gdb.install2014-05-06 18:13:21 UTC (rev 212092)
@@ -0,0 +1,20 @@
+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
+}

Copied: gdb/repos/testing-x86_64/PKGBUILD (from rev 212091, gdb/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2014-05-06 18:13:21 UTC (rev 212092)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Allan McRae al...@archlinux.org
+# Contributor: Jan de Groot j...@archlinux.org
+
+pkgname=gdb
+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' 'xz')
+makedepends=('texinfo')
+backup=('etc/gdb/gdbinit')
+install=gdb.install
+source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.bz2{,.sig})
+md5sums=('77b20b515e7c25f032cb9732a66620fe'
+ '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}
+  
+  ./configure --prefix=/usr --disable-nls \
+--with-system-readline \
+--with-python=/usr/bin/python2 \
+--with-system-gdbinit=/etc/gdb/gdbinit
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+
+  # 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,symcat}.h
+  rm ${pkgdir}/usr/share/info/{bfd,configure,standards}.info
+}

Copied: gdb/repos/testing-x86_64/gdb.install (from rev 212091, 
gdb/trunk/gdb.install)
===
--- testing-x86_64/gdb.install 

[arch-commits] Commit in gdb/repos (6 files)

2014-02-06 Thread Allan McRae
Date: Thursday, February 6, 2014 @ 14:36:44
  Author: allan
Revision: 205509

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  gdb/repos/testing-i686/PKGBUILD
(from rev 205508, gdb/trunk/PKGBUILD)
  gdb/repos/testing-i686/gdb.install
(from rev 205508, gdb/trunk/gdb.install)
  gdb/repos/testing-x86_64/PKGBUILD
(from rev 205508, gdb/trunk/PKGBUILD)
  gdb/repos/testing-x86_64/gdb.install
(from rev 205508, gdb/trunk/gdb.install)
Deleted:
  gdb/repos/testing-x86_64/PKGBUILD
  gdb/repos/testing-x86_64/gdb.install

+
 /PKGBUILD  |   48 +++
 /gdb.install   |   20 +
 testing-i686/PKGBUILD  |   48 +++
 testing-i686/gdb.install   |   20 +
 testing-x86_64/PKGBUILD|   48 ---
 testing-x86_64/gdb.install |   20 -
 6 files changed, 136 insertions(+), 68 deletions(-)

Copied: gdb/repos/testing-i686/PKGBUILD (from rev 205508, gdb/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2014-02-06 13:36:44 UTC (rev 205509)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Allan McRae al...@archlinux.org
+# Contributor: Jan de Groot j...@archlinux.org
+
+pkgname=gdb
+pkgver=7.7
+pkgrel=1
+pkgdesc=The GNU Debugger
+arch=('i686' 'x86_64')
+url=http://www.gnu.org/software/gdb/;
+license=('GPL3')
+depends=('ncurses' 'expat' 'python2')
+makedepends=('texinfo')
+backup=('etc/gdb/gdbinit')
+install=gdb.install
+source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.bz2{,.sig})
+md5sums=('271a18f41858a7e98b28ae4eb91287c9'
+ '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}
+  
+  ./configure --prefix=/usr --disable-nls \
+--with-system-readline \
+--with-python=/usr/bin/python2 \
+--with-system-gdbinit=/etc/gdb/gdbinit
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+
+  # 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,symcat}.h
+  rm ${pkgdir}/usr/share/info/{bfd,configure,standards}.info
+}

Copied: gdb/repos/testing-i686/gdb.install (from rev 205508, 
gdb/trunk/gdb.install)
===
--- testing-i686/gdb.install(rev 0)
+++ testing-i686/gdb.install2014-02-06 13:36:44 UTC (rev 205509)
@@ -0,0 +1,20 @@
+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
+}

Deleted: testing-x86_64/PKGBUILD
===
--- testing-x86_64/PKGBUILD 2014-02-06 13:28:32 UTC (rev 205508)
+++ testing-x86_64/PKGBUILD 2014-02-06 13:36:44 UTC (rev 205509)
@@ -1,48 +0,0 @@
-# $Id$
-# Maintainer: Allan McRae al...@archlinux.org
-# Contributor: Jan de Groot j...@archlinux.org
-
-pkgname=gdb
-pkgver=7.7
-pkgrel=1
-pkgdesc=The GNU Debugger
-arch=('i686' 'x86_64')
-url=http://www.gnu.org/software/gdb/;
-license=('GPL3')
-depends=('ncurses' 'expat' 'python2')
-makedepends=('texinfo')
-backup=('etc/gdb/gdbinit')
-install=gdb.install
-source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.bz2{,.sig})
-md5sums=('271a18f41858a7e98b28ae4eb91287c9'
- '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}
-  
-  ./configure --prefix=/usr --disable-nls \
---with-system-readline \
---with-python=/usr/bin/python2 \
---with-system-gdbinit=/etc/gdb/gdbinit
-  make
-}
-
-package() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  make DESTDIR=${pkgdir} install
-
-  # 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,symcat}.h
-  rm ${pkgdir}/usr/share/info/{bfd,configure,standards}.info
-}

Copied: gdb/repos/testing-x86_64/PKGBUILD (from rev 205508, 

[arch-commits] Commit in gdb/repos (6 files)

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

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  gdb/repos/testing-i686/
  gdb/repos/testing-i686/PKGBUILD
(from rev 201465, gdb/trunk/PKGBUILD)
  gdb/repos/testing-i686/gdb.install
(from rev 201465, gdb/trunk/gdb.install)
  gdb/repos/testing-x86_64/
  gdb/repos/testing-x86_64/PKGBUILD
(from rev 201465, gdb/trunk/PKGBUILD)
  gdb/repos/testing-x86_64/gdb.install
(from rev 201465, gdb/trunk/gdb.install)

+
 testing-i686/PKGBUILD  |   49 +++
 testing-i686/gdb.install   |   20 +
 testing-x86_64/PKGBUILD|   49 +++
 testing-x86_64/gdb.install |   20 +
 4 files changed, 138 insertions(+)

Copied: gdb/repos/testing-i686/PKGBUILD (from rev 201465, gdb/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2013-12-12 15:27:54 UTC (rev 201466)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Allan McRae al...@archlinux.org
+# Contributor: Jan de Groot j...@archlinux.org
+
+pkgname=gdb
+pkgver=7.6.2
+pkgrel=1
+pkgdesc=The GNU Debugger
+arch=('i686' 'x86_64')
+url=http://www.gnu.org/software/gdb/;
+license=('GPL3')
+depends=('ncurses' 'expat' 'python2')
+makedepends=('texinfo')
+backup=('etc/gdb/gdbinit')
+install=gdb.install
+source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.bz2{,.sig})
+md5sums=('496399e96654fc0f899a5c964bc1f0f8'
+ '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}
+  
+  ./configure --prefix=/usr --disable-nls \
+--with-system-readline \
+--with-python=/usr/bin/python2 \
+--with-system-gdbinit=/etc/gdb/gdbinit
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+
+  # 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,symcat}.h
+  rm ${pkgdir}/usr/lib/{libbfd,libiberty,libopcodes}.a
+  rm ${pkgdir}/usr/share/info/{bfd,configure,standards}.info
+}

Copied: gdb/repos/testing-i686/gdb.install (from rev 201465, 
gdb/trunk/gdb.install)
===
--- testing-i686/gdb.install(rev 0)
+++ testing-i686/gdb.install2013-12-12 15:27:54 UTC (rev 201466)
@@ -0,0 +1,20 @@
+infodir=usr/share/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
+}
+
+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
+}

Copied: gdb/repos/testing-x86_64/PKGBUILD (from rev 201465, gdb/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2013-12-12 15:27:54 UTC (rev 201466)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Allan McRae al...@archlinux.org
+# Contributor: Jan de Groot j...@archlinux.org
+
+pkgname=gdb
+pkgver=7.6.2
+pkgrel=1
+pkgdesc=The GNU Debugger
+arch=('i686' 'x86_64')
+url=http://www.gnu.org/software/gdb/;
+license=('GPL3')
+depends=('ncurses' 'expat' 'python2')
+makedepends=('texinfo')
+backup=('etc/gdb/gdbinit')
+install=gdb.install
+source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.bz2{,.sig})
+md5sums=('496399e96654fc0f899a5c964bc1f0f8'
+ '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}
+  
+  ./configure --prefix=/usr --disable-nls \
+--with-system-readline \
+--with-python=/usr/bin/python2 \
+--with-system-gdbinit=/etc/gdb/gdbinit
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+
+  # 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,symcat}.h
+  rm ${pkgdir}/usr/lib/{libbfd,libiberty,libopcodes}.a
+  rm ${pkgdir}/usr/share/info/{bfd,configure,standards}.info
+}

Copied: gdb/repos/testing-x86_64/gdb.install (from rev 201465,