1 |
hi Zhongyu, |
2 |
|
3 |
thank you for the report! looks like a nice progress to me :-) is there |
4 |
anything i could help you with? |
5 |
|
6 |
wrt java-virtuals/*, there was a request (from mgorny iirc) to get rid |
7 |
of java-virtuals/*. imo the logic of java-virtuals should be preserved, |
8 |
but the virtuals should be placed under dev-java/ and use a naming |
9 |
template like this: |
10 |
|
11 |
virtual = dev-java/servlet-api |
12 |
implementations = dev-java/tomcat-servlet-api, |
13 |
dev-java/glassfish-servlet-api etc. |
14 |
|
15 |
also, is java-pkg-simple.eclass ready for the main tree? and if so, did |
16 |
you consider to go through the review process of the eclass? it might |
17 |
take some time to get through the process so it might be good to start |
18 |
the process soon to not be blocked by the process later. |
19 |
|
20 |
i also just pushed your commits to the main java-ebuilder repo. |
21 |
|
22 |
thank you for your work and best regards! |
23 |
|
24 |
miroslav |
25 |
|
26 |
|
27 |
Dne 12. 07. 20 v 17:42 Zhang Zongyu napsal(a): |
28 |
> Hello, |
29 |
> |
30 |
> This week I have made java-ebuilder accept "--binjar-uri" switch, |
31 |
> which will help us avoid circular deps. Also, It is helpful if we want |
32 |
> to compare the locally compiled jars and Maven Central distributed |
33 |
> jars. [1] |
34 |
> I have also patched java-pkg-simple to skip compiling source files if |
35 |
> USE="binary" is set. |
36 |
> |
37 |
> One big progress is that I have managed to install |
38 |
> "org.apache.spark:spark-core_2.12:3.0.0-preview2". [2] |
39 |
> Most of the packages are compiled natively, while a few packages are |
40 |
> Maven Central distributed binary jars. |
41 |
> |
42 |
> The reason why I have to install binaries varies. Here are the main reasons: |
43 |
> 1. Maven central only distributes binary jars (even those jars are |
44 |
> named with a "sources" suffix). I will fix the problem by changing the |
45 |
> SRC_URI of a proper source code file next week. |
46 |
> 2. The source code files are not written in Java. Some Jars contain |
47 |
> Ruby, Scala, Kotlin, or Lombok codes. [3] Maybe we should discuss how |
48 |
> to emerge those packages next week. |
49 |
> |
50 |
> There are also other issues: |
51 |
> 1. Netty is implemented by org.glassfish and com.sun, but they ended |
52 |
> up using the same artifactId. They now share the same package name. I |
53 |
> will rename them next week. |
54 |
> 2. packages of javax.* and jakarta.*: I believe they should be merged |
55 |
> into java-virtuals/. |
56 |
> |
57 |
> Next week, I will improve the quality of the overlay and submit some |
58 |
> up-to-date ebuild files. |
59 |
> The most urgent package should be netty-tcnative, because openssl has |
60 |
> changed a lot during these years and the current package cannot be |
61 |
> compiled now. |
62 |
> |
63 |
> Regards, |
64 |
> Zhang Zongyu |
65 |
> |
66 |
> [1] java-ebuilder |
67 |
> https://github.com/6-6-6/java-ebuilder |
68 |
> [2] the overlay |
69 |
> https://github.com/6-6-6/spark-overlay |
70 |
> [3] an example artifact that contains Kotlin source codes |
71 |
> https://repo1.maven.org/maven2/com/squareup/okio/okio/2.6.0/okio-2.6.0-sources.jar |
72 |
> |