[12:31] Jazzva: i think so [12:31] can find out tomorrow [12:31] what size do other icons have [12:31] ? [12:32] Well, the smallest is 32x32 [12:33] Others are mostly 128x128 [12:33] asac ^ [12:33] In xpm [12:35] asac, help :) === cwong1 [i=chatzill@nat/intel/x-e9a5b786b6f70843] has joined #ubuntu-mozillateam [12:36] Jazzva: then using 32x32 is ok [12:36] Ubulette: how? [12:36] :) [12:36] (cd ../../dist/firefox && tar -cvhf - .) | \ [12:36] (cd /src/firefox-granparadiso-3.0~alpha7/debian/tmp//usr/lib/firefox-granparadiso && tar -xf -) [12:36] cd: 2: can't cd to /src/firefox-granparadiso-3.0~alpha7/debian/tmp//usr/lib/firefox-granparadiso [12:36] this is were my build fails [12:37] thought the 1st line was supposed to create the missing dir.. it didn't [12:37] yeah .. which probvably means that make install doesn't install things [12:37] oops [12:37] 1st line missing [12:37] we do make install DESTDIR=debian/tmp/ [12:37] /src/firefox-granparadiso-3.0~alpha7/build-tree/mozilla/config/nsinstall -D /src/firefox-granparadiso-3.0~alpha7/debian/tmp//usr/lib/firefox-granparadiso [12:37] Ubulette: what is in /src/firefox-granparadiso-3.0~alpha7/debian/tmp//usr/lib/ [12:37] ? [12:38] nothing at that point. debian/tmp is still empty [12:38] nsinstall -D is supposed to create it just before the tar | tar [12:38] well .. but the compile succeeded? [12:38] yep [12:38] or is this right in the beginning? [12:38] ok [12:39] nope, the end [12:39] it's make install [12:39] have you tried to run make install DESTDIR=/tmp/testinstall [12:39] and see if all is properly installed beneath /tmp/testinstall? [12:39] e.g. you can run make install in build-tree/mozilla [12:40] yep. worked [12:40] yes ... which is what i saw [12:40] question is why does it fail if its run through debian/rules [12:40] but not if manually [12:40] exactly [12:40] i managed to run exactly the same command that debian/rules runs manually [12:41] Ubulette: so it fails lik [12:41] 00:37 < Ubulette> /src/firefox-granparadiso-3.0~alpha7/build-tree/mozilla/config/nsinstall -D /src/firefox-granparadiso-3.0~alpha7/debian/tmp//usr/lib/firefox-granparadiso [12:41] ?? [12:41] is that the first command run if you run make install manually? [12:41] this did nothing apparently but manually, it works fine [12:41] I can post my full logs [12:41] the double / isn't a probloem, right? [12:42] Ubulette: well ... i am as smart as you are ... i just know that i ran into the same problem [12:42] manually, the double / is not a problem [12:42] and had no time to look into it [12:42] it looks like its an environment thing [12:42] asac, you seems to master this whole mozilla maze. I don't :) [12:42] if you can figure out what is different in environment when run through debian/rules compared to manually then you are a hero :) [12:43] well, env is the same, ie a very very limited chrooted bootstrap [12:44] well ... but if env is the same and everything else is the same then we should see same result [12:44] :) [12:44] but we don't ... which is why i guess that env is different [12:44] as i don't see whatelse might be different [12:45] Ubulette: oh [12:45] Ubulette: pleasae try this: [12:45] chose a different upstream version [12:45] maybe its some path expansion thing and ~ confuses something [12:46] (stupid guess ... but worth a try) [12:46] asac: I'm also making .desktop files, since none of these packages have one (I don't know why I expected they will (Oh, yeah... I wasn't looking forward to making a whole bunch of .desktops :)))... Hope that's ok with gnome-app-install. [12:46] so maybe try if building with upstream version name firefox-granparadiso-3.0a7 helps [12:46] Ubulette: i had some discussion with debian maintainer who had issues if upstream directory had a tilde in its name [12:47] though i think it was unrelated to mozilla build system ... but who knows :) [12:47] Jazzva: yes thats the idea [12:47] Jazzva: create .desktop files [12:47] inject .png [12:47] ...xpm :) [12:47] Jazzva: and finally add Mime-Type: ... to those desktop files [12:47] so we can search for firefox/thunderbird et al extensions by mime-type [12:48] yeah .xpm is good as well [12:48] asac: As soon as I talk to g... (have nick in logfile) about Mime-Type :). [12:48] i think good practice is to leave out file extension in desktop file [12:48] glatzor [12:48] ok, i'll debug the hard way. [12:48] Jazzva: if glatzor says that he hasn't hard-coded a mime-type so far, just let me know and I will give you one [12:49] Ubulette: cool :) [12:49] Ubulette: but how? [12:49] Ubulette: the patch applied cleanly, right? [12:49] let's insert a strace in rules.mk [12:49] the make install patch i mean [12:49] which patch ? [12:49] asac: Ok... Off for a while... Have fun debugging :). [12:49] Jazzva: thanks [12:50] :) [12:50] asac: I am having problem running the midbrowser built off of the WORKING branch. It takes a long long time before it comes up. And I see 2 tabs in the browser, one labeled with (Unttled) and the other is loading the home page. Do you have the same problem I do? [12:50] asac, I've created debian/patches/50_from_bugzilla_fix_make_install.patch which is bugzilla minus xulrunner patch [12:50] ok [12:51] cwong1: the two homepages are a feature [12:51] cwong1: its called milestone feature ... and you get that when you upgrade [12:51] cwong1: for taking long time before it comes up ... i don't see that [12:52] cwong1: in my chroot it always takes a bunch of time because of high X latency i guess [12:52] asac: hmmmm I thought the damn thing was hung [12:52] do you run in chroot? [12:53] asac: Yes. I am using the image that I created with image creator [12:53] and xephyr? [12:54] asac: yes [12:54] in general i don't see any reason why it would take longer to start up [12:54] remember that working still has hildon window [12:54] so maybe thats the difference [12:54] asac: I disabled that from nswindow.cpp [12:54] ok [12:54] how? [12:55] patched reverse? [12:55] yes [12:55] ok [12:55] so what do you test? starting from dist/bin ? [12:55] btw, what is the "Utitle"page points to? [12:55] yes [12:55] I cd to dist/bin and enter ./midbrowser [12:55] cwong1: are you sure it takes longer then previous midbrowser? [12:56] yes a lot longer. [12:56] hmm may be its because I dont have the proxy setup and it waited the page to time out [12:56] well .. sounds reasonable :) [12:57] cwong1: maybe compare startup time right after removing ~/.mozilla/midbrowser [12:57] ok I will play around with it and see.. thanks [12:57] e.g. with fresh profile [12:58] we can talk about the start pages on another day [12:58] yes [12:58] for now get the menu assembled :) [12:58] I do see the toolbar on the bottom.. looks good. [12:58] yeap [12:58] and strip what is currently excluded by localstore.rdf out of midbrowser.xul :) [12:58] will do [12:59] for the milestone pages: [12:59] everytime mozilla detects that you upgraded to another build it will try to display a release notes page [12:59] in addition to homepage [01:00] ok didnt know that [01:00] we have to discuss if we want that .... or what we want [01:00] in ubuntu we have turned this feature completely off for firefox [01:00] its a simple solution, but since we are real upstream we might want a bit more [01:00] that's what I was thinking. [01:00] disable it completely [01:01] yeah ... but it requires a patch against upstream firefox [01:01] which is not good [01:01] better: setup a release notes page on moblin.org :) [01:01] we can patch it for ubuntu package like we do for firefox [01:01] ... if we want [01:01] we can decide on this when Bob comes back next week [01:02] sure [01:02] its not really pressing i hope [01:02] no [01:02] after all its a simple thing to change [01:02] just remember to keep it on radar [01:02] y [01:02] back to working on menu..:) [01:02] cool :) [01:03] do'h, I have to recompile everything once again [01:05] Ubulette: why? [01:05] usually i just rerun dpkg-buildpackage -rfakeroot -nc [01:06] to retry make install [01:06] only [01:06] there's a clean at the beginning [01:06] no ? [01:06] no [01:06] dpkg-buildpackage -rfakeroot -nc [01:06] will just clean your make install [01:06] not the whole build [01:06] e.g. debian/tmp debian/PACKAGNAME wil be cleaned [01:06] and make install rerun [01:07] hmm [01:09] just give it a try [01:09] saves you 30-60 minutes [01:12] hmm, strace is interesting. [01:12] mkdir("/src/firefox-granparadiso-3.0~alpha7/debian/tmp", 0777) = 0 [01:12] stat64("/src/firefox-granparadiso-3.0~alpha7/debian/tmp", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 [01:13] it wants the dir in 777, it's created in 755, then nsinstall is lost [01:17] well [01:17] why would it get lost then? [01:17] Ubulette: when you run make install DESTDIR=... manually [01:18] is DESTDIR afterwards 777 ? [01:18] no [01:18] so thats not the issue then [01:19] Ubulette: try if make install DESTDIR=/tmp/test-1.0~4asda/ works [01:19] maybe its indeed the tilde [01:20] though i doubt that you would see any crazy expansion in bash [01:20] but maybe in the new install:: rule in config/rules.mk [01:21] I don't have tilde anywhere [01:21] I build in /src [01:22] http://pastebin.mozilla.org/182412 [01:22] see by yourself [01:24] Ubulette: e.g. /src/firefox-granparadiso-3.0~alpha7/debian/tmp//usr/lib/firefox-granparadiso [01:24] there is tilde: [01:24] adiso-3.0~alph [01:24] oh [01:24] please test the make install above [01:24] make install DESTDIR=/tmp/test-1.0~4asda/ [01:24] and see if /tmp/test-1.0~4asda/ is empty afterwards [01:25] or fails [01:25] bingo [01:25] fails [01:25] yeah cool [01:25] thats not nice ... but a direction [01:25] ok so look in the patch [01:25] the make_install one [01:26] there should be some place where the DESTDIR gets expanded [01:27] reading... [01:27] yes thats fine [01:27] anyway ... iam sure there is some code that chokes on tilde in DESTDIR in https://bugzilla.mozilla.org/attachment.cgi?id=274304 [01:29] Ubulette: maybe its NSINSTALL? [01:29] it's in C so no ~ expansion [01:30] welll i guess it happens before [01:31] asac: trunk is still FTBFS [01:32] same spot too [01:32] let me look at somehting [01:33] Ubulette: maybe $(NSINSTALL) -D $(DESTDIR)$(installdir) need to be something like $(NSINSTALL) -D '$(DESTDIR)$(installdir)' [01:33] ? === gnomefreak bets debian/tpm is empty [01:33] gnomefreak: yeah [01:33] we are working on it as you may read :) [01:33] yep empty [01:33] ah ok [01:35] asac, nope as strace shows the cmd line is ok [01:35] ie not expanded at the ~ [01:36] Ubulette: tmp is created ... but no dir below, right? [01:36] right [01:36] do you see any attempt to create or stat a dir below? [01:36] e.g. tmp/usr ? [01:36] or tmp/usr/lib/firefox* ... directly? [01:37] no. see my pastebin above [01:37] by the looks of the failure here it looks like what you have is it [01:37] gnomefreak, seems close now :) [01:38] it does but still this one has been bothering me for a while since the output doesnt match the error (sortof) [01:38] Ubulette: for me the strace looks like nsinstall fails to step down [01:38] (cd /home/gnomefreak/firefox/trunk/debian/tmp//usr/lib/firefox-trunk && tar -xf -) [01:38] Ubulette: e.g. it tries to mkdir for every level ... but always with just tmp [01:39] other than that it doesnt really play in tmp [01:39] Ubulette: does unix install -D ? [01:39] support -D i mean [01:39] if so ... try to replace NSINSTALL with SYSINSTALL in patch [01:41] i can only go so far up but rm -f -rf ../../dist/xpt is where the trouble seemed to have started, after that it lists paths /bin/..... and some have errors/warnings than when thats done it fails [01:41] 2 secs, debugging nsinstall.c [01:42] it has to doesnt it [01:43] i see a -DD before the failure (a while before it) [01:43] thought i saw a -D [01:44] Ubulette: does nsinstall alone fail as well? e.g. just nsinstall -D /tmp/test~123123/usr/lib [01:45] in shell, nsinstall -D is okay, not through dpkg-buildpackage [01:46] Ubulette: so ... not when run through make you mean [01:46] e.g. how about a simple make file ... with just [01:46] run: [01:46] nsinstall -D /tmp/test-1.2~123/usr/lib ? [01:46] does that work? [01:47] i mean we had make install DESTDIR=... fail ... so te problem probably appears in combination with make [01:47] i bet most likely with $(DESTDIR) expansion in make [01:47] e.g. so above make snipped will work while [01:47] run: [01:48] nsinstall -D $(XYZ) [01:48] will fail if run like [01:48] make XYZ=/tmp/test+1.x~123xca/usr/lib [01:48] well, I don't think so. nsinstall -D is just a mkdirs which is a reccursive function calling mkdir.. and it seems clearly wrong [01:49] ... if it doesn't happen in makefiles with the expansion above then i don't know [01:49] the call to mkdir in always debian/tmp instead of d/t/a d/t/a/b d/t/a/b/c etc. [01:49] yeah [01:50] it's all wrong within the C code [01:50] yeah the amount of mkdirs == depth of path below debian/ ? [01:50] yes [01:50] but why would it break in make and not from shell? [01:50] if its in C code? [01:51] it has to be something expansion'ish [01:51] that's what I'm trying to find out [01:51] well ... does the Makefile above fail on make run DESTDIR=... ? [01:51] that would clearly help to evaluate [01:53] Back and stuff... Off to those .desktops [01:54] Ubulette: what makes me feel scary is that mkdirs in nsinstall.c passes a non const char* down recursively [01:54] and even modifies this within recursion: [01:54] path[l - 2] = 0; [01:54] might be right ... but looks hard to manage :) [01:55] so it modifies the path ... passes modified path to mkdirs recursively and upon return it runs mkdir with the path it previously modified to pass down? [01:55] that looks wierd [01:55] found it. It's the double / [01:55] really? [01:56] you see that in code? [01:56] can you fix nsinstall.c ? [01:56] I'm working on it [01:56] ok so you have to cut of trailing // before recursing [01:57] ok [01:57] atm it only strips leading double / [02:11] Ubulette: good luck :) ... i am going to bed now. Let me know about your findings please ... i will read logs when i wake up [02:12] done. [02:12] it works now [02:13] Ubulette: how? [02:13] patch ;) ? [02:13] yep. 2 sec [02:13] sure [02:15] how ? pastebin ? [02:16] at best push a ready branch to launchpad :) [02:16] but pastebin is ok as well [02:16] at least let me take a look through pastebin [02:16] http://pastebin.mozilla.org/182420 [02:17] ok so it was in-recursion modification? [02:17] of path? [02:17] the idea is when the initial code see a //, it modify path, which is wrong for the inner mkdir [02:17] I just keep the oringinal path (opath) and free it later [02:18] Ubulette: maybe the bug is in line 20 ? [02:18] i mean is that needed? [02:18] yep [02:18] it should be zero because of while before [02:18] or because strend [02:19] oh i see [02:19] it does not restore all / before return [02:19] ok [02:19] ok thanks ... strdup looks like the more reasonable approach [02:20] assuming that nsinstall does not try to minimize memory usage for real of course [02:20] should not be a problem. strdup does its own allocation [02:21] it's basically malloc + strncpy [02:21] yeah [02:21] anyway ... its not as efficient as not duplicating mem :) [02:21] Ubulette: ok whats your lp id? [02:22] and name + email? [02:22] ubulette [02:22] my lp account is uptodate (email, ssh key, etc) [02:23] Ubulette: if you want you can push a paradiso alpha7 branch to launchpad [02:23] otherwise i will prepare it tomorrow [02:23] never done that before. I'm used to package debs on my side :P [02:23] I've designed a buildbot [02:24] https://launchpad.net/~ubulette [02:24] is "page not found" [02:24] oops [02:24] https://bugs.launchpad.net/~fta+launchpad [02:24] it's based on my email [02:25] don't see any email on that page [02:25] anyway [02:25] Ubulette: if you want to contribute on the long run, get used to bzr ... ok good night ;) [02:26] I'm used to cvs, svn, hg, git [02:26] why not bzr :) [02:26] well then bzr should be easy [02:26] just commit yuor changes locally [02:26] and if ready push to sftp://$USER@bazaar.launchpad.net/~$USER/firefox/granparadiso [02:27] bzr push URL [02:27] ok night [02:27] ok, I'll think about it. good night [02:27] ah ... start with my granparadiso branch of course [02:27] https://code.launchpad.net/~mozillateam/firefox/granparadiso [02:31] btw, that patch, or something similar should go upstream [03:17] I guess mozilla/nsprpub/config/nsinstall.c has to be patched too. It's a different version than mozilla/config/nsinstall.c but has the same flaw. [03:18] I still need to review the *.install files as my debs are still broken. [03:19] Got tons of "Warning: package error or possible missing or unnecessary file" since the make install patch. Got to figure out what that means too. [03:19] tomorrow. Bed time now. === Admiral_Chicago [n=FreddyM@adsl-68-72-81-177.dsl.chcgil.ameritech.net] has joined #ubuntu-mozillateam [05:29] im off to bed finally, i will try to get on tomorrow but i have alot of work if my aunts pc is still failing to grab her email but we will see, iceape is done afaik let me know if you need anything else feel free to email me if im not here ill try to check email tomorrow. [08:20] @schedule [08:20] Schedule for Etc/UTC: 08 Aug 12:00: Edubuntu | 09 Aug 15:00: Ubuntu Development Team | 10 Aug 04:00: MOTU Team | 11 Aug 17:00: Xubuntu Developers | 14 Aug 15:00: Ubuntu Server Team meeting | 14 Aug 19:00: Technical Board === hjmf is off [12:19] Ubulette: can we make the patch more memory-sensitive by just removing the while that zeros double / ? [12:19] Ubulette: e.g. without strdup? [01:41] Ubulette: would be cool if you could commit your update to granparadiso-fsh as well as the nsinstall.c patch to bzr [02:25] asac: Is it ok to take a logo of a service for it's extension icon? (for example StumbleUpon's logo) [02:26] Also, do I need to have a Generic name field in .desktop for gnome-app-install? If I need, would "Firefox extension" be enough? [02:32] hi [02:34] morning :) (well, good afternoon) [02:35] asac, for the double / patch, Iet me see what I can think of. [02:37] Jazzva: if the icon looks good and is not non-free then yes [02:43] asac: Ok, and if I cant find an icon should I leave it without it or use firefox logo? [02:48] Ubulette: i have a fix for that already [02:48] Ubulette: wait a sec [02:49] I have one too [02:49] Ubulette: http://people.ubuntu.com/~asac/patches/fix_nsinstall_on_double_slash.patch [02:50] Ubulette: please use bzr ... otherwise we will duplicate work [02:54] Ubulette: ok i am pushing what i have so far to the mozillateam granparadiso branch [02:54] my guess is that the code you remove is useful for some platforms [02:54] not for linux/unix [02:54] Ubulette: at best start with that one and commit your changes locally and then push it to bzr branch [02:54] so i can merge it for release [02:55] Ubulette: might be === Ubulette is on the phone. brb [02:56] Ubulette: however ... since the current code would break on any platform i doubt that the code was really tailored for needs of different platforms [02:56] i think it was just ment to be smart ... minimizing memory + minimizing recursion [03:11] back [03:12] asac, http://pastebin.mozilla.org/182527 [03:13] that does the work and still removes trailing slashes to mkdir [03:17] Ubulette: well [03:17] i don't think this will fix the issue for us [03:17] as it will still set / to zero further down the recursion [03:17] if you want to remove trailing / you have to remember all positions and set them back to / after recursion [03:18] no. tested on my tree. I works as good as my strdup [03:18] well it doesn't do anything as i see now [03:18] it just fast-forwards to the last / [03:18] ok [03:18] it does move backward [03:18] yes of course [03:19] ok [03:19] Ubulette: ok please start with current mozillateam branch ... update the patch i currently have and then see how far we get [03:19] afaict it should at least install all things [03:20] sftp://asac@bazaar.launchpad.net/~mozillateam/firefox/granparadiso/ [03:20] bzr branch https://code.launchpad.net/~mozillateam/firefox/granparadiso [03:20] then go [03:20] :) [03:20] i would refrain from working on that branch then for today ;) [03:21] how do I start ? bzr co or bzr branch ? [03:21] like above [03:21] then you commit for each change like you do in cvs [03:22] and when you are done you push it to your private branch in launchpad and let me know so i can merge it in release branch [03:22] e.g. when done do [03:22] bzr push sftp://ubulette@bazaar.launchpad.net/~ubulette/firefox/granparadiso/ [03:23] Ubulette: there is an example on how to build midbrowser using bzr builddeb [03:23] https://wiki.ubuntu.com/MozillaTeam/Build/Bzr?highlight=%28mozillateam%29%7C%28bzr%29 [03:23] i think you can easily adapt that ;) [03:23] otherwise you can build as usual ... just ensure that the tar.bz2 is in top level directory of branch when running dpkg-buildpackage -rfakeroot or whatever [03:24] if you want to use bzr builddeb just make tarballs directory next to where you checked out the bzr branch and put the orig.tar.gz in there [03:24] (like in wiki) [03:25] must my local bzr dir be fixed ? I mean, I work in very volatile chroots that gets erased very quickly [03:25] would be a good idea to have it fixed [03:26] you can pass --builder option to bzr builddeb [03:26] so I have to mount it into the chroot [03:26] if you want to use pbuilder [03:26] no pbuilder [03:26] i usually mount my home into chroot ... but i use stable chroots [03:26] e.g. no pbuilder for me :) [03:27] ok fine ... i like people that don't use pbuilder ;) [03:27] at least for development [03:27] do you need instructions on how to use quilt? [03:28] e.g. to produce patches in debian/patches/ ? [03:29] yeah, maybe. I'm not very familiar with projects that starts with an packed source tarball [03:29] s/an/a [03:30] well its like using quilt for not embeeded tarball [03:30] just do a dpkg-buildpackage -rfakeroot ... and abort when patches are applied [03:30] then you can go into build-area/mozilla [03:30] and just use quilt [03:30] e.g. quilt push -a (to apply all) [03:30] quilt pop -a (to unapply all) [03:31] quilt refresh --diffstat -U8 to update a patch (e.g. after modifying nsinstall.c) [03:31] btw, i patches nspr nsinstall.c as well [03:34] quilt needs some excersize ... but its damn good when working on huge code-bases like ffox [03:35] compared to dpatch or even simple patch [03:35] because you can just work in tree to produce/update patches [03:35] no need top copy whole tree for each edit [03:45] asac, what's "bzr bd --merge ." for ? [03:47] bzr bd == bzr builddeb [03:47] --merge means that you want to merge your bzr tree with the orig.tar.gz [03:47] e.g. we just have debian/ directory in bzr [03:48] ok [03:49] you said you committed the patch, right ? [03:49] I can't see it [03:52] Ubulette: debian/patches/fix_nsinstall_on_double_slash.patch [03:52] not there [03:53] well [03:53] its not yet synched to http [03:53] holy shit [03:53] there's a bzr:// ? [03:53] let me check that with bzrlp guys [03:53] no ssh [03:53] but only if you have access [03:54] hmm [03:57] ok pushing somewhere else [03:57] takes a minute [03:58] Ubulette: in 5 minutes you can branch from http://people.ubuntu.com/~asac/bzr/granparadiso/ [04:00] do I need to trash my branch or just branch yours on top of it ? [04:00] no just pull mine on top [04:00] actually you should now be able to just pull [04:00] e.g. try bzr pull [04:00] bzrlp guys synched it manually now [04:01] Ubulette: ^^ [04:01] ok i am grabbing some food ... the branch in launchpad should be up-to-date now ... it should be revision 35 [04:01] (see bzr info ... or bzr log) [04:01] if it still isn't then try to pull my branch on top of it [04:02] in about 3-4 minutes i guess it should be ready [04:04] bzr pull worked. rev35, good [04:05] yeah [04:05] fine [04:05] i am out for lunch then [04:05] well, let's build that once to see how it is compared to mine [04:05] yes ... it should build iirc [04:05] should take me 45 min :( [04:05] at least things get installed in debian/tmp [04:05] Ubulette: use [04:05] bzr bd --merge --dont-purge . [04:05] if you want to use bzr bd [04:06] then you can just work in build-area/firefox* [04:06] as usual [04:06] otherwise if build succeed the build tree gets wiped (e.g. without --dont-purge) [04:06] ok but I need to buiild it at least once right ? [04:06] Ubulette: yes [04:06] ok, good. [04:06] well you can abort right after patching if you want to modify patch right in front [04:06] but i htink you want a full build anyways [04:07] yep. Glad I'm not already lost [04:07] :) === asac hugs Ubulette :) [04:07] ok lunch [04:08] bzr: ERROR: unknown command "bd" [04:08] lol [04:08] Ubulette: Have you installed bzr-builddeb :)? [04:09] no but I will [04:09] Ok... It will provide the bd :)... [04:10] done [04:10] thx [04:10] No prob... [04:17] bzr: ERROR: Unprintable exception DebianError: dict={'_preformatted_string': None}, fmt='A Debian packaging error occurred: %(message)s', error=KeyError('message',) [04:17] should I pass my key ? [04:17] Hmm... not sure. I didn't get that error. [04:17] Though I have my key set in bashrc... [04:19] where should I bzr bd from ? [04:19] From the source dir... [04:19] Just like the usual dpkg-buildpackage... [04:19] at that point, I only have the debian dir. [04:20] Uh-huh... have you tried to put the whole source dir along with debian/ and then bzr bd? [04:20] already have orig.tar.gz [04:21] I see. it's expecting a different structure. [04:21] As far as I know, you should have orig.tar.gz in tarballs/ and full source in /. The bzr bd should be run from [04:21] [04:21] / [04:21] :) [04:22] tarballs/ and / need to be in the same dir === gutsytester [n=gu@rgnb-4db09f75.pool.einsundeins.de] has joined #ubuntu-mozillateam [04:22] and the build will go on in build-area/ [04:24] wanted to be imaginative but it doesn't like it :0 [04:24] yep fixed. [04:24] it's building [04:25] Cool :)... [04:39] ok i am back :) [04:39] Ubulette: when you see not-parsable errors in bzr bd its usually a missing tarball [04:41] just wanted to organize my stuff differently. didn't like it. fixed [04:42] hmm, fix_make_install.patch is not the fix from buzilla right ? [04:42] bugzilla [04:42] mine is much bigger [04:42] and you still have fix_toolkit_xre_install.patch which is no longer necessary [04:45] why don't you "number" your patches like other projects ? [04:46] Ubulette: its the fix from mozilla .. but adapted [04:46] because there are patches that intersect with that one [04:46] Ubulette: series file gives you order [04:47] Ubulette: fix_tookit_xre_install.patch is different now [04:47] i know but I just find it easier to see numbers so I can easily track the changes. well, doesn't really matter [04:47] Ubulette: its just needed so build doesn't fail [04:47] Ubulette: to see the order just type: [04:47] quilt series [04:47] asac: .desktops and icons are pretty much done. Just need to find glatzor and ask him about those Mime-Type's. [04:48] (and then to test-build) [04:48] Jazzva: yes thanks [04:48] Jazzva: let me try to figure out [04:48] should be in latest gnome-app-install code [04:48] asac: No prob... Sorry it took two days to finish them... [04:49] thats not a problem at all :) [04:49] Jazzva: can you push your current work somewhere? [04:49] e.g. to a private branch? [04:50] asac: Umm... Just to give it a final touch :). [04:50] Jazzva: you can push now ... then push again when done :) [04:50] Should I commit one-by-one extension or can I do "bzr add * / bzr commit"? [04:51] give me a moment to also copy desktop files and update gnome-app-install... [04:52] Jazzva: at best one by one [04:52] e.g. in bundles [04:52] extension desktop file + icon == one commit [04:52] Ok... That's what I thought :) [04:52] then as last commit update changelog [04:52] though you might leave changelog composing to release branch maintainer [04:53] if you don't want to bother [04:53] Few questions... Do I need to leave "StartupWMClass=Firefox-bin"? [04:53] no that entry can be dropped [04:53] you have an example .desktop ? [04:53] pastebin maybe? [04:54] Just a sec [04:55] http://paste.ubuntu-nl.org/33040/ [04:56] I wasn't sure about some fields... That's another thing that I was planning to see with glatzor [04:56] I don't think it needs the Terminal, X-MultipleArgs fields... [04:59] brb [05:01] Jazzva: ok ... just try to get glatzor on line :) [05:01] i think he is usually available in the evening (Central Europe) [05:03] asac: back [05:03] yay [05:03] Well, I'll be going off in an hour or so and will be back by 9 (gmt+1) [05:03] Hope I'll catch him then :) [05:03] Saw the pastebin? [05:06] Mime-Type line isn't pasted correctly :)... I pasted it from nano... [05:07] A little more about file :). Name has the " extension for Firefox" format [05:08] Comment is usually pasted (and edited) from short Descritpion (apt-cache show) [05:08] GenericName is always "Firefox extension" [05:08] asac, build failed [05:08] (except for Ubuntu theme "GenericName=Firefox theme") [05:09] Ubulette: probably in debhelper install right? [05:09] Icon is .xpm [05:09] Ubulette: or how did it fail? [05:09] dh_install: firefox-granparadiso-dom-inspector missing files (debian/tmp/usr/lib/firefox-*/extensions/inspector@mozilla.org), aborting [05:09] make: *** [binary-install/firefox-granparadiso-dom-inspector] Error 1 [05:09] bzr: ERROR: The build failed. [05:09] Ubulette: yes [05:09] And that's it [05:09] Ubulette: the directory layout might have changed [05:09] how does the structure look like below debian/tmp/ ? [05:09] e.g. where is inspector@mozilla.org [05:10] Ubulette: in worst caes inspector isn't installed at all anymore ... but take a look [05:11] debian/tmp/extensions/inspector@mozilla.org [05:11] Jazzva: i think you just need Icon + Name + Comment + GenericName + Mime-Type ... but no guarantees [05:11] Ubulette: wow [05:11] well ... try to modify the firefox-granparadiso-dom-inspector.* files accordingly then [05:11] seems broken to me [05:12] Ubulette: is inspector somewhere below build-tree/mozilla/dist/bin ? [05:12] asac: Ok... I'll remove the StartupWMClass field and push to my branch. Is that ok? [05:12] Jazzva: remove as much as possible :) [05:12] and yes ... push to your branch early :) [05:12] you can later correct things anyway [05:13] there are tons of files directly under debian/tmp (ie not even in usr/bin usr/lib etc ..) [05:13] asac: Well, ok :)... *sends_empty [05:13] Ubulette: can you paste a ls of debian/tmp ` [05:13] ? [05:13] *sends_empty_desktop_files* ...there :D... [05:13] Just kidding :). [05:13] hehe [05:14] Ubulette: you said that my fix_install patch is much smaller then what you had? [05:14] maybe thatst the culprit ... i mean i merged things in, but maybe i forgot to refresh some files to the patch [05:16] http://www.sofaraway.org/tmp/list.txt [05:16] Ubulette: ok we have to redo the patch [05:16] that's a find ..../debian/tmp [05:16] i apparently have forgotten lots of files [05:17] i can do that if you want [05:17] I can try mine [05:17] yeah ... might not apply though [05:17] well, it will hurt granparadiso-fsh [05:18] as it intersects with other patches [05:18] only this one [05:18] welll ... then adapt your patch [05:19] in my tree, i apply 50_from_bugzilla_fix_make_install.patch 1st, then an updated version of granparadiso-fsh, then no-have-stdint-h-ftbfs.patch and ftbfs-with-branding-dir [05:20] but I also have a dh_install error [05:21] Ubulette: ok i have an updated patch [05:23] Ubulette: http://people.ubuntu.com/~asac/patches/fix_make_install.patch [05:24] Ubulette: i think if you unapply the current ... then apply this and run dpkg-buildpackage -rfakeroot -nc [05:24] you should be able to try incremental [05:25] i pushed it mozilleteam branch as well ... though i have no idea if it got synched [05:25] oh yes ... it synched [05:25] so just bzr pull [05:25] should bring you [05:28] asac: One more thing: should I run update-menu script before every commit, or can I run it just at the end? (the first one seems more logical to me) [05:29] can I mix bzr db and dpkg-buildpackage ? seems they don't use the same dir (../build-area vs build-tree) [05:29] Jazzva: i have no idea about the package ... if you need to update some file on each change ... please commit the modified file in a separate commit [05:30] Ubulette: don't get confused :) [05:30] Ubulette: bzr bd will create a merged build tree in build-area [05:30] dpkg-buildpackage will create a build-tree inside the build-tree during build [05:30] oh [05:30] asac: Hmm, I think I mixed something :D... I forgot that is a script that does bzr add for me (and some other updates) [05:31] if you work in build-area/ .... be sure that you pushed back your changes to your bzr tree before you run bzr bd next time [05:31] as bzr bd will wipe the previous tree in build-area [05:31] ... unless you provide some optino (see bzr help bd) [05:32] Jazzva: i have no idea what your problem is :) ... as long as you haven't published (pushed) you can do bzr uncommit [05:32] to undo commits [05:32] the modifications will be kept as modified files if you uncommit [05:32] asac: Thanks, I think I sorted it out :) [05:32] ok [05:33] asac: There is a script that will see if there is a new menu-data available, fetch it, then apply it and after that apply all changes that were published online... Which I don't need currently, so I won't run that script :) [05:33] Jazzva: gnome-voice-control_0.2-0ubuntu1_source.changes is NEW [05:33] now waiting ftp-master approval [05:33] Jazzva: yeah [05:33] asac, so now, I should just work in build-area/firefox-granparadiso-3.0~alpha7/{build-tree/mozilla,debian}, right ? [05:34] unless you need to update something in bzr yes [05:34] asac: Weee :D [05:34] Ubulette: if you are done there you copy all changes to your bzr tree and commit [05:34] asac: Hmm, that package is in revu too, but I can't access it in the last day or two :/... Can you nuke it (if you can access it)? [05:35] Jazzva: i cannot nuke things in revu [05:35] i think its ajmitch [05:35] asac: Ok, I'll say to him later... Thanks :) [05:35] Jazzva: doesn't matter much noch that its in official [05:35] noch? [05:35] now? :) [05:36] yes typo [05:36] much noch [05:36] :) [05:36] Well, I suppose it doesn't, but I thought just not to make mess on REVU :)... [05:36] Jazzva: you have url? [05:36] then i can comment that its uploaded [05:36] Just a sec to find it [05:37] asac: http://revu.tauware.de/details.py?upid=6336 [05:38] asac: But I still can't access revu :/ (though www.tauware.de is accessible) [05:38] well ... appears to be down then :) [05:38] damn quilt. keeps saying no patches applied but they all are [05:39] quilt applied ? [05:39] is empty? [05:39] you have to be in build-tree/mozilla [05:39] when running quilt [05:41] ahhh [05:41] :) [05:41] just play around a bit [05:41] remember that you have to tell quilt that it should track some file changes with quilt add path/to/file/you/want/to/edit [05:41] before you modify [05:41] how to I do that ? [05:41] unless the file is already in the patch that is currently on top [05:41] Ubulette: read above :) [05:42] quilt add path/to/file/you/want/to/edit [05:42] ok [05:42] that will make the file be tracked in the patch that is currently on top [05:42] e.g. quilt top [05:42] will show you which one is currently on top [05:42] if you want a new patch: [05:42] quilt new name-of-new-patch [05:42] quilt add path/to/file/you/want/in/patch [05:42] then edit file [05:42] then [05:42] quilt refresh --diffstat- U8 [05:42] quilt refresh --diffstat -U8 [05:42] to get the diff into the new patch [05:43] you can look at the result before refreshing with [05:43] quilt diff [05:43] ok. I need to get used to that before I do something useful [05:43] well ... just doing should do the trick in a few minutes i guess :) [05:44] yep [05:45] to patch several files, i just have to new, add all those files separately, then edit and refresh, right ? [05:50] yes [05:50] Ubulette: but if its about a thing another patch tries to tackle then just update that patch [05:51] e.g. pop/push until the patch you want to modify is on top [05:51] then add all files you want in that patch (in addition to what is already tracked there) ... and then refresh [05:51] if done test with quilt pop -a; quilt push -a if everything still applies cleanly [05:52] then done [05:53] ok, got it. thx [05:54] if you want to earn bonus points, then document the patch at the top of the patchfile (e.g. before the diffstat) :) [05:55] actually I should do that with all patches ... but often i am too lazy :/ [05:55] which is no excuse of course [05:57] granparadiso patches are not that important to document ... but firefox main package needs higher standards because we regularaly have to submit patches to upstreawm to be allowed to use their trademark [05:58] most firefox patches should be documented though ... but someone should go through ... refresh themm ... and document those that lack documentation ;) [05:58] and to add an existing patch file ? [05:59] quilt new HOWEVERYOUWANTTONAMEIT [05:59] asac: mozilla-ctxextensions have desc "Context Menu extensions for Iceweasel". Should I switch it to Firefox? [05:59] then quilt fold -p < /tmp/existing.patch [05:59] Ubulette: ^^ [05:59] quilt fold is the keyword [05:59] it will add files automatically [05:59] ok [05:59] but only if the patch applies cleanly [05:59] otherwise it will rollback [06:00] but you need to call refresh after fold still iirc [06:00] have/has [06:00] Jazzva: use Firefox/Iceweasel everywhere please [06:00] Jazzva: we will push app-install-data to debian asap [06:00] Umm... everywhere? So, uncommit everything :)? [06:00] Jazzva: no you can do that in a second update [06:01] I'll start from the original branch and change it :) [06:01] its not that important ... but if you are at it maybe use the combo [06:01] Jazzva: you can also just commit a new revision [06:01] Easier that way... and less revisions :). [06:01] e.g. change files then commit them on top [06:01] Jazzva: i like that attitude [06:01] Jazzva: i try to be anal about getting distinct/complete patches before release as well [06:01] asac: So do I :)... [06:01] at least get them as distinct/complete as possible for each release [06:02] Jazzva: cool ... like that :) [06:02] asac: Thanks :) [06:03] asac, just tried with your new version of fix_make_install.patch, it applies but refresh fails [06:03] Ubulette: he? [06:03] Warning: trailing whitespace in line 394 of toolkit/mozapps/installer/packager.mk [06:03] thats not a problem [06:03] its just a warning [06:03] oh [06:03] Ubulette: if you want to fix that you can pass --strip-trailing-whitespace as well [06:03] e.g. quilt refresh --diffstat -U8 --strip-trailing-whitespace [06:03] but i usually don't do that as it doesn't hurt [06:04] cool [06:04] its just a hint that the file is not really clean ... because trailing whitespaces are evil (TM) :) [06:04] it shows that people don't care for code layout ;) [06:04] need to keep track of all that. I have the memory of a golden fish [06:05] Ubulette: yeah [06:05] Ubulette: but i think we have already done all cases [06:05] Ubulette: and since you use it already it should be engraved into your brainform pretty quickly [06:05] asac: One more thing... To rename GenericName from "Firefox ext/theme/whatever" to "Firefox/Iceweasel ..."? [06:05] Ubulette: you can always use quilt COMMAND --help [06:05] to get brief help on the command you are interested in [06:06] Jazzva: hmm [06:06] Jazzva: example? [06:06] Jazzva: but in general yes [06:06] Name=Greasemonkey .... for Firefox/Iceweasel [06:06] ... [06:06] GenericName=Firefox/Iceweasel extension [06:06] asac ^ [06:06] well ... sounds too generic i would say [06:07] Lol... What do you suggest? :) [06:07] but if XXXX extension is the way to go for generic name then its fine to do it the way you propose [06:07] Jazzva: no idea [06:07] i have no idea about the policy of GenericName [06:08] Well, I've just applied the pattern I saw before... [06:08] Example: [06:08] e.g. what info should be expressed [06:08] Name=Firefox web browser [06:08] GenericName=Web broser [06:08] yes ... note how "web browser" describes the purpose [06:08] Firefox extension is equivalent to Firefox application [06:08] imo [06:08] Hmm... [06:08] yes ... but extension ~ application [06:09] Well, I don' have an idea right now... To send this update now and then overwrite it when some idea pops? [06:09] GenericName=Firefox/Iceweasel user-scripts [06:09] GenericName=Firefox/Iceweasel user-script extension [06:09] maybe that [06:09] Hmm... cool :D [06:09] no idea [06:09] Sound nice... Will use it :) [06:10] Jazzva: don't get stuck on this .... just go ahead like youz think ... if there are complains we can fix them later [06:10] Ok [06:10] its just important that we get this data up asap [06:10] :) [06:10] which doesn't mean now ... but within a few days at least [06:10] Will be done :) [06:11] BTW, Firefox and Thunderbird don't have an icon in menu-data/icons/ dir. Should I add them later? [06:11] well lno idea if they are special cases [06:11] but in gnome-app-install you see an icon? [06:11] That's why I ask... [06:11] if not we sould add it [06:11] dunno... didn't try it. Will try that tonight [06:11] please look if firefox has an icon in gnome-app-install [06:12] otherwise we should add it [06:12] Ok :)... [06:12] but probably in a different branch ... so glatzor can just review your branch for "extensions" [06:12] only [06:12] Ok [06:12] different brach - ubuntu.icons? [06:12] talking about icons, grandpardiso icon is the blue planet alone, without the fox, is that expected ? [06:13] Ubulette: yes ... thats agreed with mofo [06:13] Ubulette: we use "official" granpardiso branding [06:13] which is that blue icon [06:14] on trunk we should go back to minefield branding (the bomb) once we have a build for trunk again [06:15] Ubulette: mozilla just ships stable branches with fox branding ... they distribute granparadiso with blue one as well [06:15] hmm. ok [06:17] asac, rebuild fails with your new patch [06:17] very begining [06:17] Makefile:85: *** target file `install' has both : and :: entries. Stop. [06:17] make[1] : Leaving directory `/src/bzr/build-area/firefox-granparadiso-3.0~alpha7/build-tree/mozilla' [06:18] Ubulette: do we add an install:: target in some of our patches for top-level Makefile.in? [06:19] hmmm [06:19] Ubulette: in fix_make_install patch i remove install:: in Makefile.in [06:20] in mozilla/toolkit/mozapps/installer/packager.mk [06:20] do you see an install:: in top level Makefile.in left? [06:20] it's an include [06:21] so top-level includes packager.mk? [06:21] yep [06:21] hmm [06:21] no [06:21] i don't see that include in top-level [06:22] let me start the build ... and see if it fails that quick here too [06:22] ix:~/bzr/build-area/firefox-granparadiso-3.0~alpha7/build-tree/mozilla$ make [06:22] Makefile:85: *** target file `install' has both : and :: entries. Stop. [06:22] Ubulette: for me its building [06:23] at least its currently building [06:23] currently in js/ tree [06:23] Ubulette: what did you change? [06:23] nothing. [06:23] just replaced your patch, pop -a, push -a [06:23] fine [06:23] hmm [06:24] for me rev 36 from mozillateam branch builds happily [06:24] can you see if you have a diff? against taht? [06:24] I clearly have an install:: at line 85 of build-tree/mozilla/Makefile [06:25] well Makefile is not important ... do you see that in Makefile.in ? [06:25] in the end its important ... but it doesn't help to track [06:25] Ubulette: you must be missing something [06:25] please try rev36 from bzur [06:25] i have no install: in Makefile [06:26] Ubulette: you might need to recreate them [06:26] have you rerun config.status ? [06:26] no [06:26] try to run ./config.status in top-level and see if install:: goes away [06:26] usually it should happen automatically if Makefile.in is touched ... but who knows [06:26] if you don't see install:: in Makefile.in then its worth a try [06:27] worked [06:27] good [06:28] i think that should be enough to build incremental again then [06:28] now build fails here: [06:28] dh_install: firefox-granparadiso missing files (debian/tmp/usr/lib/firefox-*/firefox-granparadiso-bin), aborting [06:28] make: *** [binary-install/firefox-granparadiso] Error 1 [06:28] that's where I was yesterday in my tree [06:28] :) [06:29] Ubulette: do you still see the garbage directly beneah debian/tmp ? [06:29] no. everything is under debian/tmp/usr [06:30] ok [06:30] is there a -bin file in debian/tmp/usr/lib/firefox-*/ [06:30] how is it called? === asac guesses that we have to fix packager.mk in grandparadiso-fsh like fashion [06:30] -rwxr-xr-x 1 bbot bbot 3959 Aug 8 15:07 firefox-granparadiso* [06:30] -rwxr-xr-x 1 bbot bbot 57600 Aug 8 15:07 firefox-granparadiso-bin* [06:31] so "debian/tmp/usr/lib/firefox-*/firefox-granparadiso-bin" exists? [06:31] no, it's in dist, no debian/tmp [06:31] please look like above [06:32] 18:30 < asac> is there a -bin file in debian/tmp/usr/lib/firefox-*/ [06:32] 18:30 < asac> how is it called? [06:32] asac: To update changelog with dch -i? I've added all extensions I had... Still have three Thunderbird's to finish (I forgot that (oops)). [06:32] no bin [06:32] Ubulette: what is in that dir? [06:32] Ubulette: ok ... i am pretty sure we have to fix packager.mk [06:33] Ubulette: please look in granparadiso-fsh patch [06:33] quilt pop until its on top [06:33] then add packager.mk [06:33] and edit it accordingly [06:33] search for usages of $(MOZ_APP_NAME) and make [06:33] $(MOZ_APP_NAME)-granparadiso out of it [06:34] asac: I'll add those for Thunderbird tonight... I'll have to go after push. Oh, and should I push to sftp://jazzva@bazaar.launchpad.net/~jazzva/app-install-data/ubuntu-firefox-ext? [06:34] asac, http://pastebin.mozilla.org/182562 [06:34] e.g. just replace like s/\$(MOZ_APP_NAME)/$(MOZ_APP_NAME)-granparadiso/g [06:34] Ubulette: yes looks like i expected [06:34] fix packager.mk and all will be good [06:34] but otherwise it looks fine [06:34] (ignoring -dev package for now) [06:35] Jazzva: how is the original branch named? [06:35] use the same branch name and add suffix: ".mozilla-extensions" [06:35] asac, should I pop "at" or above ? [06:35] Ubulette: pop at [06:35] and refresh that patch [06:35] it belongs in that patch [06:36] e.g. the packager.mk diff [06:36] Ubulette: just look with quilt top [06:36] if its currently on top before you add/edit/refresh [06:36] asac: ubuntu... Ok. Will do that. What about changelog :)? "dch -i"? [06:36] Ubulette: oh ... i notice that this will make things difficult [06:36] as make_install_ patch probably touches that file heavily as well [06:36] but if I add there, is it an incremental patch or the same patch ? [06:37] either update that patch as well [06:37] or just create a new one on top [06:37] (sorry for confusion) [06:37] Ubulette: its the same patch [06:37] Ubulette: i want to have patches on per-feature [06:37] if you want a new patch directly on top of patch X ... just pop to patch X ... then quilt new et al [06:37] but thats not what we need here [06:38] here, you want an updated granparadiso-fsh or an additionnal patch just after granparadiso-fsh ? [06:39] Ubulette: either update granparadiso-fsh (and in turn fix make install patch as well) ... or just add a completely new patch on top of everything [06:39] the former is preferred [06:40] ok, got it [06:40] Ubulette: if you want you can also try to get granparadiso-fsh patch on top of make install [06:40] that would prepare the patch for easy replacement by upstream [06:40] e.g. if upstream applies the patch we just need to drop the make install patch and granparadiso-fsh will just apply [06:40] maybe later :) [06:40] yeah [06:41] have fun ... and thanks a lot ... i guess after this you will be almost a master of quilt :) [06:41] lol [06:41] grep -c MOZ_APP_NAME toolkit/mozapps/installer/packager.mk [06:41] 0 [06:42] Ubulette: you have to quilt push -a [06:42] so in the end you can either flip patches and then update granparadiso [06:42] or add a new patch [06:42] :) [06:42] i guess we want a new patch [06:42] i can do the flippage when integrating the changes [06:43] ok, 2 matches after push -a. I understand now [06:45] Ubulette: i understand better now [06:45] Ubulette: maybe just fix the make-install patch itself [06:45] i did that for a few occurrences but apparently missed some [06:45] e.g. just search for MOZ_APP_NAME in there and append -granparadiso [06:46] but that will mix fixes and features [06:46] better reorder 1st [06:47] right [06:47] buzt then make it right [06:47] and drop -granparadiso from that patch completely [06:47] but since its on top of granparadiso-fsh patch you won't get rid of it [06:47] so in the end you have to flip [06:48] e.g. use pristine upstream make install patch [06:48] Ubulette: maybe we should try to use MOZ_APP_NAME=firefox-granparadiso [06:48] to get rid of all this craziness [06:48] want to try? [06:48] yes [06:48] e.g. drop granparadiso-fsh patch [06:49] use pristine upstream make install patch [06:49] then fix configure.in [06:49] and use firefox-granparadiso there [06:49] ... and see how far you get :) [06:50] hmm MOZ_APP_NAME is not defined in configure.in anymore [06:50] probably came with new toolkit improvements [06:50] seems better to apply upstream fix-makeinstall 1st, then no-have-stdint-h-ftbfs.patch and ftbfs-with-branding-dir [06:51] ie drop granparadiso-fsh and fix_toolkit_xre_install.patch [06:52] Is this right: bzr push sftp://jazzva@bazzar.launchpad.net/~jazzva/app-install-data/ubuntu.mozilla-extensions ? Since there is still no output *sighs*... Is it because of 500 and something revisions? :) [06:52] Ubulette: fix_toolkit patch is still needed [06:52] or wait [06:52] maybe not [06:52] however its not bad to have as its a syntax error in some makefile [06:53] Jazzva: you should have used bzr+ssh: instead of sftp: [06:53] should be a hell lot faster [06:53] Jazzva: if you abort you need to pass --overwrite --use-existing-dir [06:53] fix_toolkit is supposed to be fixed by upstream patchn no ? [06:53] is guess [06:53] (or something like that) [06:53] Ubulette: well through upstream patch it becomes unused code [06:53] however the code has a syntax error [06:53] so i updated fix_toolkit to drop the unused code [06:54] asac: Thanks... [06:54] should be submitted upstream [06:54] Ubulette: i will update the upstream bug where the initial patch lived [06:54] *sighs* connect to host bazzar.launchpad.net port 22: Connection timed out [06:54] typo? [06:54] bazzar? [06:54] => bazaar [06:54] Oh... right :)... Didn't notice it. [06:55] Jazzva: use bzr+ssh anyway [06:55] you need gutsy though [06:55] i think with 0.15 bzr it doesn't work [06:55] if you don't have it go for sftp: [06:55] How? To replace it with sftp *unsure*? [06:55] Heh :D [06:55] he? [06:55] just use sftp [06:55] ;) [06:55] Hmm, it's asking for a pass.. Maybe it works :) [06:55] Ubulette: we have to find where MOZ_APP_NAME is defined in new build-system [06:56] asac, I can just use my own patch for make install. It's the one commit in trunk [06:56] Ubulette: previously it was in configure.in ... but that is not the case for toolkit applications anymore [06:56] asac: not working :)... sftp it is [06:56] Ubulette: feel free [06:56] Ubulette: but please keep the toolkit install patch for now [06:56] ok [06:56] so it won't vanish from my trree [06:57] Jazzva: well not working is not really a detailed summary of what happens i would say [06:57] asac: Hmm this is what I got :/... ERROR: Permission denied: '/~jazzva/app-install-data/ubuntu.mozilla-extensions': [Errno 13] Directories directly under a user directory must be named after a product name registered in Launchpad . [06:58] With sftp... [06:59] Ubulette: ok [06:59] Ubulette: fix the MOZ_APP_NAME in browser/confvars.sh [06:59] Ubulette: and remind me to remember that its in that file ... i already knew about that ;) [07:00] Ubulette: maybe replace granparadiso-fsh with that diff [07:00] or do a new one: granparadiso_moz_app_name .) [07:01] ok doing something else now :) ... hope you find your way ;) [07:02] asasc: Bad link again.. Fixed it :). [07:07] Ok, I've gotta go. I'll leave bzr to finish pushing. Should be uploaded in 10 minutes or so (I hope)... Have fun :). [07:17] asac, I'm now here: [07:17] $ quilt series [07:17] from_bugzilla_fix_make_install.patch [07:17] fix_nsinstall_on_double_slash.patch [07:17] fix_toolkit_xre_install.patch [07:17] no-have-stdint-h-ftbfs.patch [07:17] ftbfs-with-branding-dir [07:17] just granparadiso left === cwong1 [i=chatzill@nat/intel/x-1250008a132c4388] has joined #ubuntu-mozillateam [07:20] Ubulette: ok please rename (quilt rename --help) ... from_bugzilla_fix_make_install -> bzXXXXXX_fix_make_install [07:21] XXXXXX == bug id in bugzilla [07:21] ok [07:21] Ubulette: ok for granparadiso add a new patch [07:21] that patches confvars.sh [07:21] browser/confvars.sh [07:21] and then hope that all works out well [07:22] already done [07:22] ah [07:22] in which patch? [07:22] thought granparadiso was left :) [07:22] a new granparadiso-fsh [07:22] well ... then just respin and see if it breaks [07:22] i guess you need a full respin unless you want to think about what to do ;) [07:22] just looking for the bug id [07:23] Ubulette: yeah ... name it granparadiso-appname or seomthing [07:23] its not fsh anymore afterall [07:23] 389673 [07:23] fsh == file system hierarchy [07:23] mozilla bug 389673 [07:23] Mozilla bug 389673 in Build Config "Fix "make install" to copy from dist/ rather than recursive makefile traversal" [Normal,Resolved: fixed] http://bugzilla.mozilla.org/show_bug.cgi?id=389673 [07:23] yes [07:23] maybe document attachment id in patch [07:23] (to do it like best-practices) :) [07:24] $ quilt series [07:24] bz389673_fix_make_install.patch [07:24] fix_nsinstall_on_double_slash.patch [07:24] fix_toolkit_xre_install.patch [07:24] no-have-stdint-h-ftbfs.patch [07:24] ftbfs-with-branding-dir [07:24] Ubulette: maybe consider to refresh your make install patcvh to get U8 and diffstat ... as this is the format i would like to see everywhere [07:24] granparadiso-appname [07:24] ok [07:24] looks good [07:24] I did [07:25] it's all fresh with diffstat [07:25] in a perfect world you would have split up these things in multiple commits [07:25] but since you are done ... well one commmit might work [07:25] let's compile 1st [07:25] usually if you rename a file in bzr you use bzr mv file_src file_target [07:25] yeah [07:25] right you can still do it:) [07:26] but in the end i don't care much [07:26] most importantly i can merge it with my tree ;) [07:26] dh_install: firefox-granparadiso missing files (debian/tmp/usr/lib/firefox-*/firefox-granparadiso-bin), aborting [07:26] damn [07:27] same, no -bin in lib [07:28] hmm.. need a config.status [07:29] huh? you do incremental build? [07:29] that is likely to fail [07:29] you need at least a reconfigure [07:30] Ubulette: i guess you should do a dpkg-buildpackage -rfakeroot -b [07:30] e.g. clean rebuild [07:30] otherwise you might try to remove config.log (??) [07:30] then run fakeroot ./debian/rules binary [07:30] but keep your eyes open that autoconf2.13 is actually run if you do this [07:31] just for the record; logs say Warning: package error or possible missing or unnecessary file: bin/firefox-bin (packages-static, 45). [07:32] that will rebuild everything so it's another 45min [07:37] asac, thanks for quilt, that's really handy [07:37] np [07:37] Ubulette: what does spit out the message above? [07:39] /usr/bin/perl -I../../xpinstall/packager -e 'use Packager; Packager::Copy( "../../dist", "../../dist/firefox", "packages-static", "unix", 1, 0, 1);' [07:39] while in mozilla/browser/installer [07:39] does it happen on clean build? [07:39] or just before? [07:39] e.g. in dirty build tree? [07:40] don't know yet. it's in make install [07:40] i'm still compiling [07:40] hmm [07:40] lets see [07:41] what happens:) [07:42] do you want me to commit several steps ? [07:43] well ... since you probably cannot do steps that work ... i guess one large commit, but well documented what is done with each file is better [07:43] if you see any steps you might separate with a buildable tree, feel free to go that way [07:44] how do I comment with bzr ? [07:46] if you run bzr commit (without any options) [07:46] it will open your $EDITOR [07:46] i have emacs ... i think default is vi? [07:46] no idea [07:46] Ubulette: usually i do a bzr diff > /tmp/somefile [07:47] then i open that as well and go through the diff to not miss to document changes [07:48] ok === asac [n=asac@debian/developer/asac] has joined #ubuntu-mozillateam [07:54] ok i got reconnected ... so i lost messages of last 10 min or so [07:55] missed nothing [07:58] asac, for nsinstall, do we keep your patch or mine (http://pastebin.mozilla.org/182527) ? [07:59] mine seems closer to the inital idea of pruning trailling slashes for mkdir [08:03] oh, and yours invokes mkdir of the same thing as many times as the number of slashes [08:03] Ubulette: well ... if yours work ... then take that [08:04] I'm not trying to place mine :) just do the right thing [08:04] no really ... i think yours is ok [08:06] lunch time, brb [08:41] back [08:42] hm, it failed once again [08:42] -bin is okay now [08:43] oh, firefox-granparadiso.install is wrong. fixed [08:43] now it fails with: dh_install: firefox-granparadiso missing files (debian/tmp/usr/lib/firefox-*/plugins/libunixprintplugin.so), aborting [08:44] it's in dist but not in debian/tmp [08:45] asac, any idea ? [08:47] is there no libunixprint* ? [08:47] in tmp/usr/lib ... ? [08:48] if not ... is there one in dist/bin/plugins ? [08:48] it's in dist but not in debian/tmp [08:49] ix:~/bzr/build-area/firefox-granparadiso-3.0~alpha7$ ls -l build-tree/mozilla/dist/bin/plugins [08:49] total 8 [08:49] lrwxrwxrwx 1 bbot bbot 61 Aug 8 18:14 libnullplugin.so -> ../../../modules/plugin/samples/default/unix/libnullplugin.so [08:49] lrwxrwxrwx 1 bbot bbot 66 Aug 8 18:14 libunixprintplugin.so -> ../../../modules/plugin/samples/unixprinting/libunixprintplugin.so [08:59] Ubulette: is libnullplugin.so installed? [08:59] in tmp ? [09:01] yes [09:01] well thats a bit strange ... but lets not bother for that atm [09:01] Ubulette: maybe make .install more generic [09:02] just install what is in plugins/ [09:02] not specific .so [09:02] ok === Starting logfile irclogs/ubuntu-mozillateam.log === ubuntulog [i=ubuntulo@ubuntu/bot/ubuntulog] has joined #ubuntu-mozillateam === Topic for #ubuntu-mozillateam: Home of Ubuntu Mozilla Team - https://wiki.ubuntu.com/MozillaTeam | Bug Triagers please read: https://wiki.ubuntu.com/MozillaTeam/Bugs/ | Firefox trunk package source : https://code.launchpad.net/~asac/firefox/trunk | Mailing List: ubuntu-mozillateam@lists.ubuntu.com | === Topic (#ubuntu-mozillateam): set by Admiral_Chicago at Sun Jun 24 10:33:47 2007 [11:43] (asac/#ubuntu-mozillateam) welcome back ubuntulog [11:50] bzr push failed [11:50] sftp [11:50] Unable to import paramiko (required for sftp support): No module named paramiko [11:51] python-paramiko ? [11:51] ok [11:54] I need an ssh key for that... [11:54] or what ? [11:58] Is there any way to extract contents of xpi file? [11:58] unzip [11:58] Ok :) [12:04] got it, my ssh key is not working from the chroot. [12:09] [Errno 13] Branches must be inside a person or team directory. [12:10] where are you trying to push to? [12:10] sftp://fta+launchpad@bazaar.launchpad.net/~fta+lauchpad/firefox/granparadiso [12:10] that's supposed to be my name [12:11] welll ... who knows [12:11] bzr: ERROR: Permission denied: '/~fta+lauchpad': [Errno 13] Branches must be inside a person or team directory. [12:11] maybe launpad chokes on '+' [12:11] launchpa [12:11] :) [12:11] maybe url encode it [12:11] It seems like you're missing an "n" in launch in that error [12:11] right === Jazzva remembers the "bazzar" thing :D [12:11] good [12:12] fetching.. [12:12] Ubulette: if you are on gutsy better use bzr+ssh:// [12:12] well .. then keep it going [12:12] damn slow [12:12] fetching means that server is fetching ... so you are pushing ;) [12:12] well there is full source tarball somewhere in history of that branch [12:13] I guess so... dsl upload [12:13] slooooooow [12:13] ... happily only on initial push [12:17] should have done that from the office [12:17] not from home [12:17] well ... most of the times it finishes ;) [12:17] at some point [12:20] lol, email is wrong [12:20] https://code.launchpad.net/~fta+launchpad/firefox/granparadiso [12:21] anyway to change that ? [12:21] I commited in my chroot as buildbot user :P [12:24] bzr whoami [12:25] woow.. emails are public on LP [12:25] not good for my spam rate [12:25] They're not... You can see them only when you're logged in. [12:26] Ubulette: you need to set your email with bzr config [12:26] maybe uncommit + commit again [12:26] and push with --overwrite [12:26] to wipe the bad email history [12:26] Ubulette: my ~/.bazaar/bazaar.conf [12:26] has [12:26] [DEFAULT] [12:26] email = Alexander Sack [12:28] bzr whoami did just that