[01:55] SpamapS: around? [02:07] AlanBell: It looks like your recipe fails to specify the necessary build-depends be installed, but I've zero experience with recipies, so I've no advice on that. [09:09] ok, thanks ScottK. Odd that I took the debian stuff from the current maverick package and now it builds on Lucid, but not Maverick [09:11] anyone using cowbuilder ? [10:53] if someone changed B-D debhelper from 5 to 7, should also bump it in debian/compat file? [10:54] ari-tczew: yes [10:54] then I found a bug [10:54] ari-tczew: what was the reason to bump debhelper to 7? [10:55] geser: * Bump build-depend on debhelper to install udev rules into /lib/udev/rules.d, add Breaks on udev to get correct version [10:56] https://launchpad.net/ubuntu/+source/sane-backends-extras/1.0.19.11ubuntu2 [10:57] debhelper (>= 7.0.17ubuntu2) [10:57] is it necessary? >= 7 is not enough? [10:58] ari-tczew: depends, I guess he wanted the change that was made in debhelper 7.0.17ubuntu2 [10:58] ari-tczew: I guess not as we want the specific behaviour for udev rules which got probably added in that debhelper version [10:58] jaunty is EOL in 5 days and that's not really a bug though [10:59] sebner, geser: but at this moment practically, will get debhelper 8, so I don't understand depend on stricte 17ubuntu2 [11:00] ari-tczew: this was done in jaunty ... [11:01] sebner: I know. I want to merge this one and I want to be sure, whether B-D on debhelper (>= 7) is enough [11:01] ari-tczew: our debhelper 8 package probably has that change too (either patched or included in the debian version) [11:01] ari-tczew: I strongly suspect it isn't ;) [11:01] sebner: makes no sense [11:02] ari-tczew: think about backporting [11:03] geser: why? [11:03] Please use 7.0.17ubuntu2~ instead of without the ~ [11:03] Otherwise it might hinder backports. [11:03] ari-tczew: well, of course *now* a newer debhelper version gets installed but if there is someone backporting it where debhelper is older than ..17ubuntu2 you get problems [11:03] hola Rhonda =) [11:04] geser: I don't use this package (perhaps). I could upload a SRU which change debian/compat correctly [11:05] ari-tczew: not important enough for a SRU [11:05] The thing is, do you know what the impact of that change would be? [11:05] install udev correctly [11:08] ari-tczew: why do you think this isn't the case now? [11:08] sebner: I don't understand your question. I don't want drop this delta. [11:11] ari-tczew: right, I guess you want to know if you should bump debian/compat too? [11:18] sebner: I guessed that I should bump debian/compat. I would ask to be sure. [11:21] ari-tczew: yeah, I think so [11:43] wait, what? [11:43] compat level doesn't have to correspond with debhelper BD version [11:43] Laney: you didn't understand. B-D was on debhelper 7, but d/compat says 5 [11:43] see the debhelper manpage for the meaning of the various compat levels [11:43] I do understand [11:44] Laney: so d/compat is not necessary? [11:44] matching it to the debhelper major version isn't necessary [11:45] debhelper(7) explains more [11:45] Laney: so if I will bump d/compat also, I will be fired? [11:47] anyone using cowbuilder ? xulrunner-1.9.2 doesn't seem to install in a maverick cowbuilder chroot [11:52] ari-tczew: err, I didn't say anything of the sort. I'm just saying that it's not necessary. I'd never bump it in a diverging change from Debian unless that is the correct way to fix a bug. [11:53] Laney: pedantic I'll bump it [11:53] * Laney shrugs [11:53] it's another delta to maintain [11:53] but do what you will [11:53] ari-tczew: why would you bump it? Does it have any benefit? [11:54] tumbleweed: yes, not confusing which debhelper uses [11:55] ari-tczew: compat is different to a minimum required version. It tells debhelper how this package expects debhelper to behave. [11:56] tumbleweed: odd. [11:57] ari-tczew: not really. It allows debhelper to make incompatible changes and still produce predictable builds. [11:58] tumbleweed: on your responsibility, I'll leave compat 5. [11:58] ari-tczew: we don't change things unecessarily (you'll find many packages using compat 5) [12:04] this is why I advised you to look at the manpage. It tells you what will change when you update compat. [12:17] * persia encourages *not* changing compat levels without very good reasons, as this can change the behaviour of the dh_* tools in unexpected ways [12:18] 7! [12:19] Only if the rest of the packaging is set to match... If folk *really* care about that stuff, emulate directhex and go make the changes in Debian. [12:20] directhex: 5040 :) [12:20] 400! [12:21] 42 [12:21] 6.40345228466238952 * 10^868 [12:22] * geser hopes that this is precise enough [12:23] Depends what one wishes to accomplish. I don't think it's sufficient to enable transmogrifications. [12:24] up to 11 ;) [12:24] good afternoon [12:48] does someone know a good example for how to use dpkg-vendor in debian/rules? === Ng_ is now known as Ng [19:20] ari-tczew, ping [19:20] simar: pong [19:20] ari-tczew, haha [19:21] ari-tczew, i'm learning some packaging now .. i hope i can do merging and syncs .. [19:21] simar: I must go out right now. [19:21] simar: good luck and have fun [19:21] ari-tczew, :(( [19:21] ari-tczew, c ya later.. [19:21] ari-tczew, i will try to get help here [19:22] simar: friend from Ireland is visiting our country. we didn't see 2 years. [19:22] ari-tczew, go dude and rock out.. we'll catch up later [19:23] shadeslayer, see you facebook .. [19:38] shadeslayer, there?? [19:41] hey could anyone here give me a start on merges and syncs .. i'm almost started packaging but need small overview .. [20:12] simar: sync is when the Debian package is imported in Ubuntu as is (i.e. no ubuntuX version number added) [20:13] Bachstelze, ya i know that [20:13] merge is when we have a package in UBuntu that has diverted from Debian and a new Debian version is out, we need to check whether some Ubuntu changes are made irrelevant by the new Debian version, and if so, drop them [20:13] and document those that were kept and why [20:13] Bachstelze, I want to contribute to that, could you guide me from where can i start [20:14] Bachstelze, I have read twice tha ubuntu packaging guide and i have a print out of it for reference [20:14] https://wiki.ubuntu.com/UbuntuDevelopment/Merging [20:14] syncing should be done automagically [20:17] Except for if there used to be Ubuntu changes needed, but they've all been incorporated by Debian and we can sync over a merge. That has to be requested. [20:18] Bachstelze, It means we need not do anything to sync [20:20] If all of the reasons that the Ubuntu version existed (bug fixes, dependencies, etc.) are fixed in the new Debian package (or if the residual difference is sufficiently trivial it's not worth the maintenance overhead of merging) then we can just take the Debian package directly. [20:21] we can just take the debian package directly .. is this automatic [20:21] simar: no, you have to request the sync (with requestsync). That's what ScottK was saying. [20:23] tumbleweed, ok thanks.. [20:27] yes, I meant syncing if the Ubuntu package has not diverted from Debian [20:27] if it has, you have to request it as ScottK said [20:30] geser, http://raphaelhertzog.com/2010/09/27/different-dependencies-between-debian-and-ubuntu-but-common-source-package/ isn't precisely an example, but may help [20:32] https://merges.ubuntu.com/universe.html [20:32] * ajmitch should probably try & do one or two of them [20:33] are these all packages to be merged .. or already merged .. i mean i'm not getting what are the tabs mean there [20:36] packages still to be merged [20:39] * geser is fighting with one merge most part of this day [20:39] geser: vim? [20:39] yes [20:39] I saw discussion on #ubuntu-devel. [20:40] the hard part is to get it build with gcc-4.5 which seems to be a vim upstream problem [22:01] shadeslayer, ping [22:08] ScottK: what do you think about Depends on gnupg for binary pinentry-gtk2 ? [22:09] Not much, why? [22:09] without gnupg, pinentry-gtk2 won't show window for password [22:10] ari-tczew: gnupg is in minimal. Without minimal installed, a system isn't really guaranteed t work. [22:11] ScottK: anyway, it should depend on gnupg. I did a fresh installation and my maverick lost window for password. then I've installed gnupg and window for password came back [22:12] ari-tczew: shouldn't whatever uses pinentry-gtk2 in combination with gnupg depend on both? [22:12] If you have ubuntu-minimal installed, how did you not have gnupg? [22:13] and which password did you want to enter in pinentry? [22:13] geser: when I'm signing source package [22:13] None of the other pinentry's have it either. [22:13] ScottK: dunno [22:13] ari-tczew: how did you planned to sign without gpg? [22:14] ari-tczew: Since it ubuntu-minimal depends on gnupg, I think something else was up. [22:14] geser: I don't understand the question. where I wrote about my plans? [22:15] ari-tczew: it's not pinentry-gtk2's fault that gnupg isn't installed [22:15] azeem: hmm. any ideas? [22:15] 23:10 < azeem> ari-tczew: shouldn't whatever uses pinentry-gtk2 in combination with gnupg depend on both? [22:15] 23:12 < ScottK> ari-tczew: Since it ubuntu-minimal depends on gnupg, I think something else was up. [22:16] ari-tczew: I'm wondering why you want to enter a password without a program to do the signature [22:23] I want to merge/sync packages for natty .. i used sudo pbuilder create [22:24] and then sudo pbuilder update --distribution natty --override-config [22:24] is it correct.. [22:31] simar, You might find pbuilder-dist from ubuntu-dev-tools interesting. [22:32] persia, i'm a beginner in packaging .. trying to merge my first package .. isn't what i did will work [22:32] I recommend against starting with merging, if you're a beginner :) [22:33] I've no idea if what you did might work: I don't use pbuilder. [22:33] persia, no i'm beginner in merging [22:33] persia, i have done some packaging before [22:33] Do you have any outstanding changes you made that need to be merged? [22:34] persia, actually i'm still looking at the package that weather it need merging or just a sync will work.. [22:34] https://merges.ubuntu.com/i/ikiwiki/REPORT [22:35] persia, this is the report of the package [22:35] It is updated frequently in debian .. I hope a sync will be ok for it.. [22:35] simar: start by reading the diffs, see what Ubuntu has changed [22:35] Testing in pbuilder won't help determine if that is still required. [22:36] simar: It helps to ask for help when you are stuck. "Is this right" is a hard question to answer [22:36] * tumbleweed isn't making much sense there... [22:36] ya, but i thought before all i can see if the new debian version will get properly build at all or not.. [22:37] so i tried to use pbuilder for that.. but i want for natty and i have it for licid [22:37] right now [22:37] simar: look at pbuilder-dist, it lets you have multiple pbuilders without much work. [22:37] pbuilder won't test that. No local build will test that, because of the specific issue. [22:40] persia, but if i build in pbuilder using sudo pbuilder *.dsc isn't that will help me determine that the package correctly builds or not .. [22:40] persia, i know i will have to still look into patches for merging .. [22:40] simar: persia is talking about the reason Ubuntu patched ikiwiki. Read the changelog [22:41] simar, No, it won't. The specific issue for the ikiwiki merge cannot be tested using pbuilder. [22:42] tumbleweed, .. i think have to look into patches the 'old ubuntu'.patch and the 'new debian'.patch [22:42] simar, So, would you like to go through this merge in great and exhausting detail? I'd be happy to do that. You won't need a pbuilder for natty. === jenkins1 is now known as jenkins [22:43] persia, ya sure i will appriatiate that [22:43] (and I still don't think merges are a good place to start until one has done some bugfixes, and been *assigned* some merges) === jenkins is now known as Guest14708 [22:43] simar, OK. The first step is to look at the changelog entries in Ubuntu since the last reconciliation with Debian. We have a description of a change to fix a specific issue. [22:44] persia, ok [22:44] persia, i have fixed some FTBFS before though.. [22:44] The explained change is that wdg-html-validator is not being used as a build-dependency, because the namespace definition is a URI that requires network access during build. [22:44] simar, Excellent. Are any of the FTBFS fixes ready to be merged yet? [22:45] persia, i did those some 3 months back .. [22:46] I'm not sure I see the connection. [22:46] persia, URI? [22:46] is there a way to marry git packaging branches from debian with our, bzr-based ones? [22:46] Basically, my opinion is that folks should concentrate on bugfixing until they are assigned merges because they did the bugfix, at which point they will be in a better position to understand the merge details. [22:47] kklimonda, Not in any sane way, no. You might try a vcs-imports branch of debian, but for non-native, it's unlikely to correspond to anything bzr-buildpackage expects. [22:48] simar, http://www.w3.org/1999/xhtml [22:48] Also http://www.w3.org/2005/Atom [22:48] persia, ok .. i take you opinion. so I will work on some more bug fixes before merging .. [22:49] persia: so the only sane workflow is to work on both branches separately using patches, minimalize delta and then make package syncable or mergeable with the smallest changes possible? [22:49] simar, I'm still happy to walk through *this* merge with you if you like, just in general I think it's better to wait until you've been assigned some. [22:49] I wonder if there is something like dpkg-vendor for patches ;) [22:49] kklimonda: you can manage the ubuntu branch in debian git [22:49] kklimonda, Don't use the vendor patch hack in dpkg unless you have a *really* strong reason. It makes it much harder to get back in sync. [22:49] micahg: hmm, sounds like a nice idea but then I'm outside of the warm and fuzzy LP space :) [22:50] persia, ya i too.. thanks [22:50] persia: I'm not planning to :) [22:50] Personally, I find it easiest to ignore bzr when working with Debian packages in git: one can use git, generate some patches, apply those, and upload (or submit a debdiff if one does it that way) [22:50] There's lots of infrastructure in place that will make the upload into a bzr branch appropriate. [22:50] persia: why not use dpkg-vendor, especially if Debian will take a patch? [22:51] well, I'd hate to hack applying a patch using dpkg-vendor [22:51] I was hoping for some way to indicate that the patch is ubuntu only [22:51] micahg, I don't have an objection to dpkg-vendor: I have an objection to the way that vendor-specific patch application hackery works for Format: 3.0 (quilt) packages: there's no sane means to derive or overlay: if one starts, one needs to maintain multiple separate series trees. === nixternal_ is now known as nixternal [22:52] either a field in patch's description or even a naming scheme (like 00-20 for upstream patches, 21-40 for debian, 41-60 for derivatives, 61-80 for local etc.) [22:52] persia: oh, that thing with distro specific patches? [22:52] * micahg saw a post on that recently [22:52] yeah, I thought that was bad design as well [22:53] The issue is that it's been around for a *very* long time, so someone has to investigate to ensure no regressions if the design is to be changed. [22:53] And there's all sorts of complicated reasons involving handling .pc/ that make it hard to do in a layered manner. [22:53] it won't change apparently [22:53] * s [22:54] and there's a bug with the .pc handling which I forgot to file, damn [22:54] simar, So, the first step is to make sure we understand the precise problem being fixed. Do you understand about wdg-html-validator? [22:55] persia, no [22:56] simar, OK. So, do you know what wdg-html-validator does? [22:56] hmm, looks like I've don rm -rf in a wrong folder.. yay me [22:56] * ajmitch hopes it wasn't anything important [22:57] persia, no .. [22:57] persia, not even heard of it [22:57] fortunately I've kept the folder synced with right repositories so I don't think I've lost much. [22:57] simar, OK. So, you might start by reading the description of the wdg-html-validator package (apt-cache show) [22:58] persia, seems helping [22:58] * kklimonda wonders why does we use bzr and not git - It would make working with debian.. and most upstreams so much easier :/ [22:59] kklimonda, Huge chunks of us don't use bzr. Lots of us use git. [23:00] persia: ok, let me rephrase that - I wonder why is LP (and our distributed development model) built around bzr and not git [23:00] i guess all those years back it wasn't clear if git is going to get so popular [23:00] Oh, because sabdfl likes bzr, and he owns the company that does LP, and he funded the work on the distributed development model. [23:00] git wasn't on the radar back then I think [23:01] yeah, that's the likely reason.. actuall both are :) [23:01] persia, i read it got some idea .. of what it do [23:01] & LP has been developed to work with bzr for the last 5 or so years [23:02] Wasn't LP developed *with* bzr even before it changed to be called "bzr"? [23:02] yes [23:03] hmm, is there any way to get gconf schemas installed without actually having gconf as a dependency (both build-time and install-time)? [23:03] You don't need it at build-time if you use a static file to set defaults and schemas. [23:04] http://jelmer.vernstok.nl/blog/archives/263-Samba-4-and-OpenChange-daily-Ubuntu-packages.html gives a good example of using upstream git branches [23:04] though that doesn't solve the problem of merging debian git branches [23:04] persia: well, I actually care more about runtime (or installation time) dependency :) [23:04] simar, So, do you understand the changelog entry? [23:04] it should be possible though [23:05] kklimonda, So, here's the thing: if you're setting gconf, you must have an expectation that this will affect something, so obviously you'd want things to be able to read the settings you made, so you need gconf installed. [23:05] persia, i only got that it should be dropped from build-depends but why i didn't get.. [23:05] persia, generated elements [23:06] persia, from where it gets generated [23:06] persia: well, in this case the only reason for using gconf is to set up transmission as a default handler for magnet: links [23:06] I wonder if it could be done with .desktop file.. [23:06] kklimonda, And which use case do you seek to support that would not involve gconf being installed? [23:06] persia, also xmlns.. what is it, i don't know [23:07] simar, http://www.w3.org/TR/REC-xml-names/ [23:07] persia: transmission works fine without gconf installed - in this case an association of magnet: links with transmission is left to user. [23:08] Hmm. Well, if it's just that, I agree adding gconf as a dependency seems heavy. [23:09] You could try with a mime type handler (remember to register both in .desktop file and debian/mime-types~ [23:09] But that depends on the browser using the desktop or the Debian MIME system to determine what to use as a viewer. [23:10] persia, I think i picked the wrong package .. I have no idea of it .. i think i will try to get it by tomorrow if possible .. its 3am already and i think i must sleep for tomorrows calss at 8 .. thanks though for helping me out [23:11] persia, i will take seek advide on bug fixes tomorrow .. [23:11] simar, Have a good night. This was actually a trivially simple merge :) This is why I recommend folks start by merging stuff they changed before: makes the understanding part faster. [23:11] I don't know if magnet links (which are in basic a hash of a torrent) have their own mime type. I did think about it right now though and will investigate. I've had two other ideas - dlopening libgconf at the runtime and installing mimehandler as a gconf schema. dlopen would still require a dependency (but I could probably downgrade it to Recommends or even Suggests) and gconf schemas still have [23:11] Sleep well. [23:11] to be installed using gconf-schemas binary. [23:12] kklimonda, If you are going to use a gconf schema, put up with a gconf-dependency. Working around that is only likely to cause you pain. [23:13] But there's no reason you can't create a MIME type for magnet: the hard part there is working with other parties to ensure it is generally accepted. [23:13] persia, i din't get what you mean .. do you mean i should start by mearging to understand faster [23:13] and yeah - gconf (and probably a dozen other libraries) are a little heavy dependency only for that. That's why Debian doesn't ship transmission with it, maintainer has actually considered creating another package - transmission-gnome which links with libgconf (and libcanberra, but that's another thing) [23:14] simar, Ask me tomorrow :) I meant that your first merges should be the merges for your FTBFS stuff (or other bugfixing) when it shows in the queue. [23:14] persia: is it actually possible to create a mime type for a scheme? [23:15] transmission-gnome was my other thought, but that would be too heavy for just magnet: [23:15] persia, thanks :)) [23:15] kklimonda, Could you rephrase? [23:16] persia: hmm.. uri is created from scheme:path?query#fragment and magnet link is just magnet:?xt=um;some_hash and that's more or less it [23:16] persia: there is no file associated with it - you just enter this uri to any program that is compatible and you are good to go. [23:16] So, MIME is about the content of some stream/file/etc. Has nothing to do with URIs. [23:17] What? if I access the URI, what am I expected to get as a return? [23:19] kklimonda: how does it currently work for the browser to associate magnet: & transmission? [23:19] persia: well, application can turn this uri into torrent's hash and then, using dht and pex (both are distributed means of getting list of peers) client learns how to obtain data that this hash is for [23:20] ajmitch: transmission, when first run, uses gconf to set itself as a handler for magnet: [23:20] So would it be sane to claim that such a URI represents a torrent hash? [23:23] persia: yes, among other things [23:23] Well, needs a definition to use a MIME type... [23:26] what do you mean? [23:27] I could probably create a transmission-gnome package which only job would be to register uri handler - I can make it depend on transmission-gtk.. and then start thinking how to propose a new Uri: field for desktop files ;) [23:28] So, MIME is a way to provide a machine-readable description of a file/stream/whatever so that the system can know how to process it. [23:28] Don't: a URI field in .desktop files is exceedingly unlikely to be accepted, for any number of incredibly good reasons. [23:29] A URI is intended to be a globally unique pointer to some file/stream/whatever (resource). [23:29] right [23:29] So, if you can describe the resource that a magnet: URI references, you can use that description to describe the MIME type of the result. [23:30] And you can set the MIME handler, and stuff ought just work. [23:30] Without a definition for the resource the URI references, you can't have a MIME type (and arguably, shouldn't have a URI) [23:31] persia: I was actually thinking of a way for application to say "hey, I can handle following uri schemas" [23:31] Note that a given resource may have more than one MIME-type [23:31] (for example, I might give you a URI for "Moby Dick" that could provide text/plain, text/html, etc.) [23:32] yes, but applications interested in a specific uri are most likely to handle it in some way - in case of Firefox it may be launching an external application. [23:33] ha, I've actually found post of someone working on it: http://www.hadess.net/2010/10/new-control-center-and-you.html [23:34] I'm not saying that Fx launching an external application is a good thing - but that it would be a nice thing to have an easy and cross desktop way of defining that you can handle some uri [23:34] * persia grumbles at the inelegance of that solution [23:34] I think it's just a hack for now [23:34] there is a discussion on xdg mailing list related to it, I'm trying to find actual mails now. [23:35] http://www.mail-archive.com/xdg@lists.freedesktop.org/msg06217.html here we go [23:36] * persia thinks aseigo's criticism is good, and that KDE did this right already [23:37] But really, the entire mess is ugly. [23:37] A nice clean implementation would have a set of libraries that just handled various URIs, and programs encountering them could call into the libraries. [23:38] We don't really need N implementations of each protocol handler (although N implementations of each MIME-handler is nice) [23:38] persia: but there would still have to be a way to register your application with this new system. [23:39] Why? [23:39] what do you mean by "N implementations of each protocol handler?" [23:39] Lets use FTP as an example. [23:39] for example, when you install a new browser it has to register as a handler for http, https, maybe even ftp [23:40] I don't really need N implementations of FTP. Just one, with flexible bindings. [23:40] So *every* application that needs FTP just uses the ftp handler. [23:40] and I probably should not do this discussion at 1AM as I feel like I'm making an idiot out of myself.. [23:40] persia: but that's whishful thinking :) [23:41] So is Bastien's hacky misuse of MIME to handle URIs. [23:41] KDE has current protocol handlers, although they have vast scope for improvement. [23:42] sure, I agree that KDE's solution is less hacky. [23:42] The main difference between the implementations we use today and wishful thinking is that someone spent a bit of time and wrote it down in a formalised manner. === dantaliz1ng is now known as dantalizing [23:43] persia: as I understand your description you propose a layer between services and applications? This layer would register itself as the only handler for uri schemas and then application would make use of it? [23:43] probably a little like gio [23:43] and gvfs [23:44] Sure, although I'd naively probably try to use a D-Bus API for the protocol handlers. [23:44] Not saying it's best. [23:44] Anyway, at least talking about protocol handling gets it started. [23:44] And once we have protocol mapping, we can look at code consolidation between implmentations. [23:46] Not that this solves the transmission issue: [23:46] Because there's still no clear definition of the resource a magnet: URI references. Runs into the same wall that way. [23:47] right, to make it even more complicated magnet link is not really tied to BitTorrent - you can use it to describe files for othe p2p networks. [23:47] for other* [23:49] Sure. The trick is mostly to come up with a definition of the *resource* that a magnet link produces. [23:49] I'm sure it's not that hard, but I'm not sure that anyone put much thought into the semantics of it. [23:54] I think my brain just exploded at "a definition of the resource" :)