/srv/irclogs.ubuntu.com/2010/12/08/#ubuntu-mozillateam.txt

=== asac_ is now known as asac
=== davida is now known as davidascher
micahg_Tsk_: good morning, does the support crew ML discuss bugs affecting users A?TM07:56
_Tsk_no07:56
_Tsk_but we could07:56
=== _Tsk_ is now known as Usul
=== Usul is now known as _Tsk_
micahgUsul: k, then I guess it's not really for me then, I guess I technically don't "support" users, but rather insure as close to bug free as we can get07:57
_Tsk_yes for that we use mdat and tag the post with [tb-qa] in the subject07:58
micahgwhat is mdat, I keep seeing that07:58
_Tsk_mozilla.dev.apps.thunderbird - sorry I thougt you knew07:59
micahgoh, yes, I'm familiar with the gruop07:59
micahgjust diidn't connect the two :-/07:59
_Tsk_I mean I thought youhad made the connection07:59
* micahg needs to upload 3.1.7 build 3 to natty and go to sleep08:01
=== yofel_ is now known as yofel
ftacyphermox_, hi, rahhhh, n-m once again messed up with my sendmail servers (because of its /etc/hosts crazy changes)15:10
cyphermox_fta, that's what I'm working on today15:19
ftaoh, great15:20
jdstrandchrisccoulson: hi! what is the status of tbird build3?15:44
chrisccoulsonjdstrand, oh, i just need to upload it now15:44
chrisccoulsoni'll do that now15:44
jdstrandthanks15:44
chrisccoulsonjdstrand, ok, uploaded now15:54
jdstrandthanks15:54
micahgjdstrand: do you have a minute for a PM?16:48
jdstrandmicahg: a PM?17:08
* jdstrand racks brain for meaning of 'PM'17:08
micahgjdstrand: private messsage17:09
jdstrandmicahg: go ahead17:10
janimoafter unpacking the tb source package how do I add a new patch? quilt and edit-patch both complain. How do I unpack the tarball first?18:36
janimoI did not find it described in the wiki18:36
janimomicahg: ^18:36
micahgjanimo: ./debian/rules patch18:39
ftachrisccoulson, do you still see the unexpected load on your desktop? if so, please add a comment in bug 683959, i feel alone there19:33
ubot2Launchpad bug 683959 in linux (Ubuntu) "unexpected load with 0% CPU and no activity (affects: 1) (heat: 6)" [Undecided,New] https://launchpad.net/bugs/68395919:33
BUGabundoyo21:27
janimomicahg: any special QUILT_PATCHES settings in ~/.quiltrc ? Patches in debian/patches are relative to build-tree.21:28
micahgjanimo: yes, there should be a note in the README.Source21:28
micahg:( no readme21:28
micahgjanimo: http://paste.ubuntu.com/541162/21:29
micahgthat's from firefox, but should basically be the same21:29
janimook, I saw that rune in patchsys-quilt.mk as well21:30
janimobut it seems strange as qult in cdbs runs with --quiltrx /dev/null21:30
janimook, quite a custom workflow - the flexibility of quilt21:32
micahgjanimo: yes, we might be able to fix some of that when we switch to source format 321:32
janimomicahg: great to hear that. Anything planned yet, or stoping the switch?21:33
micahgjanimo: time, it's not critical for this cycle, but we'd like to do it, also the tools are currently set up to use CDBS, so those have to be ported as well21:34
janimowhich tools do you mean?21:34
janimosomehitng outside the package?21:34
micahgjanimo: mozilla-devscripts21:34
janimois this in debian too or ubuntu specific?21:35
micahgjanimo: it's shared between Ubuntu and Debian, but the packaging for Firefox and Thunderbird are Ubuntu specific21:35
janimomicahg: I still get .pc dirs is that expected?21:46
micahgjanimo: where?  you should get the .pc dir in build-tree/mozilla21:46
janimothere indeed21:46
micahgyep21:46
janimobut is not the debian/patches the only patch dir?21:47
janimowhy the QUILT_PATCHES settings then?21:47
micahgjanimo: not for quilt, debian/patches is where the actual patch is, .pc is where stuff gets applied so it can be reverted21:47
janimook21:47
micahg.pc is like a working copy21:47
* janimo tries again with renewed confidence21:48
janimomicahg: debian/rules pre-build + debian/rules apply-patches is the same as debian/rules patch ?22:27
janimothey seem to have the same result22:27
janimoI finally got a new patch under debian/patches22:28
micahgjanimo: might be,  idk offhand22:28
janimobefore debuild -S do I need to do anythng else?22:28
janimothe debdiff adds some files under debian/ as well like the manpage22:28
janimodo I need a quilt pop -a after refresh?22:29
micahgjanimo: in theory, debuild -S should clean that22:30
micahgjanimo: could you use this to refresh the patch? quilt refresh --diffstat -U8 --no-timestamps22:35
janimook22:35
micahgthat'll just make it look like the other patches22:36
janimomicahg: so there are 4 generated files in debian/ that do not go away with debian/rules clean22:42
janimoand they show up in the debdiff22:42
janimoI can delete them by hand but there must be a better way22:43
janimomanpage, tbird.sh postinst and prerm22:43
micahgjanimo: that would be a bug then :(22:43
janimo3 of those are creatd from .in files22:44
micahgjanimo: yep, please file a bug if you like, patches welcome, I can fix it later tonight otherwise22:45
janimoI'll first have to bult test my patch22:46
janimobefore sending it22:46
micahgjanimo: ok, don't worry about those files then22:46
micahgjanimo: I actually need to gut the Thunderbird packaging to bring it in line with the changes chrisccoulson made to the Firefox packaging22:47
janimoit sure needs a shekup22:47
janimoshakeup22:47
micahgthat'll probably wait until the end of the month when I have some time off22:47
chrisccoulsoni was going to do that soon ;)22:48
micahgchrisccoulson: if you have time, otherwise, I was going to have it ready before the next 3.3 alpha which is scheduled for mid January22:49
micahgI don't think we need to do too much for the 3.1 branch, but for thunderbird-trunk I think it should be cleaned up22:50
janimomicahg: I fixed those uncleaned files, will add to the debdiff22:59
micahgjanimo: great, thanks, i'll massage that into the bzr commits23:02
janimoso bzr merge request is preferred over debdiff?23:03
micahgjanimo: up to you, it actually makes it easier to give attribution, but I'll take it in any form :)23:04
micahgjanimo: if you do a bzr merge, please make it one commit per change23:05
cyphermoxfta, good news, I just finished writing a patch to disable NM touching /etc/hosts. I'll do some more cleanup and testing tonight and should be ready to upload soonish23:09
ftacyphermox, excellent! thank you23:10
janimoI'll attach the debdiff for review for now, in the meantime I am testing the package  building on armel23:11
asacfta: there?23:30
asacfta: perl -ne 'if (/^Exec=(.+)$/) { $f = (split "/", $ARGV)[-1]; print "$f\t$1\n"; }' /usr/share/applications/*.desktop > $I.new || rm -f $I.new23:30
asacif i want to include StartupWMClass= from the .desktop file as well in a third column ;)23:30
asacwhat is the statement?23:31
asacdamn shitty bamf.index shit23:31
ftaasac, hi23:33
asachey ;)23:33
ftaasac, what are you trying to achieve?23:33
* asac is trying to fix unity to allow keep firefox dailies in launcher ;)23:33
asacthey dont use StartupWMClass but try to guess whether a window belongs to a .desktop file by matching WINDOW_CLASS to the .desktop file name23:34
asacand they create the bamf.index file so it doesnt need to parse all desktop files23:34
asacso what i want is to also include StartupWMClass=$VALUE23:34
asacin $I.new23:34
asacas a third column if that is available in .desktop ;)23:34
asacand i found this perl statement which is easy for this case, but i dont know how to make an optional multiline match to include StartupWMClass=(.+)23:35
asacif its .desktop ... if not just omit it23:35
ftaoh, ok. let's see.23:35
asacand make print "$f\t$1\t$2\n"23:35
asacbut $2 is optional and only if StartupWMClass is in .desktop ;)23:36
asacso atm:23:36
asacperl -ne 'if (/^Exec=(.+)$/) { $f = (split "/", $ARGV)[-1]; print "$f\t$1\n"; }' /usr/share/applications/*.desktop  | pastebinit23:36
asachttp://pastebin.com/VDRLCjgx23:36
asacbut for firefox-4.0.desktop i want another column that has "Minefield" in it basically23:37
asacstrange that there is no StartupWMClass for openoffice btw in its .desktop23:37
asacguess it just takes too long to start anyway ;)23:37
janimomicahg: ok, arm build got past where it used to error so that is good23:39
micahgjanimo: cool, do you have time to do a full build?23:41
ftaasac, the way it's written, it couldn't be multiline, it nees to be rewritten23:41
janimothe build is progressing now23:41
janimobut takes a log of time on arm23:41
ftaasac, let me try another way23:41
micahgjanimo: should take around 5.5 hours23:42
janimoit's 2 AM here so I'll only know for sure tomorrow23:42
micahgjanimo: can you add DEP-3 tags for the patch? http://dep.debian.net/deps/dep3/23:43
janimobut I am almost cretain it works since I have make -k before and this was the only issue23:43
janimonever used DEP 3 before23:43
micahgjanimo: ok, well, do you want to ping me in the morning to let me know, I can at least commit to the dailies tonight, but I'd rather be sure it completes before uploading to teh archive23:43
asacfta: we can rewrite this ... its ugly anyway ;)23:44
micahgjanimo: I don't want to scare you away ;)23:45
asaci was about to write a C file to do this ... but then i thought of mr. magic perl fta ;)23:45
janimomicahg: well, it is a bit tedious indeed23:45
janimo:)23:45
micahgjanimo: we're just trying to make patches in teh archive have proper references23:45
janimoah, ok23:45
micahgjanimo: I can take care of that if it's too much23:45
micahgjanimo: I appreciate the patch, my guess is it would've taken me at least half a day to figure it out23:47
janimoI added a reference to a patch23:47
janimoI figured it out then saw it was done for xulrunner in some other platform23:47
janimoI looked at other simliar fixes for thumb2 failures and a guideline in the wiki23:48
janimoabout thumb2 porting23:48
asacbummer i also need to add a token because Exec can be multi token itself23:48
asacwell ... maybe Exec=([^ ]+)23:49
asacto cut of that early in the process ;)23:49
asacbut will tweak it23:49
asacor add a special token like WM_CLASS:$223:50
ftaasac, perl -ne '/^(.*?)=(.*)/; $$d{$ARGV}{$1} = $2; END { for $f (keys %$d) { printf "%s\t%s%s\n", $f =~ m{.*/([^/]+)$}, $$d{$f}{'Exec'}, $$d{$f}{'StartupWMClass'} ? "\t$$d{$f}{'StartupWMClass'}" : "" } }' /usr/share/applications/*.desktop  ?23:58
ftaoh, you don't want the full Exec23:59

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