/srv/irclogs.ubuntu.com/2008/05/17/#upstart.txt

sadmachow do I commit a merge?01:57
sadmacin bzr01:57
sadmacnvm.02:03
catsupdoes upstart need to have pid 1?04:56
darius12I wonder how upstart could solve the "boot splash problem". If there is no goal, how can a "percentage" be calculated? 11:56
darius12Some sort of "spinning" is the only UI solution that seems to make sense11:57
darius12you could also have some sort of "icon parade" in the lower part of the screen so that you can get a sense of what has already started11:59
darius12I can't build current upstart trunk :-(14:26
darius12I did the ../nih/nihify && autoreconf -i && ./configure && make dance14:27
ion_I don’t think it would be very difficult to estimate the percentage based on previous boots.14:27
darius12yes but what will define the "100%" in order to calculate this percentage? when X started?14:28
ion_For instance, yes.14:28
darius12but that can happen at different times depending on the situation (e.g., a usb drive is plugged or not)14:29
ion_Yes.14:29
ion_As i said, estimate.14:29
darius12and when this estimation underestimates? you return the bar back?14:30
darius12or do you take something like the 200% of the estimation just to be sure?14:31
ion_No, just let it stay at 100%.14:31
darius12hmm, if it stays at 100% for long the user might think the system is stuck14:31
ion_The probability of that happening is low. It’s more likely it stays at a much smaller percentage (e.g. waiting for a device or network), at which time the bar could be replaced with a spinner until there’s progress again.14:32
darius12and there is also the question how much do you increment the bar for each "started" events?14:32
ion_That’s based on previous boots.14:33
darius12but since things start in parallel it is unlikely you can estimate that correctly (at least without a lot of samples)14:33
ion_I said previous boots. That’s where we get a lot of samples from.14:34
ion_If there isn’t enough certainty, just show a spinner and collect data.14:34
darius12So it is a spinner in the beginning and at some arbitrary boot it is transformed to a bar?14:35
ion_Yes.14:35
ion_Probably already at the second boot.14:36
ion_And the accuracy will increase after that.14:36
darius12interesting14:36
darius12ion_: does current trunk build for you?14:37
ion_I haven’t built it for a while, dunno.14:38
darius12I see. It fails to build here sadly :-(14:38
Keybukdarius12: what was the result of "make" ?14:49
darius12INSTALL_NIH does not appear in AM_CONDITIONAL14:50
darius12I added it manually and now it breaks inside libnih14:51
darius12*** No rule to make target `../m4/codeset.m4', needed by `Makefile.in'.  Stop.14:51
darius12is it possible that I have an incorrect version? I bzr branch'ed from launchpad14:51
darius12I have rev 96014:52
darius12I 'm trying to build it in ubuntu hardy14:52
Keybukso you checked out trunk14:54
Keybukand you ran autoreconf -i ?14:54
darius12first I run ../libnih/nihify14:54
Keybukyou nihify'd libnih?14:54
darius12and then autoreconf -i yes14:54
Keybukthe _correct_ sequence is ...14:54
Keybuk  bzr checkout .../libnih/trunk libnih14:55
Keybuk  bzr checkout .../upstart/trunk upstart14:55
Keybuk  cd libnih14:55
Keybuk  autoreconf -i14:55
Keybuk  cd ../upstart14:55
Keybuk  ../libnih/nihify14:55
Keybuk  autoreconf -i14:55
Keybukie. you nihify _upstart_ rather than libnih14:55
Keybukif you do it inside libnih, it'll likely futz things up14:55
Keybukso you'd need to checkout again14:55
darius12I did it within upstart's dir14:56
Keybukdid you do the above sequence?14:56
darius12but I didn't autoreconf libnih before I do that14:56
Keybukah14:56
darius12so I 'll try again14:56
darius12If it works could you please just copy & paste the above snippet in HACKING?14:57
darius12I missed the "autoreconf -i" part inside libnih in the current instructions14:58
Keybukyeah, I probably should14:58
Keybukhttp://upstart.ubuntu.com/wiki/CompilingUpstart14:58
Keybukhas it14:58
Keybukhmm, you may have to configure libnih too14:59
KeybukI can't remember ;)14:59
darius12how do you build it?14:59
darius12it would also be nice then if there was a standard script for all this dance assuming standard directory names ("upstart" and "libnih")15:00
darius12this way you wouldn't forget yoursef :-)15:00
Keybukheh15:02
KeybukIt's just always checked out15:02
darius12so you just "make" right?15:02
darius12ok, I did exactly the above sequence. Now it says: /bin/sh: ../libtool: No such file or directory15:03
Keybukyeah15:03
Keybuktry a ./configure in libnih as well15:03
darius12ok15:03
darius12hmm, no it seems to be building :-)15:04
darius12s/no/now/15:04
darius12yep, it built fine. thanks :-)15:04
darius12would you like me to pastebin the exact sequence so that you can put it in HACKING?15:05
darius12well, it's here if you want it: http://pastebin.ca/102102415:08
darius12bbl15:08

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