/srv/irclogs.ubuntu.com/2012/12/18/#ubuntu-devel.txt

=== slank is now known as slank_away
nuxusrany news on a release date for ubuntu for android?00:25
xnoxmfisch: I hope no hard-feeling about quilt & bzr-bd ;-) it is slightly long-winded, but we are yet to come up with a more universally better way of handling them.00:34
mfischxnox: yeah I'm reading that now00:36
mfischxnox: why build with bzr bd and not just dpkg-buildpackage?00:37
xnoxmfisch: the developer guide /should/ be covering this. If it didn't, please point me to those pages & i'll try to fix them.00:37
mfischxnox: I'll go check there, I haven't read through it in awhile00:37
xnoxmfisch: (1) because that verifies that the branch matches, what the branch importer will expect in the future. (2) because it will allow "nesting" the packaging into e.g. upstream branch (3) because this makes sure recipes also work00:38
xnoxmfisch: and with merge proposals, I tend to go UDD way and actually check bzr diff & push the branch to lp:ubuntu/$pkg. For you to get karma =)00:39
mfischI was first doing debdiffs until that was suggested instead00:39
xnoxmfisch: also since this is a new upstream release, bzr bd will generate .orig.tar.gz tarball from pristine tar delta, which dpkg-buildpackage will not.00:39
xnoxi think the lack of .orig.tar.gz is the killing feature here. hard to include it with a debdiff, but easy with the bzr-bd style branch (thanks to pristine-tar delta).00:40
* xnox preffers UDD branches, but they do have quirks with respect to quilt patches.00:40
mfischxnox: why do the branches have the quilt patches pushed before checkin?00:42
xnoxmfisch: if I understood that question correctly, dpkg-source has patches applied => same approach was taken in the package-importer to push the patches and commit .pc. This way regardless of which method used (apt-get or bzr branch) the directory layout is the same and ready to push/apply a new ubuntu patch on top.00:44
xnoxapt-get source nano, will download source package, unpack & apply patches == $ bzr branch ubuntu:nano00:45
mfischthat makes sense00:45
mfischxnox: and I never answered you but no hard feelings because I'm trying to learn00:45
xnoxdpkg-source does clever tricks and tries to check if the patches have/haven't been pushed/popped and tries to clever stuff - which breaks if patches have fuzz =/00:47
xnoxs/tries to/tries to do/00:47
GunnarHjxnox: ping?01:00
xnoxGunnarHj: yeah?01:00
xnox=) what's up?01:01
GunnarHjxnox: It's about bug 1083605. I'm pretty sure it's a two step problem, and that the patch solves the first one.01:01
ubottuLaunchpad bug 1083605 in accountsservice (Ubuntu) "accountsservice doesn't set locale choice if /home is on nfs" [Undecided,In progress] https://launchpad.net/bugs/108360501:01
GunnarHjxnox: That would take care of the accountsservice issue. The rest of the problem lies elsewhere, possibly in pam.01:03
xnoxGunnarHj: ok. So you want that patch for raring. But is that patch useful on it's own as an SRU? Or will the SRU wait for a more comprehensive fix, e.g. together with a pam fix?01:03
GunnarHjxnox: No, let's stick with raring for now.01:04
xnoxGunnarHj: ack.01:04
GunnarHjxnox: Thanks in advance. :)01:05
=== NCommander is now known as Guest11391
=== Tonio_ is now known as Tonio_aw
=== fisted_ is now known as fisted
mspencer_Hi, I've started working on a program for Ubuntu called Contributor Console (https://launchpad.net/contributor-console). Would ubuntu-devel or ubuntu-devel-discuss be a good place to announce it?02:34
hyperairi like how phoronix always has some way of portraying canonical as some unreasonable evil company that has no interest in its users wishes: http://www.phoronix.com/scan.php?page=news_item&px=MTI1NTI02:41
* hyperair sighs02:41
hyperairLaney: ^ you're featured.02:41
sarnoldhyperair: probably any website that has a pop-up flash advert, an embedded flash advert, and uses those ridiculous double-underline unrelated ads can be ignored when they talk about "users' wishes" -- they obviously hate _their_ users...02:50
hyperairsarnold: heh. i had forgotten about those. i've got adblock in place.02:50
sarnoldhyperair: not a bad approach, overall, but I do so little web browsing in places as offensive as phoronix that it's not really an issue.02:51
hyperairsarnold: well you'll be surprised how much difference it makes, actually.02:52
hyperairwhenever i stare at someone else's screen browsing $website i keep wondering why it looks so much different from how it looks on mine02:52
hyperairand then i realize there are all these ads on the side of the page.02:52
sarnoldhyperair: there's surprisingly little crap on your usual mail list archives, rfcs, and free-software wiki pages... :)02:52
hyperaireh well, that's true.02:53
slangasekyou must be reading different rfcs that I am02:55
slangasek;p02:55
sarnoldslangasek: perhaps, I always go for the original .txt versions on ietf.org. Other goofballs might re-package the rfcs with flash ads and the like, but it's usually not too hard to avoid those :)02:57
hyperairsarnold: M-x rfcview-find-rfc02:59
hyperair^_^02:59
sarnoldhyperair: hahaha03:00
sarnoldhyperair: I never got the hang of emacs. too complicated. but features like those sometimes make me wish I'd put in more effort to figure it out.03:00
hyperairsarnold: yeah that's what i told myself back when i used vim.03:00
hyperairand eventually i found enough time to put in the effort to figure it out03:01
hyperairif i have any regret, it's that emacs is pretty crap when you start exhibiting rsi symptoms.03:01
sarnoldouch03:01
hyperairbut vim makes my left wrist start making clicking sounds from continuously hitting Esc, so it's not much better.03:01
hyperairi usually twist rotate my hand to get my middle finger on the esc key, see03:02
sarnoldheh, ^[ still works for esc in vim.03:02
hyperairoh yeah that.03:02
=== Ursinha is now known as Ursinha-afk
sarnoldtwo hands, of course, but maybe less ohrrible than esc03:02
hyperairi hadn't grasped the ^ things yet before switching to emacs.03:02
sarnoldbut now you grasp the C- things just fine? :)03:02
hyperairemacs is full of C- things ;-)03:03
hyperairafter a while you know what almost every ^[[:alpha:]_-?] means.03:03
hyperair(there might be more)03:03
hyperairalso emacs usually has longhand commands with intuitive names to them if you can't remember the keybindings.03:04
hyperairvim's commands are just.. weird.03:04
sarnold.. how's that old yarn go? vi's easy! if you know what dw de d0 d$ dj dk dap do, then you know what cw ce c0 c$ cj ck cap do...03:06
ionVi(m) commands are mostly based on good mnemonics.03:07
hyperairi recall a few, and to this day i still use vi movement keys for moving around pdf's in evince, and less and screen's copy mode03:08
sarnoldI've always wanted c% to work but it never seems to do what I want. I wonder if it groks ca% or ci%.03:08
ionYou don’t really use the “vi movement keys” a lot in vi.03:08
hyperairbut for the most part, they don't really make sense, and it's pretty hard to remember while you're starting out.03:09
ionSure, there’s a learning curve.03:09
hyperairion: for viewing files they're pretty useful, though03:09
hyperairw, e, b, hjkl03:09
ionBut they do tend to make sense. :-P03:09
sarnold*sigh* no luck on ci% or ca%. :(03:09
hyperairand i have no idea what ci% or ca% means03:09
sarnoldhyperair: % bounces between matched delimeters (){}[]<>03:09
ionword, end, back, the-four-letters-from-h-in-qwerty-that-move-one-char-to-some-direction03:09
hyperairah03:09
ionci: change inner, ca: change a03:10
=== Ursinha-afk is now known as Ursinha
hyperairer what does that mean?03:10
iondi: delete inner (something), da: delete a (something)03:10
hyperairoh inner as in everything between point and whatever else?03:10
iondip: delete the paragraph without deleting the empty line after it03:10
sarnoldhyperair: I often want to change the contents within () or [] or something, but the damned 'c' doesn't do what I want.. and just a few years ago I learned about ip iw ap aw for "inner paragraph", "inner word", "a paragraph", "a word" psuedo-range commands, but they don't apply to % :(03:10
iondap: delete a paragraph and the empty line after it03:11
hyperairi never got the hang of those, but they're pretty cool03:11
iondi{: delete between {} without deleting the {}03:11
ionda{: delete between {} including the {}03:11
sarnoldion: oooh?03:11
hyperairhm03:11
* sarnold hugs ion03:11
ionya{: yank (copy) between {} including the {}03:11
hyperairin emacs i usually do something like C-SPC C-M-n C-w03:11
* sarnold hugs ion again03:12
hyperairi.e. start highlighting from point, step over balanced braces, and delete03:12
ionca{: change (delete and go to insert mode) between {} including the {}03:12
ionVa{: visual linewise selection; select “a” {} block03:13
sarnoldhyperair: heh, ^W will always mean just "kill word" to me, the idea of using ^W to delete more than a word would never fit in my head. :)03:13
hyperairsarnold: i somehow manage to switch between modes when using the shell and emacs.03:17
sarnoldhyperair: hehe, that's good :)03:20
hyperairsarnold: and somehow when browsing as well, or i'd end up trying to close a tab every time i wanted to C-w03:21
hyperairsarnold: or closign the thunderbird compose email window when trying to cut text03:21
sarnoldhyperair: pentadactly for the win, ^W kills words in firefox too :)03:22
hyperairsarnold: it gets more hilarious when my mouse is accidentally left on chromium, using focus-follows-mouse, and i'm staring at the emacs window in the other monitor..03:22
sarnoldhyperair: let the swearing commence...03:22
hyperairthen i hold down ^N to try to move down03:22
hyperairand wheeee03:23
hyperair^P is equivalently hilarious03:23
hyperairsuddenly i get hundreds of print dialogs spawning03:23
sarnoldhahaha03:23
hyperairif i don't end up swapping, it eventually stops03:23
sarnoldI normally just killed tabs.03:23
hyperairand then thanks to my super+mouse2 binding to close windows in compiz, i can just hold down super and repeatedly middle click to close these windows03:23
sarnoldoff to dinner :) thanks again hyperair and ion :D03:25
hyperair:)03:25
hyperairhappy eating03:25
ion“using focus-follows-mouse” That’s your problem right there. ;-)03:33
hyperairion: heh. i find it speeds up some use cases significantly03:35
hyperairion: for example, copy-pasting stuff between multiple windows03:35
hyperairmove mouse, ^C, move mouse, ^V03:36
=== cpg|away is now known as cpg
infinityhyperair: Or, hilight, move mouse, middle-click.  No need for focus to follow, since the click both raises and pastes.  Done.03:49
hyperairinfinity: middle click means you need to aim your mouse for the text box.04:05
hyperairinfinity: also i've turned off raise-on-click and auto-raise.04:05
hyperairi often arrange my windows in an overlapping manner and don't want them rearranging the order when i interact with them04:06
hyperairso i have them raise only on alt+click04:06
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
sladenmorgen06:34
pittiGood morning07:34
dholbachgood morning08:00
=== schmidtm_ is now known as schmidtm
=== stan_ is now known as stan
=== yofel_ is now known as yofel
Laneyhyperair: hoho, I saw that09:09
LaneyI must have Arrived™09:10
hyperairhahahaha09:10
hyperairyes you have09:10
=== mcclurmc_away is now known as mcclurmc
Laneysurprised by the people I find reading that website ;-)09:15
vilahi all !09:37
vilaafter upgrading my precise desktop this morning (new kernel), I lost network connectivity :-/09:37
vilaI restored eth0 with ifdown/ifup (!!) but still lack dns. Does that ring any bell ?09:37
vilakernel is 3.2.0-3509:38
cjwatsonsemiosis: We don't operate the PPA service here - report issues to #launchpad rather than here, please09:39
xnoxvila: Support in in the #ubuntu channel. This channel is for developing ubuntu itself.09:50
=== henrix_ is now known as henrix
hyperairLaney: =O10:03
pitticjwatson, infinity: can you please add a manual britney blocking of the next pygobject which I'm about to upload?10:12
pitti3.7.3 is not very invasive, but still, I'd like to wait for all autopkgtests10:13
Laneypitti: I can do that, doing10:19
pittiLaney: thanks10:19
pittiI'm currently fighting with "undefined symbol: Py_InitModule4_64" in the python2.7-dbg build, so upload might still take a while10:20
Laneythere we go10:21
pittithat worked with earlier python2.7 versions10:21
* pitti yearns for the day when we do full autopkgtest runs for proposed→ release10:21
=== _salem is now known as salem_
=== Tonio_aw is now known as Tonio_
pittijibel: FYI, it seems the dreaded "hash sum mismatch" also affects our buildds: https://launchpadlibrarian.net/126071308/buildlog_ubuntu-raring-armhf.pygobject_3.7.3-0ubuntu1_CHROOTWAIT.txt.gz11:30
pittithis is still a mystery to me; I would expect mirrors to do an atomic switch, i. e. sync dists.new, and then mv dists.new dists11:30
* pitti retries the build11:31
=== doko_ is now known as doko
pittiLaney: ok, all reverse depends succeeded; can you please unblock pygobject again?12:07
pittiI think it's fine, the breakage with python2.7-dbg also happens with the current raring version, so that's not a regression in -proposed12:07
Laneyrighto12:08
=== nenolod_ is now known as nenolod
Laneydone12:09
xnoxpitti: atomic switch does not help. I download Release, atomic switch happens, I download Packages => I get checksum missmatch.12:22
xnoxpitti: even like Release & Release.gpg are racy, if I catch "atomic switch" in between.12:23
xnoxpitti: the current proposal is for mirrors to cache several versions of dists/ and redirect clients to the same one "throghout the apt-get update session" such that for all requests they get all files from related dinstall.12:24
mvohttps://code.launchpad.net/~racb/ubuntu/quantal/apt/by_hash12:24
xnoxthat ^12:24
xnox;-)12:24
xnoxmvo: imho the "simple" work-around is for apt to actually tell me which repos/urls failed & redownload only those. But I don't see how I can run "apt-get update" on individual lines =(12:25
xnoxmvo: e.g. trap hash-missmatch & retry that repo.12:25
mvoxnox: yeah, it can't just do based on deb-line12:26
mvoxnox: but it will if-modified-since so at least it won't redownload stuff that is fresh12:26
xnoxmvo: architectural deficiency or consistency concerns?12:26
mvoxnox: retry-once is indeed a good idea12:26
mvoxnox: simply not-implemented12:26
xnoxmvo: /me has a winter project of: apt-getget wrapper that dpkg-redirects apt-get, traps stderr, greps for hash-missmatch and has a configurable (timeout of couple of seconds & retry up-to 3 times)12:27
LaneyO_O12:27
mvoxnox: *cough* I hope with wrapper you mean "c++" ;)12:28
xnox(e.g. you may catch a different repo missmatch, but not deadlock on really broken / mismatched repos)12:28
Laneyweird hacks when you have the source already12:28
xnoxmvo: /me likes wrapper cause then I can deploy it to precise on the cloud today.... but I guess we can cherry pick that.12:28
xnoxmvo: but that means I need to learn C++ =/12:28
mvoapts c++ is not very fancy, its more c-with-classes, very few of the new stuff12:29
* xnox 's is also boost uploader..... which may or may not be disturbing.12:29
xnoxmvo: I see. Well I started poking it, noticed Joe Sixpack & no error codes.... (well just 100 on _any_ error)12:30
xnoxit would be nice at least to report a different error code on hash-missmatch.12:30
* mvo nods12:30
=== mitya57_ is now known as mitya57
xnoxmvo: you'd welcome such hacks? =) me thought retry would not be accepted upstream....12:38
=== tkamppeter_ is now known as tkamppeter
hyperairis there a proper way of disabling services in upstart yet?12:59
hyperair(i.e. without hacking into the init file to comment out the "start on" line)12:59
=== NCommander is now known as Guest48175
LaneyI thought you create an override file or so13:00
Laneyhttp://upstart.ubuntu.com/cookbook/#disabling-a-job-from-automatically-starting13:00
hyperairyeah i just read that13:01
hyperairnice.13:01
hyperairi didn't realize that method existed13:01
hyperairis that documented anywhere?13:01
Laneyhow isn't that documentation?13:01
hyperairer13:02
hyperairwhoops13:02
hyperairi misread that as askubuntu.com13:02
* hyperair was reading that13:02
xnoxhyperair: the beauty of the override files is that you can override any portion of the job file. E.g. echo exec mydaemon -vvvvv --debug >> /etc/init/mydaemon.override; will override the exec stanza to use different command line args.13:13
hyperairyeah i noticed. nice.13:22
=== Tonio_ is now known as Tonio_aw
=== Quintasan_ is now known as Quintasan
=== mitya57_ is now known as mitya57
=== mcclurmc is now known as mcclurmc_away
=== cpg is now known as cpg|away
pittixnox: ooh, so that's it, not a non-atomic /dist update; thanks for pointing out14:20
zykes-does python-debian contain helpers to read Packages files ?14:26
=== Tonio_aw is now known as Tonio_
xnoxzykes-: one of python-debian or python-apt does.14:31
zykes-not much docs for that xnox14:35
xnoxzykes-: look at reverse-depends code & use ipython. It seemed to be ok. Also unit-tests are descriptive.14:35
=== mcclurmc_away is now known as mcclurmc
zykes-xnox: where's the source code for the python-debian stuff ? Can't see the tests in the tarball14:40
xnoxzykes-: hmm... i thought it was there. maybe it was in python-apt instead...14:41
tumbleweedI don't recall python-debain having unit tests14:41
zykes-shoot me now ;p14:42
zykes-looks like it does14:44
zykes-https://code.launchpad.net/python-debian14:44
tumbleweedoh, right14:45
=== rsalveti_ is now known as rsalveti
=== Ursinha is now known as Ursinha-afk
=== slank_away is now known as slank
=== Ursinha-afk is now known as Ursinha
semiosiscjwatson: thanks for the pointer to #launchpad :)15:29
nuxusrubuntu for android -- any news on a release date? or a date for when they might give the release date :-)16:43
nuxusrin other words, is santa going to deliver the package in time?16:45
xnoxnuxusr: this is not the right channel for general discussions around ubuntu. Please go to #ubuntu or even #ubuntu-offtopic or ubuntuforums.16:48
nuxusrubuntu for android isn't even released yet. I'm a developer looking for developers working on the project. isn't this the right channel….16:49
nuxusrpeeps in off topic don't even know the project exists ;-P16:49
xnoxnuxusr: no, here are developers that work on simply plain ubuntu raring as seen on archive.ubuntu.com. And only technical discussions happen here around packaging & developing ubuntu itself.16:50
xnoxnuxusr: no discussion of developer for / on Ubuntu Platform happens here.16:50
xnoxs/developer/development/16:50
marruslhi guys, does anyone happen to know if acroread will make its way back into partner?  if not, any idea why it was dropped?17:00
marrusladobe dropped support?17:00
=== Tonio_ is now known as Tonio_aw
=== Tonio_aw is now known as Tonio_
xnoxmarrusl: you can file a bug on launchpad against acroread package, then developers of canonical partner repository will be notified.17:06
marruslxnox, good call.17:07
=== Tonio_ is now known as Tonio_aw
=== Tonio_aw is now known as Tonio_
=== Tonio_ is now known as Tonio_aw
=== mcclurmc is now known as mcclurmc_away
=== deryck is now known as deryck[lunch]
=== henrix is now known as henrix_
=== henrix_ is now known as henrix
slangasekLaney: ping18:30
blackzis there a rapid way to see sponsored packages for a user?18:34
xnoxblackz: http://ubuntu-dev.alioth.debian.org/cgi-bin/ubuntu-sponsorships.cgi18:42
blackzxnox: thank you!18:44
=== NCommander is now known as Guest82944
=== deryck[lunch] is now known as deryck
=== Tonio_aw is now known as Tonio_
=== salem_ is now known as _salem
Laneyhi slangasek21:04
slangasekLaney: heya - how much do you understand about how valac works?21:09
slangasekLaney: I'm trying to make it cross-build-friendly21:09
Laneyhow in what sense?21:09
Laneyoh, like that, very little :-(21:09
micahgslangasek: robert_ancell is a big vala fan21:10
slangasekLaney: hmm, ok.  so the problem I'm up against is that valac-0.18 depends on libglib2.0-dev, which pulls in the native version even when cross-building, and making libglib2.0-dev co-installable will be non-trivial.21:10
slangasekah, robert_ancell is online now, he wasn't when I pung Laney ;)21:10
juliankslangasek: Shouldn't libglib2.0-dev be easily co-installable? All architecture-specific files are in architecture-specific subdirectories already, as far as I know21:11
slangasekjuliank: no, it contains helper binaries in /usr/bin21:12
juliankAh, OK. Then maybe move them out to a new libglib2.0-dev-bin package, I hope that the binaries do not create architecture specific files, but I could be wrong (and Vala code and many glib projects most probably do not need them to build)21:14
slangasekLaney, robert_ancell: so what I'm trying to figure out is why, when cross-building activity-log-manager with libglib2.0-dev:armhf installed and no special modifications, valac is perfectly happy; but if I then try to build some sample vala code I found, http://www.algonet.se/~afb/d/sample1.vala, it spits out pkg-config/gobject-2.0 errors21:15
juliankMost binaries should not care about architecture.21:15
slangasekjuliank: in the longer term that's certainly something to be done, but right now I'm trying to sort out whether the valac dep is correct21:16
slangasekbecause if valac *is* using the native libglib2.0-dev for any reason in this context, it risks getting the wrong answer21:16
juliankOK, yes, then continue with this.21:16
xnoxslangasek: to be honest, valac generates portable C code, so either build the shipped c code in the source package and ignore vala bits.21:18
xnoxslangasek: or we need to teach valac to be cross-build friendly.21:19
* xnox needs to dig into vala again, I stopped touching it @ around 0.1021:19
slangasekI'd prefer not to have to tell the world that they're doing vala wrong in their tarballs / source packages21:19
juliankYou can even still build the vala code to C, that should be independent of which libglib2.0-dev is installed/used. Then the C compiler compiles the C code, using standard autotools mechanisms21:19
juliankIn short: Vala should not care which glib2.0 is installed, as the C code it creates does not depend on the architecture.21:20
xnoxslangasek: so valac should run as native, and then cross-compiler used to build it further.21:20
* xnox ponders if that will require native libglib2.0-dev initially & :armhf later on.21:21
juliankYou actually shouldn't really need a libglib2.0-dev to build .c files from .vala forom21:22
robert_ancellslangasek, hey. Is there an example I can do in raring?21:22
xnoxawesome.21:22
juliankVala still looks it up using pkg-config though, so it does not work.21:22
juliankThat is, It does not need to perform a pkg-config lookup when only building .c code; but currently does (AFAIK)21:23
slangasekrobert_ancell: well, I'm working with activity-log-manager; all its build-dependencies are cross-installable, *except* that valac-0.18 depends on libglib2.0-dev.  So it's hard to test this without first locally hacking the valac package21:25
slangasekrobert_ancell: but, let me paste the output from valac for the sample:21:25
slangasekhttp://paste.ubuntu.com/1448544/21:25
juliankslangasek: Try to hack valac to not do pkg-config lookups when building .c files.21:25
juliankThe pkg-config stuff is only needed when compiling the .c files to machine code anyway, so it should not be really required for building the .c files21:26
=== sraue_ is now known as sraue
juliankThis should solve cross-building if the project uses autotools, as autotools will then use the correct libraries when compiling the C code to machine code.21:27
robert_ancellslangasek, does "valac -C sample1.vala" give the same error?21:27
slangasekrobert_ancell: it does not21:27
slangasekrobert_ancell: I just noticed that difference in the commandlines, myself21:27
slangasekdo you think that justifies dropping the libglib2.0-dev dependency from valac?21:27
slangasek(possibly dropping it to a recommends?)21:28
xnoxshouldn't valac call the correct arm-linux-gnueabihf-pkg-config instead then?21:28
robert_ancellslangasek, well, there's two ways of compiling, the compile to C option which is what everything uses, and the automatic compile which I guess is doing something weird21:29
slangasekxnox: that's not the question; the question is, can I drop the dep on libglib2.0-dev21:29
slangasekif it's dropped, there's not guaranteed to be *any* usable pkg-config present when valac is called21:29
robert_ancellslangasek, no, because in the "valac foo.vala" you can't compile a program21:30
juliankrobert_ancell: There are still Recommends for that case, though21:30
robert_ancellbecause the generated C code uses glib functions and valac is going to have to compile it21:30
slangasekrobert_ancell: right, but recommends are installed by default, so in the non-buildd case libglib2.0-dev will be installed anyway; wouldn't that be enough?21:30
Laneygenerating code without compiling it probably is a usecase worth supporting21:31
slangasekin the buildd case, I suspect packages have a separate build-dependency on glib2.021:31
robert_ancelljuliank, yeah, but it's going to be weird if valac fails to work (I haven't tried it)21:31
juliankslangasek: I'd verify that before dropping a Depends, though.21:31
slangasekyeah, I'm checking it now21:31
juliankrobert_ancell: Well, I hope that valac prints a reasonable error message in such a case.21:31
robert_ancellslangasek, yes, I expect practically you can drop it as everything would depend on libglib2.0-dev directly or indirectly21:31
juliankDebian has multiple packages build-depending on vala, but not on libglib2.0-dev; I suspect the situation is the same in Ubuntu.21:33
juliankAll of them seem to be GTK+ applications though, which means they indirectly pull libglib2.0-dev in.21:34
=== henrix is now known as henrix_
slangasekrobert_ancell, juliank: in practice, there's only one package in Ubuntu that doesn't pull libglib2.0-dev by other means: radare2-bindings21:37
slangasekso given that for a cross-build, libglib2.0-dev:native is not the right package anyway, I think dropping this to a Recommends and adding a build-dep on radare2-bindings is reasonable.  Do you agree?21:39
Laneymbiebl: ^- do you have any opinion on the above? (lowering valac Depends on libglib2.0-dev to Recommends)21:40
slangasekvalac-0.18 itself still invokes pkg-config directly, so if you're calling valac without -C it won't DTRT for cross builds21:43
slangasekbut that's a secondary concern at the moment21:43
robert_ancellslangasek, is there a bug / solution for that problem?21:47
slangasekrobert_ancell: sorry, which part?21:48
slangasekI haven't filed any bug reports anywhere yet21:48
robert_ancellslangasek, the DTRT for running without -V21:48
robert_ancell-C21:48
robert_ancellslangasek, I'd like to fix that if I can, but I don't know the solution21:48
slangasekrobert_ancell: the solution is probably to honor $PKG_CONFIG in the environment and call it instead of pkg-config; I think that would be compatible with the autotools cross handling21:49
robert_ancellslangasek, is $PKG_CONFIG a standard or a new thing?21:49
slangasekrobert_ancell: I'm not sure ;)  I know that it will be used as a make variable in the standard autotools setup, but I don't know if it will be exported to the valac process environment21:50
slangasekrobert_ancell: basically, you get the same behavior for both $CC and $PKG_CONFIG; so if they're exported, then you're set, if they're not then we would have to fix that first21:52
slangasekrobert_ancell: or, instead of using the exported variables, we could make this part of the valac automake rules21:53
robert_ancellslangasek, if you use automake you're going to be using the -C option anyway so it should work21:54
slangasek(valac --cc=$(CC) --pkg-config=$(PKG_CONFIG))21:54
slangasekah21:54
slangasekin that case, I'd say just honor $PKG_CONFIG and if somebody's not using automake it's their problem to export it21:54
robert_ancellslangasek, ok, I'll write a patch and send you the link. I don't think it should be controversial but I might need you to note why pkg-config should be configurable21:56
slangasekrobert_ancell: cheers :)21:56
zykes-anyone tell me what's in http://ubuntu.uib.no/archive/indices/ ?22:05
robert_ancellslangasek, does this look like what you need? http://paste.ubuntu.com/1448650/22:06
robert_ancelli.e. you can "valac --pkg-config=pkg-config-armhf foo.vala" or "PKG_CONFIG=pkg-config-armhf valac foo.vala"22:07
slangasekrobert_ancell: yep, that looks about right to me22:07
robert_ancellslangasek, is arm-linux-gnueabihf-pkg-config the sort of name we'd expect for a cross-compiling pkg-config?22:10
slangasekrobert_ancell: yes22:10
robert_ancellslangasek, https://bugzilla.gnome.org/show_bug.cgi?id=69045622:12
ubottuGnome bug 690456 in general "Support configurable pkg-config so can cross-compile" [Normal,Unconfirmed]22:12
=== schmidtm_ is now known as schmidtm
zykes-is there a thing that can read the "content-<arch>" files ?23:05
xnoxzykes-: apt-file ?23:07
=== Tonio__ is now known as Tonio_aw
=== Tonio_aw is now known as Tonio__

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