[01:11] <jarlath> ahayzen: thank you!
[04:35] <scientes> the install doesn't seem to work when firefoxos is installed
[04:35] <scientes> 2015/12/04 20:24:58 mkdir /root/.cache: permission denied
[04:36] <scientes> why can't the install be as straight-forward as the firefoxos or flash to stock install--or at least use a script i can read rather than a compiled binary
[04:37] <scientes> i'm on nexus 4
[09:34] <maxvanceffer> hi there
[09:34] <maxvanceffer> I have a problem with click package deployment
[09:34] <maxvanceffer> i have qmake app
[09:35] <maxvanceffer> splitted to shared lib and app
[09:36] <maxvanceffer> click package put lib to /usr/lib/arm-*/qt5
[09:36] <maxvanceffer> but my app dont's see it
[09:37] <maxvanceffer> as i managed, event if my lib located inside click package under this path, on device it installed to different folder
[09:41] <maxvanceffer> hi all
[09:41] <maxvanceffer> can some body help me with click packaging problem
[09:41] <maxvanceffer> ???
[10:07] <mcphail> maxvanceffer: I can't quite make out your problem. Can you rephrase it?
[10:10] <maxvanceffer> Yes sure
[10:11] <maxvanceffer> my project consist from C++ shared library, and C++ app. All make config was auto created by Ubuntu touch template using qmake
[10:12] <maxvanceffer> and when i build my project for device, click put shared library to /usr/lib/linux-*/qt5/ but in fact on device, when installed shared library is located in other path
[10:12] <maxvanceffer> and my app can not find it
[10:13] <mcphail> maxvanceffer: OK, first, I don not understand how click can put a library under /usr. Are you sure about that one?
[10:13] <maxvanceffer> yeap
[10:14] <maxvanceffer> i opened it data.tar.gz by ark
[10:14] <maxvanceffer> and checked
[10:14] <mcphail> maxvanceffer: do you have a copy of the click package?
[10:14] <maxvanceffer> yes
[10:15] <mcphail> maxvanceffer: do you mind sharing it so I can look and see what is going on?
[10:15] <mcphail> maxvanceffer: all the components of a click package should have relative paths, so to have /usr is odd, to say the least
[10:17] <mcphail> maxvanceffer: to get a good idea of the directory structure, run "dpkg-deb -R packagname.click ." and it will extract in the current directory
[10:19] <DanChapman> maxvanceffer, try placing the shared lib in /usr/lib/linux-*/ instead. IIRC LD_LIBRARY_PATH is set as the parent directory of the bin directory
[10:19] <mcphail> maxvanceffer: When the click is installed on the device, that is unpacked under /opt/click.ubuntu.com/package/version
[10:19] <maxvanceffer> i think i made some mistake in pro file, for INSTALLS
[10:20] <maxvanceffer> yeas i know that on device root folders a read only
[10:20] <maxvanceffer> yeas i know that on device root folders is read only
[10:21] <maxvanceffer> inside my pro file for shared library i can see this TARGET = $$qtLibraryTarget($$TARGET)
[10:21] <DanChapman> mcphail, /usr is a valid location *inside* a click package so it will get resolved as /opt/click.ubuntu.com/package/version/usr/blah/blah
[10:21] <maxvanceffer> but i don't know what this command do
[10:21] <maxvanceffer> yeah but on the device after install shared library can be found in this path
[10:22] <maxvanceffer> '/opt/click.ubuntu.com/vuk.maxvanceffer/0.3/usr/lib/arm-linux-gnueabihf/qt5/qml/Vuk'
[10:22] <maxvanceffer> so i think click making this (install path ) + (some how standart path for library in linux )
[10:23] <mcphail> maxvanceffer: I'm not sure it goes under that path with the standard template. It should go under /opt/click.ubuntu.com/vuk.maxvanceffer/0.3/usr/lib/arm-linux-gnueabihf/ only
[10:23] <maxvanceffer> bwt
[10:23] <maxvanceffer> this qml plugin
[10:23] <mcphail> maxvanceffer: have you changed the template or qmake pro file?
[10:23] <maxvanceffer> yes littel bit
[10:23] <maxvanceffer> yes little bit
[10:24] <mcphail> (actually /opt/click.ubuntu.com/vuk.maxvanceffer/0.3/lib/arm-linux-gnueabihf/ without the usr
[10:24] <maxvanceffer> but only by commands which i understand ))))
[10:25] <mcphail> maxvanceffer: that's your problem! Have a look at the Runtime Environment bit of https://developer.ubuntu.com/en/start/platform/guides/app-confinement/ and see the standard paths. You can set additional Qt import paths if you want
[10:25] <mcphail> maxvanceffer: but if you stick to the template, it should Just Work(tm)
[10:26] <maxvanceffer> hmmm
[10:27] <mcphail> maxvanceffer: if you change the install path, you'll need to adjust QML2_IMPORT_PATH accordingly
[10:28] <maxvanceffer> yeah... but as i can see from docs QML2_IMPORT_PATH must be adjusted coorrectly
[10:28] <maxvanceffer> but it not
[10:28] <mcphail> maxvanceffer: it is correct for a standard template/qmake file though
[10:28] <maxvanceffer> this what see qml engine /opt/click.ubuntu.com/vuk.maxvanceffer/0.3/lib/arm-linux-gnueabihf/bin,/usr/lib/arm-linux-gnueabihf/qt5/imports,/custom/usr/lib/arm-linux-gnueabihf/qt5/qml,/opt/click.ubuntu.com/vuk.maxvanceffer/0.3/lib/arm-linux-gnueabihf,/usr/lib/arm-linux-gnueabihf/qt5/qml
[10:29] <maxvanceffer> hmmm
[10:29] <maxvanceffer> stay
[10:29] <maxvanceffer> engine see right paths
[10:29] <mcphail> maxvanceffer: you don't have your path in that list at all
[10:29] <maxvanceffer> but why my say that can not import qml plugin because it not installed
[10:30] <maxvanceffer> yeah
[10:31] <mcphail> maxvanceffer: have a close look at that list. None of them match your install location of /opt/click.ubuntu.com/vuk.maxvanceffer/0.3/usr/lib/arm-linux-gnueabihf/qt5/qml/Vuk
[10:32] <mcphail> maxvanceffer: If you have added a /usr subtree, you'll need to add that to the QML2_IMPORT_PATH
[10:32] <maxvanceffer> but why ? i can not figure out why
[10:32] <DanChapman> because your plugin needs to be placed in /opt/click.ubuntu.com/vuk.maxvanceffer/0.3/lib/arm-linux-gnueabihf
[10:33] <maxvanceffer> ok, this i understand
[10:33] <maxvanceffer> i will share pro file for library is this will be halpefully ?
[10:34] <mcphail> maxvanceffer: you can share it, but I'm hopeless with .pro files ;)
[10:34] <mcphail> maxvanceffer: that's why I stick with the defaults...
[10:35] <maxvanceffer> http://pastebin.com/jruC5ppg
[10:37] <maxvanceffer> ok will try to explain to click that my lib must be placed inside /opt/click.ubuntu.com/vuk.maxvanceffer/0.3/lib/arm-linux-gnueabihf
[10:38] <DanChapman> maxvanceffer, have your checked what the deafult qmake templates do?
[10:39] <DanChapman> http://paste.ubuntu.com/13701172/ looking at that there are some parts like loading "ubuntu-click" that you are missing
[10:40] <DanChapman> maxvanceffer, ^^
[10:41] <maxvanceffer> ))))))))))))))))))))))))
[10:41] <maxvanceffer> fcuk
[10:42] <mcphail> maxvanceffer: hand-crafting qmake files for a click package is going to cause you unnecessary pain, I suspect
[10:44] <maxvanceffer> )))
[10:44] <maxvanceffer> thx
[10:49] <mcphail> DanChapman: I think I have tracked down my huge battery drain on OTA8 to dekko notifications :( - Have had to switch them off
[10:50] <Niju> Hi guys, got my aquaris e4.5 a few days ago (still on first charge woo)
[10:50] <Niju> have a few questions if anyone is about?
[10:51] <maxvanceffer> Fixed everything is working out of the boox
[10:52] <DanChapman> mcphail, eeek, i knew it was pretty broken but I didn't know about battery drain. Good news is i've actually re-done how the notifications work so it should be alot better with the next update.
[10:52] <mcphail> DanChapman: brilliant!
[10:53] <mcphail> Niju: ask away. Often not many people here on a Saturday morning, though :)
[10:53] <Niju> I get that :)
[10:53] <Niju> Is the terminal app limited in anyway? I tried apt-cache search and couldn't find anything
[10:54] <mcphail> Niju: not really limited, but apt is not used by default on the phone
[10:55] <Niju> Ok, so how exactly could I run classic terminal apps on my terminal?  Do I need developer-mode on or something?
[10:56] <mcphail> Niju: there are various ways. If you're happy to "break" your device you can make the system mount writable and use apt-get as you would on a normal machine. But this is unsupported and may break updates. Other options are to install apps to ~/bin/ or create a chroot
[10:57] <Niju> I'm happt to 'break' it if there is a way back :)
[10:58] <mcphail> Niju: you may need to reflash your device if something breaks, but that is generally straightforward. The best advice is the chroot, but I haven't set one up myself. I think ogra_ has one set up and may be able to help if he is around
[10:59] <Niju> I'm basically looking to get the standard network tools, nmap,netcat,ssh etc.  I have a sailfish Jolla phone as well and the terminal is a bit more straightforward
[10:59] <OerHeks> Niju, take a read from 4 may and up http://sturmflut.github.io/ nice blog
[10:59] <OerHeks> ( to restore )
[10:59] <Niju> thanks OerHeks
[10:59] <mcphail> Niju: ssh is there by standard. I suspect nmap is as well, but not sure
[11:00] <Niju> I've been looking for a good UT blog
[11:00] <mcphail> aah. nmap isn't
[11:01] <Niju> yeah
[11:01] <Niju> I could get by with nc/netcat though
[11:01] <mcphail> nc is certainlyu there - I use it all the time
[11:01] <Niju> :D
[11:02] <Niju> so, for other tools etc nmap, adding ppa's etc, this is best done via chroot?
[11:02] <Niju> Is adding ppa's even possible?
[11:03] <mcphail> Niju: the phone uses a PPA by default, so yes (if you _really_ want to break things) ;)
[11:03] <mcphail> Niju: might be wothwhile getting used to it before breaking it, though
[11:04] <mcphail> Niju: and remember most PPAs don't build ARM packages
[11:04] <Niju> Yeah, just trying to get an idea of the capabilities
[11:05] <Niju> I like it so far tho, scopes made much more sense when I tried them
[11:05] <mcphail> Niju: of ten the safest way is to "apt-get download" a package, "dpkg-deb --extract" it and copy the binary to ~/bin/
[11:05] <Niju> noted, cheers
[11:05]  * mcphail does it that way
[11:06] <Niju> One thing I do miss is real time multi tasking like in sailfish.  Is that in the works for UT at all?
[11:07] <mcphail> no - it is disabled by default. The phone is capable of multitasking, but it is a design decision to only allow "multitasking" through frameworks like the media-hub to save battery etc
[11:07] <mcphail> not sure I agree with it, but hey ho
[11:07] <Niju> That makes sense I suppose, however how will that impact ssh sessions for example?
[11:08] <mcphail> Niju: if you are ssh'ing from the terminal app, it will be closed. You can install an app called TweakGeek which will allow the terminal sessions to persist
[11:08] <Niju> Is that in the ubuntu store?
[11:09] <Niju> I think that might be the app I saw in a YT vid I couldn't remember the name of
[11:09] <mcphail> Niju: in the open store, rather than the default store. You have to sideload the open store
[11:09] <mcphail> https://open.uappexplorer.com/
[11:10] <mcphail> Niju: but tweakgeek tweaks are currently killing my battery, so be wary
[11:12] <Niju> Hmm, maybe I'll hold off for now then
[11:12] <mcphail> Niju: you can also activate an ssh server on the phone, and that runs quite ahppily in the background
[11:12] <mcphail> *happily
[11:13] <Niju> Ok, last question before I go back to Xenoblade x, what exactly can I do with developer mode on?
[11:13] <Niju> ah, I might try that then :D
[11:13] <mcphail> Niju: you need developer mode for adb access
[11:17] <Niju> ok cool, thanks for answering mcphail
[11:17] <Niju> :)
[11:17] <mcphail> Niju: enjoy!
[14:54] <OerHeks> muka_, fix your connection, please
[19:33] <scientes> 2015/12/04 20:24:58 mkdir /root/.cache: permission denied
[20:42] <Mikaela> Do Ubuntu Phones support NFC paying?
[20:44] <talonz> might be a little early for nfc payments on ubuntu touch just yet Mikaela
[20:45] <Mikaela> I see
[22:16] <skywalker> is the Meizu MX4 the only 4G phone out there for Ubuntu Touch?
[22:23] <dobey> it's the only retail phone that comes with ubuntu on it
[22:23] <dobey> that has 4g, at the moment