/srv/irclogs.ubuntu.com/2011/12/30/#ubuntu-motu.txt

grantbowmaybe a newbie question: any idea why in debian/source/options extend-diff-ignore = "(^|/)(\.bzr)$" isn't excluding the .bzr directory in a source/format 1.0 package?01:25
brodergrantbow: i don't think that option does anything on its own - my understanding is you have to pass -i to debuild/dpkg-buildpackage/whatever to ignore files in the diff, and -i automatically ignores .bzr01:30
brodererr, -I01:30
broderoh, nope. -i01:32
grantbowperhaps my older dpkg-source and lack of source/format 3.0 are an issue. when I run debuild it says it's using the option but doesn't ignore the files.01:33
broderbut are you passing -i?01:33
broder--extend-diff-ignore changes the behavior of -i, but it doesn't imply the option01:33
broderat least, that's my read of the dpkg-source manpage01:34
broderyou might be able to put "diff-ignore" in debian/source/options01:34
grantbowk, thanks, I'll have a look01:35
grantbowaha, diff-ignore seemed to work where extend-diff-ignore didn't.01:36
grantbowbroder: seems to work now, thanks for your help01:45
=== PabloRubianes_ is now known as PabloRubianes
=== Guest97722 is now known as bilal
Alison_ChaikenWould it be correct to say that the purpose of the debian/rules file is to describe the project's pre-existing build system to the packaging system?03:39
Alison_ChaikenObviously there are a few other things in the rules, like resources that the usual build system won't normally touch but that need to be bundled in the package.03:40
micahgAlison_Chaiken: it's like the controller for the packaging03:41
micahghere's how the Debian policy manual describes it: http://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules03:41
=== bilal_ is now known as bilal
JanCAlison_Chaiken: I think that's an interesting description of it, but it is actually a build system on its own that in most cases re-uses the pre-existing build system for convenience (and in that case it "describes the project's pre-existing build system")04:58
Alison_ChaikenI take your point, JanC: the debian/rules is a Makefile that consumes and extends other makefiles because it has larger work to do.05:00
Alison_ChaikenPart of the task of the rules-monger is to make sure that the dpkg-build knows what it's eating, but only part, as the normal project build is just the first step.05:01
JanCwell, in theory it could be the complete Makefile on its own, just that most package maintainers wisely re-use the existing ones  ;)05:01
Alison_ChaikenHey, I have a reprepro with two packages in it now: yahoo!   How far behind can fame and fortune be?06:25
Alison_ChaikenThanks to everyone here for their patient and valuable advice (not sarcastic -- serious).06:25
* ajmitch wonders if it's safe to sync coffeescript 1.2.0-2 from sid07:19
geserajmitch: is bug #777554 fixed in this version?07:35
ubottuLaunchpad bug 777554 in coffeescript (Ubuntu) "coffeescript fails to find nodejs in path" [Undecided,Confirmed] https://launchpad.net/bugs/77755407:35
ajmitchgeser: I'll check, just updating my local mirror so I can build it07:37
ajmitchour nodejs version is a debian revision behind, but updating that requires updating libv8 as well07:38
ajmitcher, looks like I was wrong about libv8, I misread the changelog :)07:41
=== sagaci__ is now known as sagaci
=== sagaci_ is now known as sagaci
=== and`_ is now known as and`
ScottKjtaylor: So if your libyaml multiarch patch gets in, does that mean I'm going to have to multi-arch pyyaml too?18:42
jtayloryou don't have too18:43
jtaylornon multiarch packages should work fine with multiarch'd ones18:43
ScottKSo it's only be if something needed a foreign python[3]-yaml that I'd need to do it.18:48
jtayloryes18:49
jtaylorunless pyyamls build is broken and can't deal with multiarch paths18:49
jtaylorwhich is not rare in python extensions :/18:49
jtaylorpython-gd and numpy come to mind18:49
jtaylorlet me just try pyyaml build18:50
jtaylorworks fine18:53
ScottKOK.  Thanks for checking.18:53
jtaylorspeaking of numpy, we should probably fix numpy multiarch handling for precise18:57
jtaylornot to late in the cycle this time18:57
Resistancewoah net explosion19:09
=== jrib is now known as Guest20427
=== Guest20427 is now known as jrib
ScottKjtaylor: Yes.  Please.19:40
jtaylorScottK: just pushed a branch, still ufly but works19:40
jtaylorhttps://code.launchpad.net/~jtaylor/ubuntu/precise/python-numpy/multiarch-fix-81886719:41
jtayloryou can test it with natty's python-enable package19:42
ScottKjtaylor: Are the unmerged changes from Debian worth taking on too?19:50
jtaylorI'm hoping numpy 1.6 gets in testing in time for precise19:51
ScottKRight, but in the meantime do we want what's in -3?19:51
jtaylorI'll have a look19:52
Resistancequestion for the motus when you're not busy discussing amongst each other...19:52
Resistancehow much additional work is necessary to go from a single-binary source package, to a multiple-binary source package?19:52
ScottKthanks19:52
ScottKResistance: The first time you do it it's probably a bit of work to understand what you're up to, but in general, not hard at all.19:53
jtaylorhm looks like a change for binNMU's19:53
jtaylordoesn't look necessary for ubuntu19:53
ResistanceScottK:  well given i'm most likely going to be making test packages through pbuilder, to make sure i get the gist of it, so any pointers would be appreciated :)19:54
jtayloror maybe it is19:54
Resistance(I'm aware of how single-binary packages are made :P)19:54
ScottKThe first one is that files in /debian that were generic like install or docs need to be binary specific.19:55
ScottKSo it might be libfoo.install and libfoo-dev.install19:55
jtaylorScottK: no its not necessary for ubuntu19:57
ScottKK19:57
jtaylorwe only have one python version left + no binNMU's19:57
* ScottK is busy with $WORK now, but might be able to sponsor later if no one else does.19:58
ScottKI bet micahg would do it.19:58
jtaylorthx19:58
psusithe gtk+-2.0 package's rules file has patch-stamp and clean rules to apply and deapply the quilt patches, but it's supposedly a 3.0 (quilt) format package.. that's a packaging error isn't it?20:03
Alison_ChaikenI am building a package that requires Qt packages, which can be from upstream repos without mods.20:06
Alison_ChaikenIf in my debian/control file, I list the Qt packages as Depends, does that mean that the user will be prompted to install the Qt packages when they try to install my package?20:07
Alison_ChaikenOr must I perform some additional step to make this prompting happen?20:07
jtaylorthey will be installed automatically, but I already told you you don't need to manually list them20:07
jtaylor*when installed with apt-get or aptitude20:08
jtayloror gdebi20:08
Alison_ChaikenBecause I can just use the {shlibs} macro in the Depends.20:08
Alison_ChaikenSorry if I'm repeating myself.    It's a lot of new material.   I am making some progress, but am stopping to reflect whether I'm doing everything the right way.20:09
jtaylorpsusi: looks like a relict from pre 3.0 times, now its just an "autoreconf-stamp"20:09
Alison_ChaikenI guess I should just put the repo up and let everyone try it.20:09
ajmitchmorning20:10
jtaylorAlison_Chaiken: setting up a local repo is very easy20:10
psusijtaylor, right... it should have been removed when converting to 3.0 right?20:11
jtaylors/removed/renamed/20:11
psusirenamed?20:11
jtayloruseful to quickly test upgrades without having to wait for slow ppas20:12
psusiit shouldn't be (de)applying patches in the rules file at all since dpkg-source takes care of that20:12
psusishouldn't it?20:12
jtaylorit doesn't it now only autoreconf#s20:12
micahgjtaylor: I can sponsor sat night, not enough time left today for me21:06
jtaylorthx, there is no rush21:06
micahgjtaylor: what am I sponsoring?21:10
jtaylormicahg: https://code.launchpad.net/~jtaylor/ubuntu/precise/python-numpy/multiarch-fix-818867/+merge/8716521:11
jtaylorI also fixed up the svn sasl fix21:11
micahgk21:12
* ajmitch sees why you said it was a very ugly method21:14
=== yofel_ is now known as yofel
jtayloryes but it works, figuring out how to fix this distutils reinvention does not look worth it21:23
jtaylorit doesn't even look easily fixable, the whole thing seems to be built on knowing all possible libdirs21:26
micahgjtaylor: I thought that's a problem with python in general21:31
micahg*python apps21:31
jtaylordepends, python distutils has tools to just try linking to figure out if a library is there21:32
jtaylorlike autotools21:32
jtaylorbut as you have the full power of python in distutil every app tends to invent its own little broken method21:32
* micahg thought barry was trying to fix it upstream somehow21:35
micahgjtaylor: I'm wondering ATM why the x11 pkg-config file seems useless21:38
jtaylorpkg-config is the solution but numpy.distutils does not use it21:38
micahgstill, if it properly exported paths, couldn't you use those?21:39
jtaylorsubprocess pkg-config instead of dpkg?21:41
jtaylorI don't see the difference except dpkg is always installed pkg-config not21:41
micahgoh, is this runtime?21:42
jtayloryes21:42
micahgah, yeah, this is right then, annoying as it is21:42
micahgunless you do a build time substitution21:43
jtaylorwhich is just as ugly21:44
micahgyeah, although would be a tad faster21:44
micahgbut less robust for upstream21:44
jtaylorI don'tthink performance is an issue its not like distutils is imported in performance critical tools21:45
jtaylorjust for pkg building21:45
Alison_ChaikenOne more question: my packages as built are missing some files.   Should I tell dh_make to include them with "--add-missing" when I create the debian/<package>.install file?22:17
Alison_ChaikenOr is it more usual to hand-edit the debian/<package>.install file by hand?22:17
Alison_ChaikenOr is there a 3rd preferred method I've missed altogether?22:17
Alison_ChaikenMy files show up in debian/tmp, but not in the final debs, presumably because the <package>.install files don't list them.22:18
Laneyyou only need to use dh_make once at the start, to create a template for you to edit22:18
Laneyafter that just create stuff by hand22:18
Alison_ChaikenOkay, so debian/<package>.install is a template we expect to change: no problem.22:19

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