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