/srv/irclogs.ubuntu.com/2012/01/18/#ubuntu-motu.txt

bkerensabilal: are you about?02:13
psusiRAOF, you know lots about X et all right?  how about glib and main loops?  I'm trying to figure out whether emitting signals goes through the main loop and whether a background thread can emit a signal and have the main thread actually process it and invoke the callback?02:25
RAOFWhat do you mean by "signal" in this case?02:26
RAOFA gobject signal?02:26
psusiRAOF, a glib signal? yea02:26
RAOFIIRC, signal dispatch is handled in the calling thread.02:27
psusihrm... darn... I was reading something that made it sound like it got queued and processed in the main loop02:27
RAOFIf you want that to occur on the main thread, I believe the idiom is to g_timeout_add() a callback which raises the signal.02:27
psusibut I couldn't see how emit figures out what maincontext to queue it to02:27
psusior idle_add right?02:27
RAOFOr idle_add, yeah.02:27
psusiand I saw a convience function earlier that does that if the calling thread doesn't already own the context02:28
RAOFBut you probably want timeout_add, with zero timeout.02:28
RAOFYeah, you could probably whip that up.02:28
RAOFYou're after the default maincontext / mainloop.02:28
psusiright... I want to just queue it up to have the main context call it... I was hoping you could just ->emit() and it would do that, but... ;)02:29
RAOFWell, unless you want to run on a specific mainloop.02:29
RAOFI don't *think* ->emit has those smarts.02:29
RAOFBut it might be worth a check.02:29
psusiyea, so theoretically the background thread can make its own context and run its own main loop right?02:29
psusior it can aquire the main main loop and service events in it for a while... I have patched gparted to do that so the background thread can pop up a modal dialog box02:30
RAOFYes.02:31
psusibut I'm now trying to figure out how to signal the main thread that it is done and it should perform post processing there and the background thread can exit02:31
psusijesus.. bzr branch of glib is up to 320mb and still going?!02:32
RAOFHm.  Why does the modal dialog need to be in a thread again?02:32
psusiRAOF, it uses a background thread to make long running libparted calls so they don't block the main loop... but those calls can have exceptions and when they do, they call an exception handler to ask what to do... gparted used to ignore them so the libparted calls would take default action, i.e. fail...02:32
psusiI patched it so that it actually handles the exception by poping up a messagebox asking the user what to do02:33
psusii.e. ignore, retry, cancel02:33
RAOFHm.  I think I'd do that by making the background thread raise a signal, wait for the mainloop to handle it, then return.02:34
RAOFWhee, 11.4K commits02:34
psusiI considered that, but a modal dialog seemed to fit better just calling gdk_threads_enter() and taking over the main loop to run the nested dialog main loop there02:35
psusineeded far less modification to that existing code too02:35
psusibut now there's some other code that right now, runs a nested loop of usleep, Gtk::Main::events_pend() Gtk::Main::iteration() until the background thread signals that it is done02:36
psusiand I'm trying to refactor it to instead spawn the background thread, and return to the main loop, then do the rest in a completion callback when the background thread is done02:37
psusiand I was hoping I could just refactor the code following the loop into a signal handler and emit the signal in the background thread before it terminates02:38
psusijesus, git cloning the linux kernel doesn't download as much as branching glib...02:39
psusiwhat the hell?  bzr said it had downloaded like 450mb, but the .bzr directory is only 236mb... the whole branch dir including all checked out sources is only 305m02:42
RAOFHuh.  What were you branching?  My branch downloaded 40Mb02:42
RAOF(Of lp:glib)02:43
RAOFAnyway.  Lunch/errands time.02:46
psusiRAOF, lp:ubuntu/glib2.002:48
RAOFThat'll be bigger because it contains all the original tarballs for every release in Ubuntu02:48
RAOFOr, rather, it contains enough information to generate them.02:48
=== xplinscott is now known as mlinscott
lifelessRAOF: also the protocol; if psusi wasn't lp-logged-in, it would be http which has fat05:21
RAOFlifeless: Yeah; I checked lp:ubuntu/glib2.0.  It took at least 200MB before I forgot about it.05:22
RAOFThere are some *serious* savings available for package-branches.05:22
RAOFA bit more than an order of magnitude, in fact.05:23
RAOFI wonder why the package-branch is so much bigger, though.05:24
dholbachgood morning08:19
Laneyhowdy09:39
=== chrisccoulson_ is now known as chrisccoulson
=== Quintasan_ is now known as Quintasan
=== mdeslaur is now known as mdeslaur_
=== mdeslaur_ is now known as mdeslaur
=== Tonio__ is now known as Tonio_
Q-FUNKhttps://launchpadlibrarian.net/90354168/buildlog_ubuntu-precise-powerpc.smartcardpp_0.3.0-0ubuntu3_FAILEDTOBUILD.txt.gz13:34
Q-FUNKthis seems to be cause by a new cmake (upon which I build-depends) which left cmake and cmake-data out of sync.13:35
tumbleweedyes. Occassionally we have some installability problems13:35
Q-FUNKhow do I re-launch the build later?13:35
tumbleweedclick the retry button13:36
tumbleweed(on the build record page)13:36
tumbleweedit looks like the cmake is already published13:37
Q-FUNKtumbleweed: hopefully.  relaunched.13:40
Q-FUNKinteresting. it seems that my two previous uploads haven't propagated to the archive yet.13:41
Q-FUNKthey show on the package's source page, but apt-get comes back empty handed.13:41
tumbleweedhanging out in bin-NEW?13:41
Q-FUNKcould be, but they show as published.13:42
tumbleweedthen they should be...13:42
=== tumbleweed changed the topic of #ubuntu-motu to: REVU is back up | Precise: open for business | Want to get involved with the MOTU? https://wiki.ubuntu.com/MOTU/Contributing | Sponsor queue: http://bit.ly/fz6AyQ | http://qa.ubuntuwire.com/ftbfs | http://people.canonical.com/~ubuntu-archive/NBS | http://qa.ubuntuwire.com/bugs/rcbugs/
Q-FUNKhow long does it usualy take before binaries are pushed in?  relaunching the powerpc build failed again, again because cmake and cmake-data are out of sync.14:08
geserQ-FUNK: the publisher runs now every 30 minutes14:17
geserif you want to be sure, you can also check the publishing status for a binary package in LP14:18
gesercmake-data got published on 2012-01-18 12:33:57 UTC, cmake (powerpc) got published on 2012-01-18 13:33:38 UTC14:21
micahgudienz: FYI, for stuff like https://launchpad.net/ubuntu/+source/seqan/1.3-1ubuntu1, anything that switches to xz compressed binaries, for precise, you need a Pre-Depends on dpkg (>= 1.15.6~)14:27
Q-FUNKgeser: ok, good to know. thanks for the info.14:35
porthoseso is dirspec in universe or main? https://launchpad.net/ubuntu/+source/dirspec says universe however the rejection mail I just got says "Signer is not permitted to upload to the component 'main'" ???14:35
Laneyhttps://launchpad.net/ubuntu/+source/dirspec/+publishinghistory14:36
Laneymain14:36
Q-FUNKwhat about pushing new binaries?  smaprtcardpp is marked as published, but its binaries are markerd as new.14:36
Q-FUNKhow often does that take place?14:36
Laneyit is a manual process14:36
Laney(the reviewing)14:36
Laneysticking stuff in the queue is an automatic part of publishing14:37
Q-FUNKright, I figured that it was a manual process, but how often does it take place?14:38
porthoseLaney, thx14:38
Laneywhenever someone does it, but not usually more than a couple of days14:38
Q-FUNKok14:39
tumbleweedQ-FUNK: IIRC you have a bunch of interdependant packages. Just upload them all, and let them depwait on each other?14:40
Q-FUNKtumbleweed: can I do that?  I thought that I would get the dependencies uploaded and approved in order.14:41
tumbleweedif you're pretty confident that they will work, go for it14:41
Q-FUNKthat's how it goes at debian, so I assumed the same here.14:41
Q-FUNKok. good to know. in that case, I might as well upload them all now so that they all get the initial review and upload at the same time.14:42
Laneyyou could do the same at debian (and actually better, because bd-uninstallable makes wanna-build a bit smarter than launchpad), just that you'd have to first locally build the stack14:43
Q-FUNKafaik at debian, one must get the dependencies approved via NEW and uploaded to unstable, in order, before more packages can be built using them.14:44
tumbleweedin debian, the maintainer uploads binaries14:46
tumbleweedso the maintainer can upload locally bootstrapped binaries for all the packages in th set14:46
Q-FUNKright, but won't the buildd fail to build for some architectures because of missing items in the build-dep chain?14:47
tumbleweedthey won't even build, beacuse they are bd-uninstallable14:49
Q-FUNKok. good to know.14:53
psusiis there a way to get from a sigc functor to a GSourceFunc/gpointer pair so you can use it as a glib callback?15:16
udienzmicahg: Right, i on it now15:48
=== udienz_ is now known as udienz
l3onhey guys... I found packages with unmetdep in oneiric.. they are so many → http://paste.ubuntu.com/808815/17:37
l3onwhat we should do ?17:37
ScottKl3on: First fix them for precise and then see if it's worth fixing in oneiric.17:38
l3onScottK, ok... I have to open a bug for each of them ?17:39
ScottKl3on: There's no real need to open a bug unless you also have a fix.17:39
l3onok :)17:39
ScottKThings like that come and go for various reasons so maintaining bugs isn't really worth the trouble.17:40
l3onif I'm not wrong, unmet dep are fixed appeding "build1" version if there's no change in ubuntu, right ?17:45
jtayloronly if the dependency is catched by a rebuild17:45
l3onah of course, yes... otherwise "ubuntu0.1"17:46
l3on(if it's not in precise I mean)17:47
ScottKYou need to understand why the dependency is missing.17:48
ScottKIt's not as simple as that.17:48
l3onok, let me know understand :)17:48
l3onCase 0: just rebuild → "buildX+1"17:49
l3onCase 1a: precise (dev) "ubuntuX+1"17:49
l3onCase 2a: SRU "ubuntuX.Y+1" (if has changes, otherwise "ubuntu0.X+1")17:50
l3onand if it's a simple rebuild, but it's a SRU ?17:51
ScottKYes.17:51
micahgl3on: dch -R for rebuilds, SRUs should have a X.Y version, i.e. build0.1 for an SRU rebuild for a package with no Ubuntu changes17:57
l3onah ok, thanks micahg ScottK :)17:58
rubiojrGood evening Gentlemen18:53
rubiojrQuick question, to contribute some packages and become a MOTU at some point18:54
rubiojrdo I need to follow the bazaar route?18:54
rubiojror is it ok to keep the packages in let's say GH18:54
jtaylorits up to you where you hold your package vcs18:55
jtayloryou don't even need to us a vcs at all, but its recommended18:55
rubiojrah18:55
rubiojrgood to know18:55
rubiojrthanks jtaylor18:55
jtayloralso MOTU does not necessarily mean you ahve to maintain your own packages (I think)18:56
rubiojralright18:56
rubiojrI'll be happy to do that anyways18:56
jtaylorpackages should be contributed to debian if possible, it benefits more users that way18:56
rubiojryeah, I got that bit18:57
rubiojrbut if I want the package to be in precise (if possible)18:57
rubiojrthe Debian route doesn't make sense right now18:57
rubiojrcorrect?18:58
jtaylordepends, finding a sponsor in ubuntu can take a long time too18:58
rubiojryeah, trying to talk to highvoltage18:58
rubiojrsubmitted an app the other day to the Store18:58
rubiojrand told me it was probably better to try to push it to universe18:58
rubiojrso how do you guys build the relation with the sponsor?19:00
rubiojrfollowing procedure in Wiki and then waiting someone to pickup the sponsorship?19:00
jtaylorpretty much, but that can take forever19:01
jtaylorfinding a fitting packaging team in debian is often a good route19:01
rubiojryeah, I know that :)19:01
rubiojrOk I see19:01
rubiojrthanks jtaylor19:03
rubiojrlet's practice some mail bombing19:03
highvoltagehey runasand19:07
highvoltagerubiojr: I'm willing to sponsor the package for you, it didn't a lot of fixing to get into universe19:08
rubiojrawe cool, that was unexpected :)19:09
psusiso normally apps ship .po files with translations in them... but when debianized, they are stripped out of the package and stored in giant langpacks for each language that has all translations for all packages that you install if you want to use that language?20:01
=== yofel_ is now known as yofel
micahgpsusi: that's only for main and select universe packages20:03
micahg*most of main20:03
psusimicahg: so if I wanted to run parted in fresh, I'd have to install... what package?  and that would get me ALL frensh translations for all packages in main?20:04
psusifrench rather20:04
micahgpsusi: go to language settings and add french20:05
psusiI'm on a server atm, so.. what package would that actually install?20:05
micahgwell, language-pack-fr, language-pack-fr-base, and a few others20:06
psusiso when the build daemons build another package, they strip out the language files and automatically update those language-pack packages?20:08
micahgpkgbinarymangler does that I think, the files get uploaded to launchpad to be included in the langpacks20:08
psusiit's a shame that dpkg can't do conditional recommends... then each package could have its own set of translation packages that would automatically be installed if you have that package, and the language metapackage installed... instead of having to get the translations for all packages in bulk...20:12
micahgpsusi: it's done this way so translations can be updated independently of the packages themselves20:13
psusimicahg: that's why the translations are in a separate package, yes... but there's not a good reason to glob the translations for all packages into one giant langpack20:14
psusiother than dpkg lacking the ability to figure out that if you have the french metapackage installed, and parted installed, then you probably want the parted-french package20:15
micahgyes, it is, managing the binaries otherwise would be a nightmare20:15
psusiwhat binaries?20:15
micahgthe translations binaries20:16
psusiwhy would it be a nightmare?20:16
micahgyou would have 3k binaries built out of each langpack source20:16
psusiwhat's wrong with 3k binaries?20:17
micahgfirst, that's a lot of extra overhead, you would end up with ~300k more binary packages in the archive20:18
micahgit just sounds very troublesome20:20
blairso hdf5 1.8.8 made it to debian unstable, will this make it into 12.04?20:24
Laneyisn't that a transition?20:26
geseronly if someone requests a sync (and has a reason to sync from unstable or waits till it hits testing)20:26
micahgblair: well, there, there's still a transition that needs to happen: http://release.debian.org/transitions/html/hdf5.html20:27
micahgif the archs we need are green or almost all green (close to Feature freeze), we can do the sync20:28
Laneyif someone volunteers to shepherd it20:28
micahgthat too20:29
RhondaI think I need a FFe soonish. :)21:05
Laneynot until Feb 16th21:06
RhondaJust tried to fire up the wiki for looking up the dates, but it isnt loading  …  *grmpf*21:06
Rhondalocal issue though21:06
Rhondaah, wait  …23:20
RhondaLaney: wesnoth-1.10 will be a new source package, so it is affected by the import freeze, right?  Or would a regular sync request still be possible, for a completely new package?23:21
Rhonda… "sorta" completely new, actually.23:21
LaneyRhonda: Everything is affected by the import freeze, but syncs of new packages aren't a particular problem23:24
RhondaWasn't a problem last time for wesnoth-1.8 I seem to remember :)23:26
blairgeser, micahg i'm pushing for our next OS for 500 desktops to be 12.04 and we have projects that use hdf5 and the current ubuntu version has bugs (and it's older than what we have currently deployed)23:45
jtaylorhow can one add a bug link to http://qa.ubuntuwire.com/ftbfs/?23:45
blairso i should wait a bit and then could request a sync?23:45
blairdoes sheparding the transition need somebody who is a debian committer?23:45
Laneyneeds someone who is going to see all of the needed work through23:46
Laneyrebuilds and whatever else needs doing23:46
blairi mean, ubuntu commiter23:46
Laneyno23:46
blairok23:46
Laneyyou just need to get sponsorship when you need it23:46
Laneykeep an eye and make sure everything gets done23:47
Laneymight be best to watch for a bit and see how it goes in debian first though23:47
Laneygoodnight!23:51
tumbleweedjtaylor: tag the bug ftbfs23:53
jtaylortoo obvious :)23:53
jtaylorthx23:53
tumbleweedsubmit a merge proposal with a hint? :)23:54

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