/srv/irclogs.ubuntu.com/2015/12/05/#ubuntu-touch.txt

=== xiinotulp is now known as plutoniix
=== salem_ is now known as _salem
jarlathahayzen: thank you!01:11
scientesthe install doesn't seem to work when firefoxos is installed04:35
scientes2015/12/04 20:24:58 mkdir /root/.cache: permission denied04:35
scienteswhy 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 binary04:36
scientesi'm on nexus 404:37
=== maxim is now known as Guest99170
=== Guest99170 is now known as maxvanceffer
maxvancefferhi there09:34
maxvancefferI have a problem with click package deployment09:34
maxvancefferi have qmake app09:34
maxvanceffersplitted to shared lib and app09:35
maxvancefferclick package put lib to /usr/lib/arm-*/qt509:36
maxvancefferbut my app dont's see it09:36
maxvancefferas i managed, event if my lib located inside click package under this path, on device it installed to different folder09:37
maxvancefferhi all09:41
maxvanceffercan some body help me with click packaging problem09:41
maxvanceffer???09:41
mcphailmaxvanceffer: I can't quite make out your problem. Can you rephrase it?10:07
maxvancefferYes sure10:10
maxvanceffermy project consist from C++ shared library, and C++ app. All make config was auto created by Ubuntu touch template using qmake10:11
maxvancefferand 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 path10:12
maxvancefferand my app can not find it10:12
mcphailmaxvanceffer: OK, first, I don not understand how click can put a library under /usr. Are you sure about that one?10:13
maxvancefferyeap10:13
maxvancefferi opened it data.tar.gz by ark10:14
maxvancefferand checked10:14
mcphailmaxvanceffer: do you have a copy of the click package?10:14
maxvancefferyes10:14
mcphailmaxvanceffer: do you mind sharing it so I can look and see what is going on?10:15
mcphailmaxvanceffer: all the components of a click package should have relative paths, so to have /usr is odd, to say the least10:15
mcphailmaxvanceffer: to get a good idea of the directory structure, run "dpkg-deb -R packagname.click ." and it will extract in the current directory10:17
DanChapmanmaxvanceffer, try placing the shared lib in /usr/lib/linux-*/ instead. IIRC LD_LIBRARY_PATH is set as the parent directory of the bin directory10:19
mcphailmaxvanceffer: When the click is installed on the device, that is unpacked under /opt/click.ubuntu.com/package/version10:19
maxvancefferi think i made some mistake in pro file, for INSTALLS10:19
maxvancefferyeas i know that on device root folders a read only10:20
maxvancefferyeas i know that on device root folders is read only10:20
maxvancefferinside my pro file for shared library i can see this TARGET = $$qtLibraryTarget($$TARGET)10:21
DanChapmanmcphail, /usr is a valid location *inside* a click package so it will get resolved as /opt/click.ubuntu.com/package/version/usr/blah/blah10:21
maxvancefferbut i don't know what this command do10:21
maxvancefferyeah but on the device after install shared library can be found in this path10:21
maxvanceffer'/opt/click.ubuntu.com/vuk.maxvanceffer/0.3/usr/lib/arm-linux-gnueabihf/qt5/qml/Vuk'10:22
maxvancefferso i think click making this (install path ) + (some how standart path for library in linux )10:22
mcphailmaxvanceffer: 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/ only10:23
maxvancefferbwt10:23
maxvancefferthis qml plugin10:23
mcphailmaxvanceffer: have you changed the template or qmake pro file?10:23
maxvancefferyes littel bit10:23
maxvancefferyes little bit10:23
mcphail(actually /opt/click.ubuntu.com/vuk.maxvanceffer/0.3/lib/arm-linux-gnueabihf/ without the usr10:24
maxvancefferbut only by commands which i understand ))))10:24
mcphailmaxvanceffer: 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 want10:25
mcphailmaxvanceffer: but if you stick to the template, it should Just Work(tm)10:25
maxvancefferhmmm10:26
mcphailmaxvanceffer: if you change the install path, you'll need to adjust QML2_IMPORT_PATH accordingly10:27
maxvancefferyeah... but as i can see from docs QML2_IMPORT_PATH must be adjusted coorrectly10:28
maxvancefferbut it not10:28
mcphailmaxvanceffer: it is correct for a standard template/qmake file though10:28
maxvancefferthis 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/qml10:28
maxvancefferhmmm10:29
maxvancefferstay10:29
maxvancefferengine see right paths10:29
mcphailmaxvanceffer: you don't have your path in that list at all10:29
maxvancefferbut why my say that can not import qml plugin because it not installed10:29
maxvancefferyeah10:30
mcphailmaxvanceffer: 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/Vuk10:31
mcphailmaxvanceffer: If you have added a /usr subtree, you'll need to add that to the QML2_IMPORT_PATH10:32
maxvancefferbut why ? i can not figure out why10:32
DanChapmanbecause your plugin needs to be placed in /opt/click.ubuntu.com/vuk.maxvanceffer/0.3/lib/arm-linux-gnueabihf10:32
maxvancefferok, this i understand10:33
maxvancefferi will share pro file for library is this will be halpefully ?10:33
mcphailmaxvanceffer: you can share it, but I'm hopeless with .pro files ;)10:34
mcphailmaxvanceffer: that's why I stick with the defaults...10:34
maxvancefferhttp://pastebin.com/jruC5ppg10:35
maxvancefferok will try to explain to click that my lib must be placed inside /opt/click.ubuntu.com/vuk.maxvanceffer/0.3/lib/arm-linux-gnueabihf10:37
DanChapmanmaxvanceffer, have your checked what the deafult qmake templates do?10:38
DanChapmanhttp://paste.ubuntu.com/13701172/ looking at that there are some parts like loading "ubuntu-click" that you are missing10:39
DanChapmanmaxvanceffer, ^^10:40
maxvanceffer))))))))))))))))))))))))10:41
maxvancefferfcuk10:41
mcphailmaxvanceffer: hand-crafting qmake files for a click package is going to cause you unnecessary pain, I suspect10:42
maxvanceffer)))10:44
maxvancefferthx10:44
mcphailDanChapman: I think I have tracked down my huge battery drain on OTA8 to dekko notifications :( - Have had to switch them off10:49
NijuHi guys, got my aquaris e4.5 a few days ago (still on first charge woo)10:50
Nijuhave a few questions if anyone is about?10:50
maxvancefferFixed everything is working out of the boox10:51
DanChapmanmcphail, 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
mcphailDanChapman: brilliant!10:52
mcphailNiju: ask away. Often not many people here on a Saturday morning, though :)10:53
NijuI get that :)10:53
NijuIs the terminal app limited in anyway? I tried apt-cache search and couldn't find anything10:53
mcphailNiju: not really limited, but apt is not used by default on the phone10:54
NijuOk, so how exactly could I run classic terminal apps on my terminal?  Do I need developer-mode on or something?10:55
mcphailNiju: 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 chroot10:56
NijuI'm happt to 'break' it if there is a way back :)10:57
mcphailNiju: 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 around10:58
NijuI'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 straightforward10:59
OerHeksNiju, take a read from 4 may and up http://sturmflut.github.io/ nice blog10:59
OerHeks( to restore )10:59
Nijuthanks OerHeks10:59
mcphailNiju: ssh is there by standard. I suspect nmap is as well, but not sure10:59
NijuI've been looking for a good UT blog11:00
mcphailaah. nmap isn't11:00
Nijuyeah11:01
NijuI could get by with nc/netcat though11:01
mcphailnc is certainlyu there - I use it all the time11:01
Niju:D11:01
Nijuso, for other tools etc nmap, adding ppa's etc, this is best done via chroot?11:02
NijuIs adding ppa's even possible?11:02
mcphailNiju: the phone uses a PPA by default, so yes (if you _really_ want to break things) ;)11:03
mcphailNiju: might be wothwhile getting used to it before breaking it, though11:03
mcphailNiju: and remember most PPAs don't build ARM packages11:04
NijuYeah, just trying to get an idea of the capabilities11:04
NijuI like it so far tho, scopes made much more sense when I tried them11:05
mcphailNiju: of ten the safest way is to "apt-get download" a package, "dpkg-deb --extract" it and copy the binary to ~/bin/11:05
Nijunoted, cheers11:05
* mcphail does it that way11:05
NijuOne thing I do miss is real time multi tasking like in sailfish.  Is that in the works for UT at all?11:06
mcphailno - 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 etc11:07
mcphailnot sure I agree with it, but hey ho11:07
NijuThat makes sense I suppose, however how will that impact ssh sessions for example?11:07
mcphailNiju: 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 persist11:08
NijuIs that in the ubuntu store?11:08
NijuI think that might be the app I saw in a YT vid I couldn't remember the name of11:09
mcphailNiju: in the open store, rather than the default store. You have to sideload the open store11:09
mcphailhttps://open.uappexplorer.com/11:09
mcphailNiju: but tweakgeek tweaks are currently killing my battery, so be wary11:10
NijuHmm, maybe I'll hold off for now then11:12
mcphailNiju: you can also activate an ssh server on the phone, and that runs quite ahppily in the background11:12
mcphail*happily11:12
NijuOk, last question before I go back to Xenoblade x, what exactly can I do with developer mode on?11:13
Nijuah, I might try that then :D11:13
mcphailNiju: you need developer mode for adb access11:13
Nijuok cool, thanks for answering mcphail11:17
Niju:)11:17
mcphailNiju: enjoy!11:17
OerHeksmuka_, fix your connection, please14:54
=== stakewinner00 is now known as stakewinner00|AF
=== stakewinner00|AF is now known as stakewinner00
=== stakewinner00 is now known as stakewinner00|AF
scientes2015/12/04 20:24:58 mkdir /root/.cache: permission denied19:33
MikaelaDo Ubuntu Phones support NFC paying?20:42
talonzmight be a little early for nfc payments on ubuntu touch just yet Mikaela20:44
MikaelaI see20:45
skywalkeris the Meizu MX4 the only 4G phone out there for Ubuntu Touch?22:16
dobeyit's the only retail phone that comes with ubuntu on it22:23
dobeythat has 4g, at the moment22:23

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