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

2015-12-05 Thread Allan McRae
Date: Saturday, December 5, 2015 @ 18:47:03
  Author: allan
Revision: 252497

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

Added:
  plotutils/repos/staging-i686/
  plotutils/repos/staging-i686/PKGBUILD
(from rev 252496, plotutils/trunk/PKGBUILD)
  plotutils/repos/staging-i686/plotutils-2.6-libpng-1.5.patch
(from rev 252496, plotutils/trunk/plotutils-2.6-libpng-1.5.patch)
  plotutils/repos/staging-i686/plotutils.install
(from rev 252496, plotutils/trunk/plotutils.install)
  plotutils/repos/staging-x86_64/
  plotutils/repos/staging-x86_64/PKGBUILD
(from rev 252496, plotutils/trunk/PKGBUILD)
  plotutils/repos/staging-x86_64/plotutils-2.6-libpng-1.5.patch
(from rev 252496, plotutils/trunk/plotutils-2.6-libpng-1.5.patch)
  plotutils/repos/staging-x86_64/plotutils.install
(from rev 252496, plotutils/trunk/plotutils.install)

---+
 staging-i686/PKGBUILD |   34 
 staging-i686/plotutils-2.6-libpng-1.5.patch   |   31 +
 staging-i686/plotutils.install|   15 ++
 staging-x86_64/PKGBUILD   |   34 
 staging-x86_64/plotutils-2.6-libpng-1.5.patch |   31 +
 staging-x86_64/plotutils.install  |   15 ++
 6 files changed, 160 insertions(+)

Copied: plotutils/repos/staging-i686/PKGBUILD (from rev 252496, 
plotutils/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2015-12-05 17:47:03 UTC (rev 252497)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: damir 
+# Packager: Maksim Sipos (maxsipos at gmail dot com)
+
+pkgname=plotutils
+pkgver=2.6
+pkgrel=7
+arch=('x86_64' 'i686')
+pkgdesc="Set of utilities and libraries for plotting."
+url="http://directory.fsf.org/graphics/plotutils.html;
+license=("GPL")
+depends=("libpng" "gcc-libs" "libxaw>=1.0.5")
+install=plotutils.install
+source=(http://ftp.gnu.org/pub/gnu/plotutils/$pkgname-$pkgver.tar.gz{,.sig} 
+plotutils-2.6-libpng-1.5.patch)
+sha1sums=('7921301d9dfe8991e3df2829bd733df6b2a70838'
+  'ab78e2d06402aaac367da7a0e5810439d5b9853f'
+  '492f0e04f8265ab50d9ba0905a0f5adf3ec06ab8')
+validpgpkeys=('C7823604DFEA27BC29DD4F179DEB46C0D679F6CF') # Karl Berry
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  patch -p0 -i ../plotutils-2.6-libpng-1.5.patch
+  ./configure --prefix=/usr \
+   --with-gnu-ld \
+   --with-x \
+   --enable-libplotter
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+}

Copied: plotutils/repos/staging-i686/plotutils-2.6-libpng-1.5.patch (from rev 
252496, plotutils/trunk/plotutils-2.6-libpng-1.5.patch)
===
--- staging-i686/plotutils-2.6-libpng-1.5.patch (rev 0)
+++ staging-i686/plotutils-2.6-libpng-1.5.patch 2015-12-05 17:47:03 UTC (rev 
252497)
@@ -0,0 +1,31 @@
+fix building with libpng-1.5
+
+--- libplot/z_write.c
 libplot/z_write.c
+@@ -164,7 +164,7 @@
+ }
+ 
+   /* cleanup after libpng errors (error handler does a longjmp) */
+-  if (setjmp (png_ptr->jmpbuf))
++  if (setjmp (png_jmpbuf (png_ptr)))
+ {
+   png_destroy_write_struct (_ptr, (png_info **)NULL);
+   return -1;
+@@ -444,7 +444,7 @@
+ #endif
+ }
+ 
+-  longjmp (png_ptr->jmpbuf, 1);
++  png_longjmp (png_ptr, 1);
+ }
+ 
+ static void 
+@@ -515,7 +515,7 @@
+ #endif
+ }
+ 
+-  longjmp (png_ptr->jmpbuf, 1);
++  png_longjmp (png_ptr, 1);
+ }
+ 
+ static void 

Copied: plotutils/repos/staging-i686/plotutils.install (from rev 252496, 
plotutils/trunk/plotutils.install)
===
--- staging-i686/plotutils.install  (rev 0)
+++ staging-i686/plotutils.install  2015-12-05 17:47:03 UTC (rev 252497)
@@ -0,0 +1,15 @@
+infodir=usr/share/info
+
+post_install() {
+  [[ -x usr/bin/install-info ]] || return 0
+  install-info $infodir/plotutils.info.gz $infodir/dir 2> /dev/null
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  [[ -x usr/bin/install-info ]] || return 0
+  install-info --delete $infodir/plotutils.info.gz $infodir/dir 2> /dev/null
+}

Copied: plotutils/repos/staging-x86_64/PKGBUILD (from rev 252496, 
plotutils/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2015-12-05 17:47:03 UTC (rev 252497)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: damir 
+# Packager: Maksim Sipos (maxsipos at gmail dot com)
+
+pkgname=plotutils
+pkgver=2.6
+pkgrel=7
+arch=('x86_64' 'i686')
+pkgdesc="Set of utilities and libraries for plotting."

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

2013-04-29 Thread Evangelos Foutras
Date: Monday, April 29, 2013 @ 18:05:09
  Author: foutrelis
Revision: 183907

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

Added:
  plotutils/repos/staging-i686/
  plotutils/repos/staging-i686/PKGBUILD
(from rev 183906, plotutils/trunk/PKGBUILD)
  plotutils/repos/staging-i686/plotutils-2.6-libpng-1.5.patch
(from rev 183906, plotutils/trunk/plotutils-2.6-libpng-1.5.patch)
  plotutils/repos/staging-i686/plotutils.install
(from rev 183906, plotutils/trunk/plotutils.install)
  plotutils/repos/staging-x86_64/
  plotutils/repos/staging-x86_64/PKGBUILD
(from rev 183906, plotutils/trunk/PKGBUILD)
  plotutils/repos/staging-x86_64/plotutils-2.6-libpng-1.5.patch
(from rev 183906, plotutils/trunk/plotutils-2.6-libpng-1.5.patch)
  plotutils/repos/staging-x86_64/plotutils.install
(from rev 183906, plotutils/trunk/plotutils.install)

---+
 staging-i686/PKGBUILD |   34 
 staging-i686/plotutils-2.6-libpng-1.5.patch   |   31 +
 staging-i686/plotutils.install|   15 ++
 staging-x86_64/PKGBUILD   |   34 
 staging-x86_64/plotutils-2.6-libpng-1.5.patch |   31 +
 staging-x86_64/plotutils.install  |   15 ++
 6 files changed, 160 insertions(+)

Copied: plotutils/repos/staging-i686/PKGBUILD (from rev 183906, 
plotutils/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2013-04-29 16:05:09 UTC (rev 183907)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: damir da...@archlinux.org
+# Packager: Maksim Sipos (maxsipos at gmail dot com)
+
+pkgname=plotutils
+pkgver=2.6
+pkgrel=4
+arch=('x86_64' 'i686')
+pkgdesc=Set of utilities and libraries for plotting.
+url=http://directory.fsf.org/graphics/plotutils.html;
+license=(GPL)
+depends=(libpng gcc-libs libxaw=1.0.5)
+options=('!libtool')
+install=plotutils.install
+source=(http://ftp.gnu.org/pub/gnu/plotutils/$pkgname-$pkgver.tar.gz{,.sig} 
+plotutils-2.6-libpng-1.5.patch)
+sha1sums=('7921301d9dfe8991e3df2829bd733df6b2a70838'
+  'ab78e2d06402aaac367da7a0e5810439d5b9853f'
+  '492f0e04f8265ab50d9ba0905a0f5adf3ec06ab8')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  patch -p0 -i ../plotutils-2.6-libpng-1.5.patch
+  ./configure --prefix=/usr \
+   --with-gnu-ld \
+   --with-x \
+   --enable-libplotter
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+}

Copied: plotutils/repos/staging-i686/plotutils-2.6-libpng-1.5.patch (from rev 
183906, plotutils/trunk/plotutils-2.6-libpng-1.5.patch)
===
--- staging-i686/plotutils-2.6-libpng-1.5.patch (rev 0)
+++ staging-i686/plotutils-2.6-libpng-1.5.patch 2013-04-29 16:05:09 UTC (rev 
183907)
@@ -0,0 +1,31 @@
+fix building with libpng-1.5
+
+--- libplot/z_write.c
 libplot/z_write.c
+@@ -164,7 +164,7 @@
+ }
+ 
+   /* cleanup after libpng errors (error handler does a longjmp) */
+-  if (setjmp (png_ptr-jmpbuf))
++  if (setjmp (png_jmpbuf (png_ptr)))
+ {
+   png_destroy_write_struct (png_ptr, (png_info **)NULL);
+   return -1;
+@@ -444,7 +444,7 @@
+ #endif
+ }
+ 
+-  longjmp (png_ptr-jmpbuf, 1);
++  png_longjmp (png_ptr, 1);
+ }
+ 
+ static void 
+@@ -515,7 +515,7 @@
+ #endif
+ }
+ 
+-  longjmp (png_ptr-jmpbuf, 1);
++  png_longjmp (png_ptr, 1);
+ }
+ 
+ static void 

Copied: plotutils/repos/staging-i686/plotutils.install (from rev 183906, 
plotutils/trunk/plotutils.install)
===
--- staging-i686/plotutils.install  (rev 0)
+++ staging-i686/plotutils.install  2013-04-29 16:05:09 UTC (rev 183907)
@@ -0,0 +1,15 @@
+infodir=usr/share/info
+
+post_install() {
+  [[ -x usr/bin/install-info ]] || return 0
+  install-info $infodir/plotutils.info.gz $infodir/dir 2 /dev/null
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  [[ -x usr/bin/install-info ]] || return 0
+  install-info --delete $infodir/plotutils.info.gz $infodir/dir 2 /dev/null
+}

Copied: plotutils/repos/staging-x86_64/PKGBUILD (from rev 183906, 
plotutils/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2013-04-29 16:05:09 UTC (rev 183907)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: damir da...@archlinux.org
+# Packager: Maksim Sipos (maxsipos at gmail dot com)
+
+pkgname=plotutils
+pkgver=2.6
+pkgrel=4
+arch=('x86_64' 'i686')
+pkgdesc=Set of utilities and libraries for plotting.
+url=http://directory.fsf.org/graphics/plotutils.html;
+license=(GPL)
+depends=(libpng gcc-libs libxaw=1.0.5)

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

2012-01-26 Thread Eric BĂ©langer
Date: Thursday, January 26, 2012 @ 20:31:15
  Author: eric
Revision: 147686

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

Added:
  plotutils/repos/staging-i686/
  plotutils/repos/staging-i686/PKGBUILD
(from rev 147685, plotutils/trunk/PKGBUILD)
  plotutils/repos/staging-i686/plotutils-2.6-libpng-1.5.patch
(from rev 147685, plotutils/trunk/plotutils-2.6-libpng-1.5.patch)
  plotutils/repos/staging-i686/plotutils.install
(from rev 147685, plotutils/trunk/plotutils.install)
  plotutils/repos/staging-x86_64/
  plotutils/repos/staging-x86_64/PKGBUILD
(from rev 147685, plotutils/trunk/PKGBUILD)
  plotutils/repos/staging-x86_64/plotutils-2.6-libpng-1.5.patch
(from rev 147685, plotutils/trunk/plotutils-2.6-libpng-1.5.patch)
  plotutils/repos/staging-x86_64/plotutils.install
(from rev 147685, plotutils/trunk/plotutils.install)

---+
 staging-i686/PKGBUILD |   32 
 staging-i686/plotutils-2.6-libpng-1.5.patch   |   31 +++
 staging-i686/plotutils.install|   15 +++
 staging-x86_64/PKGBUILD   |   32 
 staging-x86_64/plotutils-2.6-libpng-1.5.patch |   31 +++
 staging-x86_64/plotutils.install  |   15 +++
 6 files changed, 156 insertions(+)

Copied: plotutils/repos/staging-i686/PKGBUILD (from rev 147685, 
plotutils/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2012-01-27 01:31:15 UTC (rev 147686)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: damir da...@archlinux.org
+# Packager: Maksim Sipos (maxsipos at gmail dot com)
+
+pkgname=plotutils
+pkgver=2.6
+pkgrel=2
+arch=('x86_64' 'i686')
+pkgdesc=Set of utilities and libraries for plotting.
+url=http://directory.fsf.org/graphics/plotutils.html;
+license=(GPL)
+depends=(libpng gcc-libs libxaw=1.0.5)
+options=('!libtool')
+install=plotutils.install
+source=(http://ftp.gnu.org/pub/gnu/plotutils/$pkgname-$pkgver.tar.gz 
plotutils-2.6-libpng-1.5.patch)
+sha1sums=('7921301d9dfe8991e3df2829bd733df6b2a70838'
+  '426f6ee04186af5059ab54322efaf0a6a976682b')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  patch -p0 -i ../plotutils-2.6-libpng-1.5.patch
+  ./configure --prefix=/usr \
+   --with-gnu-ld \
+   --with-x \
+   --enable-libplotter
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+}

Copied: plotutils/repos/staging-i686/plotutils-2.6-libpng-1.5.patch (from rev 
147685, plotutils/trunk/plotutils-2.6-libpng-1.5.patch)
===
--- staging-i686/plotutils-2.6-libpng-1.5.patch (rev 0)
+++ staging-i686/plotutils-2.6-libpng-1.5.patch 2012-01-27 01:31:15 UTC (rev 
147686)
@@ -0,0 +1,31 @@
+fix building with libpng-1.5
+
+--- libplot/z_write.c
 libplot/z_write.c
+@@ -164,7 +164,7 @@
+ }
+ 
+   /* cleanup after libpng errors (error handler does a longjmp) */
+-  if (setjmp (png_ptr-jmpbuf))
++  if (png_jmpbuf (png_ptr))
+ {
+   png_destroy_write_struct (png_ptr, (png_info **)NULL);
+   return -1;
+@@ -444,7 +444,7 @@
+ #endif
+ }
+ 
+-  longjmp (png_ptr-jmpbuf, 1);
++  longjmp (png_jmpbuf (png_ptr), 1);
+ }
+ 
+ static void 
+@@ -515,7 +515,7 @@
+ #endif
+ }
+ 
+-  longjmp (png_ptr-jmpbuf, 1);
++  longjmp (png_jmpbuf (png_ptr), 1);
+ }
+ 
+ static void 

Copied: plotutils/repos/staging-i686/plotutils.install (from rev 147685, 
plotutils/trunk/plotutils.install)
===
--- staging-i686/plotutils.install  (rev 0)
+++ staging-i686/plotutils.install  2012-01-27 01:31:15 UTC (rev 147686)
@@ -0,0 +1,15 @@
+infodir=usr/share/info
+
+post_install() {
+  [[ -x usr/bin/install-info ]] || return 0
+  install-info $infodir/plotutils.info.gz $infodir/dir 2 /dev/null
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  [[ -x usr/bin/install-info ]] || return 0
+  install-info --delete $infodir/plotutils.info.gz $infodir/dir 2 /dev/null
+}

Copied: plotutils/repos/staging-x86_64/PKGBUILD (from rev 147685, 
plotutils/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2012-01-27 01:31:15 UTC (rev 147686)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: damir da...@archlinux.org
+# Packager: Maksim Sipos (maxsipos at gmail dot com)
+
+pkgname=plotutils
+pkgver=2.6
+pkgrel=2
+arch=('x86_64' 'i686')
+pkgdesc=Set of utilities and libraries for plotting.
+url=http://directory.fsf.org/graphics/plotutils.html;
+license=(GPL)
+depends=(libpng gcc-libs libxaw=1.0.5)
+options=('!libtool')
+install=plotutils.install