summaryrefslogtreecommitdiff
path: root/extra/labplot
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-07-11 18:35:04 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-07-11 18:35:04 +0000
commit1a1b748f1738b1989a834d75b1623be21bf9bab5 (patch)
treed99e645120dc197bc3bcbcd96b1bb89e4e68bf4f /extra/labplot
parent139460a7a8b085588b699c488fd19b166db18a74 (diff)
Mon Jul 11 18:34:51 UTC 2011
Diffstat (limited to 'extra/labplot')
-rw-r--r--extra/labplot/PKGBUILD40
-rw-r--r--extra/labplot/define-missing-constant.patch15
-rw-r--r--extra/labplot/hdf5-1.8.patch58
3 files changed, 0 insertions, 113 deletions
diff --git a/extra/labplot/PKGBUILD b/extra/labplot/PKGBUILD
deleted file mode 100644
index 23d3db293..000000000
--- a/extra/labplot/PKGBUILD
+++ /dev/null
@@ -1,40 +0,0 @@
-# $Id: PKGBUILD 69056 2010-02-16 15:06:54Z ronald $
-# Maintainer: Ronald van Haren <ronald.archlinux.org>
-# Contributor: damir <damir@archlinux.org>
-# Contributor: Tobias Powalowski <t.powa@gmx.de>
-
-pkgname=labplot
-pkgver=1.6.0.2
-pkgrel=6
-pkgdesc="Plotting, Data analysis and visualisation"
-arch=('i686' 'x86_64')
-url="http://staff.mbi-berlin.de/gerlach/Linux/LabPlot/"
-license=("GPL")
-depends=('kdelibs3' 'gsl' 'imagemagick' \
- 'fftw' 'netcdf>=4.1')
-makedepends=('libxml++>=2.26' 'audiofile')
-options=('!libtool' '!makeflags')
-source=(http://downloads.sourceforge.net/$pkgname/LabPlot-$pkgver.tar.gz define-missing-constant.patch
- 'hdf5-1.8.patch')
-
-md5sums=('850256dcd02c4a8ede5b5fe3fbc21ab7' 'e8133bb7b8da63f4ae5a0b998c37b702'
- '1d38c7304a53b238f8cecb337771ed6f')
-
-
-build() {
- cd $srcdir/LabPlot-${pkgver}
- patch -p1 < ../define-missing-constant.patch || return 1
- patch -Np0 -i ${srcdir}/hdf5-1.8.patch || return 1
-
- # source kde3 variables
- source /etc/profile.d/kde3.sh
-
- # build and install
- ./configure --prefix=/opt/kde --enable-mt \
- --without-arts --disable-audiofile \
- --mandir=/opt/kde/share/man
- --disable-KexiDB
- make || return 1
- make DESTDIR=${pkgdir} install || return 1
-}
-
diff --git a/extra/labplot/define-missing-constant.patch b/extra/labplot/define-missing-constant.patch
deleted file mode 100644
index f61211279..000000000
--- a/extra/labplot/define-missing-constant.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-diff --git a/src/constants.h b/src/constants.h
-index 77d76bf..1bada49 100644
---- a/src/constants.h
-+++ b/src/constants.h
-@@ -17,6 +17,10 @@
- #endif
- #endif
-
-+#ifndef GSL_CONST_CGSM_GAUSS
-+#define GSL_CONST_CGSM_GAUSS (1e0) /* g / abamp s^2 */
-+#endif
-+
- #ifdef HAVE_R
- #include <R.h>
- #include <Rmath.h>
diff --git a/extra/labplot/hdf5-1.8.patch b/extra/labplot/hdf5-1.8.patch
deleted file mode 100644
index 8d9780bb4..000000000
--- a/extra/labplot/hdf5-1.8.patch
+++ /dev/null
@@ -1,58 +0,0 @@
---- src.orig/FilterHDF5.cc 2009-10-15 17:33:15.736674721 +0200
-+++ src/FilterHDF5.cc 2009-10-15 17:23:51.386155522 +0200
-@@ -76,7 +76,7 @@
- printf(" GROUP \"%s\" \n", name);
- numgroups++;
-
-- hid_t group = H5Gopen(loc_id, name);
-+ hid_t group = H5Gopen(loc_id, name, H5P_DEFAULT);
-
- int nrattr = H5Aget_num_attrs(group);
- printf(" GROUP has %d attributes\n",nrattr);
-@@ -129,7 +129,7 @@
- printf(" DATASET \"%s\"\n", name);
-
- hid_t dataset;
-- dataset = H5Dopen(loc_id, name);
-+ dataset = H5Dopen(loc_id, name, H5P_DEFAULT);
-
- numsets++;
- data.resize(numsets);
-@@ -260,7 +260,7 @@
-
- int *matrix = new int[DY];
- hsize_t tdims[] = {1};
-- hid_t s4_tid = H5Tarray_create(H5T_NATIVE_INT,1,tdims,NULL);
-+ hid_t s4_tid = H5Tarray_create(H5T_NATIVE_INT,1,tdims);
- hid_t s3_tid = H5Tcreate(H5T_COMPOUND, sizeof(s4_tid));
- status = H5Tinsert(s3_tid, H5Tget_member_name (datatype,j), 0, s4_tid);
-
-@@ -279,7 +279,7 @@
-
- float *matrix = new float[DY];
- hsize_t tdims[] = {1};
-- hid_t s4_tid = H5Tarray_create(H5T_NATIVE_FLOAT,1,tdims,NULL);
-+ hid_t s4_tid = H5Tarray_create(H5T_NATIVE_FLOAT,1,tdims);
- hid_t s3_tid = H5Tcreate(H5T_COMPOUND, sizeof(s4_tid));
- status = H5Tinsert(s3_tid, H5Tget_member_name (datatype,j), 0, s4_tid);
-
-@@ -467,7 +467,7 @@
- hid_t file = H5Fopen(filename.latin1(), H5F_ACC_RDONLY, H5P_DEFAULT);
-
- printf(" ROOT GROUP :\n");
-- hid_t group = H5Gopen(file, "/");
-+ hid_t group = H5Gopen(file, "/", H5P_DEFAULT);
-
- int nrattr = H5Aget_num_attrs(group);
- attributes.resize(nrattr);
-@@ -567,7 +567,8 @@
- H5Tset_order(datatype, H5T_ORDER_BE);
- break;
- }
-- hid_t dataset = H5Dcreate(file,s->Title().latin1(),type,dataspace,H5P_DEFAULT);
-+ hid_t dataset = H5Dcreate(file,s->Title().latin1(),type,dataspace,
-+ H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
-
- hid_t status;
- switch(datatype) {
-