You are not logged in.

#1 2006-02-12 00:58:51

zeppelin
Member
From: Athens, Greece
Registered: 2004-03-05
Posts: 807
Website

Offline

#2 2006-02-12 10:21:28

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: [req] ww2d (NASA WINDS now for GNU/Linux)

ok got jo gl......

gimme some time will soon have it done

Offline

#3 2006-02-12 10:52:42

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: [req] ww2d (NASA WINDS now for GNU/Linux)

okay here we go

 #Contributor: mpie <michael.kyne-phillips1@ntlworld.com> 
 pkgname=jogl
 pkgver=1.10
 pkgrel=1 
 pkgdesc="Java openGL bindings" 
 url="http://ww2d.csoft.net"
 depends=('j2re' 'mesa' )
 makepedpends=()
 source=(http://ww2d.csoft.net/files/JOGL-Inst-1.10.jar) 
md5sums=('562c5fcbf302cfdcbec99731aec66f2a')
 build() { 
cd $startdir/src
 mkdir -p $startdir/pkg/opt/java/jre/lib/ext
 jar -xf JOGL-Inst-1.10.jar
mv jogl.jar $startdir/pkg/opt/java/jre/lib/ext
mv libjogl.so $startdir/pkg/opt/java/jre/lib/ext
 }


then

#Contributor: mpie <michael.kyne-phillips1@ntlworld.com> 
 pkgname=ww2d
 pkgver=0.99.87
 pkgrel=1 
 pkgdesc="Java GL earthviewer" 
 url="http://ww2d.csoft.net"
 depends=('j2re' 'mesa' 'jogl')
 makepedpends=()
 source=(http://ww2d.csoft.net/files/$pkgname-$pkgver.zip) 
md5sums=('0bc522c42b22287b0400592a6dd7ff71')
 build() { 
cd $startdir/src/$pkgname-$pkgver
 mkdir -p $startdir/pkg/usr/share/ww2d
mkdir -p $startdir/pkg/usr/bin
mv 'Earth' 'Global' 'WW2D.jar' $startdir/pkg/usr/share/ww2d/
echo "java -jar /usr/share/ww2d/WW2D.jar" > $startdir/pkg/usr/bin/ww2d
chmod +x $startdir/pkg/usr/bin/ww2d
} 

Offline

#4 2006-02-13 14:05:35

zeppelin
Member
From: Athens, Greece
Registered: 2004-03-05
Posts: 807
Website

Re: [req] ww2d (NASA WINDS now for GNU/Linux)

I voted for both 3 packages in AUR (ww2d-extra is the 3rd). thanks a lot and keep it up!

Offline

#5 2006-02-13 14:27:26

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: [req] ww2d (NASA WINDS now for GNU/Linux)

Your welcome!  big_smile

Offline

#6 2006-02-13 20:58:58

jaboua
Member
Registered: 2005-11-05
Posts: 634

Re: [req] ww2d (NASA WINDS now for GNU/Linux)

It's not working here:

==> Making package: ww2d 0.99.87-1 (Mon Feb 13 21:54:43 CET 2006)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==>     Using local copy of ww2d-0.99.87.zip
==> Validating source files with MD5sums
    ww2d-0.99.87.zip ... Passed
==> Extracting Sources...
==>     unzip -qqo ww2d-0.99.87.zip
==> Removing existing pkg/ directory...
==> Starting build()...
./PKGBUILD: line 16: /usr/local/abs/ww2d/pkg/usr/: Is a directory
==> ERROR: Build Failed.  Aborting...

/usr/local/abs/ww2d is where I put the pkgbuild and start "makepkg" from. It (the line) seems to be this:

 echo "java -jar /usr/share/ww2d/WW2D.jar" > $startdir/pkg/usr/

Offline

#7 2006-02-13 21:02:39

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: [req] ww2d (NASA WINDS now for GNU/Linux)

you have to run it in directory that you have write access in

Offline

#8 2006-02-13 21:05:16

jaboua
Member
Registered: 2005-11-05
Posts: 634

Re: [req] ww2d (NASA WINDS now for GNU/Linux)

What do you mean? I have write access...

Offline

#9 2006-02-13 21:33:50

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: [req] ww2d (NASA WINDS now for GNU/Linux)

did you down load the tarball from aur or have you copied and pasted from a browser....

or just grab the pkgs from my repo

Offline

#10 2006-02-13 21:46:46

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: [req] ww2d (NASA WINDS now for GNU/Linux)

The ww2d PKGBUILD in this thread is missing a end of a line and some more lines.
The one in AUR doesn't have this problem.

Offline

#11 2006-02-13 22:11:17

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: [req] ww2d (NASA WINDS now for GNU/Linux)

fixed

Offline

#12 2006-02-15 10:44:42

jaboua
Member
Registered: 2005-11-05
Posts: 634

Re: [req] ww2d (NASA WINDS now for GNU/Linux)

OK, the one in AUR worked fine.

Offline

Board footer

Powered by FluxBB