=== chihchun_afk is now known as chihchun === chihchun is now known as chihchun_afk [17:26] How hard is it to port something from X11 to mir [17:29] it depends on the something [17:29] Short answer: it depends. [17:29] posix4e: *Mostly* it depends on: Are you using GTK or Qt (or, indeed, SDL)? [17:30] If the answer to that question is “yes”, then porting to Mir is roughly equivalent to “try running it”. [17:30] i'm looking at servo [17:30] it's the new firefox in rust [17:30] https://github.com/servo/servo [17:31] https://www.irccloud.com/pastebin/KrtAb4Ib [18:25] posix4e: Oh, yeah. It doesn't use a toolkit, so will need to be actually ported. [18:25] RAOF: that probably makes more sense for something like a webbrowser anyway [18:25] anything i can look at to get started? [18:26] posix4e: Acutally, does servo use X11 at all? [18:26] IIUC it's the rendering engine, not the frontend? [18:26] RAOF: indeed [18:26] but it has a frontend [18:27] which is some new version of something from firefox [18:27] hence my original question about people porting firefox [18:27] Thanks for being helpful btw [18:27] I know this is a weird train of thought, ubuntu and mozilla being mortal enemies and all [18:27] Ah, right. [18:27] ??? [18:28] So, the way to start would be... let me think... [18:29] RAOF: kidding about the enemies thing, but i think they hook up to opengl [18:29] Heh. One option would be to create a chroot without any X11 libraries, install Rust in there, and try running “cargo build” :) [18:29] so it shouldn't be bad right? [18:29] Indeed. [18:29] Well, I guess it depends if they hook up to GLX or EGL. [18:30] *nod [18:30] GLX would require more effort, because it's intrinsically tied to X. [18:30] If they use EGL it would basically be a matter of passing a different type in (a MirConnection rather than a Display, a MirSurface rather than a Window) and everything else would work without effort. [18:31] so basically the android servo uses egl [18:32] that's probably what we want anyway for the tablet [18:32] Yup. [18:32] So, basically I'd guess what you need to do is grep for XOpenDisplay, and replace the things that start with that codepath. :) [18:34] neat [18:35] what do i do to get things into the marketplace [18:35] actually [18:35] i'll bug ubuntu-touch for the rest of my queries [18:35] You guys rock! [18:35] huh [18:35] logs.glob.uno/?c=mozilla%23servo&s=13+May+2015&e=13+May+2015&h=mir#c211813 [18:41] Yeah, dmabuf solves their texture sharing problems. [18:41] *If* they can get the relevant fd out of the libEGL, of course :) [18:44] mwhaha [18:48] posix4e, are we going to have a servo-powered web browser on Ubuntu phone? [18:48] That would be awesome [18:49] no pressure ;) [18:49] I am thinking about it [18:49] doesn't look like it's that bad [18:49] hey RAOF, isn't it the weekend for you already? [19:04] chrisccoulson: Not in Dallas, no. [19:04] Hah! IRC bouncer resync. [19:04] RAOF, you're not in the part of the world that I thought you were ;)