/srv/irclogs.ubuntu.com/2007/11/30/#ubuntu-mobile.txt

Jayc_Now I get the error "E: Couldn't find package telepathy-mission-control"00:10
Jayc_StevenK, HappyCamp: This method is not working. so I will create a crownbeach-full image and then download the PPA deb package and install it on the target. I hope it should work. 00:44
StevenKJayc_: If you do so, you'll need to mount /boot manually before you install it.01:06
Jayc_well, The initial image doesn't boot to stat with :-(01:08
=== davidm_ is now known as davidm
=== cprov-out is now known as cprov
loolasac: /usr/bin/ld: warning: libsqlite3.so, needed by /usr/lib/xulrunner-devel-1.9b1/lib/libxul.so, not found (try using -rpath or -rpath-link)11:12
lool/usr/bin/ld: warning: libmozjs.so, needed by /usr/lib/xulrunner-devel-1.9b1/lib/libxul.so, not found (try using -rpath or -rpath-link)11:12
loolasac: This is a bit weird11:12
loolasac: And this seems worse: /usr/lib/xulrunner-devel-1.9b1/lib/libxul.so: undefined reference to `JS_SetContextPrivate'11:12
loolBut then this might be tinymail's fault11:13
StevenKBut I don't see those11:13
loolI think I saw something related as the second error in some Debian package a while ago11:17
loolSomehow, upstream doesn't require js stuff when you use xul, I think it was in totem11:17
loolAh, xulrunner has its own libsqlite311:18
loolasac: Hmm why does /usr/lib/xulrunner-devel-1.9b1/lib/libxul.so link to libsqlite3.so but doesn't have any rpath to the sqlite3.so in the package?11:19
jussi01Is it possible to run ubuntu mobile on Arm (ie. is there images compiled for arm?)11:22
mjg59No11:22
asaclool: what are you doing?11:23
asaclool: what are you trying to port?11:24
loolasac: tinymail11:24
asache? ... StevenK already built that :)11:24
loolasac: His version doesn't build here; didn't build for Mithrandir either, but I don't know why11:24
asaclool: lets see if i still have the patch11:24
loolasac: One thing wrong with the patch is to test for xulrunner last in the list; this prevents building on e.g. my environment where I have firefox11:25
lool-dev11:25
loolasac: I have an updated patch whic fails at this place if you like11:25
asaclool: cant you say: --with-gecko=xulrunner or something?11:25
asacplease show me11:25
loolasac: There's no such arg; but I planned adding one11:26
loolasac: In fact I made the macros checking the module parametrizable, but didn't implement ac_arg_with yet11:26
jussi01Ok, cool. is it possible to compile it for Arm11 ? 11:26
mjg59jussi01: It should be11:26
mjg59But we don't build Ubuntu for arm at all right now11:27
loolasac: http://people.ubuntu.com/~lool/xul-fixes.dpatch is what I use ATM11:27
loolasac: But the "libxul-1.9 mozilla-js-1.9" in configure.ac I plan to drop as it didn't help11:27
jussi01mjg59: great. Is it something ubuntu mobile would like to pursue in the future?11:27
asaclool: http://people.ubuntu.com/~asac/tinymail.xul19.patch11:28
asacs/libxul-embedding/libxul-embedding-1.9/11:28
asacthat should work11:28
mjg59jussi01: I don't think we're looking at it right now11:28
mjg59jussi01: It'll depend on demand11:28
jussi01mjg59: Ah, I understand. Thanks for your time. :)11:29
asaclool: for me it builds against the trunnk tinymail11:29
loolasac: Perhaps trunk builds11:30
asacStevenK told me that you need trunk11:30
StevenK... but 0.0.5 builds for me....11:30
asacbecause of some features that modest needs11:30
StevenKI took one patch from SVN11:30
loolasac: Do you have libsqlite3-dev installed?11:33
asacii  libsqlite3-dev         3.4.2-1build1          SQLite 3 development files11:33
loolMight explain why you don't get the ld warnings as above11:33
loolasac: Do you agree there should be a rpath?11:34
asacno11:34
asacthats the idea11:34
asacjust use libxul-embedding and the GLUE11:34
loolasac: So should we drop the libsqlite3.so from xul then?11:34
asacthats what you see in code11:34
asacno not either11:34
asacor wait11:34
asacsorry11:34
loolI mean a rpath on sqlite, not on xul11:34
asaclool: please try just the patch i gave you and give me the error you get then11:37
loolasac: I'll have to change it to pull xul first11:37
asacyou can also uninstall firefox-dev for a minute ;)11:37
=== dholbach_ is now known as dholbach
loolasac: aha11:43
loolasac: It built at first, but it stopped doing so when configured like the deb package --with-platform=maemo --enable-demoui --enable-gnome --enable-tp --with-html-component=mozembed11:44
loolasac: configure: error: "You need Mozilla's XPCOM"11:44
asacinteresting11:44
asacconfig.log?11:44
loolWell it's broekn configure:26275: checking Mozilla XPCOM pkg-config module name11:44
asacfor me it builds with: sh autogen.sh --with-html-component=mozembed11:45
lool(no module name printed)11:45
asaclool: yes you have to use libxul-embedding-1.911:45
asacthe patch has just libxul-embedding11:45
asac(as i told you in the beginning ... sorry should have repeated)11:45
loolasac: Ah my mistake, sorry11:45
* asac building without libsqlite3-dev11:46
loolRight, configure passes with -1.911:46
asacworks as well11:47
loolasac: Indeed, it built fine11:47
asaccool ... now lets go for modest11:47
asacwhats the point of having the zoom method in there?11:48
asaci think that logic should be moved to tinymail11:48
asaccan you do that?11:48
asacthat would simplify things a lot11:48
loolasac: Aha, for some reason I used "mozilla-nspr-1.9" instead of "nspr"; why shouldn't I use that?11:53
asaclool: in basic embedding cases you don't need nspr anymore11:54
asactry to drop that11:54
loolasac: Upstream is using nspr11:54
asacyeah ... its for 1.811:54
asacif you link against glue only and it builds without -DXPCOM_GLUE_USE_NSPR ... then you won't need it anymore11:55
loolasac: I'm not sure I want to patch upstream to stop pulling nspr; the fact is they are right now, and I wonder why we have multiple versions and why one should be preferred and not the other (I hope I'm not too annoying in asking you to teach me about this :)11:55
loolasac: Also, why did you use libxul-embedding-1.9 for mozilla_xpcom_pcs instead of libxul-1.9 ?!11:57
asaclool: libxul-embedding is for standalone things ... libxul-1.9 is for dependent things (e.g. things that get loaded in an already running xpcom/xul environment (like plugins/native extensions)11:59
asaclool: http://developer.mozilla.org/en/docs/XPCOM_Glue11:59
loolasac: Ok, I got my version to build now by changing to the libnss nss the libnspr nspr and using -embedding everywhere11:59
loolasac: The upstream m4 macros used mozilla_xpcom_pcs to lookup xpcom (I think) and mozilla_gtkmozembed_pcs to lookup gtkmozembed; why not use libxul for xpcom?  Isn't xpcom the same in both?12:00
loolasac: Ok, I think I got it12:01
loolasac: What was previously only firefox-xpcom now is libxul-embedding-1.9 or libxul-1.9 depending on whether you're starting xul or whether you're started from xul; correct?12:02
asacright12:02
loolasac: Still, shouldn't it build would I use the libxul-1.9's xpcom?12:03
asaclool: point is that they enforce frozen linkage now ... so directly linking doesn't give you any benefit over glue12:03
asaclool: no ... because you lack symbols ... like you saw above12:03
loolOk12:04
loolasac: And what's the story with nss?12:04
looland nspr12:04
asacafter all the libs are shipped in pkglibdir ... which means ... don't like against us :)12:04
loolAre we moving to using these separate libs?12:04
asacs/like/link/12:04
loolIt would sound "logical" to me that if you try to link to xulrunner-1.9's gtkmozembed stuff, you would do good to try to link to ist nss and nspr at the same time12:05
asaclool: apps that don't use xpcom can stay the same ... they use the system nspr/nss as usual12:05
asacthe other apps should drop the linkage as its not needed and more portable. for those few cases where you need to use the glue with -DXPCOM_GLUE_USE_NSPR we need to link against system-nspr/nss12:05
asaclool: well ... if you don't use it you shouldn't do that because the glue loads the right nspr for you at runtime12:06
loolasac: Concretely, I wonder whether I should be adding b-deps on libnss-dev and libnspr-dev as to explicitely reference these which are used in m4/moz.m412:06
loolasac: Ah ok, nss and nspr are pulled over xpcom12:07
asaclool: they shouldn't be used in xul 1.9 anymore ... just for 1.8 :) ... otherwise xulrunner-1.9-dev should give you the dependencies i guess?12:07
loolasac: Yeah, but as I said hte macros are explicitely pulling these deps12:07
asacyes ... the macro needs to be fixed then.12:08
asacand my patch already touches it anyways12:08
loolasac: Did you discuss the xulrunner 1.9 issues with upstream?12:09
asacwhich issues?12:09
loolI mean merging the changes you did and not checking for nss and nspr when xulrunner 1.9 is used?12:09
asacmozilla upstream?12:09
loolNo, tinymail12:10
loolSorry, I wasn't clear :)12:10
asacwhy would i? I first heard of tinymail yesterday :) ... my idea is to develop the patch here and send it upstream. They will need it if they want to support xulrunner 1.9 anyways.12:11
loolasac: Oh ok; I have no idea of the date the patch was written at; I was just wondering what they though of this, whether they would take it etc.12:12
asacyeah ... please send it upstream :)12:13
asacif they have a bts you can cc me12:13
loolasac: The reason I ask is because I'd like to know whether  $mozilla_xpcom_includedir/unstable makes sense for older xulrunner versions as well12:13
asacno it doesn't ... the diff should test if its there and otherwise don't use it12:13
loolSince how long do they have /unstable and /stable?12:13
asacsince 1.912:14
asacbefore it was different12:14
asacas everything :)12:14
loolhaha12:14
loolasac: The numbering in the .pc files sucks I think, is this temporary or is upstream also shipping with this -$major.$minor.pc naming scheme?12:15
asacthats we only atm ... we will drop it with next upload.12:16
loolasac: So the libxul-embedding-1.9 stuff shouldn't be sent upstream, rather it should be libxul-embedding I guess or the AC_ARG_WITH12:18
asacyes12:18
asacbut please try to remove the nspr/nss linkage if you have 1.912:19
loolasac: Is it ok to do that if MOZILLA_VERSION_U >= 1.9?12:20
asaclool: for current xul its: #define MOZILLA_VERSION_U 1.9b112:21
asacno idea if moz.m4 cuts of after 912:21
loolasac: I'll tell you: #define MOZEMBED_MOZILLA_VERSION "$mozilla_version"12:24
lool:-P12:24
lool1.9b1 gives "1 9 1" in m4/moz.m4's logic, bad12:25
=== jussio1 is now known as jussi01
asaclool: why we want >= 1.9 ... isn't that true then?12:33
loolasac: Yeah, it's true, but it's true for a broken reason12:33
asac;)12:33
loolseems like two wrongs do make a right :)12:33
loolasac: So thanks for all your help and explanations12:34
asaclool: please do modest as well :)12:34
asac... would be great if we could get that working asap12:35
loolasac: Do you think we could have libxul*.pc set includedir to /usr/include/xulrunner-1.9b1/{includetype}?  This would allow querying the proper dir12:35
loolasac: tinymail + modest are StevenK's babies; you wouldn't be to take away a baby, would you?  I just chimed in because it wouldn't build for me (due to firefox-dev) which made me go through the whole patch again12:36
loolNow I guess I'll pursue until I have something to send upstream, since I learnt about it all :)12:37
asachmm ... i will think about the includedir variable thing. thanks for the suggestion12:38
StevenKlool: Does that mean modest builds too?12:39
asacStevenK: we didn't try that12:39
* StevenK has been distracted12:39
asaci thought you ran into issues yesterday12:40
StevenKI did, I fixed those and ran into more :-)12:40
asachehe12:41
loolStevenK: I guess it will build better soon, but then you poked Mithrandir on that already; I'm happy yo help if Mithrandir doesn't find out (unlikely) or ends up being too busy12:43
StevenKlool: So, does tinymail require patching?12:46
loolStevenK: At the very least to prevent usage of firefox-dev, yes13:00
StevenKlool: Right, okay. Mind sending me the diff?13:01
StevenKlool: And it seems Mithrandir is too busy, would you mind terribly poking at modest?13:02
loolStevenK: Of course I will; if it builds for you that perhaps can wait until I cleanup some stuff as to render the patch acceptabel upstream?13:02
loolStevenK: Ok13:02
StevenKlool: Yeah, I was pondering sending Philip the patch, but only when I verified it could build against both13:03
=== jussi01 is now known as jussio1
=== dholbach_ is now known as dholbach
=== asac_ is now known as asac
=== cprov is now known as cprov-lunch
=== cprov-lunch is now known as cprov
rajiasac, you there?15:57
asacj15:57
asacy15:57
rajiasac, 'Create new network' does not work on moblin environment. Driver times out , 15:58
asacyou see in log that it calls the supplicant?15:59
rajiasac, yes15:59
asacraji: ok same game then ... reproduce with supplicant alone and see which error you get16:01
rajiasac, do I need to give any different command to wpasupplicant, for telling it to create a new network? or is it just like testing connectivity?16:03
kyleNdavidm, bfiller: will mobile support backup? upgrade spec says backup occurs before upgrade. finalizing prd now 16:05
rajiasac, Is it same as testing connectivity16:11
asacraji: you can also hack network-manager to start wpasupplicant with -dd16:34
bfillerMithrandir: is there a problem with the nightly UME builds? Looks like none have updated on cdimage.ubuntu.com/moblin since 11-26 17:14
bfillerkyleN: 3.4.17 there is a new sound control panel, I'll email you the screen shot (it's in yesterdays image)17:25
smagounbfiller: wrong channel - this one's public17:26
kyleNok17:26
bfillersmagoun: right17:26
rajiasac, How do I hack?17:54
=== cprov is now known as cprov-out
=== doko_ is now known as doko

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