/srv/irclogs.ubuntu.com/2012/04/08/#ubuntu-devel.txt

=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
=== dendrobates is now known as dendro-afk
Sonjahi01:20
lsmagalhaeshello everybody03:40
lsmagalhaesI'm using Ubuntu 12.04 beta03:41
lsmagalhaesand last time that I ran apt-get upgrade the flash-plugin crashed.03:42
ScottKlsmagalhaes: When was that?03:49
lsmagalhaestoday, at afternoon.03:50
ScottKThere were a number of fixes for it done yesterday.03:52
=== malkauns_ is now known as malkauns
=== genupulas is now known as raju-away
=== raju-away is now known as raju
=== raju is now known as ubucop
=== Whoopie_ is now known as Whoopie
=== ubucop is now known as raju
geserinfinity: are you aware of the dependency loop between libomxil-bellagio0 and libomxil-bellagio-bin when you fixed bug #921523?10:45
ubottuLaunchpad bug 921523 in libomxil-bellagio (Ubuntu) "package libomxil-bellagio0 0.9.3-1ubuntu1 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 127" [Undecided,Fix released] https://launchpad.net/bugs/92152310:45
infinitygeser: Sure, can you show me where it causes a problem in practice?10:46
infinitygeser: Dependency loops aren't disallowed, only discouraged (since the tools need to arbitrarily break the loop).10:46
infinitygeser: It does guarantee that higher level tools feed both packages to dpkg in the same run, which give the desired result in this case.10:47
geserok then, I remember to avoid dependency loops when possible10:48
infinityAnd well you should.10:48
infinityLibraries calling stuff from lib*-bin in their postinsts are probably broken. :P10:48
geseris this dependency loop safer at this moment instead of a "sync" with Debian? (merge -bin into the library)10:49
infinity(Though libc6 is another offender here, and the only reason it doesn't have a loop is because libc-bin incorrectly doesn't have a dep on libc)10:49
infinitygeser: Well, it would be safe to do that right up until someone decides to multiarch the package.10:50
infinitygeser: But there's nothing inherently unsafe about dep loops, they just make resolvers work harder and break more often.  For something as leaf-ish as libomxil-bellagio, I doubt it'll cause an issue.10:50
infinity(Basically, a dep loop means that higher level tools MUST pass both packages to dpkg in the same run, which means if there are a bunch of rdeps, they often also end up in the same run, which hurts resolvers' brains)10:51
infinityGiven the nearly nonexistant rdep list for libomxil-bellagio0, I have a hard time seeing the above as a particularly scary problem.10:52
geserbut in the long run it should be fixed properly, right? (without a dep loop)10:53
infinityIn the long run, someone needs to examine if the library really needs to be calling that binary in its postinst.10:53
infinityIf it does, the loops is unavoidable, really.10:53
infinity(see: libc and libc-bin)10:53
infinityIt's not an ideal situation, but it happens sometimes.10:54
infinityIf they're always found together, and produced from the same source, the dep loop isn't really catastrophic.10:54
infinityI could artificially break the loop by making the -bin incorrectly not depend on the lib (like the libc case), but that's both silly and unnecessary.10:56
geserthanks for the explanation10:58
infinityAnyhow, policy doesn't forbid loops, it just strongly suggests against them because it makes resolving and unpacking somewhat difficult.10:59
infinityIn the case of libomxil-bellagio, the loop-breaking is actually deterministic.10:59
infinity"If one of the packages in the loop has no postinst script, then the cycle will be broken at that package; this ensures that all postinst scripts are run with their dependencies properly configured if this is possible."11:00
infinity^-- Since the library has a postinst, but the -bin doesn't, then we get "lib/bin unpacked in arbitrary order, bin configure, lib configured".11:00
=== EyesIsServer is now known as EyesIsMine
Laneyinfinity: geser: I'm not sure it is actually necessary to call the binary on configure. From its man page: "By default, this will create a file named .omxregister under the home XDG data directory with all the components found in ${lib-dir}/libomxil-bellagio0.", yet this directory is empty in libomxil-bellagio0.12:59
LaneyHm, you still need the Depends for the trigger though.13:09
nelson777brhello, I'm having some trouble finding resources about how to integrate my application to Unity. I thought I would only create a .desktop file in /usr/share/app-install/desktop. But it's not working. I create the file and it doesn't appear in unity search. I do I make unity recognize my application ?13:14
nelson777brI also counldn't find any docs about this in developer.ubuntu.com. If anyone knows about some documentation about this subject I would appreciate it. Thnx13:16
krnekheleshhi, I have a question regarding patches14:28
krnekheleshI have the command bzr diff -r 191..190 | bzr patch14:29
krnekheleshbut bzr complains it does not recognize patch14:29
krnekheleshanyone know how to solve this??14:29
krnekheleshI took the info from http://mhall119.com/2012/03/contributing-to-unity-for-non-developers-package-patching/14:29
jelmerkrnekhelesh: bzr patch is a part of the bzrtools plugin14:33
krnekheleshjelmer: what is the package name?14:35
jelmerkrnekhelesh: bzrtools14:35
krnekheleshthnx14:37
=== Quintasan_ is now known as Quintasan
=== krnekhelesh is now known as nik90
nik90I branched totem, made my changes, converted it into a patch in debian/patches folder and in the series file14:45
nik90after reverting back using  bzr diff -r 191..190 | bzr patch, which works14:45
nik90I try quilt push -a14:46
nik90but I do not get the output14:46
nik90I get the output File series fully applied, ends at patch 03_default_options.patch14:47
nik90but then my patch name was add_keywords.patch14:47
nik90hwo do I fix this?14:47
nik90jelmer, do you know?14:48
=== raju is now known as raju-away
nik90anybody15:12
nik90?15:12
mhall119nik90: did you add your patch to the series file15:14
mhall119?15:14
mhall119echo add_keywords.patch >> debian/patches/series15:14
nik90yes15:15
mhall119cat debian/patches/series15:15
nik90when I do that I see my patch included15:15
mhall119nik90: cat debian/source/format15:16
nik903.0 (quilt)15:16
nik90the same as in your blog post15:16
mhall119huh15:17
mhall119nik90: run "quilt applied"15:17
nik90mhall119, it shows 3 other patches except my patch15:18
mhall119nik90: now try "quilt unapplied"15:18
nik90File series fully applied, ends at patch 03_default_options.patch15:18
mhall119huh...15:19
mhall119and you have add_keywords.patch in debian/patches/ ?15:19
nik90that's wierd, because in my debian/patches folder I see the add_keywords.patch file15:19
nik90yes15:19
mhall119try "quilt series"15:19
nik90no output15:20
mhall119oh, hang on...15:20
mhall119nik90: run "echo $QUILT_PATCHES"15:21
nik90a blank line output15:21
mhall119export QUILT_PATCHES=debian/patches15:21
mhall119then try "quilt series" and "quilt unapplied" again15:22
nik90quit series gives the following output 00_create_m4_folder.patch15:22
nik9002_lpi.patch15:22
nik9003_default_options.patch15:22
nik90add_keywords.patch15:22
nik90quilt unapplied shows only my patch15:23
mhall119ah ha, that did the trick15:23
mhall119now quilt push -a should apply it15:23
nik90yup it does now :)15:23
mhall119nik90: copy http://paste.ubuntu.com/920422/ into ~/.quiltrc15:23
mhall119someone here gave me that, seb I think, but it works15:24
nik90so do I have to run  export QUILT_PATCHES=debian/patches everytime i restart>15:25
nik90or does the new .quiltrc fix that15:25
mhall119I think quilt will run the quilt.rc every time15:26
mhall119quiltrc15:26
nik90oh good...thnx for your help15:27
mhall119np, thanks for the contributions :)15:29
=== panda is now known as Guest10423
nik90mhall119, https://code.launchpad.net/~nik90/ubuntu/precise/totem/add_keywords_new/+merge/10120915:48
nik90if you look at diff it added .pc/ since it was from your blog post...does the diff look normal?15:49
mhall119nik90: are there any other files in .pc?15:53
mhall119I *think* this is okay,  but I'm not 100% sure15:54
nik90yes there are more file in .pc15:54
nik90I guess other patches made by other users15:54
mhall119but those weren't added to bzr?15:55
nik90no...but I guess that because I did not create or modify those files15:55
mhall119hmmm, my feeling is that it should probably be all or none, but I'm not sure which is more correct15:55
nik90the other files include other patch folders which was there when I branched the latest15:56
mhall119and it being not only a weekend, but a holiday today, there's not likely anybody around who can give a definitive answer15:56
nik90I have anyway proposed a merge...so will what happens tomorrow or the day after15:57
mhall119nik90: try asking in here tomorrow, someone should be around to help then15:57
nik90mhall119, yeah I will do that15:57
=== raju-away is now known as raju
=== sharms_ is now known as sharms
=== raju is now known as raju-away
=== raju-away is now known as raju
tumbleweedjdstrand: poke re bug 96719519:30
ubottuLaunchpad bug 967195 in ruby-rack (Ubuntu) "FFe: Sync ruby-rack 1.4.0-1 (universe) from Debian wheezy (main)" [Undecided,Incomplete] https://launchpad.net/bugs/96719519:30
=== ejat- is now known as ejat

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