public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Problems creating a ebuild for a package written in JAVA.
@ 2002-05-28 23:50 Dan Naumov
  2002-05-29  4:15 ` [gentoo-dev] Acrobat Reader 5.05 for Linux Tom Syroid
  0 siblings, 1 reply; 5+ messages in thread
From: Dan Naumov @ 2002-05-28 23:50 UTC (permalink / raw
  To: gentoo-dev

Hello.

I long ago wanted to create an ebuild for some good SETI@home client watcher seeing as there weren't any in in the portage tree. After failing to create an ebuild for KSetiWatch (bizarre crash problems after compile), I've decided to attemp packaging JSETIMon (which can be found at: http://jsetimon.sourceforge.net) and ran into a few problems.

There are 2 avaible downloads, the source tarball and a .jar file that can be run with "java -jar JSETIMon-1.32.jar" upon download. For convinience, I decided to rather go ahead with using the .jar now here are the problems:

1) since the *.jar file cannot be run by itself, I guess I'll have to create a shell script that would be placed into /usr/bin and upon being run, would run "java -jar /path/to/JSETIMon-1.32.jar" The problem is, what would be a "sane" place to put the .jar file in ?

2) JSETIMon creates 2 configuration files upon being run, jsetimon.ini and sound.ini, the problem is, they're created in the directory you run the program in. Ie. if a user does "cd /usr/bin/;./jsetimon", where "jsetimon" would be the script created for running the program, JSETIMon will attemp to create it's config files under /usr/bin :( Not only that, but if you put that "jsetimon" script into say...a fluxbox menu, the files would get created under the users home directory and would remain visible, as their filenames don't start with a period.

The only way that makes the program work "sanely" is to create some subdirectory under the user's homedir, put the .jar there and make the user use something like "cd /SETI;java -jar JSETIMon-1.32.jar" in the menu for starting up the program. Personally, I don't know how would I go around this, since all this seems very very broken and I see no convinient way of simply installing the program using "emerge jsetimon".

The situation is rather unfortunate, seeing as there is nothing seti-related in the portage tree and the only 2 good seti watchers (that can track multiple clients) avaible for Linux. These 2 programs are KSetiWatch (bizarre crashes) and JSETIMon (horrible installation procedure).

Any ideas on what would be the best way to make all this easy for the end-user ? Should I try contacting the author and making him change a few things in the program (for example making the config filenames start with a period). How should I (and other ebuild writers for that matter) handle the installation of JAVA programs ?

Thank you for your time and help.

Sincerely,
Dan naumov (aka Jago on OPN)


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-dev] Acrobat Reader 5.05 for Linux
  2002-05-28 23:50 [gentoo-dev] Problems creating a ebuild for a package written in JAVA Dan Naumov
@ 2002-05-29  4:15 ` Tom Syroid
  2002-05-29  4:20   ` Dan Naumov
  2002-05-29  4:22   ` Dan Naumov
  0 siblings, 2 replies; 5+ messages in thread
From: Tom Syroid @ 2002-05-29  4:15 UTC (permalink / raw
  To: gentoo-dev

FYI: (hint... would be a nice ebuild ;-)

http://linuxtoday.com/news_story.php3?ltsn=2002-05-28-009-26-NW-SW

Installed from tarball, and works as advertised. Nice to have some of the 
features Windoz users have enjoyed for several releases...

Best,
/tom


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] Acrobat Reader 5.05 for Linux
  2002-05-29  4:15 ` [gentoo-dev] Acrobat Reader 5.05 for Linux Tom Syroid
@ 2002-05-29  4:20   ` Dan Naumov
  2002-05-29  4:49     ` Tom Syroid
  2002-05-29  4:22   ` Dan Naumov
  1 sibling, 1 reply; 5+ messages in thread
From: Dan Naumov @ 2002-05-29  4:20 UTC (permalink / raw
  To: gentoo-dev

On Wed, 2002-05-29 at 07:15, Tom Syroid wrote:
> FYI: (hint... would be a nice ebuild ;-)

localhost root # emerge -s acroread
[ Results for search key : acroread ]
[ Applications found : 1 ]
 
*  app-text/acroread
      Latest version Available: 5.05-r2
      Latest version Installed: [ Not Installed ]
      Homepage: http://www.adobe.com/products/acrobat/
      Description: 
      Adobe's PDF reader


Sincerely,
Dan Naumov



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] Acrobat Reader 5.05 for Linux
  2002-05-29  4:15 ` [gentoo-dev] Acrobat Reader 5.05 for Linux Tom Syroid
  2002-05-29  4:20   ` Dan Naumov
@ 2002-05-29  4:22   ` Dan Naumov
  1 sibling, 0 replies; 5+ messages in thread
From: Dan Naumov @ 2002-05-29  4:22 UTC (permalink / raw
  To: gentoo-dev

On Wed, 2002-05-29 at 07:15, Tom Syroid wrote:
> FYI: (hint... would be a nice ebuild ;-)

localhost root # emerge -s acroread
[ Results for search key : acroread ]
[ Applications found : 1 ]
 
*  app-text/acroread
      Latest version Available: 5.05-r2
      Latest version Installed: [ Not Installed ]
      Homepage: http://www.adobe.com/products/acrobat/
      Description: 
      Adobe's PDF reader


Sincerely,
Dan Naumov (aka Jago on OPN)



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] Acrobat Reader 5.05 for Linux
  2002-05-29  4:20   ` Dan Naumov
@ 2002-05-29  4:49     ` Tom Syroid
  0 siblings, 0 replies; 5+ messages in thread
From: Tom Syroid @ 2002-05-29  4:49 UTC (permalink / raw
  To: gentoo-dev

Ooooh... Thanks, Dan.

Plugged the wrong search variable into Portage (tried acrobat, adobe, and a 
couple others, but didn't think to try acroread ;-)

/tom

--On Wednesday, May 29, 2002 07:20:41 +0300 Dan Naumov 
<jago@telefragged.com> wrote:

> On Wed, 2002-05-29 at 07:15, Tom Syroid wrote:
>> FYI: (hint... would be a nice ebuild ;-)
>
> localhost root # emerge -s acroread
> [ Results for search key : acroread ]
> [ Applications found : 1 ]
>
> *  app-text/acroread
>       Latest version Available: 5.05-r2
>       Latest version Installed: [ Not Installed ]
>       Homepage: http://www.adobe.com/products/acrobat/
>       Description:
>       Adobe's PDF reader
>
>
> Sincerely,
> Dan Naumov
>
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-05-29  4:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-28 23:50 [gentoo-dev] Problems creating a ebuild for a package written in JAVA Dan Naumov
2002-05-29  4:15 ` [gentoo-dev] Acrobat Reader 5.05 for Linux Tom Syroid
2002-05-29  4:20   ` Dan Naumov
2002-05-29  4:49     ` Tom Syroid
2002-05-29  4:22   ` Dan Naumov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox