Re: [aur-general] first java pkg

2009-06-18 Thread Ray Rashif
You need to be careful how you use java-runtime, because some applications
explicitly depend on jre. But of course, if it's openjdk, then it surely
will run with jre. Never the other way around, though, not for sure at
least.

Anyway you can take a look at another java build:
http://aur.archlinux.org/packages/jsampler/jsampler/PKGBUILD

And yes, you have to write your own shell and desktop scripts most of the
time. Download that package and take a look at those for an idea.


Re: [aur-general] first java pkg

2009-06-18 Thread Bram Schoenmakers
Op donderdag 18 juni 2009 02:06:12 schreef nathan owe.:

Hi,

[hit ctrl-enter too soon]

> Daenyth Blank wrote:
> > On Wed, Jun 17, 2009 at 19:47, nathan owe. wrote:
> >> http://aur.archlinux.org/packages.php?ID=27371
> >>
> >> can someone tell me if i did it correctly? namcap says i don't need
> >> openjdk6 as a dependency but surely i do since it is a java app
> >
> > Use java-runtime rather than openjdk
>
> This is weird, i did the pkgbuild and it runs fine if i run it locally,
> but if i use yaourt to install it, it gives "Unable to access jarfile
> /tmp/yaourt-tmp-ndowens/aur-alliancep2p/alliancep2p/pkg/usr/share/java/alli
>ancep2p/Alliance-v1.0.6.jar"

Is this what you intended? Probably not:

mkdir -p ${pkgdir}/usr/share/java/$pkgname-$pkgname

I would say one $pkgname would suffice. Also, why did you disown the package 
on AUR already?

Kind regards,

-- 
Bram Schoenmakers

What is mind? No matter. What is matter? Never mind.
(Punch, 1855)


Re: [aur-general] first java pkg

2009-06-18 Thread Bram Schoenmakers
Op donderdag 18 juni 2009 02:06:12 schreef nathan owe.:
> Daenyth Blank wrote:
> > On Wed, Jun 17, 2009 at 19:47, nathan owe. wrote:
> >> http://aur.archlinux.org/packages.php?ID=27371
> >>
> >> can someone tell me if i did it correctly? namcap says i don't need
> >> openjdk6 as a dependency but surely i do since it is a java app
> >
> > Use java-runtime rather than openjdk
>
> This is weird, i did the pkgbuild and it runs fine if i run it locally,
> but if i use yaourt to install it, it gives "Unable to access jarfile
> /tmp/yaourt-tmp-ndowens/aur-alliancep2p/alliancep2p/pkg/usr/share/java/alli
>ancep2p/Alliance-v1.0.6.jar"

Is this what you intended? Probably not:


-- 
Bram Schoenmakers

What is mind? No matter. What is matter? Never mind.
(Punch, 1855)


Re: [aur-general] first java pkg

2009-06-17 Thread nathan owe.

Daenyth Blank wrote:

On Wed, Jun 17, 2009 at 19:47, nathan owe. wrote:
  

http://aur.archlinux.org/packages.php?ID=27371

can someone tell me if i did it correctly? namcap says i don't need openjdk6
as a dependency but surely i do since it is a java app




Use java-runtime rather than openjdk
  
This is weird, i did the pkgbuild and it runs fine if i run it locally, 
but if i use yaourt to install it, it gives "Unable to access jarfile 
/tmp/yaourt-tmp-ndowens/aur-alliancep2p/alliancep2p/pkg/usr/share/java/alliancep2p/Alliance-v1.0.6.jar"


Re: [aur-general] first java pkg

2009-06-17 Thread nathan owe.

Daenyth Blank wrote:

On Wed, Jun 17, 2009 at 19:47, nathan owe. wrote:
  

http://aur.archlinux.org/packages.php?ID=27371

can someone tell me if i did it correctly? namcap says i don't need openjdk6
as a dependency but surely i do since it is a java app




Use java-runtime rather than openjdk
  

k


Re: [aur-general] first java pkg

2009-06-17 Thread Daenyth Blank
On Wed, Jun 17, 2009 at 19:47, nathan owe. wrote:
> http://aur.archlinux.org/packages.php?ID=27371
>
> can someone tell me if i did it correctly? namcap says i don't need openjdk6
> as a dependency but surely i do since it is a java app
>

Use java-runtime rather than openjdk


[aur-general] first java pkg

2009-06-17 Thread nathan owe.

http://aur.archlinux.org/packages.php?ID=27371

can someone tell me if i did it correctly? namcap says i don't need 
openjdk6 as a dependency but surely i do since it is a java app