Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 120962 - version bump: dev-java/rxtx 2.1-7
Summary: version bump: dev-java/rxtx 2.1-7
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Java team
Depends on:
Reported: 2006-01-30 11:17 UTC by Pal Illes
Modified: 2007-07-19 19:01 UTC (History)
4 users (show)

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

ebuild for rxtx (rxtx-2.1.7.ebuild,821 bytes, text/plain)
2006-01-30 11:20 UTC, Pal Illes
ebuild for rxtx with a better SRC_URI (rxtx-2.1.7.ebuild,816 bytes, text/plain)
2006-01-30 12:34 UTC, Pal Illes
rxtx-2.1.7-r2.ebuild (rxtx-2.1.7-r2.ebuild,818 bytes, text/plain)
2006-05-25 01:02 UTC, Federico Fissore

Note You need to log in before you can comment on or make changes to this bug.
Description Pal Illes 2006-01-30 11:17:40 UTC
I've created ebuild for latest and greatest dev-java/rxtx package. It has been just released. Ebuild is tested, working on my machine:

x86, latest stable portage
Comment 1 Pal Illes 2006-01-30 11:20:12 UTC
Created attachment 78511 [details]
ebuild for rxtx
Comment 2 Pal Illes 2006-01-30 12:34:25 UTC
Created attachment 78517 [details]
ebuild for rxtx with a better SRC_URI
Author of rxtx advised a better url as SRC_URI
Comment 3 Pal Illes 2006-02-07 05:44:02 UTC
rxtx has been officialy published on! 
Comment 4 Federico Fissore 2006-05-25 01:02:58 UTC
Created attachment 87455 [details]

version bump with suggested SRC_URI from previously posted ebuilds
Comment 5 Sandro Bonazzola (RETIRED) gentoo-dev 2006-09-09 12:40:10 UTC
While bumping the ebuild, please consider the following:
rxtx stores its class in the package gnu. Some packages uses a javax package for the same classes.
rxtx tarball includes a script : rxtx-2.1-7pre17/contrib/ that allow switching between gnu and javax gerarchies.
It would be usefull if the jar package we build can contain both the gerarchies or if it's possible to change the gerarchy with a useflag.

the second proposal can be done simply with something like:
src_compile() {
        use javax && ./contrib/ javax
        econf || die "Configuration failed"
        emake || die "Make failed"

This may allow TinyOS removing the hard dep on ibm-jdk-bin.
Comment 6 Josh Nichols (RETIRED) gentoo-dev 2006-10-05 07:11:03 UTC
It would probably be more useful to include both a version using gnu.* and a javax.*, rather than having it based on a USE flag. For example, what if you had one package that wanted gnu.*, and one that wanted javax.*? If you have the package name be determined by a USE flag, you wouldn't be able to have both of these packages installed at once.
Comment 7 Bernhard Frauendienst 2006-10-05 07:20:00 UTC
another possible use flag would be "lockfiles" by setting --disable-lockfiles for configure accordingly (default would be true)
Comment 8 Stefan Briesenick (RETIRED) gentoo-dev 2006-10-26 14:12:52 UTC
I looked at it, and it doesn't seem to be possible to include both interfaces in one package. Though it is easy to switch via the contrib script, you will end in two different JARs, but also two different JINI *.so's with the same same. While the JARs are no problem, the so's are.

So it would be better, if it is *really* needed, to make a 2nd package called "rxtx-javax". Then the packages can depend on it.
Comment 9 Stefan Briesenick (RETIRED) gentoo-dev 2006-10-29 16:35:18 UTC
rxtx- is in CVS.
Comment 10 Wayne 2007-07-11 10:28:37 UTC

Please mark this (2.1.7) stable on amd64. It works fine and its predecessor is really crappy.