/srv/irclogs.ubuntu.com/2010/10/17/#ubuntu-motu.txt

micahgSpamapS: around?01:55
ScottKAlanBell: 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.02:07
AlanBellok, thanks ScottK. Odd that I took the debian stuff from the current maverick package and now it builds on Lucid, but not Maverick09:09
AnAntanyone using cowbuilder ?09:11
ari-tczewif someone changed B-D debhelper from 5 to 7, should also bump it in debian/compat file?10:53
sebnerari-tczew: yes10:54
ari-tczewthen I found a bug10:54
geserari-tczew: what was the reason to bump debhelper to 7?10:54
ari-tczewgeser: * Bump build-depend on debhelper to install udev rules into /lib/udev/rules.d, add Breaks on udev to get correct version10:55
ari-tczewhttps://launchpad.net/ubuntu/+source/sane-backends-extras/1.0.19.11ubuntu210:56
ari-tczewdebhelper (>= 7.0.17ubuntu2)10:57
ari-tczewis it necessary? >= 7 is not enough?10:57
sebnerari-tczew: depends, I guess he wanted the change that was made in debhelper 7.0.17ubuntu210:58
geserari-tczew: I guess not as we want the specific behaviour for udev rules which got probably added in that debhelper version10:58
sebnerjaunty is EOL in 5 days and that's not really a bug though10:58
ari-tczewsebner, geser: but at this moment practically, will get debhelper 8, so I don't understand depend on stricte 17ubuntu210:59
sebnerari-tczew: this was done in jaunty ...11:00
ari-tczewsebner: I know. I want to merge this one and I want to be sure, whether B-D on debhelper (>= 7) is enough11:01
geserari-tczew: our debhelper 8 package probably has that change too (either patched or included in the debian version)11:01
sebnerari-tczew: I strongly suspect it isn't ;)11:01
ari-tczewsebner: makes no sense11:01
geserari-tczew: think about backporting11:02
ari-tczewgeser: why?11:03
RhondaPlease use 7.0.17ubuntu2~ instead of without the ~11:03
RhondaOtherwise it might hinder backports.11:03
sebnerari-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 problems11:03
sebnerhola Rhonda =)11:03
ari-tczewgeser: I don't use this package (perhaps). I could upload a SRU which change debian/compat correctly11:04
sebnerari-tczew: not important enough for a SRU11:05
RhondaThe thing is, do you know what the impact of that change would be?11:05
ari-tczewinstall udev correctly11:05
sebnerari-tczew: why do you think this isn't the case now?11:08
ari-tczewsebner: I don't understand your question. I don't want drop this delta.11:08
sebnerari-tczew: right, I guess you want to know if you should bump debian/compat too?11:11
ari-tczewsebner: I guessed that I should bump debian/compat. I would ask to be sure.11:18
sebnerari-tczew: yeah, I think so11:21
Laneywait, what?11:43
Laneycompat level doesn't have to correspond with debhelper BD version11:43
ari-tczewLaney: you didn't understand. B-D was on debhelper 7, but d/compat says 511:43
Laneysee the debhelper manpage for the meaning of the various compat levels11:43
LaneyI do understand11:43
ari-tczewLaney: so d/compat is not necessary?11:44
Laneymatching it to the debhelper major version isn't necessary11:44
Laneydebhelper(7) explains more11:45
ari-tczewLaney: so if I will bump d/compat also, I will be fired?11:45
AnAntanyone using cowbuilder ? xulrunner-1.9.2 doesn't seem  to install in a maverick cowbuilder chroot11:47
Laneyari-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:52
ari-tczewLaney: pedantic I'll bump it11:53
* Laney shrugs11:53
Laneyit's another delta to maintain11:53
Laneybut do what you will11:53
tumbleweedari-tczew: why would you bump it? Does it have any benefit?11:53
ari-tczewtumbleweed: yes, not confusing which debhelper uses11:54
tumbleweedari-tczew: compat is different to a minimum required version. It tells debhelper how this package expects debhelper to behave.11:55
ari-tczewtumbleweed: odd.11:56
tumbleweedari-tczew: not really. It allows debhelper to make incompatible changes and still produce predictable builds.11:57
ari-tczewtumbleweed: on your responsibility, I'll leave compat 5.11:58
tumbleweedari-tczew: we don't change things unecessarily (you'll find many packages using compat 5)11:58
Laneythis is why I advised you to look at the manpage. It tells you what will change when you update compat.12:04
* persia encourages *not* changing compat levels without very good reasons, as this can change the behaviour of the dh_* tools in unexpected ways12:17
directhex7!12:18
persiaOnly 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:19
geserdirecthex: 5040 :)12:20
directhex400!12:20
nigelb4212:21
geser6.40345228466238952 * 10^86812:21
* geser hopes that this is precise enough12:22
persiaDepends what one wishes to accomplish.  I don't think it's sufficient to enable transmogrifications.12:23
kklimondaup to 11 ;)12:24
kklimondagood afternoon12:24
geserdoes someone know a good example for how to use dpkg-vendor in debian/rules?12:48
=== Ng_ is now known as Ng
simarari-tczew, ping19:20
ari-tczewsimar: pong19:20
simarari-tczew, haha19:20
simarari-tczew, i'm learning some packaging now .. i hope i can do merging and syncs ..19:21
ari-tczewsimar: I must go out right now.19:21
ari-tczewsimar: good luck and have fun19:21
simarari-tczew, :((19:21
simarari-tczew, c ya later..19:21
simarari-tczew, i will try to get help here19:21
ari-tczewsimar: friend from Ireland is visiting our country. we didn't see 2 years.19:22
simarari-tczew, go dude and rock out.. we'll catch up later19:22
simarshadeslayer, see you facebook ..19:23
simarshadeslayer, there??19:38
simarhey could anyone here give me a start on merges and syncs .. i'm almost started packaging but need small overview ..19:41
Bachstelzesimar: sync is when the Debian package is imported in Ubuntu as is (i.e. no ubuntuX version number added)20:12
simarBachstelze, ya i know that20:13
Bachstelzemerge 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 them20:13
Bachstelzeand document those that were kept and why20:13
simarBachstelze, I want to contribute to that, could you guide me from where can i start20:13
simarBachstelze, I have read twice tha ubuntu packaging guide and i have a print out of it for reference20:14
Bachstelzehttps://wiki.ubuntu.com/UbuntuDevelopment/Merging20:14
Bachstelzesyncing should be done automagically20:14
ScottKExcept 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:17
simarBachstelze, It means we need not do anything to sync20:18
simarIf 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:20
simarwe can just take the debian package directly .. is this automatic20:21
tumbleweedsimar: no, you have to request the sync (with requestsync). That's what ScottK was saying.20:21
simartumbleweed, ok thanks..20:23
Bachstelzeyes, I meant syncing if the Ubuntu package has not diverted from Debian20:27
Bachstelzeif it has, you have to request it as ScottK said20:27
persiageser, http://raphaelhertzog.com/2010/09/27/different-dependencies-between-debian-and-ubuntu-but-common-source-package/ isn't precisely an example, but may help20:30
simarhttps://merges.ubuntu.com/universe.html20:32
* ajmitch should probably try & do one or two of them20:32
simarare these all packages to be merged .. or already merged .. i mean i'm not getting what are the tabs mean there20:33
ajmitchpackages still to be merged20:36
* geser is fighting with one merge most part of this day20:39
ari-tczewgeser: vim?20:39
geseryes20:39
ari-tczewI saw discussion on #ubuntu-devel.20:39
geserthe hard part is to get it build with gcc-4.5 which seems to be a vim upstream problem20:40
simarshadeslayer, ping22:01
ari-tczewScottK: what do you think about Depends on gnupg for binary pinentry-gtk2 ?22:08
ScottKNot much, why?22:09
ari-tczewwithout gnupg, pinentry-gtk2 won't show window for password22:09
ScottKari-tczew: gnupg is in minimal.  Without minimal installed, a system isn't really guaranteed t work.22:10
ari-tczewScottK: 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 back22:11
azeemari-tczew: shouldn't whatever uses pinentry-gtk2 in combination with gnupg depend on both?22:12
ScottKIf you have ubuntu-minimal installed, how did you not have gnupg?22:12
geserand which password did you want to enter in pinentry?22:13
ari-tczewgeser: when I'm signing source package22:13
ScottKNone of the other pinentry's have it either.22:13
ari-tczewScottK: dunno22:13
geserari-tczew: how did you planned to sign without gpg?22:13
ScottKari-tczew: Since it ubuntu-minimal depends on gnupg, I think something else was up.22:14
ari-tczewgeser: I don't understand the question. where I wrote about my plans?22:14
azeemari-tczew: it's not pinentry-gtk2's fault that gnupg isn't installed22:15
ari-tczewazeem: hmm. any ideas?22:15
azeem23:10 < azeem> ari-tczew: shouldn't whatever uses pinentry-gtk2 in combination with gnupg depend on both?22:15
azeem23:12 < ScottK> ari-tczew: Since it ubuntu-minimal depends on gnupg, I think something else was up.22:15
geserari-tczew: I'm wondering why you want to enter a password without a program to do the signature22:16
simarI want to merge/sync packages for natty .. i used sudo pbuilder create22:23
simarand then sudo pbuilder update --distribution natty --override-config22:24
simaris it correct..22:24
persiasimar, You might find pbuilder-dist from ubuntu-dev-tools interesting.22:31
simarpersia, i'm a beginner in packaging .. trying to merge my first package .. isn't what i did will work22:32
persiaI recommend against starting with merging, if you're a beginner :)22:32
persiaI've no idea if what you did might work: I don't use pbuilder.22:33
simarpersia, no i'm beginner in merging22:33
simarpersia, i have done some packaging before22:33
persiaDo you have any outstanding changes you made that need to be merged?22:33
simarpersia, actually i'm still looking at the package that weather it need merging or just a sync will work..22:34
simarhttps://merges.ubuntu.com/i/ikiwiki/REPORT22:34
simarpersia, this is the report of the package22:35
simarIt is updated frequently in debian .. I hope a sync will be ok for it..22:35
tumbleweedsimar: start by reading the diffs, see what Ubuntu has changed22:35
persiaTesting in pbuilder won't help determine if that is still required.22:35
tumbleweedsimar: It helps to ask for help when you are stuck. "Is this right" is a hard question to answer22:36
* tumbleweed isn't making much sense there...22:36
simarya, but i thought before all i can see if the new debian version will get properly build at all or not..22:36
simarso i tried to use pbuilder for that.. but  i want for natty and i have it for licid22:37
simarright now22:37
tumbleweedsimar: look at pbuilder-dist, it lets you have multiple pbuilders without much work.22:37
persiapbuilder won't test that.  No local build will test that, because of the specific issue.22:37
simarpersia, 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
simarpersia, i know i will have to still look into patches for merging ..22:40
tumbleweedsimar: persia is talking about the reason Ubuntu patched ikiwiki. Read the changelog22:40
persiasimar, No, it won't.  The specific issue for the ikiwiki merge cannot be tested using pbuilder.22:41
simartumbleweed,  .. i think have to look into patches the 'old ubuntu'.patch and the 'new debian'.patch22:42
persiasimar, 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.22:42
=== jenkins1 is now known as jenkins
simarpersia, ya sure i will appriatiate that22:43
persia(and I still don't think merges are a good place to start until one has done some bugfixes, and been *assigned* some merges)22:43
=== jenkins is now known as Guest14708
persiasimar, 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:43
simarpersia, ok22:44
simarpersia, i have fixed some FTBFS before though..22:44
persiaThe 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
persiasimar, Excellent.  Are any of the FTBFS fixes ready to be merged yet?22:44
simarpersia, i did those some 3 months back ..22:45
persiaI'm not sure I see the connection.22:46
simarpersia, URI?22:46
kklimondais there a way to marry git packaging branches from debian with our, bzr-based ones?22:46
persiaBasically, 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:46
persiakklimonda, 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:47
persiasimar, http://www.w3.org/1999/xhtml22:48
persiaAlso http://www.w3.org/2005/Atom22:48
simarpersia, ok .. i take you opinion. so I will work on some more bug fixes before merging ..22:48
kklimondapersia: 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
persiasimar, 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
kklimondaI wonder if there is something like dpkg-vendor for patches ;)22:49
micahgkklimonda: you can manage the ubuntu branch in debian git22:49
persiakklimonda, 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
kklimondamicahg: hmm, sounds like a nice idea but then I'm outside of the warm and fuzzy LP space :)22:49
simarpersia, ya i too.. thanks22:50
kklimondapersia: I'm not planning to :)22:50
persiaPersonally, 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
persiaThere's lots of infrastructure in place that will make the upload into a bzr branch appropriate.22:50
micahgpersia: why not use dpkg-vendor, especially if Debian will take a patch?22:50
kklimondawell, I'd hate to hack applying a patch using dpkg-vendor22:51
kklimondaI was hoping for some way to indicate that the patch is ubuntu only22:51
persiamicahg, 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.22:51
=== nixternal_ is now known as nixternal
kklimondaeither 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
micahgpersia: oh, that thing with distro specific patches?22:52
* micahg saw a post on that recently22:52
azeemyeah, I thought that was bad design as well22:52
persiaThe 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
persiaAnd there's all sorts of complicated reasons involving handling .pc/ that make it hard to do in a layered manner.22:53
azeemit won't change apparently22:53
simar* s22:53
azeemand there's a bug with the .pc handling which I forgot to file, damn22:54
persiasimar, So, the first step is to make sure we understand the precise problem being fixed.  Do you understand about wdg-html-validator?22:54
simarpersia, no22:55
persiasimar, OK.  So, do you know what wdg-html-validator does?22:56
kklimondahmm, looks like I've don rm -rf in a wrong folder.. yay me22:56
* ajmitch hopes it wasn't anything important22:56
simarpersia, no ..22:57
simarpersia, not even heard of it22:57
kklimondafortunately I've kept the folder synced with right repositories so I don't think I've lost much.22:57
persiasimar, OK.  So, you might start by reading the description of the wdg-html-validator package (apt-cache show)22:57
simarpersia, seems helping22:58
* kklimonda wonders why does we use bzr and not git - It would make working with debian.. and most upstreams so much easier :/22:58
persiakklimonda, Huge chunks of us don't use bzr.  Lots of us use git.22:59
kklimondapersia: ok, let me rephrase that - I wonder why is LP (and our distributed development model) built around bzr and not git23:00
kklimondai guess all those years back it wasn't clear if git is going to get so popular23:00
persiaOh, because sabdfl likes bzr, and he owns the company that does LP, and he funded the work on the distributed development model.23:00
azeemgit wasn't on the radar back then I think23:00
kklimondayeah, that's the likely reason.. actuall both are :)23:01
simarpersia, i read it got some idea .. of what it do23:01
ajmitch& LP has been developed to work with bzr for the last 5 or so years23:01
persiaWasn't LP developed *with* bzr even before it changed to be called "bzr"?23:02
ajmitchyes23:02
kklimondahmm, is there any way to get gconf schemas installed without actually having gconf as a dependency (both build-time and install-time)?23:03
persiaYou don't need it at build-time if you use a static file to set defaults and schemas.23:03
ajmitchhttp://jelmer.vernstok.nl/blog/archives/263-Samba-4-and-OpenChange-daily-Ubuntu-packages.html gives a good example of using upstream git branches23:04
ajmitchthough that doesn't solve the problem of merging debian git branches23:04
kklimondapersia: well, I actually care more about runtime (or installation time) dependency :)23:04
persiasimar, So, do you understand the changelog entry?23:04
ajmitchit should be possible though23:04
persiakklimonda, 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
simarpersia, i only got that it should be dropped from build-depends but why i didn't get..23:05
simarpersia, generated <html> elements23:05
simarpersia, from where it gets generated23:06
kklimondapersia: well, in this case the only reason for using gconf is to set up transmission as a default handler for magnet: links23:06
kklimondaI wonder if it could be done with .desktop file..23:06
persiakklimonda, And which use case do you seek to support that would not involve gconf being installed?23:06
simarpersia, also xmlns.. what is it, i don't know23:06
persiasimar, http://www.w3.org/TR/REC-xml-names/23:07
kklimondapersia: transmission works fine without gconf installed - in this case an association of magnet: links with transmission is left to user.23:07
persiaHmm.  Well, if it's just that, I agree adding gconf as a dependency seems heavy.23:08
persiaYou could try with a mime type handler (remember to register both in .desktop file and debian/mime-types~23:09
persiaBut that depends on the browser using the desktop or the Debian MIME system to determine what to use as a viewer.23:09
simarpersia, 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 out23:10
simarpersia, i will take seek advide on bug fixes tomorrow ..23:11
persiasimar, 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
kklimondaI 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 have23:11
persiaSleep well.23:11
kklimondato be installed using gconf-schemas binary.23:11
persiakklimonda, 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:12
persiaBut 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
simarpersia, i din't get what you mean .. do you mean i should start by mearging to understand faster23:13
kklimondaand 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:13
persiasimar, 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
kklimondapersia: is it actually possible to create a mime type for a scheme?23:14
persiatransmission-gnome was my other thought, but that would be too heavy for just magnet:23:15
simarpersia, thanks :))23:15
persiakklimonda, Could you rephrase?23:15
kklimondapersia: 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 it23:16
kklimondapersia: 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
persiaSo, MIME is about the content of some stream/file/etc.  Has nothing to do with URIs.23:16
persiaWhat?  if I access the URI, what am I expected to get as a return?23:17
ajmitchkklimonda: how does it currently work for the browser to associate magnet: & transmission?23:19
kklimondapersia: 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 for23:19
kklimondaajmitch: transmission, when first run, uses gconf to set itself as a handler for magnet:23:20
persiaSo would it be sane to claim that such a URI represents a torrent hash?23:20
kklimondapersia: yes, among other things23:23
persiaWell, needs a definition to use a MIME type...23:23
kklimondawhat do you mean?23:26
kklimondaI 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:27
persiaSo, 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
persiaDon't: a URI field in .desktop files is exceedingly unlikely to be accepted, for any number of incredibly good reasons.23:28
persiaA URI is intended to be a globally unique pointer to some file/stream/whatever (resource).23:29
kklimondaright23:29
persiaSo, 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:29
persiaAnd you can set the MIME handler, and stuff ought just work.23:30
persiaWithout a definition for the resource the URI references, you can't have a MIME type (and arguably, shouldn't have a URI)23:30
kklimondapersia: I was actually thinking of a way for application to say "hey, I can handle following uri schemas"23:31
persiaNote that a given resource may have more than one MIME-type23:31
persia(for example, I might give you a URI for "Moby Dick" that could provide text/plain, text/html, etc.)23:31
kklimondayes, 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:32
kklimondaha, I've actually found post of someone working on it: http://www.hadess.net/2010/10/new-control-center-and-you.html23:33
kklimondaI'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 uri23:34
* persia grumbles at the inelegance of that solution23:34
kklimondaI think it's just a hack for now23:34
kklimondathere is a discussion on xdg mailing list related to it, I'm trying to find actual mails now.23:34
kklimondahttp://www.mail-archive.com/xdg@lists.freedesktop.org/msg06217.html here we go23:35
* persia thinks aseigo's criticism is good, and that KDE did this right already23:36
persiaBut really, the entire mess is ugly.23:37
persiaA nice clean implementation would have a set of libraries that just handled various URIs, and programs encountering them could call into the libraries.23:37
persiaWe don't really need N implementations of each protocol handler (although N implementations of each MIME-handler is nice)23:38
kklimondapersia: but there would still have to be a way to register your application with this new system.23:38
persiaWhy?23:39
kklimondawhat do you mean by "N implementations of each protocol handler?"23:39
persiaLets use FTP as an example.23:39
kklimondafor example, when you install a new browser it has to register as a handler for http, https, maybe even ftp23:39
persiaI don't really need N implementations of FTP.  Just one, with flexible bindings.23:40
persiaSo *every* application that needs FTP just uses the ftp handler.23:40
kklimondaand I probably should not do this discussion at 1AM as I feel like I'm making an idiot out of myself..23:40
kklimondapersia: but that's whishful thinking :)23:40
persiaSo is Bastien's hacky misuse of MIME to handle URIs.23:41
persiaKDE has current protocol handlers, although they have vast scope for improvement.23:41
kklimondasure, I agree that KDE's solution is less hacky.23:42
persiaThe 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.23:42
=== dantaliz1ng is now known as dantalizing
kklimondapersia: 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
kklimondaprobably a little like gio23:43
kklimondaand gvfs23:43
persiaSure, although I'd naively probably try to use a D-Bus API for the protocol handlers.23:44
persiaNot saying it's best.23:44
persiaAnyway, at least talking about protocol handling gets it started.23:44
persiaAnd once we have protocol mapping, we can look at code consolidation between implmentations.23:44
persiaNot that this solves the transmission issue:23:46
persiaBecause there's still no clear definition of the resource a magnet: URI references.  Runs into the same wall that way.23:46
kklimondaright, 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
kklimondafor other*23:47
persiaSure.  The trick is mostly to come up with a definition of the *resource* that a magnet link produces.23:49
persiaI'm sure it's not that hard, but I'm not sure that anyone put much thought into the semantics of it.23:49
kklimondaI think my brain just exploded at "a definition of the resource" :)23:54

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