/srv/irclogs.ubuntu.com/2007/07/29/#ubuntu-java.txt

=== doko_ [n=doko@dslb-088-073-075-020.pools.arcor-ip.net] has joined #ubuntu-java
=== AfC [i=andrew@office.syd.operationaldynamics.com] has joined #ubuntu-java
=== vil [n=vladimir@ubuntu/member/vil] has joined #ubuntu-java
=== AfC [i=andrew@office.syd.operationaldynamics.com] has joined #ubuntu-java
=== vil [n=vladimir@ubuntu/member/vil] has joined #ubuntu-java
=== vil [n=vladimir@ubuntu/member/vil] has joined #ubuntu-java
=== dharrigan [n=dharriga@82-71-62-76.dsl.in-addr.zen.co.uk] has joined #ubuntu-java
=== sss [i=sss@gateway/tor/x-89d78b77986dda6a] has joined #ubuntu-java
=== marcin_ant [n=marcin@194.114.146.126] has joined #ubuntu-java
marcin_anthi09:24
marcin_antis there anyone?09:24
man-dihello09:27
marcin_antman-di: hi09:27
marcin_antI got a question09:27
marcin_antI would like to prepare some packages for ubuntu with java software09:27
marcin_antbut I really don't want to compile with gcj09:27
marcin_antis there any policy for compilation with 'modern' compiler - and sun jdk 1.6 ?09:28
man-diwhy?09:28
man-digcj supports the modern compiler09:28
man-diproblem with sun jdk ist still that its not free09:28
man-diso if you want to make something depend on it, it needs to go into multiverse09:29
marcin_antmaybe some naming convention to differentiate packages compiled with sun-java6?09:29
man-dijust the normal java naming convention09:29
marcin_anthmm but for example we got: ecj, ecj-gcj09:30
man-diwhats the problem with them?09:30
marcin_antif I want to package ecj but compile it with sun's jdk then how should I name my package?09:30
man-diwe have ecj already. what do you want to package it again?09:31
man-dinames for packages are independent of the build depends09:31
marcin_antyou got ecj-3.2 and not 3.3 (not in feisty at least)09:31
man-diwe have ecj 3.3 in gutsy09:31
man-diif you want it in feisty, do a backport09:32
man-dior an SRU but I doubt this fits an SRU09:32
marcin_antok but I want to use sun java not gcj - so what should I do then?09:32
man-diand I wonder what gain do you think this update would be09:32
man-dimarcin_ant: chanage the build depends09:33
man-dibut this cannot go into Ubuntu09:33
man-dias ecj is in main09:33
marcin_antyes this is why I ask for naming convention - I don't want to mess with ecj (compiled with gcj)09:33
marcin_antI just would like to prepare separate package - ecj-sun? ecj-javac?09:34
man-diyou dont understand what the ecj-gcj package is09:34
man-diyou can just use the ecj pakcage and execute ecj with SUN java09:34
man-dino need for an extra packacge09:35
man-di*-gcj are just packages with native jars09:35
man-di* is for all java runtimes09:35
man-di*-gcj is just an optimization when run with gcj09:35
man-dinothing more09:35
man-diyou can run * witg gcj too, its just slower09:36
marcin_antso there is no difference between ecj-* compiled with gcj and sun's javac?09:39
marcin_antI mean between ecj.jar?09:39
man-dino, there is not09:40
man-diall other is a bug09:41
marcin_antok that's good but to use or build it I need to use all this gcj infrastructure 09:42
man-dino09:43
marcin_antso I need to install gcj packages etc.... and what if I just don't want to install any 'native' compiled packages? and have only sun-java6?09:44
man-diecj.jar was split into libecj-java package for exactly this usecase09:44
man-diyou dont need to install 'native' compiled packages09:44
man-dithese are only Recommends09:44
marcin_antehh but let's move from ecj to something more complicated09:45
marcin_antwhat about eclipse?09:45
man-disame thing09:45
man-dithe *-gcj packages are optional09:45
man-diyou dont need to install them when you ise SUN JDK09:45
marcin_antbut to build eclipse I need to use gcj right?09:45
man-diright09:45
dokoman-di: ping on the ecj package09:45
man-diif you would build-depend on sun jdk we would need to move eclispe to multiverse09:46
man-didoko: pong09:46
man-didoko: I'm currently tryting to catch up on things09:46
man-didoko: my server was down, broken hard disk09:46
dokoyou told me =)09:47
marcin_antand... hmm to use eclipse I need to have gcj-4.1-base09:47
man-dimarcin_ant: that was a bug that was fixed afaik09:47
man-dimarcin_ant: if not please file an issue09:47
marcin_antman-di: is there any difference in performance between eclipse compiled with gcj and compiled with sun's jdk?09:51
man-dimarcin_ant: depends09:52
man-diif you run both with the same VM (e.g. SUN JDK): no09:53
man-diif you run both with gcj: yes, a big difference09:53
marcin_antman-di: yes I don't want to use gcj at all - but I could use gcj for compilation (but not sure if eclipse 3.3.0 would compile with gcj at all)09:54
man-diit should09:54
man-dibut before you can work on eclipse 3.3 we need to get its dependencies into Ubuntu (and Debian)09:55
man-diI'm Eclipse maintainer09:55
man-didoko too09:55
=== doko hides, too much other stuff ...
man-dihehe09:57
man-didoko: the diff looks good09:57
man-didoko: I will do a pbuilder run with it which builds all java packages09:57
man-didoko: I can tell you the result tomorrow09:57
dokoman-di: no, the get-source target, and if the sources are ok ...09:57
man-didoko: looks complicated09:58
man-dibut ecj is complicated09:58
man-didoko: I love "@echo Press enter for the password"10:00
man-dihehe10:00
dokoman-di: I think the rebuild of the java packages is not really needed, tromey used it for rebuilding the libjava .class files10:00
man-dithis version?10:00
dokoyes10:00
marcin_antman-di: what dependencies?10:00
man-dior the version downloadable on www.eclipse.org/downloads10:00
man-dimarcin_ant: like jetty10:02
man-didebian has a version of jetty, but that is too old and has some security issues10:02
marcin_antman-di: is this required for eclipse 3.3?10:03
man-dithere are more dependencies what exist but miss the manifest stuff for eclipse10:03
man-diyes, for 3.310:03
man-dithat is one of the reasons 3.3 is not packaged yet10:03
marcin_anthmm strange.. 10:03
marcin_antbut you mean - it's required for eclipse with gcj?10:04
man-dino, for eclipse in general10:04
marcin_antare you sure that it's absoultely required for eclipse 3.3?10:05
man-diyes10:05
marcin_antI compiled eclipse 3.3 with sun-java6 on feisty without any problem10:05
marcin_antand I could run this without issues too10:06
man-dinormal eclipse source contains all its dependecies10:07
man-dito get it into the archive we remove them all to make sure we do clean builds10:07
man-didoko: I'm okay with the ecj package10:07
dokook, thanks10:15
marcin_anthmm I'm just trying to understand those overcomplicated gcj build scripts for ecj-3.3.0-2ubuntu1 10:19
marcin_antbut there is another thing - AFAIK ecj is not licensed with CPL 1.010:19
marcin_antit's licensed with EPL10:20
man-diEPL 1.0 is the same as CPL 1.010:22
man-dibut I have to agree that debian/changelog needs an adjustment10:22
man-didoko: can you fix this while you are at the package?10:24
dokomarcin_ant: you can simplify it if you want, but: you need to bootstrap without ecj, it has to run on every arch10:25
dokoman-di: is the license in the eclipse package correct?10:25
man-didoko: marcin_ant is right, debian/copyright says CPL and all *.java files say EPL10:25
dokoman-di: is the license in the eclipse package correct?10:25
man-didoko: marcin_ant is right, debian/copyright says CPL and all *.java files say EPL10:26
man-didoko: all of Eclipse was relicensed from CPL to EPL years ago10:28
dokoman-di: ok, checked myself, the eclipse copyright is the right one10:40
marcin_antsorry ;)10:44

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!