[arch-commits] Commit in ddd/repos (8 files)

Evangelos Foutras foutrelis at archlinux.org
Mon Sep 7 19:37:08 UTC 2015


    Date: Monday, September 7, 2015 @ 21:37:08
  Author: foutrelis
Revision: 245492

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

Added:
  ddd/repos/staging-i686/
  ddd/repos/staging-i686/PKGBUILD
    (from rev 245491, ddd/trunk/PKGBUILD)
  ddd/repos/staging-i686/ddd-3.3.12-gcc44.patch
    (from rev 245491, ddd/trunk/ddd-3.3.12-gcc44.patch)
  ddd/repos/staging-i686/ddd.install
    (from rev 245491, ddd/trunk/ddd.install)
  ddd/repos/staging-x86_64/
  ddd/repos/staging-x86_64/PKGBUILD
    (from rev 245491, ddd/trunk/PKGBUILD)
  ddd/repos/staging-x86_64/ddd-3.3.12-gcc44.patch
    (from rev 245491, ddd/trunk/ddd-3.3.12-gcc44.patch)
  ddd/repos/staging-x86_64/ddd.install
    (from rev 245491, ddd/trunk/ddd.install)

---------------------------------------+
 staging-i686/PKGBUILD                 |   38 ++++++++++++++++++++++++++++++++
 staging-i686/ddd-3.3.12-gcc44.patch   |   10 ++++++++
 staging-i686/ddd.install              |   18 +++++++++++++++
 staging-x86_64/PKGBUILD               |   38 ++++++++++++++++++++++++++++++++
 staging-x86_64/ddd-3.3.12-gcc44.patch |   10 ++++++++
 staging-x86_64/ddd.install            |   18 +++++++++++++++
 6 files changed, 132 insertions(+)

Copied: ddd/repos/staging-i686/PKGBUILD (from rev 245491, ddd/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-09-07 19:37:08 UTC (rev 245492)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=ddd
+pkgver=3.3.12
+pkgrel=6
+pkgdesc="A graphical front-end for command-line debuggers such as GDB, JDB, pydb, perl debugger..."
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/ddd/"
+license=('GPL3' 'LGPL3')
+depends=('gcc-libs' 'lesstif' 'libxaw')
+optdepends=('gdb: to use the Gnu debugger' 
+            'jdk: to use the Java debugger' 
+            'pydb: to use the Python debugger' 
+            'perl: to use the Perl debugger')
+install=ddd.install
+source=(http://ftp.gnu.org/gnu/ddd/${pkgname}-${pkgver}.tar.gz{,.sig} ddd-3.3.12-gcc44.patch)
+sha1sums=('b91d2dfb1145af409138bd34517a898341724e56'
+          'de155d812da6e11e55cc882292bb5c7b30bd31a1'
+          '3d43c9d56347f248732b1d72f29c7bf799f03864')
+validpgpkeys=('4B286694DE99D517AA8DFF2D6656C593E5158D1A')
+  
+prepare() {
+  cd ${pkgname}-${pkgver}
+  patch -p1 -i "${srcdir}/ddd-3.3.12-gcc44.patch"
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  LIBS+="-pthread" ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+  install -D -m644 icons/ddd.xpm "${pkgdir}/usr/share/pixmaps/ddd.xpm"
+}

Copied: ddd/repos/staging-i686/ddd-3.3.12-gcc44.patch (from rev 245491, ddd/trunk/ddd-3.3.12-gcc44.patch)
===================================================================
--- staging-i686/ddd-3.3.12-gcc44.patch	                        (rev 0)
+++ staging-i686/ddd-3.3.12-gcc44.patch	2015-09-07 19:37:08 UTC (rev 245492)
@@ -0,0 +1,10 @@
+--- ddd-3.3.12-orig/ddd/strclass.C
++++ ddd-3.3.12/ddd/strclass.C
+@@ -39,6 +39,7 @@
+ #include <limits.h>
+ #include <new>
+ #include <stdlib.h>
++#include <stdio.h>
+ 
+ void string::error(const char* msg) const
+ {

Copied: ddd/repos/staging-i686/ddd.install (from rev 245491, ddd/trunk/ddd.install)
===================================================================
--- staging-i686/ddd.install	                        (rev 0)
+++ staging-i686/ddd.install	2015-09-07 19:37:08 UTC (rev 245492)
@@ -0,0 +1,18 @@
+infodir=usr/share/info
+filelist=(ddd.info.gz ddd-themes.info.gz)
+
+post_install() {
+  for file in ${filelist[@]}; do
+    install-info $infodir/$file $infodir/dir 2> /dev/null
+  done
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  for file in ${filelist[@]}; do
+    install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+  done
+}

Copied: ddd/repos/staging-x86_64/PKGBUILD (from rev 245491, ddd/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-09-07 19:37:08 UTC (rev 245492)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=ddd
+pkgver=3.3.12
+pkgrel=6
+pkgdesc="A graphical front-end for command-line debuggers such as GDB, JDB, pydb, perl debugger..."
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/ddd/"
+license=('GPL3' 'LGPL3')
+depends=('gcc-libs' 'lesstif' 'libxaw')
+optdepends=('gdb: to use the Gnu debugger' 
+            'jdk: to use the Java debugger' 
+            'pydb: to use the Python debugger' 
+            'perl: to use the Perl debugger')
+install=ddd.install
+source=(http://ftp.gnu.org/gnu/ddd/${pkgname}-${pkgver}.tar.gz{,.sig} ddd-3.3.12-gcc44.patch)
+sha1sums=('b91d2dfb1145af409138bd34517a898341724e56'
+          'de155d812da6e11e55cc882292bb5c7b30bd31a1'
+          '3d43c9d56347f248732b1d72f29c7bf799f03864')
+validpgpkeys=('4B286694DE99D517AA8DFF2D6656C593E5158D1A')
+  
+prepare() {
+  cd ${pkgname}-${pkgver}
+  patch -p1 -i "${srcdir}/ddd-3.3.12-gcc44.patch"
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  LIBS+="-pthread" ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+  install -D -m644 icons/ddd.xpm "${pkgdir}/usr/share/pixmaps/ddd.xpm"
+}

Copied: ddd/repos/staging-x86_64/ddd-3.3.12-gcc44.patch (from rev 245491, ddd/trunk/ddd-3.3.12-gcc44.patch)
===================================================================
--- staging-x86_64/ddd-3.3.12-gcc44.patch	                        (rev 0)
+++ staging-x86_64/ddd-3.3.12-gcc44.patch	2015-09-07 19:37:08 UTC (rev 245492)
@@ -0,0 +1,10 @@
+--- ddd-3.3.12-orig/ddd/strclass.C
++++ ddd-3.3.12/ddd/strclass.C
+@@ -39,6 +39,7 @@
+ #include <limits.h>
+ #include <new>
+ #include <stdlib.h>
++#include <stdio.h>
+ 
+ void string::error(const char* msg) const
+ {

Copied: ddd/repos/staging-x86_64/ddd.install (from rev 245491, ddd/trunk/ddd.install)
===================================================================
--- staging-x86_64/ddd.install	                        (rev 0)
+++ staging-x86_64/ddd.install	2015-09-07 19:37:08 UTC (rev 245492)
@@ -0,0 +1,18 @@
+infodir=usr/share/info
+filelist=(ddd.info.gz ddd-themes.info.gz)
+
+post_install() {
+  for file in ${filelist[@]}; do
+    install-info $infodir/$file $infodir/dir 2> /dev/null
+  done
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  for file in ${filelist[@]}; do
+    install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+  done
+}



More information about the arch-commits mailing list