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