[00:13] <nivek> nixternal: You there?
[00:13] <nixternal> what's up?
[00:13] <fdoving> nite.
[00:13] <nixternal> nite fdoving
[00:13] <nivek> Some guy is cussing up a storm in #kubuntu ... "[18:12] <Kozeris> fuck diz all life, fuck that, my mom hiding cigaretes from me and i wanna to smoke now, omg i just will blow her head" ... I dunno if he's calmed down now, or not, but may be something to keep an eye on...
[00:14] <stdin> yes, I saw
[00:14] <nixternal> he's mine stdin, back off :p
[00:14] <nivek> stdin: Ah, I'm sorry! I didn't see your name on the access list when I first looked. I do now.
[00:14] <stdin> he's calming down now, but I was *just* about to remove...
[00:15] <nixternal> hehe
[00:15] <nixternal> warn, then quiet, then remove :)
[00:15] <stdin> I warned, but he swore 3 more times as I was typing the warning :p
[00:16] <nixternal> hahaha
[00:16] <nivek> Anyway, thanks, both of you. :D
[00:17] <stdin> nivek: if you think there's no one around in #kubuntu and you need help, poke someone in #ubuntu-ops
[00:17] <nivek> stdin: Will do. I knew that nixternal was an op from memory because I remember him booting someone the first month I started coming to #kubuntu :P
[00:18] <stdin> you're not an real op untill your first kick/ban :)
[00:18] <nivek> haha
[00:28] <Riddell> mhb: sorry, my internet broke
[00:28]  * Jucato read that as "bloke"....
[00:29] <Riddell> nosrednaekim: so you need a script in /etc/X11/Xsession.d/ which reads a setting you write somewhere
[00:29] <Riddell> maybe ~/.kde/
[00:29] <Riddell> or ~/.compiz
[00:29] <Riddell> doesn't really matter
[00:29] <Riddell> and that sets $KDEWM which gets picked up by startkde
[00:29] <Riddell> nosrednaekim: compiz ought to fall back to kwin, that it sometimes doesn't is a bug bug that can be fixed
[00:30] <nosrednaekim> Riddell: ok... thanks!
[01:57] <Hobbsee> right.  i should be able to install kde4 now :)
[01:57] <Hobbsee> is it worht installing?
[01:58] <Hobbsee> oh, shit.  i missed the meeting again
[01:59] <Jucato> oh frack!
[02:00] <Hobbsee> no stuff to the ML about it either.  i wonder if it even happened
[02:01] <Jucato> me too
[02:02] <Jucato> I don't think it was kinda nice to have it scheduled the day after new year :)
[02:03] <hads> It did happen
[02:04] <Jucato> pfft :(
[02:08] <nosrednaekim> it happened..
[02:09] <nosrednaekim> yuriy was accepted.. and that about all that happened
[02:09] <nosrednaekim> later all
[03:01]  * Hobbsee ponders waiting until the kde4 actual release
[03:03] <Jucato> 8 days :)
[03:03] <Jucato> or you can wait when it's tagged at least? :)
[03:04] <nixternal> anyone know an easy way to add a line edit to a toolbar in qt4-designer?
[03:09] <Jucato> :(
[03:10]  * Jucato doesn't know....
[03:40] <nivek> Hobbsee: You didn't miss much as far as the meeting went. One new member and one item on the agenda :P </late>
[03:40] <Hobbsee> nivek: fair enough
[03:40] <nivek> You want a log?
[03:43] <nivek> http://pastebin.com/m4f4b64dc If so.
[03:45] <Hobbsee> thanks
[04:17]  * dasKreech waves
[04:20] <Hobbsee> heya dasKreech
[04:20] <Jucato> hiya dasKreech! :)
[04:22] <dasKreech> Hey Jucato!
[09:09] <mornfall> yuriy: Well, eventually, I may move the methods to .cpp files. It's just more comfortable this way.
[09:09] <mornfall> yuriy: At least for now.
[10:27] <Tonio_> hi there
[10:27] <Riddell> rebonjour Tonio_
[10:29] <Tonio_> bonne année Riddell !
[10:30] <Tonio_> Riddell: I'm back in the work, fixing bugs for kde 3.5 etc...
[10:30] <Tonio_> Riddell: most people seem to focus on 4.0 so I'll do my best on the 3.5 part....
[10:30] <Tonio_> Riddell: like fixing ark, broken
[10:31] <Tonio_> Riddell: I found the problem with guidance power manager
[10:31] <Tonio_> Riddell: the problem is outdated .pot file
[10:31] <Tonio_> Riddell: I have a few questions on that point
[10:32] <Tonio_> Riddell: is there a way to import the pot in rosetta for the package's page ?
[10:32] <Riddell> rosetta will import it when you upload
[10:32] <Tonio_> Riddell: no admin/ folder in rosetta, so no way to patch
[10:32] <Tonio_> Riddell: it was never imported in fact
[10:33] <Tonio_> Riddell: I also have to fix powermanager code a bit to include some missing i18n() things
[10:33] <Tonio_> https://edge.launchpad.net/ubuntu/+source/kde-guidance
[10:34] <Tonio_> Riddell: as you can see, there is no translation entry in it
[10:34] <Riddell> https://translations.edge.launchpad.net/ubuntu/gutsy/+source/kde-guidance/
[10:34] <Tonio_> Riddell: hum weird...
[10:35] <Tonio_> Riddell: oki let's patch guidance then
[10:35] <Tonio_> and include an updated pot file
[10:40] <Tonio_> Riddell: just a little question concerning guidance, again
[10:41] <Tonio_> Riddell: I see both __tr() and i18n() are used, but never together, is there a reason to this ?
[10:43] <Tonio_> self.screensavergroup.setTitle(self.__tr("Enable screensaver"))
[10:43] <Tonio_> here an example
[10:43] <Tonio_> I suspect we should use self.screensavergroup.setTitle(self.__tr(i18n("Enable screensaver")))
[10:47] <Riddell> Tonio_: is the tr() used in files made from .ui files?
[10:47] <Tonio_> not only
[10:48] <Tonio_> Riddell: you have it in the standard guidance-power-manager.py for example
[10:48] <Tonio_> Riddell: I try to use i18n in it, and if it works, then will patch everything
[10:49] <Riddell> Tonio_: probably a mistake then
[10:49] <Tonio_> yup
[11:43] <Tonio_> Riddell: patch is done, but I can seem to build the .mo file manually
[11:43] <Tonio_> Riddell: any clue for this ?
[11:43] <Tonio_> Riddell: I have the patched .py files installed, seems to work, but I can hardly test if I can't compile the .po files
[11:44] <Tonio_> Riddell: even local debuild -nc doesn't built it...
[11:46] <Riddell> Tonio_: I don't know if they've ever built as part of the package
[11:46] <Riddell> they'll build as part of the language pack of course
[11:47] <Riddell> you can try and work out the gettext command to compile them
[11:47] <Tonio_> Riddell: the debian package should contain the commands right ?
[11:47] <Tonio_> Riddell: debian doesn't have our langpacks mecanism afaik ?
[11:48] <Tonio_> maybe kbabel can do it btw
[11:53] <Riddell> the debian package shouldn't be much different from ours
[11:54] <Tonio_> oki
[12:11]  * Tonio_ is happy, no new bugs posted with the latest kdesudo
[12:11] <Tonio_> fdoving: ^_^
[12:29] <Tonio_> Riddell: the problem looks more complex in fact
[12:29] <Tonio_> the .ui file generates a ui.py file automatically, which doesn't contain any i18n strings
[12:30] <Riddell> I did ask if that's where they came from
[12:30] <Riddell> uic has a flag to change that translation function
[12:30] <Tonio_> tht's it indeed
[12:30] <Riddell> not sure if pyuic does
[13:04] <Tonio_> Riddell: what is the flag for the standard uic please ?
[13:07] <Riddell>   -tr <func>                use func() for i18n
[13:07] <Riddell> Tonio_: ^^
[13:08] <Tonio_> okay suprt
[13:09] <Tonio_> Riddell: I was searching for i18n and not internationalisation, shame on me.....
[13:09] <Tonio_> Riddell: you can blame me :)
[13:17] <Tonio_> Riddell: seems to work, testing
[13:27] <Tonio_> Riddell: looking at guidance packaging, there are things missing :
[13:27] <Tonio_> 	-XGETTEXT=/usr/bin/kde-xgettext EXTRACTATTR=/usr/bin/extractattr sh $(DEB_SRCDIR)/admin/cvs.sh extract-messages
[13:27] <Tonio_> this cannot work, as there is no admin folder in it
[13:28] <Tonio_> btw this isn't supposed to work with .py afaik
[13:30] <Riddell> wouldn't imagine it could
[13:31] <Tonio_> Riddell: that's from debian/rules ;)
[13:32] <Tonio_> Riddell: fixing to something that will work
[13:47] <Tonio_> Riddell: seems to work ;)
[13:47] <Tonio_> Riddell: btw, there are fixes that I'd rather have in the tarball
[13:47] <Tonio_> Riddell: can you update the svn branch if I send you a fixed tarball, and then I'll prepare a package with the debian/rules fix ?
[14:14] <Riddell> Tonio_: can do
[14:14] <Riddell> Tonio_: there's a patch in dholbach's patch queue too i think
[14:17] <Tonio_> Riddell: great
[14:18] <Tonio_> Riddell: http://pastebin.com/m62574e65
[14:18] <Tonio_> Riddell: here-s the patch
[14:19] <Tonio_> Riddell: I'll ping dholbach once available, but I'll release a new package as soon as you have commited
[14:19] <Tonio_> as well as a new kdebluetooth ans a new knm
[14:30] <Tonio_> Lure: wasn't knetworkmanager 2.1 in the pipe for month ? ;)
[14:31] <Lure> Tonio_: I thought so too, but not sure where it got stuck. You may want to ask on mailing list
[14:31] <Tonio_> sure
[15:07] <Tonio__> grmpf, bad internet connexion today
[15:16] <Riddell> https://bugs.edge.launchpad.net/ubuntu/+source/kde-guidance/+bug/177366t
[15:16] <ubotu> Launchpad bug 177366 in kde-guidance "misspelling found - lowercase 'w' in 'wine'" [Low,Triaged]
[15:16] <Riddell> https://bugs.edge.launchpad.net/ubuntu/+source/kde-guidance/+bug/177366
[15:23] <Riddell> Tonio_: I've applied your patch and that one to svn
[15:29] <Tonio_> Riddell: super
[15:29] <Tonio_> Riddell: building the new package, and then trying to fix ark :/
[15:30] <Tonio_> Riddell: I noticed the current gutsy version of kdesudo causes lots of problems, as lots of bugs have been fix
[15:30] <Tonio_> Riddell: shouldn't we consider a security update ?
[15:30] <Tonio_> or even a backport
[15:30] <Riddell> backport sure
[15:30] <Riddell> I doubt it'll pass security
[15:31] <Tonio_> Riddell: well the bad args parsing was a potential security issue...
[15:31] <Tonio_> but yeah, few changes it passes security ;)
[15:33] <Tonio_> Riddell: also with security, the minimum code changes are required right ? then no need to even think about it :)
[15:37] <Riddell> Tonio_: right
[15:43] <Riddell> Tonio_: kdebase/4:3.5.8-2ubuntu10 broke
[15:47] <Tonio_> Riddell: yeah, the patch was doubled in the patch/ fodler
[15:47] <Tonio_> Riddell: already uploaded a ubuntu1 version that builds
[16:04] <bddebian> Heya
[16:04] <jjesse> boo :)
[16:05] <nosrednaekim> EEEK!
[16:07] <Tonio_> hi everyone
[16:07] <jjesse> hello Tonio_
[16:08] <bddebian> :-)
[16:11] <Tonio_> Riddell: is there a delay before I can svn update on the anonsvn server ?
[16:11] <Tonio_> Riddell: I can't seem to ugrade now.... I'll wait a bit
[16:12] <Riddell> Tonio_: 10 minutes usually
[16:12] <Tonio_> okay
[16:12] <Tonio_> Riddell: well it was 38 minutes ago ;)
[16:18] <Riddell> Tonio_: definately there http://websvn.kde.org/branches/extragear/kde3/utils/guidance/
[16:20] <Tonio_> Riddell: yeah, doing manually is another option ;)
[16:25] <Tonio_> Riddell: http://websvn.kde.org/branches/extragear/kde3/utils/guidance/wineconfig/
[16:25] <Tonio_> Riddell: I can't see the wine typo fix uploaded...
[16:31] <Riddell> hrm
[16:33] <Riddell> Tonio_: it's definatly in svn
[16:33] <Riddell> http://kubuntu.org/~jriddell/tmp/wineconfig.py
[16:34] <Tonio_> Riddell: http://websvn.kde.org/*checkout*/branches/extragear/kde3/utils/guidance/wineconfig/wineconfig.py
[16:34] <Tonio_> Riddell: not updated here at least, I can't see the fix in it
[16:34] <Riddell> shrug, slow sync
[16:35] <Riddell> maybe due to the mega icon commits
[16:35] <Tonio_> Riddell: looks like.... especially since the .pot fix is in for more about an hour now ;)
[16:35] <Tonio_> Riddell: I applied the patch manually in the sources, it'll be the same as the svn tree
[16:36] <mhb> Riddell: so could you answer my question now, please? I asked about the KDE4 Hardy CD and when it is ready (to be tested)
[16:40] <Riddell> mhb: it's blocked on seeds being reorganised
[16:41] <mhb> Riddell: that is so last year :o) just joking, but the answer was the same before Christmas.
[16:42] <Riddell> mhb: I doubt colin spent his christmas rearranging seeds
[16:43] <ryanakca> mhb: is mhb.ath.cx down?
[16:44] <mhb> ryanakca: no
[16:44] <mhb> Riddell: right, here's hoping that he might spens some time in January about it :o)
[16:50] <Tonio_> Riddell: don't we want the grubconfig guidance tool ?
[16:50] <Tonio_> Riddell: it is commented in rules
[16:51] <Riddell> dunno, ask mhb
[16:51] <Riddell> I believe it wasn't ready last I looked
[16:52] <Tonio_> k
[16:52] <Tonio_> mhb: ping ? ;)
[17:00] <Tonio_> Riddell: last (sorry) question about the rules file
[17:00] <Tonio_> Riddell: why did you use kdepyuic instead of the standard pyuic ?
[17:01] <Tonio_> Riddell: kdepyuic doesn't seem to allow the usage of parameters like -tr for example
[17:01] <Tonio_> Riddell: is it of any use for the program ?
[17:01] <Riddell> Tonio_: well they're KDE apps, I suspect they don't work with the qt pyuic
[17:02] <nosrednaekim> yeah, the standard pyuic doesn't work with KDE classes/eidgets
[17:04] <Tonio_> hum, I then have to find a way to make kdepyuic use -tr instead
[17:04] <Tonio_> Riddell: afaiu that to generate pykde .py compatible files right ?
[17:05] <Riddell> Tonio_: you can just use sed
[17:05] <Riddell> s/tr\(/i18n\(/
[17:06] <Tonio_> Riddell: right
[17:28] <\sh> Tonio_: pyuic has a switch for that...where you can set this...and pykdeuic is just an addon to it, so it should use the same switch when I remember correctly
[17:29] <\sh> Tonio_: if not, it's a bug ,-)
[17:30] <Tonio_> \sh: then, a bug it is :)
[17:30] <Tonio_> \sh: kdepyuic doesn't allow to set options in fact, only 3 are available
[17:31] <\sh> Tonio_: kdepyuic has the -tr <func> switch
[17:31] <\sh> (pykde3)
[17:32] <Tonio_> \sh: it hasn't, the switch is for pyuic
[17:32] <\sh> Tonio_: http://pastebin.ubuntu-nl.org/50608/
[17:33] <Tonio_> \sh: the output you see is the pyuic output
[17:33] <\sh> Tonio_: hehe...kdepyuic is just a wrapper around pyuic...it inherits all stuff from pyuic and adds kde stuff too
[17:33] <Tonio_> \sh: look carefully to the output, you have both in a raw, buggy
[17:33] <\sh> Tonio_: yes...but it should call pyuic
[17:33] <Tonio_> \sh: basically kdepyuic allows 3 options : -a -i and -p
[17:34] <Tonio_> \sh: it does, but there is no way to add specific options for pyuic
[17:35] <Tonio_> Riddell: interesting, the .py files you generate with kdepyuic are not installed
[17:35] <Tonio_> Riddell: those in the current package are done with the build system with pyuic
[17:36] <Tonio_> Riddell: that's why I couldn't get my patched files in the package......
[17:36] <Tonio_> Riddell: I'll probably patch the build system to use kdepyuic instead
[17:36] <\sh> Tonio_: give me a sec...tryingf
[17:36] <Tonio_> \sh: sure
[17:37] <Tonio_> \sh: would be nice if I could avoid the sed :)
[17:38] <Tonio_> \sh: already tried -p "pyuic --tr i18n" fyi
[17:38] <Tonio_> Riddell: looks like our powermanager app is not a kde but a qt application :)
[17:39] <Tonio_> at least the ui
[17:39] <\sh> Tonio_: -p is just the path to pyuic
[17:39] <\sh> Tonio_: I see now...it's a bug in kdepyuic...we should fix it ,-)
[17:40] <Tonio_> \sh: ;)
[17:40] <Tonio_> \sh: I don't have time to wait for this, I'll fix in guidance waiting for a fix instead !
[17:41] <\sh> Tonio_: I would say, regarding the fact that kde is just using i18n, we should add a "-tr i18n" to opts = ' -o ' in doPyuic
[17:41] <\sh> or adding an option to it directly and adding a conditional to doPyUic...
[17:42] <\sh> Riddell: any objections?
[17:43] <Tonio_> \sh: well it isn't that simple
[17:43] <Tonio_> \sh: that'll generate i18n entries in the code, but the catalog should be loaded too
[17:44] <Tonio_> \sh means something like "from kdecore import kglobal"
[17:44] <Tonio_> \sh: and also add the kglobal.locale() somewhere in the code :)
[17:44] <\sh> Tonio_: so lets do it...i didn't check on pykde4 this time...but fixing pykde3 is essential...we can push the patch as well to upstream
[17:45] <Tonio_> \sh: and that I don't know how to do it correctly
[17:45] <\sh> Tonio_: that should be done at application lvl...
[17:45] <Tonio_> then just one line after loading kglobal should be enough
[17:46] <Tonio_> \sh: I'm all for that
[17:46] <Tonio_> \sh: I can wait for the fix to release guidance then
[17:47] <\sh> Tonio_: well, I'll propose a patch for it...and you can test it...I'll upload pykde3 to my ppa
[17:47] <Tonio_> \sh: stupid question, but how will you now the catalog name to load ? ;)
[17:47] <Tonio_> \sh: KGlobal.locale().insertCatalogue("guidance") for example
[17:47] <\sh> Tonio_: as I said..this should be done at app lvl...not in pykdeuic ...
[17:48] <Tonio_> \sh: but how will that be done for a py file generated from a ui file ?
[17:49] <Tonio_> ho you mean that this file is imported and then it should work ?
[17:49] <\sh> Tonio_: as it is global, it should inherit everything from top...yes
[17:49]  * Tonio_ isn't a python expert
[17:49] <Tonio_> oki
[17:49]  * \sh neither regarding locales .-)
[17:50] <\sh> but thinking of qt/kde libs in general, where you do this as well in main somehow...it should be the same
[17:50] <Tonio_> yep, understood
[17:50] <Tonio_> \sh: I'll wait for your patch then
[17:53] <Tonio_> \sh:
[17:53] <Tonio_>     if addApp:
[17:53] <Tonio_>         opts = ' -x -o '
[17:53] <Tonio_>     else:
[17:53] <Tonio_>         opts = ' -o '
[17:53] <Tonio_> that's the 2 lines to patch right ?
[17:54] <\sh> Tonio_: well, I'm doing it correctly..adding the opt to the toplvl options...and feed it as conditional to DoPyUic
[17:55] <Tonio_> \sh: oki super, please ping me when done so that I can test it and fix guidance build system to use this instead of pyuic :)
[18:02] <\sh> Tonio_: sure
[18:11] <\sh> Tonio_: pykde3 is in my ppa...just waiting to build...python-kde3 - 3.16.0-4ubuntu1~ppa1 is the version...for hardy...add
[18:11] <\sh> deb http://ppa.launchpad.net/shermann/ubuntu hardy main
[18:11] <\sh> deb-src http://ppa.launchpad.net/shermann/ubuntu hardy main
[18:11] <Tonio_> \sh: that will not globally fix our issues since pykdeextensions uses pyuic to build ui files
[18:11] <Tonio_> \sh: grep -re uic /usr/share/python-support/pykdeextensions
[18:11] <\sh> Tonio_: if it works ok...just use the kubuntu_04_kdepyuic_i18n.dpatch from it
[18:11] <\sh> Tonio_: we need to fix this too ,-)
[18:12] <Tonio_> \sh: I'll test
[18:12] <Tonio_> \sh: I guess it should check for kdepyuic in the first place
[18:13] <\sh> Tonio_: it needs a dep on python-kde3-dev ;)
[18:13] <Tonio_> what needs that dep ?
[18:14] <\sh> Tonio_: everything what needs to use kdepyuic
[18:14] <Tonio_> so if I have python-kde3-dev installed, the setup.py, importing kdedistutils, should use kdepyuic instead ?
[18:15] <Tonio_> \sh: I already have it installed
[18:15] <Tonio_> \sh: but pyuic is when launching setup.py
[18:17] <\sh> yepp
[18:17] <Tonio_> \sh: doesn't seem to work...
[18:18] <Tonio_> the installed .py generated files are done using pyuic (no kde import things in it)
[18:18] <Tonio_> \sh: I can fix that overwritting the file in debian/rules, but that sounds a bit ugly :)
[18:19] <\sh> Tonio_: patch is at http://www.sourcecode.de/~shermann/python-kde3-patches/
[18:20] <Tonio_> \sh: testing this right now
[18:21] <\sh>  pyuic_exe = find_executable('pyuic',pyqt_configuration.pyqt_bin_dir)
[18:21] <\sh> hmmm....
[18:23] <\sh> give me some time to think about a fix...
[18:25] <Tonio_> \sh: your patch seems incomplete
[18:25] <Tonio_> I can see the -tr option, but the command doesn't work
[18:26] <Tonio_> http://pastebin.com/m3ee140d5
[18:30] <nixternal> is it possible to download a KDE mailing list archive?
[18:31] <nixternal> you can do it with Mailman, but KDE uses MARC for their archives and I can't figure it out yet
[18:32] <\sh> Tonio_: pykdeuic -tr i18n ?
[18:33] <Tonio_> \sh: yep, fails for me
[18:33] <\sh> grmpf...give me some minutes..need to wash dishes first ,-)
[18:34] <Tonio_> \sh:
[18:34] <Tonio_>     shortOptions = "aip:"
[18:34] <Tonio_>     longOptions  = "noapp noimport pyuic="
[18:34] <Tonio_> \sh: look lik python doesn't want a 2 letters based short option btw
[18:34] <Tonio_> I guess aiptr: wouldn't be welcome :)
[18:37] <Tonio_> \sh: I can just test with -t and let you find the fix, gimme a moment
[18:39] <\sh> Tonio_: argl...yeah will fix it in a few...
[18:40] <\sh> Tonio_: fetch it now  from the former location at sourcecode.de
[18:42] <\sh> argl...adjusting the help :(
[18:43] <Tonio_> \sh: I was about to ay it ;)
[18:43] <\sh> now
[18:43] <\sh> ,-)
[18:44] <Tonio_> k
[18:46] <Tonio_> \sh: seems to work
[18:46] <Tonio_> now the second fix to use kdepyuic and it'll be perfect ;)
[18:47] <Tonio_> \sh: wait no there is a problem, looks like i18n hasn't been passed to pyuic
[18:47] <Tonio_> I still have __tr based translation in the .py file
[18:48] <Tonio_> \sh:
[18:48] <Tonio_>     if i18nFunc:
[18:48] <Tonio_>        opts = opts + ' -tr ' + i18nFunc + ' '
[18:48] <Tonio_>     if addApp:
[18:48] <Tonio_>         opts = opts + ' -x '
[18:48] <Tonio_>     opts = ' -o '
[18:48] <Tonio_> here is the problem, last line should be opts = opts + ' -o' no ?
[18:49] <Tonio_> \sh: that's it, works this time
[18:50] <\sh> Tonio_: bah...lI'm doomed
[18:51] <Tonio_> \sh: super, I'll test an ugly hack in guidance to override the usage of pyuic by default, I'll wait for another fix on that point :)
[18:51] <\sh> well, if the fix works now in general...we should add it to the hardy package...
[18:52] <\sh> and try then to fix the other things
[18:53] <Tonio_> \sh: I tested this on 10 ui files, works perfectly, so I think you can upload right now :)
[18:57] <\sh> Tonio_: I can't upload it right now :) please apply the patch to python-kde3 and add it to the 00list file and upload :)
[19:01] <Tonio_> oki no pb
[19:02] <\sh> Tonio_: actually I can't upload in general :)
[19:03] <Tonio_> \sh: lost your gpgp key ?
[19:03] <Tonio_> gpg
[19:04] <\sh> nope
[19:05] <\sh> I'm not a motu or core-dev anymore :)
[19:05] <Tonio_> \sh: NameError: global name 'i18n' is not defined
[19:05] <Tonio_> \sh: that's what I get using the generated file, I think we should import something else when using i18n
[19:09] <\sh> Tonio_: checking the doc...what needs to be done
[19:11] <\sh> Tonio_: from kdecore import i18n
[19:11] <\sh> Tonio_: check the examples in python-kde3-doc
[19:12] <Tonio_> \sh: tested, but that doesn't change anything
[19:13] <Tonio_> \sh: shouldn't we just import * ?
[19:13] <Tonio_> \sh: how does this impact performances ?
[19:14] <\sh> Tonio_: well, quoting Riddell: it doesn't matter ;)
[19:14] <\sh> Tonio_: depends on what you want to do...I think...
[19:14] <Tonio_> \sh: then we should patch your patch :)
[19:14] <\sh> Tonio_: let's see what it does actually
[19:15] <Tonio_> \sh: well if we want to use i18n, we can either load just i18n (which works in fact), or load everything and ensure it works
[19:15] <Tonio_> I'd vote for the second option
[19:15] <Tonio_> dunno if upstream will then accept the patch, that's the problem
[19:15] <\sh> well kdepyuic does  n.write ('from kdecore import KCmdLineArgs, KApplication\n')
[19:15] <\sh> and that's only if we have an app
[19:16] <\sh> so I need to add some code magic
[19:17] <\sh> Tonio_: thinking about it...it's only be needed if you use i18n() for the locales
[19:18] <Tonio_> yep
[19:18] <\sh> Tonio_: so I could add a switch (instead of the introduced one) like --useKDEi18n which adds i18n to the import line for all generated .py files and it would leave it alone when you don't need it
[19:19] <\sh> and adds the -tr i18n to the pyuic call
[19:21] <Tonio_> yep, that would be the idea
[19:21] <\sh> ok...will do it in a few...
[19:27] <\sh> Tonio_: should we default it to true or false?
[19:27] <Tonio_> I'd say yes
[19:27] <Tonio_> i18n is kde default right ? ;)
[19:28] <Tonio_> % strace -e trace=open python /var/lib/python-support/python2.5/guidance-power-manager.py 2>&1 | grep LC_MESSAGES                                                                    [0.11 0.12 - 31% 0%]
[19:28] <\sh> ok..default is true...no problem ,-)
[19:28] <Tonio_> open("/usr/lib/locale/fr_FR.UTF-8/LC_MESSAGES", O_RDONLY) = -1 ENOENT (No such file or directory)
[19:28] <Tonio_> open("/usr/lib/locale/fr_FR.utf8/LC_MESSAGES", O_RDONLY) = 3
[19:28] <Tonio_> open("/usr/lib/locale/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES", O_RDONLY) = 3
[19:28] <Tonio_> open("/usr/share/locale/fr_FR/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
[19:28] <Tonio_> open("/usr/share/locale/fr/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
[19:28] <Tonio_> open("/usr/share/locale-langpack/fr_FR/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
[19:28] <Tonio_> open("/usr/share/locale-langpack/fr/LC_MESSAGES/libc.mo", O_RDONLY) = 10
[19:28] <Tonio_> WHY DOESN4T IT WANT TO LOAD THAT STUPID CATALOG FILE ?????????, !!!!!!!!!!!
[19:28] <Tonio_> that's in the code, but it doesn't work.....
[19:28] <Tonio_> now I understand why it wans't translated....
[19:28] <Tonio_> bad .pot file -> incomplete .po files
[19:29] <Tonio_> bad .py files not using i18n
[19:29] <Tonio_> bad kdepyuic
[19:29] <Tonio_> and finally the catalog loading fails :)
[19:29] <Tonio_> \sh: it was, at least unlikelly to work ^_^
[19:32] <\sh> Tonio_: catch the patch from www.sourcecode.de/~shermann/python-kde3-patches/ and check if this works better :)
[19:32] <Tonio_> oki ;)
[19:35] <\sh> Tonio_: if it works...I'll prepare a debdiff for python-kde3
[19:35] <Tonio_> sure, will do
[19:35] <Tonio_> atm I'm eating, brb and will let you know
[20:09] <\sh> Tonio_: family is calling ... so send me an email or wait for tomorrow with the patch...
[20:09] <ryanakca> nixternal: maybe get the flashgot plugin (for firefox) and go flashgot all at the archive page you want?
[20:09] <Tonio_> \sh_away: sure
[20:21] <Tonio_> Riddell: ping ?
[20:21] <Riddell> hi Tonio_
[20:21] <Tonio_> Riddell: re ;)
[20:22] <Tonio_> Riddell: I went to the point I can say there is something weird in power-manager
[20:22] <Tonio_> Riddell: I have a working .po file with french translations for each guidance component
[20:22] <Tonio_> but power-manager refuses to load ANY kde Catalog
[20:22] <Tonio_> Riddell: I suspect there is something weird in the program structure
[20:23] <Tonio_> Riddell: look by yourself :
[20:23] <Tonio_> ho and btw I don't understand how are the translations loaded
[20:23] <Riddell> klocale loads the .mo file
[20:23] <Tonio_> Riddell: I disabled (removed) the displayconfig insertCatalog line, but the translation is still loaded
[20:23] <jjesse> >
[20:24] <Riddell> strace can tell you which it tries to load
[20:24] <Tonio_> Riddell: done and here is the result, you'll be amazed I guess, look at that :
[20:25] <Tonio_> % grep -re Catalog displayconfig.py                                                                                                                                                  [0.01 0.08 - 31% 0%]
[20:25] <Tonio_>         # KGlobal.locale().insertCatalogue("guidance")
[20:25] <Tonio_> as you can see it is disabled
[20:25] <Tonio_> % strace -e trace=open python /var/lib/python-support/python2.5/displayconfig.py 2>&1 | grep guidance.mo                                                                             [0.01 0.07 - 31% 0%]
[20:25] <Tonio_> open("/usr/share/locale-langpack/fr/LC_MESSAGES/guidance.mo", O_RDONLY|O_LARGEFILE) = 10
[20:25] <Tonio_> but it's loaded
[20:26] <Tonio_> I can see lots of kde catalogs loaded :
[20:26] <Tonio_> http://pastebin.com/m640b762e
[20:26] <Tonio_> here's the all list
[20:26] <Tonio_> with powermanager :
[20:27] <Tonio_> http://pastebin.com/m261babe5
[20:27] <Tonio_> only libc.mo is loaded
[20:27] <Tonio_> not even kdelibs.mo.....
[20:28] <Tonio_> Riddell: that's why I suspect some other problem with it
[20:28] <Tonio_> also I don't understand how can displayconfig load the catalog if disabled
[20:28] <Tonio_> that's a non-sense for me
[20:29] <Tonio_> Riddell: so if you have an idea................. that would be nice, since I have done I think all I could to make that to work....
[20:31] <Tonio_> Riddell: I am now wondering is there is some kind of cache with python (pyc files already removed), cause I don't understand how a catalog can be loaded without any kind of locale() call....
[20:32] <Riddell> Tonio_: it depends on how it's loaded, e.g. if it's through system settings, or kcontrol or kcmshell
[20:32] <Riddell> .pyo files?
[20:34] <Tonio_> Riddell: pyc, not pyo ?
[20:35] <Tonio_> Riddell: loaded from the shell only, starting the .py file manually
[20:35] <Tonio_> strace -e trace=open python /var/lib/python-support/python2.5/displayconfig.py 2>&1 | grep guidance.mo
[20:36] <Tonio_> Riddell: as you can see, just starting the script with python loads the catalog, even if the code doesn't......
[20:36] <Tonio_> that's where I get lost
[20:38] <ScottK> Tonio_: Do you have any interest in trying to maintain Klamav in Debian?  It looks to me like the Debian maintainer has abandoned the package and may be MIA.
[20:38] <ScottK> I'm interested to do it, but since you packaged it, I thought I ought to check and see if you were interested first.
[20:39] <Tonio_> ScottK: I have no upload rights in debian, and to be honnest, bad experience working with a sponsor :)
[20:39] <Riddell> Tonio_: ah well there you go
[20:40] <ScottK> I'll take that as a no then.
[20:40] <Riddell> Tonio_: if you load it through kcmshell etc then it tries to load the .mo files with that associated name
[20:40] <Tonio_> ScottK: I will still maintain the package in debian
[20:40] <Tonio_> ScottK: charge for debian to merge ;)
[20:40] <Tonio_> ScottK: s/in debian/in ubuntu
[20:41] <Tonio_> Riddell: oki but how can that work if I load it from nowhere, just command line to python myscript.py
[20:41] <ScottK> OK.  Good enough.  I'll let you know if I get something worked out for Debian.
[20:41] <Tonio_> btw, the mo file name is "guidance" not "displayconfig"
[20:41] <Tonio_> Riddell: that's just completly crazy for me..... I hate automagic things
[20:42] <Tonio_> ScottK: sure
[20:48] <Riddell> Tonio_: there will be a KApplication()
[20:48] <Riddell> that has an app name passed to it
[20:48] <Riddell> maybe as part of KAboutData()
[20:48] <Riddell> that name is used to load the .mo file
[20:48] <Tonio_> Riddell: I was just testing this right now
[20:49] <Tonio_> Riddell: I completly disabled the catalog loading in the all code -> still works, now the about data thing :)
[20:50] <Tonio_> Riddell: that's it
[20:52] <Tonio_> Riddell: looks like the all insertCatalog things are useless then
[20:52] <Riddell> Tonio_: umm, why?
[20:52] <Tonio_> Riddell: I'll try to get that fixed tomorrow
[20:52] <Tonio_> Riddell: they are ignored
[20:52] <Riddell> it's still needed for loading through system settings
[20:53] <Tonio_> hum lemme test
[20:53] <Tonio_> hum right
[20:53] <Tonio_> Riddell: all I should do then is adding the correct about infos to power-manager then ?
[20:54] <nosrednaekim> ping mhb
[20:54] <Tonio_> Riddell: but why aren't the other mo files (like kdelibs.mo) loaded ?
[20:54] <Tonio_> Riddell: not only the guidance.mo is needed
[20:55] <Tonio_> Riddell: I suspect for example at least the "ok" and "cancel" buttons should be translated no ?
[20:55] <Riddell> dunno that
[20:55] <Riddell> what do other kde apps load?
[21:04] <yuriy> mornfall: ping
[21:06] <mornfall> yuriy: semi-pong
[21:06] <mornfall> Be quick, I have to go soonish.
[21:08] <yuriy> mornfall: ok then i'll skip the more specific stuff. i don't have somewhere to serve a darcs branch off of, so what would be a good way for me to start making changes and commit them somewhere you could easily get to?
[21:09] <mornfall> yuriy: I will set up darcs send tomorrow, is that okey? (That would mail the patches to me in an applicable form.)
[21:09] <yuriy> mornfall: ok
[21:10] <mornfall> yuriy: You could shoot the more specific stuff as well, if you are willing to risk that answers may come only tomorrow.
[21:11] <Tonio_> Riddell: it works !
[21:11] <Tonio_> finally......
[21:12] <Tonio_> Riddell: would you suggest a separate po file or patching power-manager to have "guidance" in KAboutdata ?
[21:13] <Tonio_> Riddell: patching is easier, but you decide
[21:13] <yuriy> mornfall: ok: wrt my .cpp comment, one of the difficult parts about working with adept has been that it's not too clear what's where, and in the new one there are already 3 entire classes in each .h and I'm concerned that it's already getting confusing
[21:14] <mornfall> yuriy: Okey, that's a side-effect of mostly running alone and being in hurry (and keeping most of that stuff in my mind).
[21:14] <mornfall> yuriy: Not really hard to fix though (that's why I defer doing it, mostly).
[21:15] <yuriy> mornfall: and my more specific question is why are fill() and fillList() in AdeptManager? I was thinking it would make sense to extend a Q...Model and add those there
[21:16] <mornfall> yuriy: That's subject of further refactoring as well.
[21:17] <mornfall> yuriy: When AdeptManager becomes bigger, things will be offloaded that make sense. It doesn't however make that much sense to do too much design upfront.
[21:17] <yuriy> mornfall: ok, thanks.
[21:17] <mornfall> I got to be quick, my schedule is pretty tight : - ).
[21:18] <mornfall> yuriy: If you will be around tomorrow, we can talk in more detail. And thanks for both feedback and interest.
[21:18] <mornfall> Goodnight...
[21:18] <yuriy> mornfall: heh, me too. but that's why i'm concerned about making it easy for other people to work with: so that others can easily take over
[21:18] <yuriy> good night
[21:43] <mhb> Tonio_: we don't, because it would need some love nobody is able to provide
[21:44] <Tonio_> mhb: oki
[21:45] <Tonio_> mhb: sad, but honnest :/
[21:46] <Tonio_> mhb: at least guidance-power-manager will now have translations :)
[21:46] <Tonio_> mhb: 8 hours on that bug, but I (with the help of riddell- found it :)
[21:46] <Tonio_> 2 years I wanted to fix it hehe =)
[21:46] <mhb> good news
[21:50] <fdoving> Tonio_: nice work, 8 more hours and you have a qt4 version ready? :)
[21:50] <Tonio_> lol
[22:01] <fdoving> hum, doesn't dolphin in kde4 support servicemenus anymore? - i can't make them appear anywhere.
[22:49] <nixternal> imbrandon: -j3 or -j4 for dual-core and gnu make?
[22:49] <nixternal> I thought it was -j $(num_procs) + 1
[22:52] <Riddell> - 1 surely, you want some free capacity
[22:52] <nixternal> so then do -j3 for dual core then
[22:53] <nosrednaekim> ok, so I wrote up a xession.d script which checks for a file in .kde. problem is I don't have kde3 to test with.
[22:53] <nixternal> lol
[22:53] <nosrednaekim> (this is for autostarting compiz)
[22:53] <nixternal> I am installing kde4 via svn on my dual-core box so I can work on a new help app for kde4
[22:54] <blizzzek> gn8
[22:55] <nosrednaekim> would someone test it for me?
[23:01] <nosrednaekim> hmmm it crashes kde4. something to do with an autostarted session of compiz trying to replace the WM (hich is compiz)
[23:02] <iRon> nosrednaekim: i could test it on kde3.. where is it?
[23:02] <nosrednaekim> iRon: its just one file, I'll pastebin it..
[23:03] <nosrednaekim> !pastebin
[23:03] <ubotu> pastebin is a service to post large texts so you don't flood the channel. The Ubuntu pastebin is at http://paste.ubuntu-nl.org (make sure you give us the URL for your paste - see also the #ubuntu channel topic)
[23:03] <iRon> ok.. waiting..
[23:04] <mhb> just 55 minutes until KDE4 freeze!
[23:04] <nosrednaekim> it needs to be written to /etc/X11/Xsession.d/25compiz-enable
[23:04] <mhb> nosrednaekim: you called?
[23:05] <nosrednaekim> mhb: yeah... what I was trying to work with your QT4 GUI for the compiz config...
[23:05] <nosrednaekim> iRon: http://paste.ubuntu-nl.org/50653/
[23:06] <nosrednaekim> mhb: what signal is emitted when you click the apply button?
[23:06] <nosrednaekim> mhb: I tried "accepted()" but that didn't do anything.
[23:06] <iRon> nosrednaekim: k, hang on..
[23:06] <mhb> it must be accept() or something like that
[23:07] <mhb> did I just implement close() in the code?
[23:07] <nosrednaekim> iRon: then run "touch ~/.kde/share/config/compizasWM"
[23:07] <nosrednaekim> mhb: yes
[23:09] <fdoving> mhb: does servicemenus work for you, in kde4? (either dolphin or konq? )
[23:09] <mhb> nosrednaekim: void accepted ()
[23:09] <mhb> nosrednaekim: that should be it, according to the Qt docs
[23:10] <nosrednaekim> mhb: yeah...but it doesn't do anything :(
[23:10] <mhb> you mean it is not passed correctly?
[23:11] <mhb> nosrednaekim: do you have any branch I can test?
[23:11] <nosrednaekim> mhb: no....but I can DCC you the file
[23:12] <nosrednaekim> and I have to get going soon.
[23:12] <mhb> no dcc
[23:12] <mhb> mail is better
[23:12] <yuriy> do i have to do anything for kubuntu email to start working?
[23:12] <nosrednaekim> ok...i'll mail it when I get back tonight.
[23:12] <Jucato> yuriy: did you add yourself to the kubuntu members LP team?
[23:13] <yuriy> Jucato: yep, i'm on it
[23:13] <nosrednaekim> thanks mhb! bye
[23:13] <Jucato> yuriy: oh and btw congrats! sorry I wasn't there to give my +1 :/
[23:13] <yuriy> thanks Jucato
[23:13] <Jucato> hm... usually it takes ~24 hours...
[23:13] <mhb> nosrednaekim: no problem
[23:13] <yuriy> oh ok (hastn't been)
[23:13] <Jucato> yuriy: how are you testing?
[23:14] <yuriy> Jucato: sent an email from my brandeis.edu email
[23:14] <Jucato> oh... hm...
[23:14] <Jucato> lemme see...
[23:14] <mhb> yuriy: be patient I guess
[23:15] <mhb> I tried sending you an email, got rejected.
[23:15] <Jucato> yuriy: yuriy-kozlov@ubuntu.com ?
[23:16] <Jucato> (based on your LP account)
[23:17] <imbrandon> nixternal: -j4 ( cores * 2 )
[23:18] <Riddell> why would you have any more processes than you had cores?
[23:19] <imbrandon> Riddell: no idea, but thats what all the tutorals say
[23:19] <iRon> Riddell: this is usefull only for small files, when console output takes more time then compilation time.. :)
[23:24] <nixternal> holy smokes, using -j3 is way faster than using -j2 on a dual core
[23:24] <nixternal> with -j2 I could usually make sense of what was flying on the screen, now, it is all a white blur
[23:26] <fdoving> i use -j3 on a dualcore, haven't tried -j4.
[23:28] <nixternal> in 5 minutes, kdelibs is already 50% complete
[23:28] <fdoving> i like the new oxygen splash.
[23:28] <nixternal> ya, it is nice
[23:29] <fdoving> now i just need to modify the kubuntu bootsplash to only show the progress-bar.
[23:29] <fdoving> and make kdm look nice.
[23:29] <fdoving> the polished systemsettings also look way better.
[23:44] <nixternal> do you smell that? 15 minutes until kde4 tag-you're-it time!
[23:45] <Riddell> I suspect dirk isn't doing to do it at midnight utc
[23:45] <nixternal> heh, ya cuz everyone is rushing last minute to get their stuff in
[23:45] <nixternal> right apachelogger? :p
[23:46] <apachelogger> nixternal: I'm not oxygen's manager :P
[23:46] <nixternal> but you are rushing last minute to upload aren't ya? :)
[23:46]  * apachelogger notes: such last minute commits wouldn't happen @ amarok ;-)
[23:46] <nixternal> hahahaha
[23:47] <apachelogger> nixternal: yeah, cause they just noticed that they forgot to commit the wallies
[23:47] <Nightrose> hehe right apachelogger would do bad things to the person doing that
[23:47] <nixternal> oh man
[23:47] <nixternal> I just want that one wallpaper and I will be happy
[23:47] <nixternal> actually there are 2 that I want
[23:48] <apachelogger> well
[23:48] <apachelogger> 50 MiB of wallpapers
[23:48] <apachelogger> might be enough :P
[23:48] <nixternal> oh jeesh
[23:48] <nixternal> you want to split that up and I can help you push them or something?
[23:48] <apachelogger> everything up already
[23:48] <nixternal> oh
[23:49] <apachelogger> just commited the last name fix
[23:49] <apachelogger> ..hopefully..
[23:49] <nixternal> groovy
[23:49] <nixternal> those got pushed to kdebase right?
[23:49] <apachelogger> yep
[23:49] <nixternal> so I will svn up that badboy before I build it here after pimlibs
[23:49] <apachelogger> hrrhrr :D
[23:50] <nixternal> I just got the PDF info for Chicago's Flourish conference in April...going to be amazing! and huge
[23:50] <nixternal> hopefully Jono will go ahead and commit to be a speaker already
[23:51] <nixternal> if not, oh man do I feel for Ubuntu love going down the drain
[23:52] <nixternal> apachelogger: what revision just you push? 756939?
[23:52] <nixternal> ya I can talk
[23:52] <nixternal> s/just/did
[23:53] <apachelogger> 757018 should be the latest
[23:53] <apachelogger> with cmakelists updates and stuff
[23:53] <nixternal> whoa
[23:53] <nixternal> big time updates are going on then
[23:53] <nixternal> here come your wallpapers
[23:54] <nixternal> could they be any damn bigger?
[23:54] <fdoving> could that server be any damn slower?
[23:54] <nixternal> this svn up reminds me of a windows update
[23:54] <apachelogger> lol
[23:54] <apachelogger> nixternal: 6 sizes
[23:54] <apachelogger> for every possible resolution
[23:54] <nixternal> I see
[23:55]  * apachelogger actually thinks there should be some moving after tagging
[23:55] <apachelogger> like but some of the sizes to kdeartwork or something
[23:55] <nixternal> looks like tagging is on hold possibly
[23:55] <apachelogger> 50mib just wallpapers is a lot
[23:55] <nixternal> watching #kde4-devel