**** BEGIN LOGGING AT Sat Jun 13 02:59:57 2020 Jun 13 05:50:23 Morning Jun 13 05:50:41 Tofe: For Minikin, it seems weird this would be required for camera really based upon: https://lwn.net/Articles/662569/ Jun 13 05:51:04 'The code for Android's line breaker is available in the Android Open Source Project (AOSP) source tree. Notably, though, Levien chose to name it "Minikin" rather than to use a name more in keeping with Android's traditional API and framework names (where it might have been called, say, ParagraphManager). In a discussion after the talk, Levien said that he hopes the library will prove to Jun 13 05:51:04 be reusable in other free-software projects. He added, though, that he does not have the time that would be required to set up and maintain Minikin as an open project." Jun 13 07:32:34 Tofe: What do you get on Tissot/Rosy for "dbus-send --print-reply --system --dest=org.ofono / org.ofono.Manager.GetModems" ? Jun 13 07:32:43 I don't seem to be getting anything at my end somehow Jun 13 07:32:48 Just empty array Jun 13 07:49:11 AAh seems I might have an issue on Android side: 06-05 23:53:13.496 80 80 E PerMgrLib: modem get service fail Jun 13 07:49:11 06-05 23:53:13.497 80 80 E PerMgrLib: QCRIL failed to register for modem Jun 13 08:05:01 Morning Jun 13 08:05:34 Herrie: to make it work, I also forgot that I put minikin and libharfbuzz in my vendor repo Jun 13 08:25:49 Tofe: I don't understand the need for minikin for camera since it seems to be used for text related things as I linked above Jun 13 08:28:07 me neither, but it's closed source blob, so it's not as if we have a choice here... Jun 13 08:28:22 Unless it's used for some OCR or something Jun 13 08:28:30 it could be some obscure subtitle thing Jun 13 08:28:33 or OCR yes Jun 13 09:33:18 hi Jun 13 09:34:46 BT40: hi! Jun 13 09:35:27 i opened the newly created ipk with archieve manager. Saw a debian binary file in it. is this normal? Jun 13 09:37:55 uploaded ipk to github so that anyone can see it Jun 13 09:38:28 https://github.com/BT40/hexcounter Reference link Jun 13 09:39:08 can you guys please confirm by running this ipk on any of your existing devices that whether it works? Jun 13 09:39:56 Also if you can share virtualbox luneos image for any device/config so that i can test apps. Creating new image from mypc might take long Jun 13 09:40:44 already downloaded sdk, virtualbox and all tools. awaiting for luneos image. Jun 13 09:42:35 BT40: https://herrie.org/Image.gz-dtb-land.fastboot Jun 13 09:42:40 ThatÅ› a new kernel Jun 13 09:43:01 herrie.org....amazing Jun 13 09:43:13 http://build.webos-ports.org/luneos-testing/images/qemux86-64/luneos-dev-emulator-qemux86-64-testing-0-196.tar.gz Jun 13 09:43:19 ThatÅ› a 64 bits virutalbox image Jun 13 09:43:34 You can simply connect to it with SCP Jun 13 09:43:38 great Jun 13 09:43:40 And copy things there Jun 13 09:44:01 localhost:5522 If I am correct Jun 13 09:44:05 user: root Jun 13 09:44:07 No password Jun 13 09:44:59 copy things....which things? are you refering to source code of webapp? or ipk version? or log files of our future debugging? Jun 13 09:45:53 BT40: Already have it for 20 or so years Jun 13 09:46:37 seems you only use if for data hosting/sharing. No working homepage available Jun 13 09:46:53 or may be emails :) Jun 13 09:46:55 BT40: Yes email mainly and some files Jun 13 09:47:05 No site for a while already Jun 13 09:47:24 Used it for my DVD writer firmware hacks before long time ago LOL Jun 13 09:48:19 which things to copy there? Jun 13 09:48:35 BT40: the ipk Jun 13 09:48:46 okay sure, will try Jun 13 09:49:20 Herrie: do we already got the webos installer working ? Jun 13 09:53:13 Tofe: I think JayCanuck adjusted it for adb Jun 13 09:53:57 scp output/com.hexcounter.app.web_0.0.1_all.ipk root@localhost:5522 Jun 13 09:54:16 is abouve synrtax ok? output folder is in my home directory. Jun 13 09:54:30 i suspect localhost word. Jun 13 09:55:11 * BT40 localhost might be local for herrie, is it local for me also? Jun 13 09:56:11 ssh: connect to host localhost port 22: Connection refused Jun 13 09:56:11 This is error in my terminal Jun 13 09:58:01 This is the exact ipk link, if it is comfortable for you to download ... https://github.com/BT40/hexcounter/blob/master/com.hexcounter.app.web_0.0.1_all.ipk Jun 13 09:59:31 BT40: Tofe is referring to WebOSQuickInstall Jun 13 10:00:43 https://github.com/JayCanuck/webos-quick-install/releases Jun 13 10:00:50 BT40: the correct syntax is scp -p 5522 output/com.hexcounter.app.web_0.0.1_all.ipk root@localhost:/tmp Jun 13 10:01:23 BT40: I have localhost:5522 and SCP as protocol in my WinSCP Jun 13 10:01:50 ssh: connect to host localhost port 22: Connection refused Jun 13 10:01:50 I usually use "opkg install myfile.ipk" to install it Jun 13 10:01:50 lost connection Jun 13 10:02:03 You need to have your VirtualBox running Jun 13 10:02:14 And the LuneOS image as well inside of it Jun 13 10:02:16 sorry, it's -P , not -p (lowercase) Jun 13 10:02:19 ok, will flash virtualbox fil Jun 13 10:02:41 You just extract the archive, then import appliance in VirtualBox Jun 13 10:02:58 same error with capital p Jun 13 10:03:17 And start the new VirualBox machine Jun 13 10:03:48 Herrie: I was actually referring to https://www.webosose.org/docs/reference/ls2-api/com-webos-appinstallservice/ Jun 13 10:04:00 Tofe: Nope not yet Jun 13 10:04:06 Still fighting a bit with ecryptfs Jun 13 10:04:11 ah ok Jun 13 10:04:13 Though I didn't look much further to be honest Jun 13 10:04:22 Need to add it back to my current image Jun 13 10:05:17 BT40: just FYI, ipk is a simpler, debian-derived package format Jun 13 10:06:02 okay, thank you. tofe Jun 13 10:06:29 to install an ipk, usually it goes through webos internal code to unpack it in the correct place (i.e. not directly on the system) ; but we can also install it as a system package, that'll work too Jun 13 10:06:49 earlier i thought ipk is native to webos. now picture got cleared. Jun 13 10:07:01 the command to do so is just "opkg install myfile.ipk" Jun 13 11:10:33 Trip down memory lane LOL: https://web.archive.org/web/20040401154428/https://www.herrie.org/ Jun 13 11:38:36 Ah, PHP-Nuke and its exploits :p Jun 13 12:59:00 looks like I had a crash in minimediaservice, related to the use of fonts, so I'm retrying with aosp's harfbuzz, minikin and unicode Jun 13 13:00:45 just started virtual machine image. It has stuck at terminal Jun 13 13:01:17 message is: u are in emergency mode. press enter...or ctrl D to continue Jun 13 13:02:45 if i press enter then type command exit (it is written in instructions that after login, press exi to run main...), it stucks on starting default target. Jun 13 13:04:27 instead of typing exit, could you type "journal --no-pager" Jun 13 13:04:35 journalctl, sorry Jun 13 13:04:46 ok will try that Jun 13 13:05:50 logs are displayed. but how would i boot into normal gui mode? Jun 13 13:05:58 which is on smartphones? Jun 13 13:06:10 well you first need to know what's wrong Jun 13 13:06:20 did you just import the .ovf appliance ? Jun 13 13:06:31 no, nothing Jun 13 13:06:45 just created machine then start Jun 13 13:07:03 but you associated a disk image to it? Jun 13 13:07:27 if not, then you're like trying to start a pc without any hard drive, that won't work :) Jun 13 13:08:39 associated the image which is ... http://build.webos-ports.org/luneos-testing/images/qemux86-64/luneos-dev-emulator-qemux86-64-testing-0-196.tar.gz Jun 13 13:09:01 after extracting tar, there was vmdk like extension image, 700mb size Jun 13 13:09:01 yes Jun 13 13:09:11 but also a .ovf Jun 13 13:09:30 not familiar with ovf actually Jun 13 13:09:45 what i need to do? Jun 13 13:09:45 it's a virtual machine configuration description Jun 13 13:09:58 import it in VirtualBox (Import Appliance in menu) Jun 13 13:10:09 okay Jun 13 13:11:00 then just follow the steps, leave the defaults Jun 13 13:13:24 grat. booted. thanks Jun 13 13:14:48 can i change display settings to portrait? it is now desktop like. Jun 13 13:15:36 Also i want to test my app now, do i have to follow WebOSQuickInstall? which you referred earlier? Jun 13 13:17:27 no, resolution is fixed; it's a bit tedious to change right now Jun 13 13:17:53 no just use scp + opkg Jun 13 13:18:35 I never used WebOSQuickInstall, so I can't guide you in there Jun 13 13:19:49 Now i gotwhat Herrie was teaching>>You just extract the archive, then import appliance in VirtualBox. Earlier i thought that was about webosquickinstall due to flow of conversation. I i got understood that it was about setting vbox Jun 13 13:21:17 is this what you are referring to Tofe ? >> the correct syntax is scp -p 5522 output/com.hexcounter.app.web_0.0.1_all.ipk root@localhost:/tmp Jun 13 13:21:51 yes Jun 13 13:21:55 earlier i thought that was to upload file to herry's domain. seriously. That was my mistake. Jun 13 13:22:08 i was running that command without vbox LOL Jun 13 13:22:20 :) that won't work Jun 13 13:22:33 hahaha... Jun 13 13:24:42 com.hexcounter.app.web_0.0.1_all.ipk 100% 29KB 2.1MB/s 00:00 Jun 13 13:24:54 this is output, seems successful Jun 13 13:26:49 then opkg Jun 13 13:27:00 Command 'opkg' not found, did you mean: Jun 13 13:27:05 you'll have to ssh into the virtual machine Jun 13 13:27:10 this is error Jun 13 13:27:13 ssh -p 5522 root@localhost: Jun 13 13:28:59 nothing. just cursor is blinking Jun 13 13:29:22 no success or error msg Jun 13 13:29:40 ah, maybe without the ":" Jun 13 13:30:27 I always use Putty on my windows machine with easy GUI not sure there's something similar in Linux Jun 13 13:31:38 well, the hard part of putty (filling in the address and port) is the only things needed on command line in linux, so... Jun 13 13:38:28 no progress. even i installed openssh, enabled ufw firewall... still nothing Jun 13 13:38:48 you don't need all that; if scp worked, ssh will work Jun 13 13:38:49 imean, sudo ufw allow ssh Jun 13 13:39:08 ssh: connect to host 0.0.21.146 port 22: Connection timed out Jun 13 13:39:19 0.0.21.146 ?? Jun 13 13:39:25 localhost is always 127.0.0.1 Jun 13 13:39:45 check for typos Jun 13 13:41:24 I don't understand how you got "host 0.0.21.146 port 22": in my message, -p designates port 5522 and localhost even with a typo should end up with an IP that is invalid Jun 13 13:41:45 shouldn't Jun 13 13:43:05 inside port forwarding rules of my image, host ip and guest ip are left blank. Jun 13 13:43:13 can these cause issue? Jun 13 13:43:23 these are by default set by ovf file Jun 13 13:44:44 It should really work out of the box Jun 13 13:45:21 It does on my Windows machine. Import the ovf, start LuneOS and it would work Jun 13 13:45:29 Port 5522 Jun 13 13:46:41 BT40: it's lowercase for -p Jun 13 13:46:48 scp -P , but ssh -p Jun 13 13:46:58 (I know, it's a stupid option naming) Jun 13 13:47:02 hahaha Jun 13 13:47:07 solved problem Jun 13 13:47:11 logged in Jun 13 13:47:30 now "opkg /tmp/*.ipk" Jun 13 13:47:39 opkg install /tmp/*.ipk Jun 13 13:49:54 installed Jun 13 13:50:04 but doesn't appear in app list Jun 13 13:50:16 yes, that's the inconvenient of using opkg Jun 13 13:50:22 you need to tell it to re-scan Jun 13 13:50:24 luna-send -n 1 palm://com.palm.applicationManager/rescan '{}' Jun 13 13:50:41 Just wanted to type that but Tofe beat me to it Jun 13 13:51:08 hahaha Jun 13 13:51:15 it is working Jun 13 13:51:21 app is working damn Jun 13 13:51:29 seems we are on right path Jun 13 13:52:01 good :) Jun 13 13:52:59 after so many days of wandering, i came into one result. Which was not found on net during learning. FRAMEWORK IS NOT NECESSARY TO CREATE WEB APP. Jun 13 13:53:10 simple web page is a web app too Jun 13 13:53:40 just it needs json file to be identified as web app, displayed in window instead of browser tab Jun 13 13:54:17 yes, but framework will (should?) simplify your life if you want to do more complex things Jun 13 13:54:29 yes definitely Jun 13 13:54:38 in the end, a web app is a web page, yes Jun 13 14:04:34 can i create documentation for web app deployment on github? I hope it is not against licence/ethics. I am planning to create a repository called LuneOS-Layman-Tutorials. Where i want to add this wonderful experience in common language. Jun 13 14:05:18 Sure, go ahead Jun 13 14:31:14 Herrie|Desktop: now the gstreamer-droid plugin doesn't crash anymore, which is good. I even get "droidcamsrc0: ready-for-capture = true" Jun 13 14:31:29 I just don't have any UI to show it in :p Jun 13 14:32:16 Tofe: OK Great what was the issue? Jun 13 14:32:31 Just some missing mounts? Jun 13 14:32:59 Isn't there a simple qt example we could use? Jun 13 14:32:59 missing fonts... Jun 13 14:33:12 well, our own camera app should nearly work Jun 13 14:33:43 Missing fonts caused camera devices not to show up? Weird stuff with all these funny requirements Jun 13 14:34:07 yes... and we go through some weird "Watermark" methods Jun 13 14:34:43 There's also this in OSE: https://www.webosose.org/blog/2019/04/16/webos-ose-1-7-0-release/#camera-service-camera-pipeline Jun 13 14:34:58 Would be nice to add at some point I guess Jun 13 14:35:35 well, gstreamer working is a prerequisite for this, iirc Jun 13 14:36:04 Don't we have that now? Jun 13 14:36:05 I think we're just missing the Qt-Gstreamer integration somehow Jun 13 14:36:12 well, I hope so Jun 13 14:36:27 it's just been fixed 2 minutes , maybe there are other issues Jun 13 14:36:30 +ago Jun 13 15:04:42 So if we have Qt g-streamer integration that means we could also do a proper video app so we can watch movies etc? Jun 13 15:05:04 Or even without Qt? Jun 13 15:07:41 qtwebengine also has gstreamer or that goes separately again via Chromium somehow? Jun 13 15:16:06 In Qt there should already be no problem watching a movie Jun 13 15:16:25 qtwebengine, via chromium, supports gstreamer yes Jun 13 15:16:35 that's the all point actually :) Jun 13 15:16:44 s/all/whole/ Jun 13 15:17:38 Currently I just get "Camera ERROR 3: The camera service is missing" Jun 13 15:17:48 but the gstreamer qt plugins are loaded Jun 13 15:18:04 so it's something a bit more specific it seems Jun 13 15:18:24 I've tried putting QT_GSTREAMER_CAMERABIN_VIDEOSRC=droidcamsrc but it doesn't help (for this issue) **** ENDING LOGGING AT Sun Jun 14 02:59:57 2020