/srv/irclogs.ubuntu.com/2012/06/06/#ubuntu-motu.txt

=== jalcine is now known as Jacky
dholbachgood morning06:52
gesergood morning dholbach07:04
dholbachhey geser07:04
=== fabo_ is now known as fabo
iulianMorning.07:54
=== almaisan-away is now known as al-maisan
AmberJ_http://developer.ubuntu.com/packaging/html/libraries.html#an-example lists the name of file as "debian/libnova-0.12-2.install" ... Do we need version numbers in *.install filenames?12:37
AmberJ_Could not we simply use libnova.install instead?12:37
Zhenechyou do not need numbers in install files12:38
Zhenechbut you need the soname of the library in the binary package name of the library12:38
Zhenechand then you get the soname into the install file too :)12:38
AmberJ_But when I do 'apt-cache search lib', most lib* packages don't have soname/version in their name (?)12:40
mitya57actually "libnova-0.12-2" is the package name here12:43
AmberJ_yes, I get that.... but why don't most lib* packages in ubuntu don't have soname/version for e.g. http://pastebin.com/ANLjqDfD12:44
mitya57AmberJ_: Perl libraries are not ELF libraries, so they don't have a soname12:49
mitya57Most "regular" libraries should have a soname in the package name12:50
AmberJ_Right, I get it now.12:51
AmberJ_I need to read more about libraries...12:51
=== al-maisan is now known as almaisan-away
geservibhav: re your zerofree merge: during a merge the new Debian entries are kept as is and not "merged" into the merge change log entry (you add a new changelog entry)16:31
geserusually the output of MoM is a good starting point for a merge16:31
=== JainAmber is now known as AmberJ_
AmberJ_Why do both code blocks in http://i.imgur.com/2VqL1.png have different format?17:48
AmberJ_Source of above linked image: http://developer.ubuntu.com/packaging/html/debian-dir-overview.html#additional-files17:48
tumbleweedyou mean leading / vs no leading /?17:49
AmberJ_yes17:49
tumbleweedwho knows, but feel free to propose a merge tidying it up17:50
tumbleweedthe leading / makes no practical difference17:50
AmberJ_The path is considered relative to debian/tmp/ ?17:51
tumbleweedsee dh_install's manpage17:52
tumbleweedrelative to debian/tmp or relative to . if it wasn't found there17:52
AmberJ_right. Thanks!17:54
AmberJ_It's the other way.... If not found in current dir, it fallbacks to debian/tmp ..17:55
tumbleweed:)17:56
AmberJ_Anyways, upstream's Makefile installs it in debian/tmp...So, I don't have much to worry about atm ;)17:56
=== yofel_ is now known as yofel
AmberJ_What are *.substvars files created in debian/ ?19:39
AmberJ_Temporary files used by debuild etc.?19:40
AmberJ_I guess a packager is not expected to fiddle with them (it seems so having looked at their contents)19:40
jtaylorthe substvars files contain variables which are substituted into control19:45
jtaylorlike shlib:Depends19:45
AmberJ_yes, I see that from it's contents19:45
arandAmberJ_: Yeah, it's an auto-generated file.19:45
AmberJ_ok (I won't mess up with it then). Thanks!19:45
jtayloryou can mess with them, but the need for that is rare (and should more likely be done over dpkg-gencontrol19:45
=== cyphermox_ is now known as cyphermox
AmberJ_With over ~100 warnings, I have other stuff to take care of than mess with *.substvars files ;-)20:17
AmberJ_Fixing 100 warnings are sufficient to keep me busy for quite some time :D20:18
jbichawow, test-building on amd64 didn't help much here: https://launchpad.net/ubuntu/+source/google-glog/0.3.2-120:33
Laneyoh my20:34
ajmitchjbicha: bit of a problem there :)20:38
jbichathe changelog: "Fix FTBFS on several architectures", I think we need a few more architectures :)20:44
tumbleweedi386 is clearly not the dominant architecture any more21:46
AmberJ_Suppose I have multi-binary config... Let's say foo.install and foo-doc.install. Can we use 'install' file as well (alongwith foo.install and foo-doc.install)?21:54
tumbleweedAmberJ_: install will apply to the first binary package22:00
tumbleweedso when you have more than one it's best to just name the package in each config file22:01
* Laney was just pointed to an amusing ajmitch work item22:01
Laneyhttps://blueprints.launchpad.net/ubuntu/+spec/other-q-backports-bof22:01
* Laney giggles22:02
ajmitchLaney: yessir?22:02
tumbleweedyup, he volunteered, out of nowhere22:02
LaneyI remember now22:02
ajmitchs/nowhere/a creeping madness/22:02
Laneythe heady excitement of a UDS session leads one to make rash promises :P22:02
ajmitchI'll have to try & get that landed well before feature freeze then22:03
ajmitchthe change itself is pretty trivial22:03
Laneythere's still other structures that need to be in place though really22:03
ajmitchlist them all somewhere please22:04
* Laney wonders why Launchpad times out so much more recently22:04
Laneydid a timeout change?22:04
ajmitchyes22:04
Laneythe other stuff should be on that BP22:04
Laneybots and such22:04
ajmitchdefault timeout changed ~a week ago22:05
Laneysounds about right22:05
ajmitchhttps://lists.launchpad.net/launchpad-dev/msg09410.html22:06
ajmitchLaney: so how's that bot going?22:07
Laneyi branched the code.22:07
ajmitchwoohoo!22:07
ajmitchthat's progress :)22:07
Laneyi added some logging to the code!!!!!22:08
ajmitchmore progress than I've had on the rcbugs rewrite with udd :)22:08
Laneyi'll get debfx through NM then look at it some more :P22:08
* Laney gets on that now22:08
tumbleweedLaney: good luck with the core-dev application btw. I'm still hanging back waiting for more endorsers22:08
ajmitchtumbleweed: you need endorsers?22:09
tumbleweedajmitch: yeah, https://wiki.ubuntu.com/StefanoRivera/CoreDevApplication22:09
Laneyi have to upload to main more now, which rapidly becomes irritating22:09
tumbleweedindeed22:09
Laneywhen sponsoring is rewuired22:09
Laneyq22:09
tumbleweedajmitch: Laney does too22:09
ajmitchbut Laney has lots of photos to show how technical he is22:09
tumbleweedheh22:10
Laneytechnical in all the right ways22:10
tumbleweedhe knows that pretty pictures are far more convinsing to the DMB than endorsements22:10
tumbleweedconvincing even22:10
ajmitchof course22:10
ajmitchdistract them with kittens or something22:10
* ajmitch probably needs to sponsor stuff to write anything nice that counts22:11
* Laney will hassle you from now until July 2nd22:12
tumbleweedyeah I haven't had many sponsors for main-stuff, which doesn't help so much22:12
Laney"so, why are mono and ghc both knackered on arm?"22:13
Laney/part22:13
tumbleweedpretend you are a community member who doesn't have access to porterboxes22:14
ajmitchso will you approve each other's core dev membership, or recuse yourself both times? :)22:14
Laneyactually, the arm one is down :P22:14
tumbleweedcertainly can't endorse each-other22:14
AmberJ_ok thanks tumbleweed!22:18
Laneytumbleweed: how long are you in uk for?22:18
tumbleweedLaney: til friday. I should have been proactive about getting out of town, but the weekends have all been pretty busy22:23
Laneyah, bad luck22:24
Laneyguess seeing the queen was more exciting :P22:25
tumbleweedpish22:25
* tumbleweed had better rain at home22:25
AmberJ_Suppose I have two packages: foo and bar. If a file in foo depends on another in bar, I'll need to add "Depends: bar" in foo.install22:26
AmberJ_I guess the answer is yes, but I still thought of asking (just to be sure)22:27
tumbleweedfoo.install instructs dh_install. It has nothing to do with dependencies22:27
AmberJ_oops, I meant: "If a file in foo depends on another in bar, I'll need to add "Depends: bar" in debian/control " ?22:29
AmberJ_+ for entry corresponding to foo package in debian/control22:30
Laneyif you /need/ the bar available when foo is run, then yes Depends is what you want22:30
AmberJ_yes that's what I meant to ask..22:31
AmberJ_I'll add appropriate Depends then..22:31
tumbleweedor Recommends if it'd fail gracefully without it and not everyone would need it22:33
AmberJ_I already divided upstream into 14 packages (there might be a few more) so that independent components go into separate packages :D22:36
AmberJ_I'll need to confirm with upstream devs to find which packages go into Recommends and which in Depends.22:37
tumbleweedthere's also Suggests :)22:38
Laneyand Enhances!22:38
AmberJ_And, the most important one: Pre-Depends :D22:42
AmberJ_important since docs say "Use it very sparingly" ;)22:42
tumbleweederr, you should try and avoid that one22:42
tumbleweedhas anyone written anything that uses Enhances, yet?22:43
AmberJ_yes, I was j/k22:43
AmberJ_Umm.. Suppose foo.deb has 2 binary executables: foo1 and foo2.22:47
AmberJ_bar.deb has 1 .so library22:48
AmberJ_If foo1 depends on bar.so ... but foo2 does NOT depends on bar.so,22:48
AmberJ_Will we add a Depends:bar to foo package22:49
AmberJ_?22:49
tumbleweedyes22:51
tumbleweedunless it wolud print a helpful error when running foo2 and many people would never use foo222:51
tumbleweedbtw, these questions are far easier with real examples22:51
AmberJ_I do have a real case in front of me. And, from what I have seen it won't print a helpful error message. So, I'll add Depends: line ...22:53
AmberJ_Thanks!22:53
tumbleweeddh_shlibdeps knows about shared libraries22:53
tumbleweedif foo2 is dynamically linked to libbar, it'll add the dependency fo ryou22:54
AmberJ_ok22:57
tumbleweedalso, if you are packaging shared libraries, beware, they're non-trivial (and there's a decent fairly old howto out there somewhere)22:58
AmberJ_yes, http://developer.ubuntu.com/packaging/html/libraries.html (fotunately, it's linked from new UDD packaging page) :)23:00
tumbleweedI meant http://www.netfort.gr.jp/~dancer/column/libpkg-guide/libpkg-guide.html23:00
AmberJ_yes, this one is linked from the bottom of wiki page (but I was too lazy to read it).23:01
tumbleweedbut yes, looks like the packaging guide has a nice overview23:01
AmberJ_Now that you mention it, I'll read the other tutorial as well.23:01
AmberJ_"In the lib* package, only the runtime library, and the files necessary to use the runtime library should be included..." ... I guess this means that lin lib* packages, at the minimal we'll need to put library (*.so) and header files?23:07
tumbleweedheader files go in -dev23:08
AmberJ_Err, that means MOAR packages!23:09
tumbleweedyes23:09
AmberJ_Ah, that was mentioned in the next paragraph :(23:09
tumbleweedthanks to multi-arch, library packages tend to just contain .so.X.Y.Z shared libraries and .so.X symlinks23:09
AmberJ_I should read the complete guide first. Thanks!23:09
tumbleweedbe aware that it's fairly old. It predates deb-symbols and multi-arch23:10
slangasek"thanks to multiarch"?  multiarch by and large hasn't changed anything in package contents23:17
slangasekkeeping separate -dev packages has been policy forever :)23:17
tumbleweedit did force a few extra things to move out, but fair enough :)23:21

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