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:
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.
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?
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!
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".
Ok, need to know where java-pkg_dojar will place the files (need to know this to manipulate those damn scripts correctly).
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 :).
*** Bug 93396 has been marked as a duplicate of this bug. ***
Reopening to mark as a duplicate of the newer bug because that ebuild is probably more up to date.
*** This bug has been marked as a duplicate of 93396 ***