Monday, 2021-05-31

T42<Verevka86> https://github.com/SailfishOS-sagit/droid-config-sagit/commit/f09e4b47474df0c901a2c679182c87e731fb0d4506:55
T42<Verevka86> it still doesn't work, did I do everything right?06:55
mal@Verevka86 is there a reason you did it like that? does your device have mounted /odm partition?09:23
Danct12good afternoon folks09:24
T42<Verevka86> @mal [@Verevka86 is there a reason you did it like t …], https://paste.ubuntu.com/p/QfV6CS6wW5/10:33
mal@Verevka86 I meant that why not do the simpler way of add the symlinks to /odm/lib64 (and lib for the other ones needed), assuming your device doesn't already use /odm10:34
T42<Verevka86> @mal [@Verevka86 I meant that why not do the simpler …], Thanks, I'll try10:37
mal@Verevka86 I added that one link for lib64 and these 3 for lib libandroidicu.so  libicui18n.so  libicuuc.so10:40
T42<Verevka86> @mal [@Verevka86 I added that one link for lib64 and …], yes, I saw your commit, but it doesn't work for me in / system10:41
malwhat do you mean10:50
malwhat exactly did you do now?10:52
T42<Verevka86> @mal [@Verevka86 I meant that why not do the simpler …], yes it worked.  Thank you very much 🤝12:02
T42<b100dian> (sorry, clicking a 'link')18:45
T42<b100dian> so in my case the service media.audio_policy is not found because making hybris-hal droidmedia and building droid-hal does not update minimediaservice on mic..18:46
T42<b100dian> droid-hal-device.inc says # Omit droidmedia bits, they get packaged via droidmedia-localbuild18:46
T42<b100dian> Any pointers about this reference?18:46
T42<b100dian> oh, seems to be —gg, let me check18:49
mal@b100dian use this instead https://github.com/sailfishos-sony-tama/miniaudiopolicy19:01
malI mean use that in addition to droidmedia19:02
T42<b100dian> I was going to ask about that too, it basically replaces the need for MINIMEDIA_AUDIOPOLICYSERVICE_ENABLE, right?19:03
malyes19:04
T42<b100dian> thanks, will report back:)19:04
maldo you know how to build that?19:05
T42<b100dian> I'll probably add it to my manifest and make miniaudiopolicyservice (or some breafast command that makes the current folder?). Not sure about the spec though19:12
T42<b100dian> I'm one month into this and I still dont rpm:( Probably %include from one of the patterns?19:13
malthere is the step where you run the script to copy the binary19:27
malso the path in manifest should be external/miniaudiopolicy and then after syncking the sources you run that make miniaudiopolicyservice like you did for hybris-hal and then run external/miniaudiopolicy/rpm/copy-hal.sh and then build the rpm as usual19:29
T42<b100dian> Highly appreciated, thanks!19:30
T42SandeepSunar %lastname% was added by: SandeepSunar %lastname%20:25
T42<b100dian> Ok, I'm lost at the 'nothing provides miniaudioservice' when building mic now, probably I've not get the 'build the rpm as usual'  step: I've made build_packages.sh --mw=external/miniaudiopolicy/ and added it as a Requires: in droid-configs..20:56
T42<b100dian> I see @Verevka86 you removed it from there, how come it ends up in the final image then?20:56
mal@b100dian did you build the rpm of that after running the copy-hal.sh?21:07
mallike this rpm/dhd/helpers/build_packages.sh -b external/miniaudiopolicy21:07
T42<b100dian> Oh, that i didnt, i did mw21:07
malI think that might work also21:07
maldid the build succeed?21:08
T42<b100dian> there were issues with no tag available that I fixed by setting a tag to the repo checkout (which is always missing even a branch)21:09
T42<b100dian> I still get the 'nothing provides' error, should I just build it and it will appear in the image or do I need to Require it from configs?21:13
T42<elros34> building any package using build_packages.sh dosn't make it included in image. It just build package and put it in droid-local-repo/, that is all.21:20
T42<elros34> Correct name is miniaudiopolicy not miniaudioservice https://github.com/sailfishos-sony-tama/miniaudiopolicy/blob/main/rpm/miniaudiopolicy.spec#L721:23
T42<b100dian> oh, that is a very good reason for that error, thanks @elros34 !21:26
malah, that explains the error21:26
T42<b100dian> So now I feel stupid but at least it doesn't work by magic, you do have to Require it from some place21:26
malI missed that21:26
T42<b100dian> I should use copy paste more often:)21:27
malyeah, you mentioned you added it as requires but I never read the actual package name in the error21:27
T42<b100dian> btw, what is the guiding of adding packages to either droid-config-$(device), droid-version-$(device) and droid-hal-device?21:28
T42<adampigg> dont add anything to droid-hal-version ...21:45
T42<adampigg> droid-hal-device is the android bits only21:45
T42<adampigg> droid-config is a dumping ground for whatever you want :D21:46
T42<b100dian> Well I almost forgot there was a droid-hal-version repo until I tried to switch to droid-vibrator(didn't vibrate either), so there must be something that _should_ be done in that repo:)21:51
mal@b100dian like adampigg said, droid-configs is the place, to the patterns there, in this case the adaptation pattern file21:51
T42<b100dian> ok, thanks21:56
T42<b100dian> btw, yesterday I tried to detect the front camera within droid-camres https://bit.ly/2SN70VV but on my device none returns 1. If anyone cares to test with a gst-droid that includes this commit 54665ebe323f01bea0f771a52b9ca0796b5f011d I would be curious if it works on another device21:59

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!