[00:00] all fine? [00:01] bimberi: yeah. ap might not be happy with 1: [00:01] you could also try 1:~ [00:01] Venus_Mars: the install location of components dir is not fixed [00:02] at best wrap your component into an extension [00:02] I did it into extension and error console says "Failed to load XPCOM component: /home/nithin/.mozilla/firefox/gu81otyy.default/extensions/oggPusher@xiph.org/components/MyComponent.so" [00:03] this device is really cool ;) [00:03] just works I'd say [00:03] Venus_Mars: i guess it wont load in xul components dir too [00:04] when I did a nspr logging this was the output http://pastebin.org/46632 [00:04] your component is probably wrong ;) [00:04] and the output of ldd -r MyComponent.so is http://pastebin.org/46634 [00:04] Venus_Mars: there is a missing symbol ;) [00:05] there must be some problem with compiling.. may be should change compiling flags in Makefile [00:05] not sure. if you build with -fPIC and -shared it should probably work [00:06] I dint get you [00:06] the makefile is at http://www.it.iitb.ac.in/~nithind/src/Makefile [00:06] asac: ok, trying 1:~ [00:07] http://developer.mozilla.org/en/docs/XPCOM_Glue [00:08] Venus_Mars: id say that its your code ;) [00:08] Venus_Mars: yes. you get the right flags with libxul [00:08] (XPCOM_Glue) [00:09] xpcom_glue shows a table which says -L/path/to/sdk/lib -lxpcomglue [00:09] as linker flags [00:09] Venus_Mars: read more carefully ;) [00:09] hint: there are two type of glues ;) [00:10] iam thinking to use the standalone glue. am I wrong? [00:11] yes [00:11] standalone is for standalone ... i dont think your component has a main method ;) [00:14] okie but the makefile is not using -lxpcomglue_s -lxpcom -lnspr4 [00:15] Venus_Mars: it should (pkg-config) [00:15] echo `pkg-config --cflags libxul` [00:15] -fshort-wchar -I/usr/include/xulrunner-1.9/stable -I/usr/include/nspr [00:15] Venus_Mars: yes, but those are cflags [00:15] what you look for here are "linker" flags [00:16] Venus_Mars: now that i am looking, i see the problem ;) ... look closer :) [00:16] hint: your linker flags are indeed bogus ;) [00:16] it should be -L [00:17] ? [00:17] what variable stand for linker flags? [00:19] --libs? [00:20] I guess I should replace --cflags with --libs [00:20] how could you find out? [00:20] man pkg-config [00:22] one way ;) not sure if that tells you everything :) [00:23] man, give it a try ... go [00:23] am I missing anything more? [00:24] cant tell [00:24] Well I tried, still its not able to load [00:24] :( [00:24] are linker flags correct now? [00:24] same issue or something else [00:25] http://pastebin.org/46639 [00:25] the output of ldd -r MyComponent.so [00:26] thats not really meaningful as you cannot even resolve libxul and libxpcom [00:27] yeah, so what can be done about libxul.so? [00:27] looking for compiler warnings would be a good start [00:27] Venus_Mars: thats not your problem [00:27] you have to look elsewhere [00:27] you just cant use ldd -r that way [00:27] I dint get compiler warnings [00:28] what should I do ? [00:29] whats the error you are getting ;) [00:29] did you install all files required? [00:29] symbol missing [00:29] No, firefox is failing to load the component [00:30] so which files did you install where? [00:31] I am installing through extension [00:31] I have created components dir in my extension rootdir and then copied MyComponent.so in components [00:31] and the bundle it into .xpi [00:32] and then I open it with firefox [00:33] Am I meaningful? [00:33] install the .xpt as well [00:34] Yeah I have included IMyComponent.xpt as well [00:39] well my plugin is accessible www.it.iitb.ac.in/~nithind/firefox-extension [00:39] I mean the extension [00:41] still no clue? [01:36] asac: "Conflicts: j2re1.4 (<< 1:~)" works too. [01:54] asac: I have figured it out finally [01:54] there is one forum which suggest for changed in the linking order [01:54] $(FILES) $(GECKO_SDK_PATH)/lib/libxpcomglue_s.a $(GECKO_LDFLAGS) [01:54] this linking order could make the undefined symbols vanish [01:54] Its a magic [05:36] anyone know why on kubuntu html form fields don't have any borders in firefox 3? [08:33] hi :) [08:34] in the $PROJECT.mk file theres a MOZCLIENT_FILE which contains the project version - what is that path relative to? [08:45] (i'm kgoetz from before, incase anyone wasnt aware :)). i'm still finding it all mildly confusing. [10:00] asac fta_ and/or Jazzva the HTML Validator needs to be discussed as i just got done reading an email about it, please get in touch with me so we can decide if this is something we really want to add. [10:01] well i guess nevermind i didnt see asac's post to it [10:04] asac: when are we adding NM0.7 or are we not going to? As i understand it is stable or will be shortly [10:12] asac, I'll be back around 18h... off to the exam. [10:12] If all of you decide we don't need htmlvalidator, I'm fine with that :) [10:13] see ya later [10:17] personally i dont like the amount of work that would be involved. I thought xulrunner was for plugins not so much extensions, im sure we can get it to work but packaging them separate i feel is better than adding it to build in a package [10:27] [reed]: your last name isnt Friedman, please say no! [11:08] whos here? [11:51] i think we can trash htmlvalidator due to the way it needs to be packaged and it is missing any license and nowher eon any of its upstream pages says anything about a license. I added post on bug report for someone to email upstream so please feel free to email him === fta_ is now known as fta [12:23] Kamping_Kaiser: MOZCLIENT_FILE is relative to the VCS dir, except if you requested a MOZDIR [12:23] rzr: you didnt get the email about mozillsquad due to not having email address on LP page. so i might make a note on the page to include a comment like that [12:24] damn i havent seen that name in ages [12:24] hes been using his other one [12:25] does anyone happent o knwo the file to edit start up processes like bluetooth and trackerd ect... [12:28] fta, thanks [12:29] Kamping_Kaiser, could you paste your .conf ? [12:30] fta, i havent made any changes yet, just trying to understand the firefox-3.0.conf before i do [12:31] except when i try and find it in the mozilla-devscripts source package i cant see it :/ only in bzr [12:32] yep, i've refactored mozclient in mozilla-devscripts and it's not released yet. it will be in 0.09 [12:32] asac, i want to release 0.09 ^^ wanna sponsor me ? [12:34] ah, i see. is firefox-3.0.mk.in the correct file to edit if i'm editing the 0.7 source package? [12:34] fta: can you add sunbird 0.9 to devscripts please. its about to release rc1 and i would like to get it in PPA for testing [12:35] gnomefreak, i already have lightning-sunbird [12:35] it will grab rcs? [12:35] yes [12:35] oh ok i thought it was just stable [12:35] from MOZILLA_1_8_BRANCH [12:35] ah ok [12:35] doesn't matter, use the proper CVS TAG [12:36] k [12:36] that way, it's the same as fetching a tarball and repacking it [12:37] yep i like devscripts for that reason including nobinonly ;) [12:39] firefox-3.0.mk.in is quite a bit longer (and more complex) then firefox-3.0.conf :\ [12:40] you'd better use 0.09 from bzr otherwise you will have to redo everything once it's released [12:41] fta: that was for Kamping_Kaiser right? [12:41] gnomefreak, yes [12:42] fta, hm, ok. [12:42] Kamping_Kaiser, it should be similar, except the wrapped lines [12:43] fta, so i need to customise m-d and instlal the package, then i can use the custom .conf from my new m-d to build a customised FF3 - is that correct? [12:46] well, you only used touched the mozclient part of m-d so it should not me needed to build, just to create the tarball [12:46] -used [12:51] !pastebin [12:51] pastebin is a service to post multiple-lined texts so you don't flood the channel. The Ubuntu pastebin is at http://paste.ubuntu.com (make sure you give us the URL for your paste - see also the channel topic) [12:53] re paste of my .conf: only one line in it so far - http://paste.ubuntu.com/23495 [12:53] some lucky person is 8 away froma 23456 get [12:53] *11 [12:55] Kamping_Kaiser, so you only changed MOZCLIENT_APPNAME right ? [12:55] fta, yes. [12:55] i /just/ made the change (i havent worked on this at all today) [13:01] * Kamping_Kaiser changes copyright notice [13:02] can i use mozdate and mozbranch? [13:03] yes [13:04] gnomefreak, what do you want to do ? [13:04] for sunbird 0.9 [13:04] use a tag [13:04] not a date [13:05] ok and i still neeed branch right? [13:05] yes [13:05] in fact no, it's in the project file by default [13:06] but there's no sunbird 0.9 tag yet [13:06] so no way to grab it? [13:06] i miss the old readme file [13:06] http://paste.ubuntu.com/23501/ [13:07] so i guess im waiting [13:07] was it announced ? [13:07] i got an announcement that rc1 will be released in a day or 3 [13:08] i dont remember exact date. but string freeze is now [13:08] one of the 100 mozilla mailing lists im on [13:08] i want to say it was dev-app mailing list [13:09] does it have to be announced if its on ftp.mozilla? [13:10] oh, i saw the string freeze too but it doesn't mean the tag is there [13:10] yes, i guess the sunbird team will blog about it [13:10] is it just me or grep -i is broken in intrepid ? [13:12] http://paste.ubuntu.com/23503/ [13:13] fta, i've created a new .conf file (in src/mozclient/), do i need to create a new .mk.in? [13:13] yes, and edit the Makefile accordingly [13:14] the .mk file is only useful if you want a get-orig-source in your debian/rules [13:15] fta: works here gnomefreak@Development:~$ echo FOOBAR | grep -i FOO [13:15] FOOBAR [13:15] atleast that is working afaict [13:15] oh nevermind it should be in lowercase [13:15] no [13:16] it should because -i == ignores case [13:17] no, it should stay untouched [13:17] must [13:17] atleast according to --help [13:17] -i, --ignore-case ignore case distinctions [13:17] yes [13:17] define untouched [13:18] your pastebin Hardy is how it should be right? [13:18] but ignore case during the test, but the output is not transformed, just filtered [13:18] yes [13:18] well my intrepid works that way [13:18] so i would have to say it works [13:18] fta@cube:~ $ echo FOOBAR | grep -i FOO [13:18] FOOBAR [13:19] that is how it should output it [13:19] yes [13:19] intrepid for me [13:19] gnomefreak@Development:~$ echo FOOBAR | grep -i FOO [13:19] FOOBAR [13:19] Host 'Development', running Linux 2.6.26-2-generic - Cpu0: Intel 1681 MHz; Up: 3:48; Users: 4; Load: 0.11; Free: [Mem: 26/248 Mio] [Swap: 605/729 Mio] [/: 23913/38173 Mio]; Vpenis: 36.2 cm; [13:20] fta: you have this version of grep? 2.5.3~dfsg-5ubuntu [13:20] 2.5.3~dfsg-5ubuntu1 [13:20] yes [13:20] sorry didnt paste the 1 [13:21] not sure why yours isnt working [13:21] im guessing you did todays 6 packages but grep wasnt one of them IIRC [13:21] The following NEW packages will be installed: discover discover-data libdiscover2 [13:21] The following packages will be upgraded: debhelper debianutils gdebi gdebi-core hotkey-setup xserver-xorg-video-ati xserver-xorg-video-radeon [13:21] those packages? [13:22] it's been broken for days [13:22] hmmmm [13:22] it works without -i for you [13:22] yes [13:22] do the rest of the flags work? [13:23] or atleast some of them (theres a crap load of flags to use) [13:23] yes [13:23] fta@ix:~ $ echo FOOBAR | grep -v FOO [13:23] fta@ix:~ $ echo FOOBAR | grep -c FOO [13:23] 1 [13:23] fta: what happens if you use ' around FOO [13:23] no difference [13:23] i've already tested tons of stuff [13:24] i guess it's a locale issue [13:24] but i can't see what's wrong [13:25] it shouold affect other flags unless you built your own/hacked it? [13:26] i didn't [13:26] i dont see why you would hack or build grep because honestly it already is full of crap [13:27] it works if you use real files? [13:27] oh thanks for reminding me to look stuff up [13:28] * gnomefreak didnt know what an ibex is until just now and it looks like ill never see one :( [13:30] 66-match_icase.patch [13:31] This fixes [13:31] echo Y | LC_ALL=en_US.UTF-8 grep -i '[y]' [13:31] The expected output is: [13:31] Y [13:31] Without this patch, it works on non UTF-8 environment, but fails on UTF-8 [13:31] environment. [13:31] fta@ix:~$ echo Y | LC_ALL=en_US.UTF-8 grep -i '[y]' [13:31] fta@ix:~$ [13:34] gnomefreak, does it work for you ? [13:34] intrepid [13:34] no outpu [13:34] t [13:35] are you using utf8 as locale ? [13:35] gnomefreak@Development:~$ echo Y | LC_ALL=en_US.UTF-8 grep -i '[y]' [13:35] gnomefreak@Development:~$ [13:35] $ echo $LANG [13:35] en_US.UTF-8 [13:35] lol [13:35] C [13:36] not sure where the hell that came from [13:36] gnomefreak@Development:~$ echo $LANG [13:36] C [13:37] ok, so it was expected [13:37] fta@ix:~$ echo Y | LC_ALL=C grep -i '[y]' [13:37] Y [13:39] i get Y [13:39] i guessed ;) [13:42] debian bug 387704 [13:42] Debian bug 387704 in grep "grep: -i breaks \W in some locales (perhaps UTF-8 locales only)" [Normal,Open] http://bugs.debian.org/387704 [13:43] oh i think im C because i have it in .bashrc to get rid of locale errors/warnings in my chroots (i found no other way to apply it only to chroots [13:44] i correctly setup locales in chroots too [13:49] bug 243717 [13:49] Launchpad bug 243717 in grep "case sensitive grep broken with UTF8 in intrepid, breaking scripts" [Undecided,New] https://launchpad.net/bugs/243717 [15:09] hi [15:10] hi [15:11] fta: so 0.09? [15:11] asac, it's stable enough for my taste, and already big [15:12] i'm ready to close it if you want to sponsor me [15:12] Hi asac :) [15:12] fta: typo: "taggued mozilla/client.mk" [15:13] where? [15:13] bumbed [15:13] oh wait let me pull the latest :) [15:13] fta: you still appear to like "uncommitting" :) ... diverged [15:14] i sometimes do that in the next second when i realize something is wrong, but not later [15:15] fta: well. but i had the uncommitted change ;) [15:15] so either i pulled in that second or you waited longer ;) [15:15] the changelog is incredible long [15:16] not really useful [15:16] imo [15:16] i think we could make one entry for all the new VARAIBLES [15:16] another for all added VCS backend [15:16] another for all added projects [15:17] as i said, it's big, i wanted this in long ago [15:17] yeah. still the content could be compressed to something comprehensible ;) [15:17] anyway. can do it that way [15:18] fix the typo inthe changelog if you want ;) [15:18] oh even two times taggued ;) [15:18] fixed [15:19] fta: have you tested it? [15:19] sure [15:19] fta: i think what we want for 0.10 is kind of make check ;) [15:20] e.g. that produces several origs, etc. [15:20] ? [15:20] explain [15:20] test-cases [15:20] that we can run with make check [15:20] oh [15:20] !info libnss3 intrepid [15:20] Package libnss3 does not exist in intrepid [15:20] -0d [15:20] !info libnss intrepid [15:20] Package libnss does not exist in intrepid [15:20] bah [15:20] i dont feel in the position to test each and every combination of project/backend anymore :) [15:20] which means its time to do automated tests [15:21] !info libnss3-0d [15:21] libnss3-0d (source: nss): Transition package for Network Security Service libraries. In component main, is optional. Version 3.12.0.2+1.9-0ubuntu0.8.04.1 (hardy), package size 16 kB, installed size 84 kB [15:21] !info libnss3-1d [15:21] libnss3-1d (source: nss): Network Security Service libraries. In component main, is optional. Version 3.12.0.2+1.9-0ubuntu0.8.04.1 (hardy), package size 991 kB, installed size 2596 kB [15:21] fta: bumb! [15:22] when are you guys going to fix the ppc segfault? :P [15:23] armin76: we rely on contributions for that [15:23] just make it compile with -O1 [15:24] looks like its a bug on glibc or something, because i've been told that guile and glibc-2.8 do the same on ppc [15:32] fta: you think you can come up with a basic script that gets latest xpi for a given AMOID from addons.mozilla.org before your leave? [15:32] that would help us a lot to setup new upstream branches manually i guess [15:32] possible [15:32] and can certainly be reused in the final auto syncher [15:33] fta: so whats your idea about how to code this? parse HTML? [15:33] asac, fta can I help in some way for that? [15:33] Volans: yeah. what we need is a simple script that gets latest .xpi for a given AMOID from addons.mozilla.org [15:33] i think one way would be to parse the website [15:34] but i think there is a smarter way [15:34] yes for sure... I will try [15:34] as firefox queries addons.mozilla.org as well, there probably exists an xml interface [15:36] http://paste.ubuntu.com/23524/ better ? [15:36] asac: I have found that if you do: [15:36] http://lxr.mozilla.org/seamonkey/source/toolkit/mozapps/extensions/src/nsAddonRepository.js [15:36] wget https://addons.mozilla.org/it/firefox/downloads/file/AMOID/ [15:36] thats the code that queries addons [15:36] it download the last public version [15:36] after some redirect [15:37] fta: definitly more compressed. though mostly just the file references missing i guess [15:38] that doubles the size [15:38] people could still read bzr logs or code.lp [15:38] yeah. thats ok [15:38] i mean i woudl have been fine with the other changelog too. but this is better [15:39] fta: i guess you have Vcz-Bzr in control? [15:39] yes [15:39] maybe add it as reference to copyright too (if not already done) [15:39] and README ;) [15:39] Volans: why "it" :) [15:39] ? [15:40] can i replace that with nothing? or "en"? [15:40] sorry... I was visiting with browser and auto localizations o mozilla site ;) [15:40] Volans: so what is the genuine URL to use for that? [15:40] let me try [15:41] asac, closed & pushed [15:41] gbood [15:42] doing some basic tests and will upload if those work ;) [15:42] i want to change that: http://mxr.mozilla.org/mozilla/source/browser/app/Makefile.in#429 [15:43] that specific line or that area? [15:43] not sure if we want to set SKIP_COPY_XULRUNNER or patch to make a symlink or something else [15:43] for xulapps [15:43] there's no way to pass SKIP_COPY_XULRUNNER from configure, or at least i don't know of any [15:44] fta: what do you want to prevent? [15:44] ship a full copy of xulrunner in each xulapp [15:45] ok the SKIP_COPY_XULRUNNER [15:45] so how is it set atm? [15:45] or is it just a "not-used" feature? [15:45] this is prism with my new build system: http://paste.ubuntu.com/23529/ [15:47] asac: finally wget https://addons.mozilla.org/en-US/downloads/file/AMOID/ works, but wget made 3 redirect before download the final file on order to autodetect the destination program (FF, TB, SM) and the name of the latest file to be downloaded [15:47] Volans: hm [15:47] m [15:47] if you use HTTP instead of HTTPS he made another redirect... I don't know why he continues do https and http request [15:48] asac, SKIP_COPY_XULRUNNER is nowhere else, just in this test [15:48] fta: ok, so its a left-over [15:48] fta: have you tested that setting it actually works? [15:48] what trouble you asac, too much redirect? [15:49] no, according to blame, it has been added in one shot with mozilla bug 390361 and the whole block never changed since [15:49] Mozilla bug 390361 in Build Config "Fix FF+XR builds to copy XR to make a complete package" [Normal,Resolved: fixed] http://bugzilla.mozilla.org/show_bug.cgi?id=390361 [15:49] they want the xulapp to be independent of xul at runtime [15:50] i don't think we want that [15:50] yes. i understand that pov [15:50] fta: depends [15:50] fta: what kind of dependence do we need? [15:51] the final link asac is something like this: http://releases.mozilla.org/pub/mozilla.org/addons/AMOID/FILENAME-APP.xpi [15:51] whit APP = 'fx' for firefox and similar... but you have to find the correct FILENAME! without dosn't work [15:51] in our ff3 package, I patched it to set SKIP_COPY_XULRUNNER long ago [15:51] that's installer_shouldnt_copy_xulrunner.patch [15:52] we will need xulrunner-1.9 as dep, like ff3 [15:53] fta: ok. but we still copy the stub right? [15:53] asac, ^^, or we can let each xulapp decides [15:53] yes [15:54] i think firefox is somewhat special [15:55] asac: wait I have found it! :D [15:55] for example: http://releases.mozilla.org/pub/mozilla.org/addons/3863/ [15:55] open it in browser [15:55] is a watchable folder! [15:55] note that I am with you with the point that we want to skip xulrunner copies [15:56] Volans: good [15:56] thats nice [15:56] and I can assure you that there are only public versions... I have one waiting for approval and it is not in list [15:57] then watching http://releases.mozilla.org/pub/mozilla.org/addons/AMOID/ can be the best choice if you want to avoid automatic redirect from addons.mozilla.org site [15:59] Volans: ok you can get the version, by: xpath -q -e '/RDF/Description/em:version/text()' install.rdf [15:59] and if that fails its an attribute of Description: [15:59] asac, worse case, i can add a symlink in an "else" block.. it will then be in ff3 too but that shouldn't hurt [16:00] /RDF/Description/@em:version [16:00] hm, no. the symlink will not survive xul updates [16:01] asac: you want to made this check after download the xpi file that we suppose to be the latest? [16:03] Volans: no. i want two scripts: 1st. download-latest [16:03] 2nd. get-xpi-info VERSION [16:03] bash script? [16:03] get-xpi-info NAME [16:03] Volans: whatever ;) [16:04] fta: you are already working on that or I can start from scratch? [16:04] i'm already working on that [16:05] fta: so can you give us download-latest? [16:05] ;) [16:05] I can help you in some way? [16:05] not at that point, it's still half in my brain [16:06] and in you files? :) [16:06] but if you think i'm too slow, go ahead, i'll drop the ball [16:06] fta: its just about the two scripts :) [16:07] get-xpi-info is currently something that is in my old shell script [16:07] but i wanted a class in the main framework [16:07] instead of a shell script [16:07] fta: ok. we dont need get-xpi-info now [16:08] what i want is basically just download-latest [16:08] fta: in what language you are writing the framework? [16:08] Volans, OO perl [16:08] like mozclient [16:08] maybe even cleaner [16:09] * Volans never coded in perl.... [16:09] with external plugins in any langage [16:09] fta: did you review the config branch? [16:09] yes, i had questions but you were offline [16:09] fta: still have them in your mind? [16:10] hm, nope, i'll have another look later today, after i'm back from sports [16:10] fta: so what interface would a download-latest plugin have? isnt download-latest-amo or would it rather be generic download [16:11] maybe with == LATEST if ommitted [16:12] asac: where this framework should run? (server based, your pc, etc...) [16:12] Volans: we have a semi-spec for that [16:13] Volans: it should not matter where its run in the end [16:13] its just that it need permissions to proper branches [16:13] https://wiki.ubuntu.com/MozillaTeam/Firefox3Extensions/LargeScaleMaintenance [16:14] * Volans looks [16:14] Volans, by framework, i mean a set of classes used by all the binaries, to parse conf files, do amo parsing, do xpi parsing, do branch management, etc [16:14] Volans: the current focus is on the "Auto Updater" [16:15] which consists of two parts: "auto upstream branch synchs" [16:15] and "auto branch merging" [16:15] ok [16:15] we could talk about both as "tasks" [16:15] for the syncher ;) [16:15] aka BOT [16:16] so we have a configuration format proposal here: [16:16] https://code.edge.launchpad.net/~mozillateam/firefox-extensions/BOT.TASKS [16:16] thats the configuration tree we would give the bot [16:16] (just a first pitch) [16:17] the idea is that you can run the bot with a task config: bot upstream/amo/firefox-3.0.HEAD [16:17] err firebug.HEAD :) [16:18] and the bot would know about all the magic to sync the upstream branch [16:18] by loading plugins and so on [16:19] the configuration is a tree configuration. the bot would first load upstream/config, then load upstream/amo/config and then would load upstream/amo/firebug.HEAD config to get the complete configuration. [16:20] just look at the files in the BOT.TASKS branch [16:21] I understand... only a question: why not to do a separate bot only for sync with AMO xpis that run on cron and alert you and all the people needed when a new upstream version is out? [16:22] Volans: we dont want to alert everyone that new upstream version is out, we want to alter the right people that there is a new merge ready to be signed off / or that needs manual interaction [16:22] then all the BOT will run on a cron basis... [16:22] s/all/the whole/ [16:24] Volans: yes. [16:24] the bot would basically run over the config tree and process each config file (which represents a task) [16:25] you can made a choice that I think is no very restrictive... insert the basename of the xpi in the config file [16:25] Volans: why? [16:25] we just need AMOID [16:25] Volans: look at the config file . there already is a name for the upstream branch. [16:26] when I upload a new version of my extension on AMO site... the site will change the name automatically based on extension name and version adding also a APPLICATION suffix at the end, maybe can help for finding the latest version [16:29] Volans: if its required we can add it. just hoped there is something that doesnt require us to intepret the version [16:30] leaving for 2h~3h. please write down your ideas & concerns [16:30] c u [16:31] asac: problem... I have found a AMOID not present in oregon state archive... [16:31] damnit [16:31] * Volans doing random tests to verify if it works in every case [16:33] sorry.... my fault I have used fileid instead of AMOID... works! :D [16:33] Volans: i have written a protoype bot that reads the config hierarchy [16:33] https://code.edge.launchpad.net/~mozillateam/firefox-extensions/BOT [16:34] runtask is a shell script that parses the config as specified [16:34] and runs the task plugin found for the config [16:34] e.g. in the example its "UPSTREAM" [16:35] yeah I see [16:35] so you run runtask upstream/amo/flashblock.ubuntu.HEAD [16:35] to test ;) [16:37] should probably be AMO_UPSTREAM ;) [16:38] or UPSTREAM will exists and uses GET_LATEST_AMO + UPDATE_BZR_TREE [16:38] :) [16:38] most likely thats the right idea ;) [16:39] ok, I'm reading the sh script... you write bash with different style [16:39] most likely. never really tried to look for "clean" scripting ;) [16:40] no is clear... only tests... I use [] in if and other tests... you the "test" statement [16:40] yeah [16:41] Volans: i am always confused by what is available in which sh-dialect [16:41] so i use what appears to be "most" primitive ;) [16:41] without actually knowing anything ;) [16:44] correct... I use always bash not sh... but just for "habitude! [16:44] " [16:44] so runalltasks would basically just be: "find -type f /path/to/BOT.TASKS/ | grep -v config$" [16:44] err flip arguments of find obviously :) [16:45] or better making a config file with all the BOT.TASK files and parse it line per line [16:45] find -type f /path/to/BOT.TASKS/ | grep -v config$ | xargs runtask [16:45] hi Volans [16:45] flipped again [16:45] hi Venus_Mars [16:46] asac: in order to test it I have to download also a task tree from the previous branch? [16:48] (~mozillateam/firefox-extensions/BOT.TASKS) [16:48] Volans: no that happens automatically iirc [16:48] yes: bzr branch $ENV_TASKS_BRANCH $tasksconfigdir [17:06] asac: sorry, probably I don't have understand something... I run: ./runtask upstream/amo/config [17:07] Venus_Mars: btw, i found a better example for you :) [17:07] or ./runtask upstream/amo/flashblock.ubuntu.HEAD with different results [17:07] http://developer.mozilla.org/en/docs/Creating_XPCOM_Components:Using_XPCOM_Utilities_to_Make_Things_Easier [17:07] just get the webblock.cpp [17:07] and build it like: [17:08] gcc -o /usr/lib/xulrunner-1.9/components/libnssample.so -shared -fPIC nsSample.cpp `pkg-config --cflags --libs libxul` [17:08] (with sudo ;)) [17:08] well nsSample.cpp is webblock.cpp ;) [17:08] weblock2.cpp ;) [17:08] hehe [17:09] Yeah I got this link yesterday but was almost exhausted... [17:09] Yeah today I may try with more experiments [17:09] Venus_Mars: just try that ;) [17:09] then you can use: [17:09] sh /usr/lib/xulrunner-1.9/run-mozilla.sh /usr/bin/xpcshell-1.9 [17:09] js> Components.classes['@company.com/sample'].createInstance() [17:09] [xpconnect wrapped nsISupports] [17:09] ;) [17:10] yeah sure.... [17:11] after that, stop reinventing the wheel and code you xpcom components in a proper build system where you dont have to fight things you dont want to fight [17:11] heh [17:11] yeah === asac_ is now known as asac === asac__ is now known as asac [19:05] asac: want some examples where an extension can you upload files [19:19] Venus_Mars: the site where it can upload or what? [19:20] upload files to a site [19:21] I don't have undestand you question Venus_Mars.... what kind of examples you want? [19:21] a javascript which ll upload a local file to a remote system [19:22] you don't have already found such similar extensions? [19:22] (iirc in the past talk we had) [19:23] well, their code involves lot of classes...simply untraceable [19:40] * Volans dinner time... come back later [19:56] does anyone know if gnomefreak set the membership for ubuntu-mozillasquad to auto-expire one month after joining the team? [19:59] <[reed]> do members of MozillaTeam _have to_ get e-mail for everybody that joins ubuntu-mozillasquad? [19:59] <[reed]> :( [20:10] haha [20:14] asac: i wonder if the sparc segfault could be related to some -O flag...-O3? [20:14] s/segfault/bus error [20:20] nope [20:21] i've rebuilt it using mozilla's default and it doesn't give bus error here [20:28] [reed], Mozilla Team is the owner of ubuntu-mozillasquad so far... So, I suppose the answer is yes. Maybe it can be turned off somewhere, or something. :) [22:29] * Volans back.... :)