=== killabee [~killabee@95.140.33.65.cfl.res.rr.com] has joined #ubuntu-java [05:39] Any opinions on what we call native java packages? [06:13] wasabi: we should coordinate the naming with Debian === wasabi [~wasabi@c-67-174-81-195.hsd1.tx.comcast.net] has joined #ubuntu-java === doko_ [~doko___@dsl-084-059-078-087.arcor-ip.net] has joined #ubuntu-java === doko__ [~doko___@dsl-084-059-079-071.arcor-ip.net] has joined #ubuntu-java === jbailey [~jbailey@CPE00501836c657-CM014260028338.cpe.net.cable.rogers.com] has joined #ubuntu-java === Topic_ [~Topic@p54A5695B.dip.t-dialin.net] has joined #ubuntu-java [04:02] jbailey, ping [04:09] wasabi: pong! [04:10] I do not have main upload privs yet (I left a message with elmo at keyring@ about 2 weeks ago now.) Do you mind uploading java-common, ecj-bootstrap, and ant for me? [04:10] http://kyoto.larvalstage.net/~wasabi/ubuntu [04:10] And then telling me how to add a hook into a cdbs package to run AFTER dh_install. [04:10] np. [04:10] But before building the .deb [04:10] doko: Does this conflict with anything you're hacking on atm? [04:10] doko was going to do it, but had to step out. [04:10] Describe the hook to me? Sometimes there's already magic in there. [04:10] I ijust figured if you were around you could get it. [04:11] np =) [04:11] jbailey, after each package is installed into debian/$pkg/foo, I want to run some steps on each package. [04:11] To scan for .jar and .so files, etc. [04:11] jbailey: no, I'm doing java-gcj-compat. only thing which needs to be added is a build-dep on java-gcj-compat-dev [04:11] doko, eh what's that about? :) [04:11] Splitting j-g-c? Okay. [04:12] wasabi: yes [04:12] binary-post-install/java-gcj-compat:: [04:13] What about for EVERY package? [04:17] wasabi: Should I wait before fetching and uploading? [04:19] doko, what is your time frame? :) [04:21] wasabi: upload it tomorrow, when I'm finished fighting with debhelper and cdbs :-/ [04:24] ok. [04:24] doko: Put your package on chinstrap and I can finish it for you. [04:24] doko, are you saying to upload MINE tomorrow, or that you are uploading yours tomorrow? :) [04:25] wasabi: yours tonight, mine tomorrow ... [04:26] doko, i can get jbailey to do mine Now... so I guess that's a green light. ;) [04:26] I want to see how they break (if they break) so I can fix em. I have some free time today. [04:27] I have to organize my uploads around free time to check after them. =. [04:29] Have to run to work. Be back in a bit [04:29] wasabi: confirm that I will upload ant, ecj-bootstrap and java-common right awya? [04:30] I can't. I am not sure if doko means something special is happenign tonight, or that's just the first time HE can get to them. [04:30] So, don't upload them yet, and I'll ask you again in an hour when I get to work. [04:30] jbailey, wasabi: no, it's ok to upload [04:30] okay, confirmed. Upload. ;) [04:30] Must go, late. ;) [04:31] thanks, safe trip to work! [04:46] jbailey: chinstrap:~doko/uploads [04:46] it works, but is ugly === wasabi_ [~wasabi@207.55.180.100] has joined #ubuntu-java [05:18] jbailey, so, about running a make target using cdbs after dh_install for all packages, but before .deb making? [05:18] A make target? What'cha doing? =) [05:19] Eclipse 3.1. I have dh_install installing all the plugins for each eclipse feature into debian/eclipse$featurename/ [05:19] Just a normal cdbs package from that point. [05:20] So you're iterating through a bunch of dh_install calls? [05:20] What I want now is a target that iwll run after all the files have been placed in debian/eclipse-$pkgname, which will enumerate all the .jar's and .jar.so files and build classpath mappings. [05:20] No. I just need a rul that runs AFTER dh_install has moved files from debian/tmp to debian/$pkgname [05:20] Is this something that should be added to cdbs in general? [05:20] It would be nice, but it's a bit hard, and needs some thought. [05:21] 'kay, so this will be a lovely prototype. [05:21] Well, I am only doing it AFTER the move because that's the easiest way for me to generate mapping files for each individual package. [05:21] since all the plugins lib in usr/share/eclipse/plugins [05:22] We have a few eclipse packages, eclipse-rcp, eclipse-platform, -jdt, and -pde, which contain different plugins. [05:22] dh_install lists what plugins go to what package. [05:22] binary-post-install/PACKAGE:: [05:22] What abouta binary-post-install/ALLPACKAGES, repeat. [05:22] Or I can enumerate the packages myself. [05:23] $(patsubst %,binary-post-install/%,$(DEB_PACKAGES)) :: [05:23] oh is that how that works? [05:23] Generates rules for each member of DEB_PACKAGES? [05:23] Yup [05:23] Is there anyway in that to know which rule is being called? [05:23] And thus, which package. [05:24] Use $(cdbs_curpkg) and it will give you the currnet package you're working on. [05:24] Hmm. is patsubst a cdbs construct? [05:24] That lets us write rules like: [05:24] dh_installdocs -p$(cdbs_curpkg) $(DEB_INSTALL_DOCS_ALL) $(DEB_INSTALL_DOCS_$(cdbs_curpkg)) [05:24] and have it JustWork(tm) [05:24] Yeah that's basically what I'm going for. [05:25] Nope, patsubst is a gnu make thing. [05:25] How is cdbs_curpkg known? [05:25] It's both what makes cdbs possible and what makes it so fUgly. [05:25] cdbs_curpkg = $(filter-out %/,$(subst /,/ ,$@)) [05:25] Is defined in buildcore.mk [05:25] Haha [05:26] cdbs is one big giant hack! [05:26] I love it! [05:26] So $@ always has the target being generated. [05:26] So you would have binary-post-install/eclipse-plugin-foo in there. [05:26] that magic strips everything that's not the package name by treating it like a path. [05:27] There's alot of black magic and love that's gone into making it work. [05:27] It's the 3rd or 4th generation of this idea. [05:30] I'm |---| this close to getting Eclipse 3.1 done. [05:30] This classmap thing should be the last issue. [05:31] for discussion: The gcj-dbtool generation is being done like this by me, for now. Each package that contains a .jar will have a new companion package ending with -gcj. [05:31] The .jar.so file will be in that package, in an appropiate path. [05:31] For standard java packages, it'll be /usr/lib/java. Multiarch should be considered eventually. [05:32] For Eclipse it's /usr/lib/eclipse/plugins. For other packages, it may be arbitrary. [05:32] multiarch for java itself? Is that for jni bits? [05:32] The native GCJ versions of the .jars [05:32] Oh duh. =) [05:32] Approaching lunch time, IQ will steadily decrease from here. =) [05:33] So, cdbs needs to make it convient take take a) package 1 b) package 2 (-gcj pacakge) c) path 1 and d) path 2, and generate a mapping file in /usr/share/gcj-4.0/classmap.d/$package1name.db. [05:33] I think a dh_* is what we need. [05:33] Quite probably. [05:34] Hmm, have to be somewhere in 30 minutes, I'm off. [05:34] did you upload those? [05:38] wasabi_: I've done java-common. ant had a checksum mismatch and doko asked me to add a manpage to ecj before uploading it. [05:38] k === wasabi_ kicks ant [05:38] ttyl. [05:38] The mismatch is on the .diff.gz, lemme take alook at it, just a sec. [05:39] If you have to go, don't worry about it. [05:39] I suspect I just moved the wrong file. [05:40] Mm, so this might not have all the changes you want in it anyway. [05:40] 'k, I'm off. =) [05:42] I didn't bother with a manpage for ecj-bootstrap because it "doesn't matter". It's just to bootstrap packages. ;) [09:02] Yeah. [09:02] Do you have one for the full ecj package? [09:02] I may as well make it complete if I can. [09:05] Hmm. I thought I saw one floating around. [09:05] My computer at home seems to have frozen, so I can't get to it. [09:05] So I can't tell you. [09:06] No rush. If you box is frozen, I can't d/l the packages anyway. [09:06] Yeah.