Re: [Kolab-devel] Debian packages, upstream source patching and quilt
Paul Boddie <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kolab |
|---|---|
| Message-ID | <[email protected]> |
On Thursday 14. November 2013 23.21.21 you wrote: > On 2013-11-14 23:27, Paul Boddie wrote: > > Hello, > > > > I finally managed to get pbuilder to build the Development packages for > > Debian > > Wheezy using various tricks with hooks and a build dependencies > > directory that > > I will write up in a blog post that should then appear on Planet Kolab. > > (This > > can save a lot of time: pbuilder isn't quick itself, but OBS can take > > up to 9 > > minutes on my system to just set up the build environment for a single > > package.) > > (...) > > Please note that we do have -- and did have before -- *a lot* of > experience in setting up some genuine Debian/APT build systems. Perhaps > we should compare notes, as we do have some /etc/pbuilderrc.d/ hooks for > use with cowbuilder (which will get you that chroot you were looking > for). The chroot around the (pbuilder) chroot issue with python-setuptools could be resolved quite easily - I consider myself to be the master of chroots these days ;-) - but I used the elimination of setuptools as an excuse for some quilting. I've never investigated cowbuilder although I have heard of it - investigating all these tools requires a career in its own right - but obviously pbuilder has a degree of optimisation in that it doesn't debootstrap everything each time, which is what OBS appears to do, but maybe I'm not operating OBS in an optimal fashion. But by all means share the hooks with the rest of us. :-) > That said, indeed should patches be in format 3.0 (quilt), but here be > dragons. OBS-originated dragons, to be precise. Since I said "OBS", I > feel I need not go in to any further detail. Suffice it to say we > deliberately set everything to format 1.0, and therefore void the use of > debian/patches/ (uch! and yuk!). That's slightly odd, then, because debian/source/format contains "3.0 (quilt)" for a number of packages, at least as far as I can tell, and I'm fairly sure that it isn't a consequence of me rebuilding packages and then using my own files because I'd already seen quilt-related warnings. But maybe I'm mistaken about this and that it was complaining about the old-style source format. Anyway, I'm pretty pleased with myself now because I feel as if I'm on more familiar territory, but I'll obviously submit any changes via OBS as it provides a reasonable mechanism for that purpose. Paul