/srv/irclogs.ubuntu.com/2008/12/05/#ubuntu-devel.txt

mohbanado i need nspluginwrapper for java 32bit00:12
Hobbseemohbana: #ubuntu for support, please.00:13
=== j1mc is now known as j1mc|away
TheMusoc01:44
=== j1mc|away is now known as j1mc
=== MacSlow is now known as MacSlow|FOSSCamp
=== jussio1 is now known as jussi01
=== nhandler_ is now known as nhandler
=== thekorn_ is now known as thekorn
fabbionesoren: ping?07:55
=== tkamppeter_ is now known as tkamppeter
=== anil1 is now known as anilg
sorenfabbione: Wazzup?08:32
fabbionesoren: nevermind... apt-get install acpid in the guest and virsh define foo.xml did it08:33
fabbionesoren: the management for that stuff in hardy is really bad.. and unclear08:33
fabbionesoren: is there a specific reason why virsh reboot <domain> is not supported?08:36
=== wgrant_ is now known as wgrant
sorenfabbione: Isn't it?08:48
fabbionesoren: nope... it's not08:49
fabbionesoren: keep in mind.. hardy08:49
fabbionesoren: libvir: error : this function is not supported by the hypervisor: virDomainReboot08:50
sorenfabbione: Hm... Same in Intrepid (and Jaunty), it seems.08:50
fabbionesoren: ok..08:50
sorenWeird. I'venever used it.08:50
sorenApparantly.08:50
fabbionewell it's a pain :)08:50
* soren wonders how that would work... 08:55
sorenIs there an ACPI reboot event of some sort?08:55
NCommandersoren, yeah, there is, but I'd need to look it up09:32
sorenNCommander: Looking at acpid and friends, I don't thingk we have anything that handles it, though.09:40
NCommanderhandles, what, reboots?09:41
NCommanderThat's all kernel space09:41
NCommanderIts done via a syscall09:41
sorenNCommander: Err... Yeah, but something in userspace needs to shut everything down, just like when we handle an acpi shutdown event.09:43
NCommandersoren, I honestly won't be suprised if halt simply called int 0x80 directly,09:43
NCommandersoren, shutdown simply changes the runlevel to 0 which handles the shutdown09:46
sorenYes....09:47
sorenWhen you press your power button, acpid catches this, does a bunch of stuff, and finally calls shutdown.09:48
NCommanderI think I'm missing your question soren09:49
sorena) Does an ACPI reboot event exist?09:50
sorenb) If it does, is there anything that will handle it?09:50
NCommanderDefine ACPI reboot event09:50
sorenAFAICS, the answer to b) is "no".09:50
NCommanderYou mean an ACPI event from the kernel to reboot the machine?09:50
sorenThe acpi subsystem can emit events of various sorts.09:50
NCommanderOh, I get it09:51
sorenLike when you press your power button.09:51
NCommanderOk, I don't09:51
NCommanderI assume we're talking about a hardwired reboot button?09:51
hyperairthe reboot button is generally a hard-reboot button09:51
hyperairdoesn't even hit the software09:51
hyperairi don't think there's an acpi event for that09:51
sorenI've never seen a machine with a "reboot" button, but that doesn't mean acpi couldn't support it.09:51
NCommanderI have09:51
NCommanderas hyperair says09:51
hyperairso have i09:51
soren"reboot"? Not "reset"?09:51
hyperairall the older PCs have it09:51
hyperairoh09:51
hyperairhmm09:51
NCommanderSome newer servers do too09:52
hyperairreset most probably09:52
NCommanderSomeone would have to go digging in the ACPI specifications to find out the answer to 1.09:52
hyperairi don't think there's such a button, really09:52
hyperair"reboot" button?09:52
sorenIf b) is "no", a) doesn't matter :)09:52
hyperairprobably not?09:53
directhexcalc, FYI: OOo 1:3.0.0-6 from experimental works with the mono 2.0 transition10:15
NCommanderNice!10:16
directhexNCommander, t'is the only green for debian on http://wiki.debian.org/Teams/DebianMonoGroup/Mono20TransitionTODO o_o10:18
NCommanderah10:18
directhexlots waiting to be sponsored, some left to be done (for apps, this is)10:18
=== _jason is now known as jrib
_Groo_hey/all11:29
_Groo_is this the right place for kubuntu dev also?11:29
=== asac_ is now known as asac
=== fta_ is now known as fta
PeskyJahh, I see from the topic this is not channel for app dev discussion, what is the channel for that? I've never developed an app for X before and want to get started13:03
directhexPeskyJ, picking a language or framework is a good starting point, then try channels related to it13:04
directhexPeskyJ, if you already program a given framework, you can just go from there. if you want something different, pick it & find some tutorials13:04
PeskyJdirecthex: well probably C++ will be the language, but I have no idea about programming for X so my initial questions are mostly related to frameworks does KDE* work on gnome and vice versa, is there a portable one that works on more/other systems, etc. etc.13:06
hyperairPeskyJ: i'm using C++ and gtkmm13:06
directhexQt is the framework you're thinking of, and yes, you can run Qt apps fine on gnome13:06
hyperairactually i think qt is more portable than gtk, and especially if you use qt4, you can get a nice native look even on GNOME environments. the file chooser will be different though.13:07
directhexgtk's much more popular for proprietary apps, if you weren't planning on heading down a free software route13:08
hyperairdirecthex: why so?13:08
directhexhyperair, LGPL versus GPL/£££££££££££13:09
hyperairwhat's with the pound signs13:09
directhexhyperair, qt's the most expensive & restrictive framework on the market if you don't want to GPL your app13:09
hyperairi see13:09
directhexhyperair, enormous price, per-seat cost, and explicit forbidding in the license to dev against the free one then recompile later against the expensive one13:09
hyperairbut opera went for qt anyway13:10
hyperairand so did virtualbox13:10
directhexyep13:10
hyperairand skype13:10
directhexvmware's gtk though, as an example13:10
hyperairyeah13:10
hyperairbut that's the only one i know of that's proprietary13:10
hyperaircrossover uses what?13:10
NCommanderQt is nice because it looks and feels consistant on all archs13:11
NCommanderGTK applications stick out on non-*nix architectures13:11
directhextrue. that's one reason it's used13:11
PeskyJdirecthex: I haven't even looked at or considered licenses yet.. don't want to be commercial though, whatever is most free (I don't really know much about this area) - I think that means GPL13:11
NCommanderThat being said, I perfer GTK over Qt apps13:11
hyperairNCommander: the last time i ran a gtk app on windows, it looked pretty nice13:11
hyperairi think it was pidgin13:11
hyperairhad a pretty native look about it13:11
NCommanderGTK is getting better13:11
NCommanderbut look at codeblocks13:12
NCommanderOn windows, its hard to tell its not native13:12
directhexthere's a windows theme for gtk, which hooks into the windows theme subsystem13:12
hyperairyes, that's true13:12
hyperairdirecthex: yeah that's what i was talking about13:12
directhexbut not all gtk widgets can be rendered by windows gdi+13:12
NCommanderdirecthex, its similar to SWT13:12
hyperairNCommander: wx looks good on windows, but not as good on gtk, especially with dark themes13:12
directhexe.g. gdi+ has no concept of a notebook with tabs on the side instead of at the top13:12
NCommanderGDI is just the drawing API13:13
NCommanderIt has no concepts of widgets and such :-)13:13
hyperairthe last time i tried my hand at windows GUI programming, everything was statically sized. yuck.13:13
hyperairwell not really "tried". i carried it through. those were my two a levels computing projects13:14
NCommanderYou need to remember Win32's APIs are similar to say DOS C APIs than something more modern13:14
PeskyJok... so it seems that GTK or Qt would be the frameworks to use13:14
NCommanderTBH, I don't actually mind raw win32 too much if I'm not doing something too crazy13:14
directhexhyperair, standard windows toolkits use pixel-based layout13:15
hyperairPeskyJ: you could also use GNOME and KDE libs, but unless you bind the user to a DE13:15
NCommanderhyperair, well, GNOME is essentially GTK13:16
directhexhyperair, the first "proper" toolkit from MS is the Windows Presentation Foundation for .net. all the nice things like container-based layout.13:16
NCommanderdirecthex, well, there was MFC ...13:16
hyperairMFC is hell13:17
NCommanderNo denying it13:17
PeskyJhyperair: that's what I wanted to avoid... I have ubuntu gnome and I tried to run something that was KDE specific and it really didn't like it... I want to avoid restricting the environments it can run13:17
NCommanderBut MFC made Win32 programming not be incredibly difficult13:17
NCommanderThen again, raw Win32 programming with resource files isn't horrible if you know what you are doing13:17
hyperairPeskyJ: qgtkstyle is coming. in fact, it's in my PPA. all QT4 applicatiosn can look very native in GNOME. even skype and virtualbox13:18
hyperairNCommander: you've got to hook onto the resize event and then resize everything yourself13:18
hyperairand do the calculations13:18
hyperairbah13:18
hyperairwhat a nightmare13:18
NCommanderhyperair, no you don't13:18
hyperairyou don't?13:18
NCommanderhyperair, don't catch RESIZE, and then let DefProcWindow() handle it13:18
PeskyJhyperair: qgtkstyle? is that yet another framework?13:19
NCommanderUnless your using custom widgets, it works fine13:19
NCommanderIf your using custom widgets, then you need to have catch the resize event, resize your widgets, and then pass it along13:19
hyperairPeskyJ: no, it's a qt engine that uses Gtk to render, so everything coded in qt4 and above looks nice and native in GNOME13:19
hyperairNCommander: scary. i never bothered dealing with resizing. it was a visual basic 6 project13:20
NCommanderewww13:20
hyperairi just arranged my widgets nicely and then removed the resizable property13:20
hyperairheh13:20
NCommanderYou shouldn't have to do that in VB613:20
NCommanderYOu can get something similar with resource files13:20
hyperairwel you know what, that's all they taught13:20
NCommanderResource files with raw Win32 APIs aren't too bad13:20
NCommanderUnless you need to do something nutty13:20
PeskyJhyperair: so it sounds to me like the best recommendation would be to use Qt, then it can run in KDE, Gnome, Windows, etc. right, and with the advent of qgtkstyle it will even look like a native app?13:21
hyperairPeskyJ: well, gtk and qt4 are on equal ground on this one i would say13:21
* directhex uses gtk#, but will not evangelize here ;)13:21
NCommanderI'd go with Gtk13:21
hyperairgtk looks native on kde already13:21
hyperaireven with kde313:21
NCommanderBut Qt apps usually look like KDE apps on GTK environments13:21
directhexoh, you wanted c++....... iirc qt is threadsafe, gtk is not. if that matters to you13:22
NCommanderOnly parts of Qt are threadsafe (if you use QThreads ..)13:22
PeskyJdirecthex: I'm not too bothered about the language actually.. C++ is just probable.. I could learn python or something else if required.13:23
NCommanderARGH13:23
* NCommander lets a trail of obscenities go13:23
* DktrKranz filters NCommander context13:24
NCommanderDktrKranz, sorry13:24
NCommanderANother KDE/Qt FTBFS13:24
DktrKranz\o/13:24
NCommanderI think Qt lies when they say Qt is portable13:25
=== thunderstruck is now known as gnomefreak
PeskyJwell.. I would likely be using threads a lot, not so sure if I understand what impact the windowing environment being threadsafe is though - surely you can post messages safely from any thread in all windowing environments??13:25
NCommanderAt least I know my fixes will work13:25
NCommanderIf I can stay sane enough to finish writing them all13:25
directhexPeskyJ, i think, in essence, in qt you can just do stuff - in gtk, some stuff can only be done in the main application thread, so you need to use your language's method for doing so13:26
directhexPeskyJ, try changing a window label outside the main thread in gtk, and the window will just go screwy13:26
PeskyJdirecthex: I see - I'd likely only have one GUI thread and other threads to do app-specific stuff, though it might be convenient for some stuff as you say to just go ahead and change something without having to post a message about it13:27
PeskyJdirecthex: tbh, I've not done much window-environment programming, mostly games where you render your own GUI13:28
=== hunger_ is now known as hunger
PeskyJso a GTK app can run on KDE and Gnome, and Windows, right?13:33
PeskyJhow about IRIX (is that even still around)?13:34
NCommanderPeskyJ, Probably.13:44
NCommanderlamont, morning13:44
lamontg'morning13:45
NCommanderhow goes it lamont13:49
directhexPeskyJ, irix is dead, but old installations may persist13:56
PeskyJdirecthex: so what other window environments are there these days?14:07
directhexPeskyJ, irix isn't a window environment, it's an os. which are you asking about?14:08
PeskyJdirecthex: oh.. well the 4DWM that came on IRIX was pretty cool... I'm just wondering what other window environments there are in use these days, other than KDE, Gnome, Windows?14:10
directhexxfce, openbox... e17? and minimal things like awesomewm14:10
NCommanderinfinity, hey, are you floating around?14:11
PeskyJand does both Qt and GTK work on those too?14:11
directhexbien sur.14:12
=== thunderstruck is now known as gnomefreak
hyperairPeskyJ: as long as you've got the dependencies, gtk/qt stuff will work on anything. heck, even gnome and KDE specific applications will work. just that kde specific applications start a whole string of unwanted daemons with them if you're not already on kDE14:43
hyperair*KDE14:44
=== lacqui_ is now known as lacqui
pittibryce, tjaalton: a dist-upgrade to jaunty caused X to fail because it couldn't load libdrm_intel.so. Shouldn't -intel Depends: libdrm-intel1?15:47
=== The_Company is now known as Company
=== Richie is now known as WelshDragon
tjaaltonpitti: -intel should pick the dependency when building against the new libdrm, but doesn't for some reason I've yet to find out16:15
keesso we haven't hit DIF, but I see a gap between unstable and jaunty at the moment -- is there a giant backlog still?17:16
keesbetter question, where can I see the Ubuntu Archive Auto-Synce queue?17:18
* kees assumes https://edge.launchpad.net/~katie/+uploaded-packages17:19
keeswhich means UAAS hasn't run for 4 days?17:19
NCommanderhey kees17:21
keesheya NCommander17:21
NCommanderkees, how goes it?17:21
keesNCommander: goes busy and well :)17:21
sebnerkees: well 20 days until DIF, maybe nobody had time because of the UDS17:21
ftadoko, gcc seg fault: http://launchpadlibrarian.net/20235151/buildlog_ubuntu-jaunty-sparc.xulrunner-1.9.1_1.9.1~b2%2Bbuild1%2Bnobinonly-0ubuntu3_FAILEDTOBUILD.txt.gz17:22
calcdirecthex: ah he finally released 3.0.0-6? :)18:18
calcdirecthex: i'll be uploading an ubuntu version asap in that case, at FOSSCamp right now18:19
directhexcalc, aye18:19
directhexcalc, okay, cool, was just keeping you updated18:19
calcit will take a little while to get built since i have to get everything pulled in from universe, heh18:19
directhexdude, it's OOo. it'll take 8-10 hours to build Lpo18:22
directhex:p18:22
directhexgah, can't type today18:23
* StevenK kicks libkdcraw in the -dev18:55
StevenKE: Package libkdcraw-dev has no installation candidate18:55
StevenKGrah18:55
calcdirecthex: a little while as in several days due to ~ 20 MIRs ;-)18:56
* directhex whistles innocently18:57
* calc bbl18:58
slangasekdirecthex: so I guess kdebindings-kde4 needs some kind of migration off of libkimono4.1-cil, do you know if anyone's working on that?19:00
directhexslangasek, to the best of my knowledge, nobody's working on it - but if my memory serves me correctly, those libs are already built against CLI 2.0 - so only minor build-dep & rules tweaks should be needed19:01
directhexdepends on libmono-corlib2.0-cil, so yes, just a little bit of tweaking required19:01
directhexslangasek, is that a request, then?19:05
slangasekdirecthex: a subtle hint :)19:10
slangasekdirecthex: you mention only libmono-corlib2.0-cil, though - I'm looking at the NBS list, which shows it depends on the no-longer-extant libkimono4.1-cil?19:11
directhexslangasek, still exists - disabled in debian/control due to, well, lack of buildability right now19:11
slangasekhrm19:11
slangasekk, ignoring that one for now then19:12
directhexslangasek, with autofoo, you can override an AC_PROG_PATH by specifying it on the configure line (e.g. ./configure FOO=/usr/bin/bar). do you know if the same or similar can be done with cmake?19:14
slangasekmy working assumption is that it's impossible to do anything useful with cmake19:14
directhex:)19:14
StevenKBlah. libkdcraw7-dev does not Provide libkdcraw-dev19:17
StevenKNCommander: Why did libkdcraw-dev get renamed to libkdcraw7-dev?19:20
StevenKNCommander: And all the other -dev's that kdegraphics build?19:21
StevenKAh ha. Debian did it.19:22
StevenKWell, that sucks19:23
tmccraryWhere can I located the busybox configuration for ubuntu's initrd that comes with kernels?19:30
tmccraryis there a source package for ubuntu's initrd?19:32
tmccrarydoes it come in the kernel sources?19:32
TheMusotmccrary: The initrd is made up of files from several packages. The initramfs-tools package is the one responsible for putting it all together.19:34
TheMusotmccrary: You want to look at /usr/share/initramfs-tools for the scripts used to put the initrd together.19:34
tmccraryTheMuso: awesome thank you19:35
directhexso many build deps..... why does kde4bindings build-dep on so many -dbg packages? o_O19:35
tmccraryI need to build the brctl applet into busybox19:35
tmccraryI didn't want to go though the entire busybox config ;)19:35
TheMusotmccrary: Your best option is to probably extend the brctl package to add files to the initrd, and run it in the initrd.19:42
tmccrarydoes busybox's brctl not work adequately?19:42
directhexapachelogger, ping19:42
fabbionewho is in charge of the installer these days?19:45
TheMusotmccrary: I don't know, I didn't even know busybox had brctl.19:45
tmccraryWell, it has an option in make menuconfig19:45
tmccrary;)19:46
tmccrarybrctl looks statically linked and is pretty small when built19:47
tmccraryso that's not a bad way to go19:47
directhexbah19:50
kirklandpitti: hey, can we take a quick look at that adduser --encrypt-home patch at some point today :-)20:03
TheMusokirkland: let me know if there is a time today when there are no session s you are interested in, and perhaps we can sit down and have a look at the mdadm merge.20:06
kirklandTheMuso: sounds good, perhaps after a quick bite to eat for lunch?20:06
TheMusokirkland: Sounds good to me.20:06
brycepitti: I've added a Depends on -intel for that as a workaround, until the libdrm symbols stuff gets sorted out20:10
directhexsigh. kde4bindings fails to build - near the end, in cpp code (ie.. not my fault)20:21
ScottKdirecthex: Feel free to join us in #kubuntu-devel to discuss20:22
=== munckfish is now known as _munckfish
=== _munckfish is now known as munckyMagik
=== munckyMagik is now known as munckfish
ion_When will Keybuk return, btw?22:03
pochukees, jdstrand: hi. there is a security update for vinagre upstream, which fixes a printf without format. Should that go through -security or -updates? The patch is this: http://svn.gnome.org/viewvc/vinagre/branches/gnome-2-22/src/vinagre-utils.c?view=patch&r1=528&r2=527&pathrev=52822:13
pochukees, jdstrand: affected releases are hardy, intrepid and jaunty22:13
nxvlpochu: there is a bug in launchpad already?22:15
jdstrandpochu: also, is there a CVE?22:15
pochunxvl: nope, not yet22:15
pochujdstrand: I don't think so, I've googled for it without luck22:15
pochujdstrand: and upstream doesn't mention it in the changelog or NEWS file22:15
pochusee http://svn.gnome.org/viewvc/vinagre?view=revision&revision=52922:16
pochuhttp://svn.gnome.org/viewvc/vinagre/branches/gnome-2-22/ChangeLog?r1=529&r2=528&pathrev=52922:16
nxvlpochu: then report it22:16
keespochu: do you have a reproducer for it?22:16
nxvl:S22:16
jdstrandpochu: is that message user-controllable?22:16
jdstrands/user/remotely/22:16
pochunot sure, let me check22:16
jdstrandpochu: the changelog would suggest as much22:17
jdstrandpochu: if it is indeed a security issue, then it should go through -security22:18
jdstrandpochu: I've made a note to look into it-- if you find a reproducer/PoC, that would be great22:18
keesand if there's a reproducer, I'd like to try it on intrepid, as I suspect it'll get caught by FORTIFY22:19
jdstrandthere is a version of vinagre in hardy that'll need to be checked22:19
pochulooks like it's not remotely controllable22:20
pochuit could be controlled through translations though22:21
pochuthe bug is on the vinagre_utils_show_error function, which is used 11 times in the source (in the hardy version), and looks like in all of them the string is hardcoded in the source22:23
pochuexcept that in some cases it is translated22:23
pochuso a malicious translator could control it... not sure if that's a reasonable situation :)22:23
jdstrandpochu: is it pretty much the same on intrepid?22:24
pochuBTW I'm no security expert, so would be fine if you could check it too just in case I overlook anything22:25
* jdstrand nods22:25
jdstrand(not at the non-expert part-- at the me checking part :)22:27
keesjdstrand: I'll looking through it now, so far so good22:28
jdstrandkees: ah, well, if you're looking at it, I'll take it off my TODO list :P22:28
pochulooks more or less the same in Intrepid22:28
pochuit's used some more, but looks like the messages are all hardcoded in the code22:28
pochuif it's hardcoded, then it's no security issue, right?22:29
pochujdstrand, kees: thanks :)22:29
keeshrm, it's used on filename errors...22:29
keesin vinagre_cmd_machine_open22:29
keesvinagre %x22:31
keesso, yeah, it's user-assisted, but still an issue22:31
keesan on intrepid...22:31
kees$ vinagre %n22:31
kees*** %n in writable segment detected ***22:31
keesheheh22:31
keespochu: so yeah, if you can, can you open a bug report for it an mark it a public security issue along with the links you gave above?22:32
pochukees: sure22:32
pochukees: so this affects intrepid only, or both intrepid and hardy?22:32
keespochu: thx! and thanks for noticing it in the upstream commits.  :)22:32
keeslooks like hardy through jaunty22:33
pochuah yeah, due to vinagre_utils_show_many_errors right?22:33
* kees nods22:33
pochuok22:34
* pochu reports a bug22:34
pochukees, jdstrand, nxvl: reported as bug 30562322:50
jdstrandpochu: thanks :)22:50
pochuI can prepare debdiffs, but I have never done them before for the -security pocket :)22:51
mneptokhrmf.22:51
* mneptok goes in search of ubottu22:51
jdstrandpochu: just follow https://wiki.ubuntu.com/SecurityUpdateProcedures22:51
nxvlwhich package is it again? vinagre, right?22:52
pochunxvl: yup22:52
pochujdstrand: ok, thanks22:52
nxvlis it private?22:53
pochunope22:53
pochuhttps://bugs.edge.launchpad.net/ubuntu/+source/vinagre/+bug/30562322:53
pochujdstrand: can you approve the hardy and intrepid tasks?22:53
keespochu: cool, thanks22:53
pochuyou're welcome :)22:53
keespochu: I'll approve them, one sec22:53
=== dmb is now known as Guest24294
calcjcastro: ping23:50
pochukees: what do you mean with segv on hardy? sigsegv?23:53
pochuit doesn't crash here on a hardy VM if I launch vinagre as "vinagre %n"23:54
pochuit just doesn't display the %n in the error dialog, but with the patched vinagre it does23:54
pochuis that alright?23:54
keespochu: yeah, that's fine.  the sigsegv will show up if you add enough %n's.  :)  %n%n%n%n%n%n%n eventually it'll hit bad memory23:55
pochuah, got it now :)23:56
kees:)23:56
mathiazevand: http://ubuntumathiaz.wordpress.com/2008/09/18/automate-ubuntu-server-iso-testing/23:57
pochukees: hardy debdiff submitted23:58
keespochu: great, thanks!23:58

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