Package Details: gnudatalanguage 0.9.9-2

Git Clone URL: https://aur.archlinux.org/gnudatalanguage.git (read-only, click to copy)
Package Base: gnudatalanguage
Description: An IDL (Interactive Data Language) compatible incremental compiler (ie. runs IDL programs)
Upstream URL: https://github.com/gnudatalanguage/gdl
Licenses: GPL
Submitter: Snowman
Maintainer: jankoh
Last Packager: jankoh
Votes: 18
Popularity: 0.000621
First Submitted: 2005-10-19 19:37
Last Updated: 2019-11-07 21:02

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 Next › Last »

James-T commented on 2014-10-17 19:44

@archlenovo: Do you know if the plplot change is compatible with other plplot applications? If so it should be (a) addressed in the plplot package and (b) passed to upstream for rectification in the next release.

archlenovo commented on 2014-10-15 18:32

I was able to build and install the latest version (0.9.5) by modifying the PKGBUILD:
https://dl.dropboxusercontent.com/u/478898/PKGBUILD

However, I also had to patch /usr/include/plplot/plConfig.h by changing line 48 from:
# include <plplot_config.h>
to:
# include <config.h>
See this bug report for details:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=761176

archlenovo commented on 2014-10-15 18:30

I was able to build and install the latest version (0.9.5) by modifying the PKGBUILD:
https://dl.dropboxusercontent.com/u/478898/PKGBUILD

However, I also had to patch /usr/include/plplot/plConfig.h by changing line 48:
# include <plplot_config.h>
to:
# include <config.h>
See this bug report for details:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=761176

archlenovo commented on 2014-10-15 13:32

I was able to build and install the latest version (0.9.5) with this PKGBUILD:

[code]
# Maintainer: James Tappin <jtappinatgmaildotcom>
# Contributor: Orlando Garcia Feal <rodland at gmail dot com>

pkgname=gnudatalanguage
pkgver=0.9.5
pkgrel=1
pkgdesc="An IDL (Interactive Data Language) compatible incremental compiler (ie. runs IDL programs)"
arch=('i686' 'x86_64')
url="http://gnudatalanguage.sourceforge.net/"
license=('GPL')
depends=('python2' 'python2-numpy' 'plplot' 'gsl' 'readline' 'hdf5' 'netcdf' \
'netcdf-cxx-legacy' 'wxgtk' 'fftw' 'udunits' 'pslib' 'grib_api' \
'udunits' 'eigen')
makedepends=('cmake')
options=('!makeflags')
source=(http://downloads.sourceforge.net/gnudatalanguage/gdl-${pkgver}.tar.gz)
md5sums=('2d02283c544820729479a57545d5b599')

build() {
cd $srcdir/gdl-${pkgver}
if [[ -d build ]]; then
rm -r build
fi
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DPYTHON=YES -DPYTHONVERSION=2.7 \
-DPYTHON_EXECUTABLE=/usr/bin/python2.7 \
-DPYTHON_INCLUDE_DIR=/usr/include/python2.7 \
-DPYTHON_LIBRARY=/usr/lib/python2.7/config/libpython2.7.so \
-DMAGICK=YES -DFFTW=YES -DHDF5=YES -DHDF=NO -DGRIB=YES -DUDUNITS=YES \
-DCMAKE_C_FLAGS="-I/usr/include/ImageMagick \
-I/usr/include/python2.7 \
-I/usr/lib/python2.7/site-packages/numpy/core/include" ..
make
}
package() {
cd $srcdir/gdl-${pkgver}/build
make DESTDIR=$pkgdir install

install -D -m755 ../../../gdl.profile $pkgdir/etc/profile.d/gdl.sh
}
[/code]

However, I also had to patch /usr/include/plplot/plConfig.h by changing:

#ifdef HAVE_CONFIG_H
# include <plplot_config.h>
#endif

to:

#ifdef HAVE_CONFIG_H
# include <config.h>
#endif

See this bug report for details:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=761176

archlenovo commented on 2014-10-15 13:18

I was able to build and install the latest version (0.9.5) with this PKGBUILD:

# ----------------------------------------------------------------------------
# Maintainer: James Tappin <jtappinatgmaildotcom>
# Contributor: Orlando Garcia Feal <rodland at gmail dot com>

pkgname=gnudatalanguage
pkgver=0.9.5
pkgrel=1
pkgdesc="An IDL (Interactive Data Language) compatible incremental compiler (ie. runs IDL programs)"
arch=('i686' 'x86_64')
url="http://gnudatalanguage.sourceforge.net/"
license=('GPL')
depends=('python2' 'python2-numpy' 'plplot' 'gsl' 'readline' 'hdf5' 'netcdf' \
'netcdf-cxx-legacy' 'wxgtk' 'fftw' 'udunits' 'pslib' 'grib_api' \
'udunits' 'eigen')
makedepends=('cmake')
options=('!makeflags')
source=(http://downloads.sourceforge.net/gnudatalanguage/gdl-${pkgver}.tar.gz)
md5sums=('2d02283c544820729479a57545d5b599')

build() {
cd $srcdir/gdl-${pkgver}
if [[ -d build ]]; then
rm -r build
fi
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DPYTHON=YES -DPYTHONVERSION=2.7 \
-DPYTHON_EXECUTABLE=/usr/bin/python2.7 \
-DPYTHON_INCLUDE_DIR=/usr/include/python2.7 \
-DPYTHON_LIBRARY=/usr/lib/python2.7/config/libpython2.7.so \
-DMAGICK=YES -DFFTW=YES -DHDF5=YES -DHDF=NO -DGRIB=YES -DUDUNITS=YES \
-DCMAKE_C_FLAGS="-I/usr/include/ImageMagick \
-I/usr/include/python2.7 \
-I/usr/lib/python2.7/site-packages/numpy/core/include" ..
make
}
package() {
cd $srcdir/gdl-${pkgver}/build
make DESTDIR=$pkgdir install

install -D -m755 ../../../gdl.profile $pkgdir/etc/profile.d/gdl.sh
}
# ----------------------------------------------------------------------------

However, I also had to patch /usr/include/plplot/plConfig.h by changing:

#ifdef HAVE_CONFIG_H
# include <plplot_config.h>
#endif

to:

#ifdef HAVE_CONFIG_H
# include <config.h>
#endif

See this bug report for details:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=761176

archlenovo commented on 2014-10-15 13:17

I was able to build and install the latest version (0.9.5) with this PKGBUILD:

# ----------------------------------------------------------------------------
# Maintainer: James Tappin <jtappinatgmaildotcom>
# Contributor: Orlando Garcia Feal <rodland at gmail dot com>

pkgname=gnudatalanguage
pkgver=0.9.5
pkgrel=1
pkgdesc="An IDL (Interactive Data Language) compatible incremental compiler (ie. runs IDL programs)"
arch=('i686' 'x86_64')
url="http://gnudatalanguage.sourceforge.net/"
license=('GPL')
depends=('python2' 'python2-numpy' 'plplot' 'gsl' 'readline' 'hdf5' 'netcdf' \
'netcdf-cxx-legacy' 'wxgtk' 'fftw' 'udunits' 'pslib' 'grib_api' \
'udunits' 'eigen')
makedepends=('cmake')
options=('!makeflags')
source=(http://downloads.sourceforge.net/gnudatalanguage/gdl-${pkgver}.tar.gz)
md5sums=('2d02283c544820729479a57545d5b599')

build() {
cd $srcdir/gdl-${pkgver}
if [[ -d build ]]; then
rm -r build
fi
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DPYTHON=YES -DPYTHONVERSION=2.7 \
-DPYTHON_EXECUTABLE=/usr/bin/python2.7 \
-DPYTHON_INCLUDE_DIR=/usr/include/python2.7 \
-DPYTHON_LIBRARY=/usr/lib/python2.7/config/libpython2.7.so \
-DMAGICK=YES -DFFTW=YES -DHDF5=YES -DHDF=NO -DGRIB=YES -DUDUNITS=YES \
-DCMAKE_C_FLAGS="-I/usr/include/ImageMagick \
-I/usr/include/python2.7 \
-I/usr/lib/python2.7/site-packages/numpy/core/include" ..
make
}
package() {
cd $srcdir/gdl-${pkgver}/build
make DESTDIR=$pkgdir install

install -D -m755 ../../../gdl.profile $pkgdir/etc/profile.d/gdl.sh
}
# ----------------------------------------------------------------------------

However, I also had to patch /usr/include/plplot/plConfig.h by changing:

#ifdef HAVE_CONFIG_H
# include <plplot_config.h>
#endif

to:

#ifdef HAVE_CONFIG_H
# include <config.h>
#endif

See this bug report for details:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=761176

archlenovo commented on 2014-10-15 13:16

I was able to build and install the latest version (0.9.5) with this PKGBUILD:

# ----------------------------------------------------------------------------
# Maintainer: James Tappin <jtappinatgmaildotcom>
# Contributor: Orlando Garcia Feal <rodland at gmail dot com>

pkgname=gnudatalanguage
pkgver=0.9.5
pkgrel=1
pkgdesc="An IDL (Interactive Data Language) compatible incremental compiler (ie. runs IDL programs)"
arch=('i686' 'x86_64')
url="http://gnudatalanguage.sourceforge.net/"
license=('GPL')
depends=('python2' 'python2-numpy' 'plplot' 'gsl' 'readline' 'hdf5' 'netcdf' \
'netcdf-cxx-legacy' 'wxgtk' 'fftw' 'udunits' 'pslib' 'grib_api' \
'udunits' 'eigen')
makedepends=('cmake')
options=('!makeflags')
source=(http://downloads.sourceforge.net/gnudatalanguage/gdl-${pkgver}.tar.gz)
md5sums=('2d02283c544820729479a57545d5b599')

build() {
cd $srcdir/gdl-${pkgver}
if [[ -d build ]]; then
rm -r build
fi
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DPYTHON=YES -DPYTHONVERSION=2.7 \
-DPYTHON_EXECUTABLE=/usr/bin/python2.7 \
-DPYTHON_INCLUDE_DIR=/usr/include/python2.7 \
-DPYTHON_LIBRARY=/usr/lib/python2.7/config/libpython2.7.so \
-DMAGICK=YES -DFFTW=YES -DHDF5=YES -DHDF=NO -DGRIB=YES -DUDUNITS=YES \
-DCMAKE_C_FLAGS="-I/usr/include/ImageMagick \
-I/usr/include/python2.7 \
-I/usr/lib/python2.7/site-packages/numpy/core/include" ..
make
}
package() {
cd $srcdir/gdl-${pkgver}/build
make DESTDIR=$pkgdir install

install -D -m755 ../../../gdl.profile $pkgdir/etc/profile.d/gdl.sh
}

# ----------------------------------------------------------------------------

However, I also had to patch /usr/include/plplot/plConfig.h by changing:

#ifdef HAVE_CONFIG_H
# include <plplot_config.h>
#endif

to:

#ifdef HAVE_CONFIG_H
# include <config.h>
#endif

See this bug report for details:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=761176

archlenovo commented on 2014-10-14 15:56

Version 0.9.5 is out, is it possible to upgrade please?

Currently, I can't compile this version because plplot_config.h is missing.
Apparently, some bug reports already exist about this problem:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=761176

I also had issues with CMake not finding PYTHON_LIBRARIES and PYTHON_INCLUDE_DIRS. I had to insert these lines in the PKGBUILD:
-DPYTHON_INCLUDE_DIR=/usr/include/python2.7 \
-DPYTHON_LIBRARY=/usr/lib/python2.7/config/libpython2.7.so \

Finally, there is an undeclared dependency towards eigen3:
https://www.archlinux.org/packages/extra/any/eigen/

Rodland commented on 2014-10-13 16:00

The new version 0.9.5 is available. Regards :-)

James-T commented on 2013-12-29 10:56

Please note that this package still does not build. This is because the current release of gnudatalanguage is incompatible with the current release of plplot.

Until the next gnudatalanguage release, I recommend using the gnudatalanguage-cvs package instead.