Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46528 - ebuild for JacORB (new library)
Summary: ebuild for JacORB (new library)
Status: RESOLVED DUPLICATE of bug 93396
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2004-04-01 14:10 UTC by Jaco Kroon
Modified: 2005-08-07 13:08 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
initial ebuild for jacorb (jacorb-2.1.ebuild,1.89 KB, text/plain)
2004-04-01 14:19 UTC, Jaco Kroon
Details
ebuild for jacorb-2.1 (jacorb-2.1.ebuild,1.98 KB, text/plain)
2004-05-25 12:37 UTC, Jaco Kroon
Details
jacorb-2.2.1 ebuild (not working) (jacorb-2.2.1.ebuild,1.98 KB, text/plain)
2005-03-28 10:55 UTC, Jaco Kroon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaco Kroon 2004-04-01 14:10:28 UTC
JacORB is a Java implementation of the CORBA standard.  We are using it for a prac tomorrow morning, I figured somebody else might also want to use so why not submit this.

Reproducible: Always
Steps to Reproduce:
Comment 1 Jaco Kroon 2004-04-01 14:19:41 UTC
Created attachment 28528 [details]
initial ebuild for jacorb

This is far from ideal.  The file formats of the shell scripts is dos format
causing a lot of crap, therefor the bunch of dos2unix commands converting all
the file formats.  No documentation gets installed at this point in time.  I
might've missed a few of the files in the lib or the bin directory.  I dunno
whether stuff in idl is needed.

Many of these I'm likely to find out in the next week or so, but many minds are
better than one.
Comment 2 Jaco Kroon 2004-05-25 12:37:28 UTC
Created attachment 32018 [details]
ebuild for jacorb-2.1

Ooh, found a few typo's, also found that the mico package already installs into
/usr/bin/idl so I made this one go to /usr/bin/jacidl instead.	I do print out
a small info about this - should I make one in postinst as well?
Comment 3 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2004-12-23 02:26:50 UTC
First off, thanks a lot for your contribution.

We have recently change how we write ebuilds for Gentoo, as is documented on
http://gentoo-wiki.com/Gentoo_Java_Policy

Is there any chance you could update your ebuild to adhere to this policy? It would entail

1) Exporting a USE flag for jikes, and setting -Dbuild.compiler=jikes to ant
if the package can indeed be compiled by jikes

2) Building the javadoc API documentation and exposing this as a 'doc' use flag.

3) Depending on dev-java/avalon-logkit-bin, instead of the bundled .jars

4) Installing the compiled .jar files using java_pkg_dojar

As a style question: Is there any reason why you could not do
for x in bin/* ; do
   dos2unix $x
done

instead of the dos2unix column you have?


I'm marking this as REMIND, in case you don't have the time to deal with it now. Please reopen the bug with an updated ebuild, and we'll include it ASAP.

Again, thanks for your contribution!
Comment 4 Jaco Kroon 2005-01-10 05:02:29 UTC
Cool.  Np, will leave the mail in my inbox for the moment.

Nope, not reason why I could not do for x in bin/* but this was one of my first ebuilds and I wasn't sure how much is bash and how much is "ebuild".
Comment 5 Jaco Kroon 2005-03-28 10:20:20 UTC
Ok, need to know where java-pkg_dojar will place the files (need to know this to manipulate those damn scripts correctly).
Comment 6 Jaco Kroon 2005-03-28 10:55:15 UTC
Created attachment 54695 [details]
jacorb-2.2.1 ebuild (not working)

Ok, I'm out of my depth here

1) log4j (~amd64) as required by one the dependancies I depend on does not
build.
2) The idl script requires a classpath to log4j - how do I get this path?  Or
is java somehow set up to get this correctly.
3) The javadoc process is running out of memory.

I'm willing to finish this off if someone can tell me how to get around these
little problems :).
Comment 7 Petteri Räty (RETIRED) gentoo-dev 2005-08-07 13:03:25 UTC
*** Bug 93396 has been marked as a duplicate of this bug. ***
Comment 8 Petteri Räty (RETIRED) gentoo-dev 2005-08-07 13:07:43 UTC
Reopening to mark as a duplicate of the newer bug because that ebuild is
probably more up to date. 
Comment 9 Petteri Räty (RETIRED) gentoo-dev 2005-08-07 13:08:00 UTC

*** This bug has been marked as a duplicate of 93396 ***