[00:00] DBO: a slightly different, but related case [00:00] =/ [00:00] pretty... [00:00] i guess I'll just make Docky embed everything, mwahahahaha.... wait [00:05] https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+/docs/dnd_internals.txt grep for "we actually have to figure out which window [00:07] sladen, how did you find that? [00:11] DBO: I'm not sure what search phrase; possibly "window manager ignore xdnd" or "xdnd masking input masking" [00:11] DBO: I actually have a related case for a transparent keyboard so I'm quite interested in find the answer [00:11] sladen, your google-fu is strong [00:11] well if it makes any difference to you, I am doing this all in Mono [00:11] so we will see if I get it working =) [00:16] mako: greetings [00:16] mako: hmm, wrong maco :) [00:17] but hello nonetheless! [00:22] DBO: there's going to be interesting situation when the target window, docky window and icon window overlap, if two out of the three are trying to proxy to the "correct" bottom window [00:23] DBO: but as long as you (in Docky) manage not to proxy it to the clipped mouse icon window, it should work [00:23] yeah [00:23] i am really curious how I am supposed to figure out how to proxy to the right window [00:23] lets say there are 4 or 5 windows in a stack [00:24] which one do I figure out is on top? [00:25] testing the x,y against the rectangle of the topmost, then the second most, then the third most ... until you get a hit [00:26] sladen, i am not sure I follow you here [00:27] you must excuse me, I have been programming for far less time than I should have by now [00:27] I can get a ref to the root window [00:27] are all other windows one of its children? [00:27] or rather, how do I find the topmost window? [00:31] DBO: take a bunch of pieces of paper and spread them (overlaping) on the table. Close you eyes and put your finger down; which piece of paper did you hit? [00:32] hi [00:32] sladen, i know how to do that logically [00:32] just not in code... [00:32] DBO: hopefully you can check that you hit this piece of paper as you're inside it's four edges/four corners [00:33] i can check and see if I am in bounds [00:33] DBO: yup, you can get a list of all of the TOPLEVEL windows that are a a child of the ROOT window [00:34] right but what if two of those toplevel windows are overlapping? [00:34] then, if you're doing thwat Gtk is doing for efficiency you can subscribe to changes and keep you're internal list up to date [00:34] or if you're lazy, you can just query for the full list each time a DnD comes in [00:34] For which architecture are the deb packages in Ubuntu optimized for i386, 686 or what? [00:35] KDesk: they're optimised for recent chips, but will run on i486 IIRC [00:35] i will be lazy [00:36] DBO: if you put all the windows in order from top to bottom, and start at the top and work downwards, you'll check the topmost one first [00:37] yes i know that, but how does one put them in order [00:37] that is the question I have been trying to ask [00:37] sladen: ah, I thought there where not optimized, or only for 386, is possible to know this info from a binary package? [00:38] Is there anyone from backporters who could take a look at LP bug #323546? [00:38] Launchpad bug 323546 in hardy-backports "xen-meta only depends on Xen 3.2 packages" [Undecided,New] https://launchpad.net/bugs/323546 [00:38] for w in sorted(get_root_window()->children) { if w.bounds.text(event->mouse.position) proxy_dnd_to(w); } [00:39] sladen, sorted? [00:39] I am not trying to be difficult [00:39] DBO: psuedo-code [00:40] i know [00:40] but thats the thing I am saying [00:40] I see nothing in gdk's api that lets you determine which window is "topmost" [00:41] in Python (a fabulous language, btw), it would return a copy of the array, sorted by calling __cmp__() on each object [00:41] which window is topmost, depends on where you are looking on the screen [00:41] sorted(collectionOfObjects), sladen? [00:42] sladen: doesn't sorted() call __cmp__ on every element in the list passed to it? [00:43] KDesk: don't think so, but you can check the build-log that built that binary package. If you were running a supercomputercluster you'd probably be worried about optimisation; however the default configuration options are probably about as good as you can get for Desktop yse [00:44] sladen: ah, ok, thanks a lot! A last question, where can I find the build log, in launchpad? [00:44] Roey: so you might do sorted(window_list, cmp=lambda a,b: x.height < y.height) [00:45] ahhhh ok [00:45] I had thought that sorted() calls __cmp__ [00:45] but, you're right, I've used sorted() in the way you described to sort IP address stringts [00:45] strings [00:45] so yeah [00:51] KDesk: probably easier if you say which package you're after. eg. https://launchpad.net/ubuntu/+source/xbill/2.1-7/+build/593853 [00:53] sladen: oh, thanks! I was only curious about the optimization. :) [00:58] ScottK: yes, yes - maybe I shouldn't have mentioned Debian. The point is that there's nothing wrong with having a package in a private revision control system and just uploading the tar/diff that results from it, as long as it's then your responsibility to maintain it. [00:58] cjwatson: Certainly. [01:40] sladen, it works! [01:40] * DBO dances the dance of joy === Hobbsee is now known as Hobbsee|Quassel === Hobbsee|Quassel is now known as Hobbsee === Hobbsee is now known as Hobbsee` === Hobbsee` is now known as Hobbsee [02:41] slangasek, hi === bluesmoke is now known as Amaranth [03:47] DBO: rock! [03:47] sladen, how can I thank you in the source, real name, sladen, email? === patxbot is now known as corn3333 === corn3333 is now known as patxbot [04:26] Hey guys! I think I am cool enough to be a mainstream dev! I made a program that prints hello world! pretty sweet, eh??!!!!?!??!?!?!??!?!?!?!?? [04:27] also, is ubuntu vulnerable to the y2k bug/ [04:27] hello???????????????!!!!!!!!!!!!!!!!!!????????????????????!!!!!!!!!!!!!!????????????? [04:27] WWWWWWWWWWWWHHHHHHHHHHHYYYYYYYYY WOOOON"TTT ANNNYYONNNE ANNNNSSSSSSWEEEEEEEEERRRR???????????? [04:28] stfuckup [04:28] jeese [04:28] whats does stfuckup mean? [04:28] it means be quiet [04:29] ok, thats a good idea [04:29] stop spamming [04:29] So [04:29] hw do i b a dev? [04:29] ty [04:29] huh??huh?? [04:29] you develop brains *first* cos i do not have any of them... [05:54] Is there anyone here who understands PPAs well? [05:54] I am trying to build Python 3.0 for hardy. [05:54] https://launchpad.net/~python-ubuntu/+archive/ppa [05:54] It build depends on python-sphinx [05:55] I have successfully build this in the PPA for Hardy [05:55] Yet Python 3.0 still complians the build dependency isn't met [05:55] How do you get a package in the PPA to "see" the other packages? [05:56] https://launchpad.net/%7Epython-ubuntu/+archive/ppa/+build/854896/+files/buildlog_ubuntu-hardy-i386.python3.0_3.0-0~ppa7~hardy_FAILEDTOBUILD.txt.gz [05:56] Thanks in advance. [06:12] jsmidt: PPAs have nothing to do with Ubuntu. They use Ubuntu, but are done by Launchpad. Try PPA questions in #launchpad. [06:12] ScottK, thanks [06:13] (Though I'm sure you are technically right, very few people would say PPAs have nothing to do with Ubuntu. Much in Ubuntu is done through using PPAs) [06:23] People use PPAs for testing, but "Ubuntu" the distro does not come from PPAs. [06:23] ScottK, yes I know, I know. [06:25] ScottK, I wasn't trying to argue. [06:25] OK. I think it's an important point. I am tired of dealing with bugs filed against Ubuntu packages that are really from some random PPA. [06:37] ScottK, I'm sure that is very frustrating. And so now that I think about it, my issue is probably annoying for the same reason. :) [11:33] pitti: please consider those Hotkey pages locked by me currently, for spec drafting :) [11:34] pitti: but thanks for the information - bryce and I were struggling with exactly this question on the plane; I'll review what you've added to see if it makes sense out of what I see with thinkpad_acpi [11:35] jelmer: hi, thanks for the fixed branch - what's the right way for me to replace the current ~ubuntu-core-dev branch with yours? [11:36] slangasek, hey, arrived safely ? [11:36] ogra: yep, all 16 of us [11:37] great :) [11:41] pitti: btw, hal-info isn't currently in bzr? Should I push an ~ubuntu-core-dev branch based off of the jaunty package-import? (I have a patch for it to fix a ThinkPad hotkey) === Sp4rKy is now known as Guest53951 === Guest53951 is now known as Sp4rKy === tkamppeter_ is now known as tkamppeter === jamesh__ is now known as jamesh === _Nicke_ is now known as Nicke [14:13] http://golf.naurunappula.com/nn/0/151/007/336376.jpg [14:13] Sorry, wrong channel. :-( === apachelogger is now known as vacationlogger [14:30] lool: libdrm is maintained in git, so probably the "Rename Vcs-*" bit is wrong? (thanks for adding lpia, I didn't know -1.2 was out) [14:52] could someone look at bug #268141 please? debdiff's attached for both intrepid and jaunty. [14:52] Launchpad bug 268141 in gnome-keyring "no ssh-agent after resume from hibernate" [Unknown,Confirmed] https://launchpad.net/bugs/268141 [14:55] erm... is requestsync being insane again? [14:57] tjaalton: Oh sorry, I checked the git tree and didn't see the ubuntu branch [14:57] tjaalton: Which branch is it? [14:57] tjaalton: Uh I'm blind [14:57] TheMuso, i'm looking at bug 308539 which states that the problem is that libft-perl is uninstallable - https://launchpad.net/ubuntu/intrepid/+source/defoma/0.11.10-0.2ubuntu1 [14:57] tjaalton: I checked it out extra yesterday evening to check [14:58] Launchpad bug 308539 in defoma "/usr/bin/defoma-hints broken due to deleted dependency" [Undecided,Confirmed] https://launchpad.net/bugs/308539 [14:58] tjaalton: But I missed the branch [14:58] tjaalton: Sorry about that [14:58] tjaalton: Yeah, not only is the rename wrong but I should have committed there [14:58] TheMuso, can you tell me how to proceed with the triage on that bug? Can we somehow link it to that page [15:02] TheMuso, please ignore my previous comments, sorry === Lure_ is now known as Lure [15:04] lool: no problem :) [15:05] Rocket2DMn: uh... ok. :) [15:05] heh, sorry man [15:06] np [15:26] tjaalton: Pushed 2.4.4-0ubuntu4 and a revert of the XS-Original-Vcs-* change to git === [atxBot is now known as patxbot [17:19] c === Omegamoon1 is now known as Omegamoon|away === shiyee_ is now known as shiyee [17:27] fta: that was a bug in gvfs, hopefully worked around in the latest version [17:28] pitti, eh.. what for? [17:28] slangasek: locked pages> oh, sorry; but I only really added information, so I guess it's ok [17:29] slangasek: hal-info isn't in bzr; I commit stuff directly into git upstream; but if it helps you, feel free to bzrize it [17:29] fta: you pinged me earlier about getting file:// urls when reporting apport crashes [17:29] pitti, oh, ok. thanks [17:30] pitti, i ended up filling bug 323409 [17:30] Launchpad bug 323409 in cyrus-sasl2 "sasl2-bin broken, segfaulting during install" [Undecided,Confirmed] https://launchpad.net/bugs/323409 [17:31] fta: FYI, bug 314263 is the breakage you mention [17:31] Launchpad bug 314263 in glib2.0 "regression - URIs opened with firefox %u load as local files (file:///...)" [High,Fix released] https://launchpad.net/bugs/314263 [17:32] pitti, yes, sure. i encountered 314263 while fighting against 323409. [17:32] now waiting for Keybuk to have a look at 323409 === geser_ is now known as geser [17:56] pitti: ah, well, if it doesn't help you, I probably won't bother bzring hal-info since LP needs to be taught about the project first [17:56] pitti: anyway, should I upload my ThinkVantage change, or email it to you? === fta_ is now known as fta === allquixotic_ is now known as allquixotic [18:06] Hi, I found a bug in Jaunty (a regression from 8.10) which causes hald to crash during input hotplugging when I have a Logitech ChillStream video game controller plugged in to USB. The controller worked, and hald didn't crash, under 8.10. What sort of priority should I file a bug with? What details should I include? === lamont` is now known as lamont === bluesmoke is now known as Amaranth [19:42] hello [21:42] okay this has been bugging me forever [21:42] can somebody please extend fakeroot to debian package INSTALLATION? [21:42] Why? [21:42] I should not be able to make a .deb that gets run, asks a question, gets a "no" and aborts installation [21:42] and leaves a rootkit behind on my system [21:43] current method of package installation: glorified tarball. Unpack, run pre-install.sh, does whatever it wants to your system AS ROOT [21:43] It’s okay if it leaves behind a keylogger on your user account? [21:43] installing a non-root service that runs as a restricted user and can't affect your system (say...wesnoth's dedicated server?)? It can still gain root access [21:43] It’s not a problem of the package manager if a user installs a malicious package. [21:44] ion_: I have had to re-install before (later, modify the deb) because of a bug in the java deb [21:44] if you don't check "I Agree" on the license question, it makes a permanent change to your system and aborts installation [21:44] pre-rm and post-rm don't undo it [21:44] bluefoxicy: it's not a permanent change [21:44] it's a debconf question [21:45] elmo: yes, and if you say no, and then attempt installation again, it doesn't ask;it just says, "oh, no, you didn't want to agree to the license, so screw you" [21:45] bluefoxicy: ok, but that doesn't make it permanent [21:45] the debconf DB is entirely under your control [21:45] elmo: nothing's technically "permanent." [21:46] 0) That can be fixed in the packaging, 1) how is fakeroot relevant here? [21:46] it could replace /bin/sh with malware, and I could technically replace the malware with a proper /bin/sh [21:46] ion_: 0) It's a package bug; 1) I don't believe the system should be changed, at all, until the package is finished installing. [21:47] in Gentoo, when a package is built, emerge has a sandbox environment that forbids real writes outside the build and image directory [21:47] post-installation file access pulls the files into the image directory, and i.e. updates to samba.conf or /etc/passwd get written to copies in the image directory [21:47] I don't think fakeroot is the right tool for something like htat. [21:47] the final step is to "merge" that to / [21:48] at any point before then, your system has been completely unchanged [21:48] soren: yeah that's whyI said extend... fakeroot doesn't do anything nearly useful for that [21:48] at one point I almost wrote a completely different package manager because i don't like things playing around with full root access running arbitrary code just to install [21:49] I don't think fakeroot is the right application to extend to achieve something like that. [21:49] I don't have to audit the final installed files, config changes, etc; I have to audit the entire logic of the installation system [21:49] soren: maybe so. [21:49] how do you audit the final installed files? [21:49] JOOI [21:50] elmo: make all changes to an isolated image that gets copied over / to finalize installation; then stop it at that point, and examine that tree? [21:50] hi, i'm trying to boot intrepid from a loop device, using root=/dev/loop0 (or root=700) boot parameter, and a little initrd script that mount the device containing the image, and then "losetup /dev/loop0 /path-to-the-image"... but it still can't find init... can anybody help me? [21:50] SUID binaries, strange changes to /etc/passwd, debconf settings, strange binaries that shouldn't exist, funny scripts generated by obfuscated logic in the pre-install scripts of the package... [21:50] all lain out clear [21:52] anyway [21:52] endrant [21:59] lool: excellent, thanks [22:09] please guys, anybody familiar with booting loop images? [22:20] Notch-1: User support in #ubuntu [22:21] ScottK: thank you === spm_ is now known as spm === fta_ is now known as fta === azeem_ is now known as azeem === geser_ is now known as geser