**** BEGIN LOGGING AT Sun Feb 19 03:00:02 2017 Feb 19 06:21:07 Tofe: Nice for the camera bits! Feb 19 06:21:49 Would this work already or we'd need more backend stuff first? Feb 19 06:22:04 Remember I have this very simple Camera app somewhere :P Feb 19 08:33:27 Herrie|2: more backend stuff, I have to build the part which is on Android side, in libhybris repo Feb 19 08:45:42 Tofe: Ah Feb 19 08:45:51 You expect that to be a lot of work or... ? Feb 19 08:46:02 no, I'm on it at the moment Feb 19 08:46:35 :D Feb 19 08:46:49 Because then we could "just" access it from QT right? Feb 19 08:46:53 And write a QML camera app? Feb 19 08:47:20 I... don't know, actually :p But it is designed as a QCamera plugin, so could be Feb 19 08:47:47 My goal was just to have a working recipe, I didn't think it would work so easily actually :) Feb 19 08:48:16 Tofe: Hehe, sometimes things aren't hard ;) Feb 19 08:48:27 I guess after debugging low level stuff, other things are easier LOL Feb 19 08:48:31 Or at least look easier Feb 19 08:48:48 Herrie|2: one more thing: I'm replacing mer's Android.mk build with one of mine, so that we have more control on it Feb 19 08:49:31 it's also much shorter: less than 10 lines Feb 19 08:52:54 https://github.com/Tofee/android_luneos_hal/blob/master/Android.mk Feb 19 08:58:00 Nice Feb 19 10:21:15 mmh there are some strange build issues on Android side, like I'm missing something important... Feb 19 10:23:53 With your new Android.mk? Feb 19 10:26:33 no no, that one works fine Feb 19 10:26:57 I'm trying to build libhybris/compat, to get the Android side service for camera :) Feb 19 10:27:26 I've already built the compatibility layer, but now I need the camera service (of course) Feb 19 10:54:56 Yeah withou the service it won't do much :P Feb 19 10:59:05 I just can't find where the needed .h can be. I guess I'll have to wait for morphis... Or if you can find either the camera_record_service.h or the CameraRecordService class definition, I'll take it! Feb 19 12:07:02 Tofe: It seems morphis dropped that .h here? https://code.launchpad.net/~morphis/libhybris/+git/libhybris-ubuntu/+merge/282019 Feb 19 12:32:30 Tofe: https://github.com/jhodapp/libhybris/blob/3fcfc59c1eda538a25b18c46c73ebd071adc0d3d/compat/media/camera_record_service.h Feb 19 12:32:35 But this is 3 years old Feb 19 12:33:28 Tofe: Seems it's in android_frameworks_av maybe? https://github.com/UbuntuSTE/android_frameworks_av/blob/83f783a2dc1f474c10e30f7c3135d26d3580154c/include/media/camera_record_service.h Feb 19 12:34:46 This seems newer but still based on old 2014 code: https://github.com/Genymobile/f2ut_platform_frameworks_av/blob/fd64beda44935135d89e0b624eb2bf34c8353125/include/media/camera_record_service.h Feb 19 13:56:58 Herrie: thanks :) Feb 19 14:28:35 Herrie: I think I found what they use: https://git.launchpad.net/~phablet-team/android/+git/android/tree/ Feb 19 14:29:29 Not sure how to use it though Feb 19 14:37:47 So still waiting for morphis :P Feb 19 14:43:22 no, it's not exactly that Feb 19 14:44:11 more that ubuntu build their own whole android base, not just an overlay Feb 19 14:44:22 so they didn't separate the various repos Feb 19 14:45:07 Tofe: Ah :S Feb 19 14:47:03 more details here https://wiki.ubuntu.com/Touch/MaintainingCodePhablet Feb 19 14:50:50 Ah, wait, that documentation is speaking of 4.4.2... it's quite outdated I think... Feb 19 14:55:46 I've spoken too quickly - they do have separate repos. https://code-review.phablet.ubuntu.com/gitweb?p=aosp/platform/frameworks/av.git;a=summary Feb 19 15:32:35 Ah :) Feb 19 16:18:48 Ok, it's going to need some little bit of thinking... They have patched framework/av, and made dependencies between libhybris/compat and the android base. Problem is, it means latest libhybris/compat (which was made for Android 6.0.1) doesn't seem to build with a 5.1.1 base like ours... Feb 19 16:43:19 ok, it's supposed to build with Android 5, but doesn't; I prefer this status :) Feb 19 16:44:40 so, it's back to morphis :p Feb 19 16:55:23 (for tomorrow's question, here'll be the paste: http://paste.ubuntu.com/24027928/ ) **** ENDING LOGGING AT Mon Feb 20 03:00:00 2017