diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2012-02-15 20:35:57 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2012-02-15 20:35:57 +0000 |
commit | 1ffabe284d9f5a4ac055941d9817af71be1e5b54 (patch) | |
tree | 2b816cb3cc40a5f3053c8371de5613041272e298 /testing/plotutils | |
parent | 650a87f5a67f6e71d4a56e52139a718d86ebbb46 (diff) |
Wed Feb 15 20:35:56 UTC 2012
Diffstat (limited to 'testing/plotutils')
-rw-r--r-- | testing/plotutils/PKGBUILD | 32 | ||||
-rw-r--r-- | testing/plotutils/plotutils-2.6-libpng-1.5.patch | 31 | ||||
-rw-r--r-- | testing/plotutils/plotutils.install | 15 |
3 files changed, 0 insertions, 78 deletions
diff --git a/testing/plotutils/PKGBUILD b/testing/plotutils/PKGBUILD deleted file mode 100644 index 310bedb36..000000000 --- a/testing/plotutils/PKGBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# $Id: PKGBUILD 148259 2012-01-30 18:49:28Z ibiru $ -# Maintainer: damir <damir@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 -} diff --git a/testing/plotutils/plotutils-2.6-libpng-1.5.patch b/testing/plotutils/plotutils-2.6-libpng-1.5.patch deleted file mode 100644 index b86d9f457..000000000 --- a/testing/plotutils/plotutils-2.6-libpng-1.5.patch +++ /dev/null @@ -1,31 +0,0 @@ -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 diff --git a/testing/plotutils/plotutils.install b/testing/plotutils/plotutils.install deleted file mode 100644 index d3d033e0c..000000000 --- a/testing/plotutils/plotutils.install +++ /dev/null @@ -1,15 +0,0 @@ -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 -} |