/srv/irclogs.ubuntu.com/2008/01/03/#kubuntu-devel.txt

niveknixternal: You there?00:13
nixternalwhat's up?00:13
fdovingnite.00:13
nixternalnite fdoving00:13
nivekSome 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:13
stdinyes, I saw00:14
nixternalhe's mine stdin, back off :p00:14
nivekstdin: Ah, I'm sorry! I didn't see your name on the access list when I first looked. I do now.00:14
stdinhe's calming down now, but I was *just* about to remove...00:14
nixternalhehe00:15
nixternalwarn, then quiet, then remove :)00:15
stdinI warned, but he swore 3 more times as I was typing the warning :p00:15
nixternalhahaha00:16
nivekAnyway, thanks, both of you. :D00:16
stdinnivek: if you think there's no one around in #kubuntu and you need help, poke someone in #ubuntu-ops00:17
nivekstdin: 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 :P00:17
stdinyou're not an real op untill your first kick/ban :)00:18
nivekhaha00:18
=== jpetso_away is now known as jpetso
Riddellmhb: sorry, my internet broke00:28
* Jucato read that as "bloke"....00:28
Riddellnosrednaekim: so you need a script in /etc/X11/Xsession.d/ which reads a setting you write somewhere00:29
Riddellmaybe ~/.kde/00:29
Riddellor ~/.compiz00:29
Riddelldoesn't really matter00:29
Riddelland that sets $KDEWM which gets picked up by startkde00:29
Riddellnosrednaekim: compiz ought to fall back to kwin, that it sometimes doesn't is a bug bug that can be fixed00:29
nosrednaekimRiddell: ok... thanks!00:30
=== Jucato is now known as Jucato_
=== Jucato_ is now known as Jucato
=== \sh is now known as \sh_away
Hobbseeright.  i should be able to install kde4 now :)01:57
Hobbseeis it worht installing?01:57
Hobbseeoh, shit.  i missed the meeting again01:58
Jucatooh frack!01:59
Hobbseeno stuff to the ML about it either.  i wonder if it even happened02:00
Jucatome too02:01
JucatoI don't think it was kinda nice to have it scheduled the day after new year :)02:02
hadsIt did happen02:03
Jucatopfft :(02:04
nosrednaekimit happened..02:08
nosrednaekimyuriy was accepted.. and that about all that happened02:09
nosrednaekimlater all02:09
* Hobbsee ponders waiting until the kde4 actual release03:01
Jucato8 days :)03:03
Jucatoor you can wait when it's tagged at least? :)03:03
nixternalanyone know an easy way to add a line edit to a toolbar in qt4-designer?03:04
Jucato:(03:09
* Jucato doesn't know....03:10
nivekHobbsee: You didn't miss much as far as the meeting went. One new member and one item on the agenda :P </late>03:40
Hobbseenivek: fair enough03:40
nivekYou want a log?03:40
nivekhttp://pastebin.com/m4f4b64dc If so.03:43
Hobbseethanks03:45
* dasKreech waves04:17
Hobbseeheya dasKreech04:20
Jucatohiya dasKreech! :)04:20
=== awen_ is now known as a
dasKreechHey Jucato!04:22
=== a is now known as awen_
=== BobbySponge is now known as krwk
=== apachelogger__ is now known as apachelogger
mornfallyuriy: Well, eventually, I may move the methods to .cpp files. It's just more comfortable this way.09:09
mornfallyuriy: At least for now.09:09
Tonio_hi there10:27
Riddellrebonjour Tonio_10:27
Tonio_bonne année Riddell !10:29
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, broken10:30
Tonio_Riddell: I found the problem with guidance power manager10:31
Tonio_Riddell: the problem is outdated .pot file10:31
Tonio_Riddell: I have a few questions on that point10:31
Tonio_Riddell: is there a way to import the pot in rosetta for the package's page ?10:32
Riddellrosetta will import it when you upload10:32
Tonio_Riddell: no admin/ folder in rosetta, so no way to patch10:32
Tonio_Riddell: it was never imported in fact10:32
Tonio_Riddell: I also have to fix powermanager code a bit to include some missing i18n() things10:33
Tonio_https://edge.launchpad.net/ubuntu/+source/kde-guidance10:33
Tonio_Riddell: as you can see, there is no translation entry in it10:34
Riddellhttps://translations.edge.launchpad.net/ubuntu/gutsy/+source/kde-guidance/10:34
Tonio_Riddell: hum weird...10:34
Tonio_Riddell: oki let's patch guidance then10:35
Tonio_and include an updated pot file10:35
Tonio_Riddell: just a little question concerning guidance, again10:40
Tonio_Riddell: I see both __tr() and i18n() are used, but never together, is there a reason to this ?10:41
Tonio_self.screensavergroup.setTitle(self.__tr("Enable screensaver"))10:43
Tonio_here an example10:43
Tonio_I suspect we should use self.screensavergroup.setTitle(self.__tr(i18n("Enable screensaver")))10:43
RiddellTonio_: is the tr() used in files made from .ui files?10:47
Tonio_not only10:47
Tonio_Riddell: you have it in the standard guidance-power-manager.py for example10:48
Tonio_Riddell: I try to use i18n in it, and if it works, then will patch everything10:48
RiddellTonio_: probably a mistake then10:49
Tonio_yup10:49
Tonio_Riddell: patch is done, but I can seem to build the .mo file manually11: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 files11:43
Tonio_Riddell: even local debuild -nc doesn't built it...11:44
RiddellTonio_: I don't know if they've ever built as part of the package11:46
Riddellthey'll build as part of the language pack of course11:46
Riddellyou can try and work out the gettext command to compile them11:47
Tonio_Riddell: the debian package should contain the commands right ?11:47
Tonio_Riddell: debian doesn't have our langpacks mecanism afaik ?11:47
Tonio_maybe kbabel can do it btw11:48
=== \sh_away is now known as \sh
Riddellthe debian package shouldn't be much different from ours11:53
Tonio_oki11:54
* Tonio_ is happy, no new bugs posted with the latest kdesudo12:11
Tonio_fdoving: ^_^12:11
=== claydoh_ is now known as claydoh
Tonio_Riddell: the problem looks more complex in fact12:29
Tonio_the .ui file generates a ui.py file automatically, which doesn't contain any i18n strings12:29
RiddellI did ask if that's where they came from12:30
Riddelluic has a flag to change that translation function12:30
Tonio_tht's it indeed12:30
Riddellnot sure if pyuic does12:30
Tonio_Riddell: what is the flag for the standard uic please ?13:04
Riddell  -tr <func>                use func() for i18n13:07
RiddellTonio_: ^^13:07
Tonio_okay suprt13:08
Tonio_Riddell: I was searching for i18n and not internationalisation, shame on me.....13:09
Tonio_Riddell: you can blame me :)13:09
Tonio_Riddell: seems to work, testing13:17
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-messages13:27
Tonio_this cannot work, as there is no admin folder in it13:27
Tonio_btw this isn't supposed to work with .py afaik13:28
Riddellwouldn't imagine it could13:30
Tonio_Riddell: that's from debian/rules ;)13:31
Tonio_Riddell: fixing to something that will work13:32
Tonio_Riddell: seems to work ;)13:47
Tonio_Riddell: btw, there are fixes that I'd rather have in the tarball13: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 ?13:47
=== \sh is now known as \sh_away
=== keffie_jayx is now known as effie_jayx
RiddellTonio_: can do14:14
RiddellTonio_: there's a patch in dholbach's patch queue too i think14:14
Tonio_Riddell: great14:17
Tonio_Riddell: http://pastebin.com/m62574e6514:18
Tonio_Riddell: here-s the patch14:18
Tonio_Riddell: I'll ping dholbach once available, but I'll release a new package as soon as you have commited14:19
Tonio_as well as a new kdebluetooth ans a new knm14:19
Tonio_Lure: wasn't knetworkmanager 2.1 in the pipe for month ? ;)14:30
LureTonio_: I thought so too, but not sure where it got stuck. You may want to ask on mailing list14:31
Tonio_sure14:31
Tonio__grmpf, bad internet connexion today15:07
=== Tonio__ is now known as Tonio_
Riddellhttps://bugs.edge.launchpad.net/ubuntu/+source/kde-guidance/+bug/177366t15:16
ubotuLaunchpad bug 177366 in kde-guidance "misspelling found - lowercase 'w' in 'wine'" [Low,Triaged]15:16
Riddellhttps://bugs.edge.launchpad.net/ubuntu/+source/kde-guidance/+bug/17736615:16
RiddellTonio_: I've applied your patch and that one to svn15:23
Tonio_Riddell: super15:29
Tonio_Riddell: building the new package, and then trying to fix ark :/15:29
Tonio_Riddell: I noticed the current gutsy version of kdesudo causes lots of problems, as lots of bugs have been fix15:30
Tonio_Riddell: shouldn't we consider a security update ?15:30
Tonio_or even a backport15:30
Riddellbackport sure15:30
RiddellI doubt it'll pass security15:30
Tonio_Riddell: well the bad args parsing was a potential security issue...15:31
Tonio_but yeah, few changes it passes security ;)15:31
Tonio_Riddell: also with security, the minimum code changes are required right ? then no need to even think about it :)15:33
RiddellTonio_: right15:37
RiddellTonio_: kdebase/4:3.5.8-2ubuntu10 broke15:43
Tonio_Riddell: yeah, the patch was doubled in the patch/ fodler15:47
Tonio_Riddell: already uploaded a ubuntu1 version that builds15:47
bddebianHeya16:04
jjesseboo :)16:04
nosrednaekimEEEK!16:05
Tonio_hi everyone16:07
jjessehello Tonio_16:07
bddebian:-)16:08
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 bit16:11
RiddellTonio_: 10 minutes usually16:12
Tonio_okay16:12
Tonio_Riddell: well it was 38 minutes ago ;)16:12
=== neversfelde_ is now known as neversfelde
RiddellTonio_: definately there http://websvn.kde.org/branches/extragear/kde3/utils/guidance/16:18
=== \sh_away is now known as \sh
Tonio_Riddell: yeah, doing manually is another option ;)16:20
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:25
Riddellhrm16:31
RiddellTonio_: it's definatly in svn16:33
Riddellhttp://kubuntu.org/~jriddell/tmp/wineconfig.py16:33
Tonio_Riddell: http://websvn.kde.org/*checkout*/branches/extragear/kde3/utils/guidance/wineconfig/wineconfig.py16:34
Tonio_Riddell: not updated here at least, I can't see the fix in it16:34
Riddellshrug, slow sync16:34
Riddellmaybe due to the mega icon commits16: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 tree16:35
mhbRiddell: so could you answer my question now, please? I asked about the KDE4 Hardy CD and when it is ready (to be tested)16:36
Riddellmhb: it's blocked on seeds being reorganised16:40
mhbRiddell: that is so last year :o) just joking, but the answer was the same before Christmas.16:41
Riddellmhb: I doubt colin spent his christmas rearranging seeds16:42
ryanakcamhb: is mhb.ath.cx down?16:43
mhbryanakca: no16:44
mhbRiddell: right, here's hoping that he might spens some time in January about it :o)16:44
Tonio_Riddell: don't we want the grubconfig guidance tool ?16:50
Tonio_Riddell: it is commented in rules16:50
Riddelldunno, ask mhb16:51
RiddellI believe it wasn't ready last I looked16:51
Tonio_k16:52
Tonio_mhb: ping ? ;)16:52
Tonio_Riddell: last (sorry) question about the rules file17:00
Tonio_Riddell: why did you use kdepyuic instead of the standard pyuic ?17:00
Tonio_Riddell: kdepyuic doesn't seem to allow the usage of parameters like -tr for example17:01
Tonio_Riddell: is it of any use for the program ?17:01
RiddellTonio_: well they're KDE apps, I suspect they don't work with the qt pyuic17:01
nosrednaekimyeah, the standard pyuic doesn't work with KDE classes/eidgets17:02
Tonio_hum, I then have to find a way to make kdepyuic use -tr instead17:04
Tonio_Riddell: afaiu that to generate pykde .py compatible files right ?17:04
RiddellTonio_: you can just use sed17:05
Riddells/tr\(/i18n\(/17:05
Tonio_Riddell: right17:06
\shTonio_: 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 correctly17:28
\shTonio_: if not, it's a bug ,-)17:29
Tonio_\sh: then, a bug it is :)17:30
Tonio_\sh: kdepyuic doesn't allow to set options in fact, only 3 are available17:30
\shTonio_: kdepyuic has the -tr <func> switch17:31
\sh(pykde3)17:31
Tonio_\sh: it hasn't, the switch is for pyuic17:32
\shTonio_: http://pastebin.ubuntu-nl.org/50608/17:32
Tonio_\sh: the output you see is the pyuic output17:33
\shTonio_: hehe...kdepyuic is just a wrapper around pyuic...it inherits all stuff from pyuic and adds kde stuff too17:33
Tonio_\sh: look carefully to the output, you have both in a raw, buggy17:33
\shTonio_: yes...but it should call pyuic17:33
Tonio_\sh: basically kdepyuic allows 3 options : -a -i and -p17:33
Tonio_\sh: it does, but there is no way to add specific options for pyuic17:34
Tonio_Riddell: interesting, the .py files you generate with kdepyuic are not installed17:35
Tonio_Riddell: those in the current package are done with the build system with pyuic17:35
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 instead17:36
\shTonio_: give me a sec...tryingf17:36
Tonio_\sh: sure17:36
Tonio_\sh: would be nice if I could avoid the sed :)17:37
Tonio_\sh: already tried -p "pyuic --tr i18n" fyi17:38
Tonio_Riddell: looks like our powermanager app is not a kde but a qt application :)17:38
Tonio_at least the ui17:39
\shTonio_: -p is just the path to pyuic17:39
\shTonio_: I see now...it's a bug in kdepyuic...we should fix it ,-)17:39
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:40
\shTonio_: I would say, regarding the fact that kde is just using i18n, we should add a "-tr i18n" to opts = ' -o ' in doPyuic17:41
\shor adding an option to it directly and adding a conditional to doPyUic...17:41
\shRiddell: any objections?17:42
Tonio_\sh: well it isn't that simple17:43
Tonio_\sh: that'll generate i18n entries in the code, but the catalog should be loaded too17:43
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
\shTonio_: 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 upstream17:44
Tonio_\sh: and that I don't know how to do it correctly17:45
\shTonio_: that should be done at application lvl...17:45
Tonio_then just one line after loading kglobal should be enough17:45
Tonio_\sh: I'm all for that17:46
Tonio_\sh: I can wait for the fix to release guidance then17:46
\shTonio_: well, I'll propose a patch for it...and you can test it...I'll upload pykde3 to my ppa17:47
Tonio_\sh: stupid question, but how will you now the catalog name to load ? ;)17:47
Tonio_\sh: KGlobal.locale().insertCatalogue("guidance") for example17:47
\shTonio_: as I said..this should be done at app lvl...not in pykdeuic ...17:47
Tonio_\sh: but how will that be done for a py file generated from a ui file ?17:48
Tonio_ho you mean that this file is imported and then it should work ?17:49
\shTonio_: as it is global, it should inherit everything from top...yes17:49
* Tonio_ isn't a python expert17:49
Tonio_oki17:49
* \sh neither regarding locales .-)17:49
\shbut thinking of qt/kde libs in general, where you do this as well in main somehow...it should be the same17:50
Tonio_yep, understood17:50
Tonio_\sh: I'll wait for your patch then17:50
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:53
\shTonio_: well, I'm doing it correctly..adding the opt to the toplvl options...and feed it as conditional to DoPyUic17:54
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 :)17:55
\shTonio_: sure18:02
\shTonio_: pykde3 is in my ppa...just waiting to build...python-kde3 - 3.16.0-4ubuntu1~ppa1 is the version...for hardy...add18:11
\shdeb http://ppa.launchpad.net/shermann/ubuntu hardy main18:11
\shdeb-src http://ppa.launchpad.net/shermann/ubuntu hardy main18:11
Tonio_\sh: that will not globally fix our issues since pykdeextensions uses pyuic to build ui files18:11
Tonio_\sh: grep -re uic /usr/share/python-support/pykdeextensions18:11
\shTonio_: if it works ok...just use the kubuntu_04_kdepyuic_i18n.dpatch from it18:11
\shTonio_: we need to fix this too ,-)18:11
Tonio_\sh: I'll test18:12
Tonio_\sh: I guess it should check for kdepyuic in the first place18:12
\shTonio_: it needs a dep on python-kde3-dev ;)18:13
Tonio_what needs that dep ?18:13
\shTonio_: everything what needs to use kdepyuic18:14
Tonio_so if I have python-kde3-dev installed, the setup.py, importing kdedistutils, should use kdepyuic instead ?18:14
Tonio_\sh: I already have it installed18:15
Tonio_\sh: but pyuic is when launching setup.py18:15
\shyepp18:17
Tonio_\sh: doesn't seem to work...18:17
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:18
\shTonio_: patch is at http://www.sourcecode.de/~shermann/python-kde3-patches/18:19
Tonio_\sh: testing this right now18:20
\sh pyuic_exe = find_executable('pyuic',pyqt_configuration.pyqt_bin_dir)18:21
\shhmmm....18:21
=== stanz_ is now known as stanza
\shgive me some time to think about a fix...18:23
Tonio_\sh: your patch seems incomplete18:25
Tonio_I can see the -tr option, but the command doesn't work18:25
Tonio_http://pastebin.com/m3ee140d518:26
=== stanza is now known as stanz
nixternalis it possible to download a KDE mailing list archive?18:30
nixternalyou can do it with Mailman, but KDE uses MARC for their archives and I can't figure it out yet18:31
\shTonio_: pykdeuic -tr i18n ?18:32
Tonio_\sh: yep, fails for me18:33
\shgrmpf...give me some minutes..need to wash dishes first ,-)18:33
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 btw18:34
Tonio_I guess aiptr: wouldn't be welcome :)18:34
Tonio_\sh: I can just test with -t and let you find the fix, gimme a moment18:37
\shTonio_: argl...yeah will fix it in a few...18:39
\shTonio_: fetch it now  from the former location at sourcecode.de18:40
=== neversfelde_ is now known as neversfelde
\shargl...adjusting the help :(18:42
Tonio_\sh: I was about to ay it ;)18:43
\shnow18:43
\sh,-)18:43
Tonio_k18:44
Tonio_\sh: seems to work18:46
Tonio_now the second fix to use kdepyuic and it'll be perfect ;)18:46
Tonio_\sh: wait no there is a problem, looks like i18n hasn't been passed to pyuic18:47
Tonio_I still have __tr based translation in the .py file18:47
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:48
Tonio_\sh: that's it, works this time18:49
\shTonio_: bah...lI'm doomed18:50
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
\shwell, if the fix works now in general...we should add it to the hardy package...18:51
\shand try then to fix the other things18:52
Tonio_\sh: I tested this on 10 ui files, works perfectly, so I think you can upload right now :)18:53
\shTonio_: I can't upload it right now :) please apply the patch to python-kde3 and add it to the 00list file and upload :)18:57
Tonio_oki no pb19:01
\shTonio_: actually I can't upload in general :)19:02
Tonio_\sh: lost your gpgp key ?19:03
Tonio_gpg19:03
\shnope19:04
\shI'm not a motu or core-dev anymore :)19:05
Tonio_\sh: NameError: global name 'i18n' is not defined19:05
Tonio_\sh: that's what I get using the generated file, I think we should import something else when using i18n19:05
\shTonio_: checking the doc...what needs to be done19:09
\shTonio_: from kdecore import i18n19:11
\shTonio_: check the examples in python-kde3-doc19:11
Tonio_\sh: tested, but that doesn't change anything19:12
Tonio_\sh: shouldn't we just import * ?19:13
Tonio_\sh: how does this impact performances ?19:13
\shTonio_: well, quoting Riddell: it doesn't matter ;)19:14
\shTonio_: depends on what you want to do...I think...19:14
Tonio_\sh: then we should patch your patch :)19:14
\shTonio_: let's see what it does actually19:14
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 works19:15
Tonio_I'd vote for the second option19:15
Tonio_dunno if upstream will then accept the patch, that's the problem19:15
\shwell kdepyuic does  n.write ('from kdecore import KCmdLineArgs, KApplication\n')19:15
\shand that's only if we have an app19:15
\shso I need to add some code magic19:16
\shTonio_: thinking about it...it's only be needed if you use i18n() for the locales19:17
Tonio_yep19:18
\shTonio_: 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 it19:18
\shand adds the -tr i18n to the pyuic call19:19
Tonio_yep, that would be the idea19:21
\shok...will do it in a few...19:21
\shTonio_: should we default it to true or false?19:27
Tonio_I'd say yes19:27
Tonio_i18n is kde default right ? ;)19:27
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
\shok..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) = 319:28
Tonio_open("/usr/lib/locale/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES", O_RDONLY) = 319: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) = 1019: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 files19:28
Tonio_bad .py files not using i18n19:29
Tonio_bad kdepyuic19:29
Tonio_and finally the catalog loading fails :)19:29
Tonio_\sh: it was, at least unlikelly to work ^_^19:29
\shTonio_: catch the patch from www.sourcecode.de/~shermann/python-kde3-patches/ and check if this works better :)19:32
Tonio_oki ;)19:32
\shTonio_: if it works...I'll prepare a debdiff for python-kde319:35
Tonio_sure, will do19:35
Tonio_atm I'm eating, brb and will let you know19:35
=== meduxa is now known as toscalix
\shTonio_: family is calling ... so send me an email or wait for tomorrow with the patch...20:09
=== \sh is now known as \sh_away
ryanakcanixternal: maybe get the flashgot plugin (for firefox) and go flashgot all at the archive page you want?20:09
Tonio_\sh_away: sure20:09
Tonio_Riddell: ping ?20:21
Riddellhi Tonio_20:21
Tonio_Riddell: re ;)20:21
Tonio_Riddell: I went to the point I can say there is something weird in power-manager20:22
Tonio_Riddell: I have a working .po file with french translations for each guidance component20:22
Tonio_but power-manager refuses to load ANY kde Catalog20:22
Tonio_Riddell: I suspect there is something weird in the program structure20:22
Tonio_Riddell: look by yourself :20:23
Tonio_ho and btw I don't understand how are the translations loaded20:23
Riddellklocale loads the .mo file20:23
Tonio_Riddell: I disabled (removed) the displayconfig insertCatalog line, but the translation is still loaded20:23
jjesse>20:23
Riddellstrace can tell you which it tries to load20:24
Tonio_Riddell: done and here is the result, you'll be amazed I guess, look at that :20:24
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 disabled20: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) = 1020:25
Tonio_but it's loaded20:25
Tonio_I can see lots of kde catalogs loaded :20:26
Tonio_http://pastebin.com/m640b762e20:26
Tonio_here's the all list20:26
Tonio_with powermanager :20:26
Tonio_http://pastebin.com/m261babe520:27
Tonio_only libc.mo is loaded20:27
Tonio_not even kdelibs.mo.....20:27
Tonio_Riddell: that's why I suspect some other problem with it20:28
Tonio_also I don't understand how can displayconfig load the catalog if disabled20:28
Tonio_that's a non-sense for me20:28
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:29
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:31
RiddellTonio_: it depends on how it's loaded, e.g. if it's through system settings, or kcontrol or kcmshell20:32
Riddell.pyo files?20:32
Tonio_Riddell: pyc, not pyo ?20:34
=== apachelogger_ is now known as apachelogger
Tonio_Riddell: loaded from the shell only, starting the .py file manually20:35
Tonio_strace -e trace=open python /var/lib/python-support/python2.5/displayconfig.py 2>&1 | grep guidance.mo20:35
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 lost20:36
ScottKTonio_: 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
ScottKI'm interested to do it, but since you packaged it, I thought I ought to check and see if you were interested first.20:38
Tonio_ScottK: I have no upload rights in debian, and to be honnest, bad experience working with a sponsor :)20:39
RiddellTonio_: ah well there you go20:39
ScottKI'll take that as a no then.20:40
RiddellTonio_: if you load it through kcmshell etc then it tries to load the .mo files with that associated name20:40
Tonio_ScottK: I will still maintain the package in debian20:40
Tonio_ScottK: charge for debian to merge ;)20:40
Tonio_ScottK: s/in debian/in ubuntu20:40
Tonio_Riddell: oki but how can that work if I load it from nowhere, just command line to python myscript.py20:41
ScottKOK.  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 things20:41
Tonio_ScottK: sure20:42
RiddellTonio_: there will be a KApplication()20:48
Riddellthat has an app name passed to it20:48
Riddellmaybe as part of KAboutData()20:48
Riddellthat name is used to load the .mo file20:48
Tonio_Riddell: I was just testing this right now20:48
Tonio_Riddell: I completly disabled the catalog loading in the all code -> still works, now the about data thing :)20:49
Tonio_Riddell: that's it20:50
Tonio_Riddell: looks like the all insertCatalog things are useless then20:52
RiddellTonio_: umm, why?20:52
Tonio_Riddell: I'll try to get that fixed tomorrow20:52
Tonio_Riddell: they are ignored20:52
Riddellit's still needed for loading through system settings20:52
Tonio_hum lemme test20:53
Tonio_hum right20:53
Tonio_Riddell: all I should do then is adding the correct about infos to power-manager then ?20:53
nosrednaekimping mhb20: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 needed20:54
Tonio_Riddell: I suspect for example at least the "ok" and "cancel" buttons should be translated no ?20:55
Riddelldunno that20:55
Riddellwhat do other kde apps load?20:55
yuriymornfall: ping21:04
mornfallyuriy: semi-pong21:06
mornfallBe quick, I have to go soonish.21:06
yuriymornfall: 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:08
mornfallyuriy: I will set up darcs send tomorrow, is that okey? (That would mail the patches to me in an applicable form.)21:09
yuriymornfall: ok21:09
mornfallyuriy: You could shoot the more specific stuff as well, if you are willing to risk that answers may come only tomorrow.21:10
Tonio_Riddell: it works !21:11
Tonio_finally......21:11
Tonio_Riddell: would you suggest a separate po file or patching power-manager to have "guidance" in KAboutdata ?21:12
Tonio_Riddell: patching is easier, but you decide21:13
yuriymornfall: 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 confusing21:13
mornfallyuriy: 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
mornfallyuriy: Not really hard to fix though (that's why I defer doing it, mostly).21:14
yuriymornfall: 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 there21:15
mornfallyuriy: That's subject of further refactoring as well.21:16
mornfallyuriy: 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
yuriymornfall: ok, thanks.21:17
mornfallI got to be quick, my schedule is pretty tight : - ).21:17
mornfallyuriy: If you will be around tomorrow, we can talk in more detail. And thanks for both feedback and interest.21:18
mornfallGoodnight...21:18
yuriymornfall: 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 over21:18
yuriygood night21:18
mhbTonio_: we don't, because it would need some love nobody is able to provide21:43
Tonio_mhb: oki21:44
Tonio_mhb: sad, but honnest :/21:45
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
mhbgood news21:46
fdovingTonio_: nice work, 8 more hours and you have a qt4 version ready? :)21:50
Tonio_lol21:50
=== wolfger_ is now known as wolfger
fdovinghum, doesn't dolphin in kde4 support servicemenus anymore? - i can't make them appear anywhere.22:01
=== gryc is now known as grycAFK
=== grycAFK is now known as gryc
nixternalimbrandon: -j3 or -j4 for dual-core and gnu make?22:49
nixternalI thought it was -j $(num_procs) + 122:49
Riddell- 1 surely, you want some free capacity22:52
nixternalso then do -j3 for dual core then22:52
nosrednaekimok, 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
nixternallol22:53
nosrednaekim(this is for autostarting compiz)22:53
nixternalI am installing kde4 via svn on my dual-core box so I can work on a new help app for kde422:53
blizzzekgn822:54
nosrednaekimwould someone test it for me?22:55
nosrednaekimhmmm it crashes kde4. something to do with an autostarted session of compiz trying to replace the WM (hich is compiz)23:01
iRonnosrednaekim: i could test it on kde3.. where is it?23:02
nosrednaekimiRon: its just one file, I'll pastebin it..23:02
nosrednaekim!pastebin23:03
ubotupastebin 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
iRonok.. waiting..23:03
mhbjust 55 minutes until KDE4 freeze!23:04
nosrednaekimit needs to be written to /etc/X11/Xsession.d/25compiz-enable23:04
mhbnosrednaekim: you called?23:04
nosrednaekimmhb: yeah... what I was trying to work with your QT4 GUI for the compiz config...23:05
nosrednaekimiRon: http://paste.ubuntu-nl.org/50653/23:05
nosrednaekimmhb: what signal is emitted when you click the apply button?23:06
nosrednaekimmhb: I tried "accepted()" but that didn't do anything.23:06
iRonnosrednaekim: k, hang on..23:06
mhbit must be accept() or something like that23:06
mhbdid I just implement close() in the code?23:07
nosrednaekimiRon: then run "touch ~/.kde/share/config/compizasWM"23:07
nosrednaekimmhb: yes23:07
fdovingmhb: does servicemenus work for you, in kde4? (either dolphin or konq? )23:09
mhbnosrednaekim: void accepted ()23:09
mhbnosrednaekim: that should be it, according to the Qt docs23:09
nosrednaekimmhb: yeah...but it doesn't do anything :(23:10
mhbyou mean it is not passed correctly?23:10
mhbnosrednaekim: do you have any branch I can test?23:11
nosrednaekimmhb: no....but I can DCC you the file23:11
nosrednaekimand I have to get going soon.23:12
mhbno dcc23:12
mhbmail is better23:12
yuriydo i have to do anything for kubuntu email to start working?23:12
nosrednaekimok...i'll mail it when I get back tonight.23:12
Jucatoyuriy: did you add yourself to the kubuntu members LP team?23:12
yuriyJucato: yep, i'm on it23:13
nosrednaekimthanks mhb! bye23:13
Jucatoyuriy: oh and btw congrats! sorry I wasn't there to give my +1 :/23:13
yuriythanks Jucato23:13
Jucatohm... usually it takes ~24 hours...23:13
mhbnosrednaekim: no problem23:13
yuriyoh ok (hastn't been)23:13
Jucatoyuriy: how are you testing?23:13
yuriyJucato: sent an email from my brandeis.edu email23:14
Jucatooh... hm...23:14
Jucatolemme see...23:14
mhbyuriy: be patient I guess23:14
mhbI tried sending you an email, got rejected.23:15
=== tvo_ is now known as tvo
Jucatoyuriy: yuriy-kozlov@ubuntu.com ?23:15
Jucato(based on your LP account)23:16
imbrandonnixternal: -j4 ( cores * 2 )23:17
Riddellwhy would you have any more processes than you had cores?23:18
imbrandonRiddell: no idea, but thats what all the tutorals say23:19
iRonRiddell: this is usefull only for small files, when console output takes more time then compilation time.. :)23:19
nixternalholy smokes, using -j3 is way faster than using -j2 on a dual core23:24
nixternalwith -j2 I could usually make sense of what was flying on the screen, now, it is all a white blur23:24
fdovingi use -j3 on a dualcore, haven't tried -j4.23:26
nixternalin 5 minutes, kdelibs is already 50% complete23:28
fdovingi like the new oxygen splash.23:28
nixternalya, it is nice23:28
fdovingnow i just need to modify the kubuntu bootsplash to only show the progress-bar.23:29
fdovingand make kdm look nice.23:29
fdovingthe polished systemsettings also look way better.23:29
nixternaldo you smell that? 15 minutes until kde4 tag-you're-it time!23:44
RiddellI suspect dirk isn't doing to do it at midnight utc23:45
nixternalheh, ya cuz everyone is rushing last minute to get their stuff in23:45
nixternalright apachelogger? :p23:45
apacheloggernixternal: I'm not oxygen's manager :P23:46
nixternalbut you are rushing last minute to upload aren't ya? :)23:46
* apachelogger notes: such last minute commits wouldn't happen @ amarok ;-)23:46
nixternalhahahaha23:46
apacheloggernixternal: yeah, cause they just noticed that they forgot to commit the wallies23:47
Nightrosehehe right apachelogger would do bad things to the person doing that23:47
nixternaloh man23:47
nixternalI just want that one wallpaper and I will be happy23:47
nixternalactually there are 2 that I want23:47
apacheloggerwell23:48
apachelogger50 MiB of wallpapers23:48
apacheloggermight be enough :P23:48
nixternaloh jeesh23:48
nixternalyou want to split that up and I can help you push them or something?23:48
apacheloggereverything up already23:48
nixternaloh23:48
apacheloggerjust commited the last name fix23:49
apachelogger..hopefully..23:49
nixternalgroovy23:49
nixternalthose got pushed to kdebase right?23:49
apacheloggeryep23:49
nixternalso I will svn up that badboy before I build it here after pimlibs23:49
apacheloggerhrrhrr :D23:49
nixternalI just got the PDF info for Chicago's Flourish conference in April...going to be amazing! and huge23:50
nixternalhopefully Jono will go ahead and commit to be a speaker already23:50
nixternalif not, oh man do I feel for Ubuntu love going down the drain23:51
nixternalapachelogger: what revision just you push? 756939?23:52
nixternalya I can talk23:52
nixternals/just/did23:52
apachelogger757018 should be the latest23:53
apacheloggerwith cmakelists updates and stuff23:53
nixternalwhoa23:53
nixternalbig time updates are going on then23:53
nixternalhere come your wallpapers23:53
nixternalcould they be any damn bigger?23:54
fdovingcould that server be any damn slower?23:54
nixternalthis svn up reminds me of a windows update23:54
apacheloggerlol23:54
apacheloggernixternal: 6 sizes23:54
apacheloggerfor every possible resolution23:54
nixternalI see23:54
* apachelogger actually thinks there should be some moving after tagging23:55
apacheloggerlike but some of the sizes to kdeartwork or something23:55
nixternallooks like tagging is on hold possibly23:55
apachelogger50mib just wallpapers is a lot23:55
nixternalwatching #kde4-devel23:55

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