Thursday, 2020-10-08

T42<edp_17> @elros34 : Massive help to you (again). 😄 Now all lost functionality is back and everything works on my latest 3.3 build. However I need to manually install the .rpms for the bluetooth. I don't understand why those packages were not included into the build.06:24
T42<edp_17> How can I automatically include packages (programs) into the build? (I have installed sfos where the storeman was installed by default and I'd like to do the same.) Is it enough if I install them in the sdk (sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -m sdk-install -R zypper install <package name>)?06:25
r0kk3rzthat just installs them to the sb2 target07:41
r0kk3rzyou need to add them to your device patterns07:41
r0kk3rzdont include storeman though07:41
T42<adampigg> @r0kk3rz [dont include storeman though], why?09:16
r0kk3rzbecause its bloat you dont need09:19
piggznot always true .... pinephone needs storeman included because of gecko faults, so needs a convenient way to installa browser09:20
piggzI also advocate bundling galaxy-attack-hd :D09:20
T42<edp_17> @r0kk3rz [you need to add them to your device patterns], How? Can you let me know an example, please? @adampigg: As you have added storeman into your pp image, you may let me know the correct way? 😁 Thanks both.09:29
r0kk3rzyou know the pattern files?09:32
T42<adampigg> https://gitlab.com/sailfishos-porters-ci/dont_be_evil-ci/-/blob/master/pinephone-1.1/Jolla-@RELEASE@-pinephone-1.1-@ARCH@.ks#L13109:33
T42<edp_17> rokk3rz: Yes, I know that and I defined some packages already but I don't know how to include a package from the local repo.09:34
r0kk3rzyou dont09:35
T42<edp_17> @adampigg: Thanks. This example is pulling in the package from openrepos. I'd like to include some packages from the droid-local-repo.09:35
r0kk3rzyou build the packages on obs09:35
T42<edp_17> r0kk3rz: Perhaps, you are right. For this port I didn't build packages on obs (yet)09:36
r0kk3rzthats ok, your ks will already have your local repo then09:38
r0kk3rzso just add a line to the pattern09:38
T42<edp_17> r0kk3rz: I just did. I'll build a new image and will see whether they are there.09:39
T42<edp_17> I'd like to install automatically this package: https://build.merproject.org/package/binaries/home:elros34:sailfish-devel/mousetracker?repository=sailfishos_3.3.0.1609:41
malr0kk3rz: I think better than patterns might be add the apps to .ks manually?09:45
malof course bluetooth stuff should go to patterns but any apps in my opinion should not be in patterns09:45
r0kk3rzsure09:47
r0kk3rzor dont install apps09:47
r0kk3rzputting apps in patterns is hilariously bad idea09:48
piggzsure...on PP its temporary until gecko is fixed09:49
T42<edp_17> Okay, with pattern I can add the bluetooth stuff and the way Adam showed me I can install storeman. How can I install pachmanager and mousetracker where I only have the .rpm files?09:49
piggzwhy dont you just leave that to users? it is bad practice, on only tmeporary due to PP limitations that I do it, you shouldnt have such limitations09:50
T42<edp_17> What I'd like to achive here is to get the S-pen working on a build right out of the box. Without the need to install any packages or other black magic. 😄09:51
piggzyou can add repos that are on openrepos to your kickstart, and install from there09:51
T42<edp_17> And that s-pen requires pachmanager and mousetracker installed.09:51
r0kk3rzsounds like a hack09:53
T42<edp_17> Yeah. 😄 (And this only requires for this port.)09:57
T42<elros34> @edp_17 add this repo same as you have glibc repo added: http://repo.merproject.org/obs/home:/elros34:/sailfishapps/sailfishos_3.3.0.16/. It have mousetracker, storeman and patchamanger 2.10:05
T42<edp_17> @elros34: Cool! Thanks! I wanted to ask you to upload your mousetracker into openrepos there I could install it from there, but this way is better!10:11
T42<edp_17> I have added my bits into 'Jolla-@RELEASE@-@DEVICE-@ARCH@.ks' file to install some packages from openrepos and after I've done a 'rpm/dhd/helpers/build_packages.sh -c' they are not there anymore.13:44
T42<edp_17> Will the 'rpm/dhd/helpers/build_packages.sh -i' also remove them?13:45
mal'rpm/dhd/helpers/build_packages.sh -i' will regenerate the .ks file14:08
T42<edp_17> Thanks mal. If that regenerates, how can I add that permanently? I only know this way to build an image that I can install on the device.14:09
T42<Anton %lastname%> Anyone knows anything about porting sensors? From what I got yesterday, sensorfwd seems to be unable to find magnetometer, and I don't think there is one in my device. Is there any way to disable it?14:40
T42<edp_17> @elros34 : I have added your repo into sparse/usr/share/ssu/features.d and built a new image but it didn't install on the device. What am I doing wrong? Here you can check what I added: https://github.com/edp17/droid-config-treltexx15:03
T42<edp_17> Thank you.15:04
malAnton which device is that? sensors can be disabled in sensorfw configuration and also in hw-settings.txt15:16
T42<maffeen> https://del.dog/emecymejib.txt15:27
T42<maffeen> Trying to port Sailfish OS to A3.15:27
T42<elros34> @edp_17 don't add those documentation.list and tmp/* files. They are created during build so it's pointless. You have added repo with many packages (including mousetracker) but you don't pull that package nor via patterns nor in ks image. Also if you don't want this repo to pullute your system then add it only to ks file instead ssu/f15:30
T42eatures.d. Then us mic manually according to HADK instead build_packages.sh -i15:30
T42<MrBam> can anyone share link to ubuntu-trusty-android-rootfs ? i cant reach https://releases.sailfishos.org/ubu/16:16
T42<Anton %lastname%> @mal My device is moto g7 (river), which neither has hall sensor (lid), nor compass, so there shouldn't be any reason for magnetometer to exist?16:32
T42<elros34> I Ia m right on my mote I have magnetometer but no compass but it has very little use16:34
T42<elros34> @MrBam this one? https://releases.sailfishos.org/ubu/ubuntu-trusty-20180613-android-rootfs.tar.bz216:36
T42<elros34> Works fine for me. Also it's not required unless you port for some old device16:38
malAnton what does test_sensors tell on the device?16:40
T42<Anton %lastname%> @mal crashes with assertion hwmod != NULL16:42
malare sensors working at all on the device? or do you use the binder backend of sensorfw?16:44
T42<Anton %lastname%> Sensors probably don't work, I think I should be using binder backend, as it's hybris-1616:45
T42<MrBam> @elros34 [Works fine for me. Also it's not required unle …], than i will use a vpn, couse i cant rich it16:47
T42<Anton %lastname%> Perhaps the output of sensorfwd will be of some use: https://pastebin.com/Q8Hs4TZT. Let's suppose my hw-settings.ini is like the example for the exception of Ecompass and hall which are 017:02
T42<Anton %lastname%> Oh, and logcat seems bothered by SMGR service timeout among other things. My guess is that it waits for sensorfwd to start17:05
maldo you have correct version of the binder plugin for sensorfw?17:08
malI assume you use 3.3.0 sfos, which needs 0.11.9 version17:09
T42<Anton %lastname%> Well, it's 0.11.8, could that be the problem?17:10
T42<elros34> 0.11.8 should be ok on 3.3.0.x17:12
T42<Anton %lastname%> I think I found something. sensors-qt5 is 0.11.8, but hybris-libsensorfw-qt5-binder is 0.12.117:13
T42<elros34> so it's not correct, you need to downgrade it17:14
malyeah, binder plugin is too new17:20
mal0.11.9 is the last version that works on 3.3.017:21
T42<edp_17> @elros34: I think I understand now. I thought that was enough to install the package if I add that file. But basically that only defines a repo where a package can be pulled in. Therefore the package name still must be defined in the pattern. Am I right?18:28
T42<elros34> yes, mic must know what you want to install in your image18:30
T42<edp_17> Okay, thanks for confirming. Based on that logic if I upload the .rpm files somewhere to the web, can I use that location as a repo (the same way like glibc) and install packages from there?18:31
T42<edp_17> This way I can put the packages I need together and install from that repo.18:32
T42<edp_17> If the .rpm files are enough to be there and nothing else is required.18:33
T42<elros34> no it can't be 'somewhere on the web' it must be repository like in droid-local-repo, openrepos, obs18:37
T42<elros34> but you don't use obs so it doesn't matter, just download rpms to local repo and let mic pull it from there18:39
T42<edp_17> I see. Thanks. So, there is something else that makes a location to a repo from a collection of rmps.18:43
coderushttps://wiki.merproject.org/wiki/Adaptations/libhybris down?20:30
r0kk3rzseems like21:59
lbtit's back now22:16
r0kk3rzthanks lbt22:17
r0kk3rzany news about possible closure dates for obs?22:17
lbtno. nothing planned yet22:18
r0kk3rzok cool22:18
lbtThere will be a decent interval post announcement - probably 2-3 months22:18
r0kk3rzalright, i'll keep an eye out for that22:19
r0kk3rzthanks22:19

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