You are not logged in.

#1 2010-04-14 23:36:04

Toast
Member
From: Toaster
Registered: 2008-02-03
Posts: 12

[Request] VisIt

I'm not good at making PKGBUILDs and was wondering if someone could help with building a package for VisIt.

The source can be found at: https://wci.llnl.gov/codes/visit/source.html

They also have a build script and I was wondering if that would help with the build.

Any help would be greatly apreciated! smile


Not all those who wander are lost. - J.R.R. Tolkien

Offline

#2 2010-04-15 15:56:28

Toast
Member
From: Toaster
Registered: 2008-02-03
Posts: 12

Re: [Request] VisIt

I cant even build the package regularly. =/ This is what I have so far:


# Maintainer: Your Name <youremail at domain dot com>

pkgname=visit
pkgver=2.0.0b
pkgrel=1
pkgdesc=""
arch=('i686' 'x86_64')
url="https://wci.llnl.gov/codes/visit/2.0.0b/visit2.0.0b.tar.gz"
license=('GPL')
groups=()
depends=()
makedepends=(cmake)
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
source=(./visit2.0.0b.tar.gz)
noextract=()
md5sums=(27ddb189e8d8eceb1f348edd4b46d29e) #generate with 'makepkg -g'

build() {
      cd ./src/visit2.0.b/src
        /home/chris/src/visit/src/visit2.0.0b/src/configure --prefix=/usr
          make || return 1
            make DESTDIR=$pkgdir install || return 1
    #/home/chris/src/visit/build_visit
        }

I know the links are absolute and will only work on my system, but as I said before, I'm not so good at making these. >_>


Not all those who wander are lost. - J.R.R. Tolkien

Offline

#3 2010-04-15 16:42:33

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [Request] VisIt

they have a really bad mesa detecting feature and i can't pass it. here is my attempt:

# Contributor: Your Name <youremail@domain.com>
pkgname=visit
pkgver=2.0.0b
pkgrel=1
pkgdesc="Is a free interactive parallel visualization and graphical analysis tool for viewing scientific data"
arch=('i686' 'x86_64')
url="https://wci.llnl.gov/codes/visit/home.html"
license=('custom')
depends=('mesa' 'python' 'qt' 'vtk')
makedepends=('cmake' 'hdf5' 'gdal' 'netcdf' 'cfitsio')
optdepends=('hdf5: support for  hdf5 database'
            'gdal: support for gdal database'
            'netcdf: support for netcdf databae'
            'cfitsio: support for cfitsio databse')
options=()
source=(https://wci.llnl.gov/codes/$pkgname/$pkgver/$pkgname$pkgver.tar.gz)
md5sums=('27ddb189e8d8eceb1f348edd4b46d29e')

build() {
  cd "$srcdir/$pkgname$pkgver/src"
  mkdir build && cd build
  cmake ../ -DCMAKE_BUILD_TYPE:STRING=Release \
    -DCMAKE_INSTALL_PREFIX:PATH=/usr \
    -DVISIT_BUILD_ALL_PLUGINS:BOOL=ON \
    -DVISIT_JAVA:BOOL=ON \
    -DPYTHON_INCLUDE_PATH=/usr/include/python2.6/ \
    -DPYTHON_LIBRARY:FILEPATH=/usr/lib || return 1
  make || return 1
  make DESTDIR="$pkgdir/" install

  install -D -m644 "COPYRIGHT" "${pkgdir}/usr/share/licenses/$pkgname/COPYRIGHT" || return 1
}

Last edited by wonder (2010-04-15 16:43:02)


Give what you have. To someone, it may be better than you dare to think.

Offline

#4 2010-04-15 17:02:51

Toast
Member
From: Toaster
Registered: 2008-02-03
Posts: 12

Re: [Request] VisIt

Thank you very much for you help!  I really apreciate it.

I'll tinker around with the mesa problem and see what I come up with.


Not all those who wander are lost. - J.R.R. Tolkien

Offline

Board footer

Powered by FluxBB