1 |
Hi folks, |
2 |
|
3 |
I've got an ebuild that can install HDFView [1], which needs an X |
4 |
interface. My package depends on java via `virtual/jre` and |
5 |
`virtual/jdk`, which eventually result in pulling in |
6 |
`dev-java/icedtea-bin`. However, I do not have the `X` USE flag |
7 |
enabled globally on my system, so icedtea-bin does not pull in |
8 |
`x11-libs/libXtst`, which leads to: |
9 |
|
10 |
Exception in thread "main" java.lang.UnsatisfiedLinkError: |
11 |
/opt/icedtea6-bin-1.10.4/jre/lib/i386/xawt/libmawt.so: |
12 |
libXtst.so.6: cannot open shared object file: |
13 |
No such file or directory |
14 |
... |
15 |
at java.awt.Component.<clinit>(Component.java:582) |
16 |
Could not find the main class: ncsa.hdf.view.HDFView. Program will exit. |
17 |
|
18 |
I could add something like: |
19 |
|
20 |
hdfview? ( dev-java/icedtea-bin[X] ) |
21 |
|
22 |
to my dependencies, but that would make life difficult for users who |
23 |
use other Java implementations. It seems to me that the virtual Java |
24 |
packages should expose the union of USE flags from the underlying |
25 |
implementations, but perhaps I am just missing something. |
26 |
|
27 |
So, what's the best way to fix this? |
28 |
|
29 |
Thanks, |
30 |
Trevor |
31 |
|
32 |
-- |
33 |
This email may be signed or encrypted with GnuPG (http://www.gnupg.org). |
34 |
For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy |