*** miau_ <miau_!~miau@55d4030e.access.ecotel.net> has quit IRC (Ping timeout: 256 seconds) | 03:47 | |
*** miau_ <miau_!~miau@55d40c7c.access.ecotel.net> has joined #sfdroid | 03:48 | |
*** miau_ <miau_!~miau@55d40c7c.access.ecotel.net> has quit IRC (Ping timeout: 255 seconds) | 05:29 | |
*** pseudodev <pseudodev!uid205973@gateway/web/irccloud.com/x-tscjlvvmcdqrdqvb> has joined #sfdroid | 07:28 | |
*** nh1402 <nh1402!~nh1402@host81-133-137-69.in-addr.btopenworld.com> has joined #sfdroid | 08:01 | |
ballock | krnlyng: yes, we're probably skipping cm12, and although we had a decently-running cm12, there were still some issues, and the world is moving on :) | 08:12 |
---|---|---|
nh1402 | ballock: going straight to CM14? | 08:18 |
nh1402 | :p | 08:18 |
ballock | nh1402: well, let's say it would be beyond bleeding edge | 08:19 |
nh1402 | pure port? | 08:20 |
ballock | nexus5 has more chances for a pure port | 08:21 |
ballock | at least it was announced that the latest vanilla kernel supports it | 08:21 |
nh1402 | just the chipset, not much else I don't think | 08:23 |
nh1402 | ballock: define "*beyond* bleeding edge" | 08:27 |
ballock | currently, bleeding edge is the version you would cut yourself attempting | 08:28 |
NeKit | CM15 :) | 08:28 |
ballock | cm13 is the version atm, although people are working on the sfos support for it, their changes are not integrated yet, and some are their-device-specific | 08:28 |
nh1402 | well technically CM is dead, it's the equally if not more stupid name of Lineage | 08:28 |
ballock | nh1402: project name is dead, but I'm basing sfos on mako on cm-13.0-20161221-SNAPSHOT-ZNH5YAO3Y2-mako.zip - not much Lineage in it. | 08:30 |
nh1402 | well I've been trying to build an emulator image, to see if we could use that, 2nd attempt at trying to build one. | 08:31 |
nh1402 | first attempt had issues with the AOSP sources, so had to do a redo. Which I did yesterday, got much further in the build process, but it crashed again, got to 33% before it conked out, will see if I can get further tonight. | 08:32 |
ballock | emulator? x86? | 08:34 |
nh1402 | arm | 08:34 |
ballock | so... umm... what's emulated there? | 08:34 |
nh1402 | for me to find out, and then you to find out. | 08:35 |
*** krnlyng__ <krnlyng__!~liar@178.114.49.152.wireless.dyn.drei.com> has joined #sfdroid | 09:17 | |
*** krnlyng_ <krnlyng_!~liar@178.114.27.232.wireless.dyn.drei.com> has quit IRC (Ping timeout: 240 seconds) | 09:19 | |
*** pseudodev <pseudodev!uid205973@gateway/web/irccloud.com/x-tscjlvvmcdqrdqvb> has quit IRC (Quit: Connection closed for inactivity) | 09:49 | |
*** cvp <cvp!~cvp@dslb-178-000-012-103.178.000.pools.vodafone-ip.de> has joined #sfdroid | 10:36 | |
*** miau_ <miau_!~miau@55d40c7c.access.ecotel.net> has joined #sfdroid | 11:53 | |
nh1402 | saidinesh5: got further this time (during the build process), but still crashes. | 13:36 |
nh1402 | 33%, rather than 0 | 13:37 |
*** miau_ <miau_!~miau@55d40c7c.access.ecotel.net> has quit IRC (Ping timeout: 258 seconds) | 13:39 | |
*** maheart <maheart!~maheart@110-174-95-7.static.tpgi.com.au> has quit IRC (Quit: Leaving) | 14:15 | |
*** maheart <maheart!~maheart@110-174-95-7.static.tpgi.com.au> has joined #sfdroid | 14:35 | |
*** neerad <neerad!~neerad@112.133.229.160> has joined #sfdroid | 15:51 | |
neerad | My android_framework_base is from mer_hybris repo? Does it matter when building for sfdroid? | 15:52 |
neerad | Note: That files have been patched as given in sfdroid | 15:52 |
neerad | repo* | 15:52 |
*** neerad <neerad!~neerad@112.133.229.160> has quit IRC (Ping timeout: 256 seconds) | 15:58 | |
*** neerad <neerad!~neerad@112.133.229.160> has joined #sfdroid | 16:11 | |
*** nh1402 <nh1402!~nh1402@host81-133-137-69.in-addr.btopenworld.com> has quit IRC (Quit: Leaving) | 16:30 | |
*** taaem <taaem!~taaem@unaffiliated/taaem> has quit IRC (Ping timeout: 260 seconds) | 16:56 | |
mal | neerad: you shouldn't have any sailfish changes in the repos, also the hybris manifest is minimized and might miss many things needed for sfdroid | 16:56 |
*** taaem <taaem!~taaem@unaffiliated/taaem> has joined #sfdroid | 16:57 | |
saidinesh5 | nh1402[m]: out of curiosity, the crash was in the build or in the binary? | 17:09 |
saidinesh5 | i.e during the build/runtime? | 17:09 |
saidinesh5 | neerad: you need to do a fresh repo sync of CM12.1 if you want to build sfdroid | 17:10 |
*** taaem <taaem!~taaem@unaffiliated/taaem> has quit IRC (Ping timeout: 255 seconds) | 17:38 | |
*** Xray2000 <Xray2000!~Rudi@cust-13-10-110-94.dyn.as47377.net> has joined #sfdroid | 17:51 | |
*** Xray2000 <Xray2000!~Rudi@cust-13-10-110-94.dyn.as47377.net> has quit IRC (Client Quit) | 17:52 | |
*** neerad <neerad!~neerad@112.133.229.160> has quit IRC (Ping timeout: 256 seconds) | 17:57 | |
*** taaem <taaem!~taaem@unaffiliated/taaem> has joined #sfdroid | 18:01 | |
*** taaem <taaem!~taaem@unaffiliated/taaem> has quit IRC (Quit: WeeChat 1.7) | 18:14 | |
*** taaem <taaem!~taaem@unaffiliated/taaem> has joined #sfdroid | 18:19 | |
*** neerad <neerad!~neerad@112.133.229.160> has joined #sfdroid | 18:27 | |
neerad | okay | 18:28 |
neerad | got it | 18:28 |
neerad | I did maximize it to include all the disabled repos in manifest. But i got your point new repos from CM repos | 18:30 |
saidinesh5 | neerad: also the repos from sfdroid use different patches from that of mer-hybris. the sfdroid ones for eg. look for libraries in /usr/libexec/sfdroid/systme/lib while the mer hybris ones look for libraries in /usr/libexec/droid-hybris | 18:34 |
saidinesh5 | so just reusing the same sources as you have cloned for building your sailfish build can be a pain, if you dont know what you're doing. especially when you need to switch back and forth between building sailfish and sfdroid | 18:35 |
*** cvp <cvp!~cvp@dslb-178-000-012-103.178.000.pools.vodafone-ip.de> has quit IRC (Remote host closed the connection) | 18:41 | |
neerad | I am building one a new CM_12.1 repos taking repos from sfdroid only and rest from CM repos | 18:57 |
neerad | taking that repos availbale in sfdroid and ignoring it on the manifest | 18:57 |
neerad | I hope building on a new CM_12.1 dir would be right? | 18:58 |
saidinesh5 | https://gist.github.com/saidinesh5/3262c31c88776445544c8b2804ee02df use my local manifest for that: https://gist.github.com/saidinesh5/3262c31c88776445544c8b2804ee02df | 19:01 |
saidinesh5 | you need to first init a directory with fresh CM 12.1 YOG7D sources and preferably make a build to see if it is working fine | 19:02 |
saidinesh5 | then add this local manifest and repo sync | 19:02 |
neerad | no i made my own local_manifest but thanks. One thing I wanted too ask, does cancro works with sfdroid? | 19:07 |
saidinesh5 | not yet. I had to start working on the droplet browser , so my work on SFDroid for cancro has been put on pause | 19:33 |
neerad | ahhh okay | 19:33 |
neerad | does init.rc needs to be patched? | 20:04 |
saidinesh5 | yep | 20:05 |
saidinesh5 | to include the init.sfdroid.rc | 20:05 |
neerad | I believe it is in the system/core/rootdir | 20:05 |
neerad | init.rc file? | 20:05 |
neerad | and I have to add "import init-sfdroid.rc" | 20:06 |
saidinesh5 | wait. which init.rc are you talking about? one from your sailfish os build? or one from sfdroid? | 20:06 |
neerad | build | 20:06 |
saidinesh5 | Ah for now just make the change on device | 20:06 |
saidinesh5 | if it works, then you can make the change in the system/core/rootdir | 20:06 |
neerad | oh in the device itself? | 20:06 |
neerad | okay | 20:06 |
saidinesh5 | also keep in mind that that change could make your device unbootable | 20:07 |
neerad | and where do i extract the compressed file? | 20:07 |
saidinesh5 | so you have to go back to recovery and disable that when that happens | 20:07 |
saidinesh5 | what compressed file? | 20:07 |
neerad | the final file | 20:07 |
neerad | which needs to be installed | 20:07 |
saidinesh5 | well if you're talking about entil's one.. it needs to be extracted such a way that the init.sfdroid.rc lands up in / | 20:08 |
saidinesh5 | i use a spec file to build an rpm so install/uninstall becomes easier | 20:08 |
neerad | no I am talking about https://gist.github.com/kimmoli/b47469dcca41c73704421074e5c58738 | 20:08 |
saidinesh5 | there are 2 parts btw. one is sfdroid-renderer and another is this sfdroid patched part | 20:09 |
neerad | do i need sfdroid-renderer ? | 20:09 |
saidinesh5 | if you want to see anything , of course ;p | 20:09 |
neerad | for debugging I guess | 20:10 |
neerad | or is it a necessity ? | 20:10 |
saidinesh5 | neerad: i dont see an sfdroid.rc in that instructions | 20:10 |
saidinesh5 | it is a necessity | 20:10 |
neerad | okay | 20:10 |
saidinesh5 | sfdroid = android rendering to a window | 20:10 |
saidinesh5 | that window is drawn by sfdroid-renderer | 20:10 |
neerad | in that instruction though init.rc patching is given | 20:10 |
saidinesh5 | the link under init.rc patching is broken | 20:11 |
neerad | I will use www.github.com/sfdroid | 20:11 |
neerad | init.rc patch | 20:11 |
saidinesh5 | i got mine from https://github.com/sfdroid/sfdroid-init | 20:11 |
saidinesh5 | the onyx branch, of course | 20:12 |
neerad | yours only I am talking about | 20:12 |
saidinesh5 | Ah | 20:12 |
neerad | init.rc patch | 20:12 |
saidinesh5 | sure | 20:12 |
saidinesh5 | so basically that init.sfdroid.rc should land in / | 20:12 |
saidinesh5 | and you need to patch your /init.rc to import that init.sfdroid.rc | 20:12 |
neerad | yeah of course | 20:13 |
saidinesh5 | and the patched sfdroid libs and binaries should go into /usr/libexec/sfdroid/[system/bin/ system/lib/ etc... ] | 20:13 |
neerad | or maybe I can import that file and add import init-sfdroid.rc in init.rc file? | 20:13 |
saidinesh5 | yeah that's what you need to do | 20:14 |
neerad | How do I know where the files should go is it written anywhere | 20:14 |
saidinesh5 | inside the patches you have applied, basically | 20:14 |
saidinesh5 | one of the patches to libhardware I think, searches in that specific path | 20:14 |
neerad | uh huh is it given for each and every file? | 20:15 |
saidinesh5 | otherwise you can put them anywhere and edit the init.sfdroid.rc to point to that | 20:15 |
saidinesh5 | nope, but the libhardware patch basically is about where it has to look for hardware libraries. and every android program which talks to hardware talks it via. libhardware | 20:16 |
neerad | yeah i know that but shouldn't the rpm packages automatically install to the desired location as given in init-sfdroid.rc | 20:16 |
saidinesh5 | but you didnt build an rpm for this sfdroid system part did you? | 20:17 |
saidinesh5 | if you used my spec file to create an rpm, it automatically installs everything in the correct path | 20:17 |
neerad | I will build a rpm pckg only, it is easier | 20:17 |
neerad | pckgs* | 20:18 |
saidinesh5 | yeah. build it even for sfdroid renderer | 20:18 |
neerad | I am not gonna do donkey work | 20:18 |
neerad | do i need to build that can't i install it using zypper? | 20:18 |
saidinesh5 | I think the mersdk's build_packages lets you build an rpm by pointing it to the spec file | 20:18 |
neerad | by adding a specific repo for the same | 20:18 |
saidinesh5 | you need to build the rpm first. then you can install it via. zypper | 20:19 |
neerad | no i was talking about in the device itself not building it externally | 20:19 |
saidinesh5 | hmm? i am confused. | 20:20 |
*** miau_ <miau_!~miau@55d40c7c.access.ecotel.net> has joined #sfdroid | 20:20 | |
neerad | like it is given in kimmoli's instruction | 20:20 |
neerad | he added it in the device itself | 20:20 |
neerad | ssu ar kimmoli-sfdroid http://repo.merproject.org/obs/home:/kimmoli:/sfdroid/sailfish_latest_armv7hl/ | 20:20 |
neerad | devel-su pkcon repo-set-data kimmoli-sfdroid refresh-now true | 20:20 |
neerad | devel-su pkcon install sfdroid_renderer | 20:20 |
saidinesh5 | that's only sfdroid_renderer | 20:20 |
neerad | yeah I was talking about sfdroid_renderer only | 20:21 |
saidinesh5 | that you can directly install on the device itself | 20:21 |
saidinesh5 | yeah | 20:21 |
neerad | yep geeez | 20:21 |
neerad | I thought I had to build sfdroid_renderer externally | 20:21 |
neerad | one more prob | 20:21 |
neerad | whenever i install droid-camres or any other rpm pckgs from zypper in the device itself | 20:22 |
neerad | it shows xcb missing | 20:22 |
neerad | why is that? | 20:22 |
saidinesh5 | not sure if it is even needed.. | 20:22 |
saidinesh5 | it is related to X11 .. | 20:23 |
saidinesh5 | sailfish uses wayland | 20:23 |
saidinesh5 | "XCB (X protocol C-language Binding) is a library implementing the client-side of the X11 display server protocol. XCB is written in the C programming language and distributed under the MIT License." | 20:23 |
neerad | yeah when I installed droid-camres internally in the device it failed to launch | 20:24 |
saidinesh5 | Ahh | 20:24 |
saidinesh5 | you need to run it as a nemo user | 20:24 |
neerad | citing missing libraries xcb it says my device uses wayland and other libraries | 20:24 |
saidinesh5 | probably | 20:24 |
saidinesh5 | or some missing environment variable | 20:24 |
neerad | yeah I ran it as root | 20:24 |
saidinesh5 | https://github.com/CancroSailors/sailfish-build-environment/blob/master/.mersdk.profile#L96 this is my .mersdk.profile . so i simply do build_package /path/to/package_source directory | 20:27 |
neerad | hmm I get it | 20:27 |
neerad | I know how to make pckgs externally I was talking about downloading and installing it internally | 20:28 |
saidinesh5 | Ah | 20:29 |
neerad | I can use rpm/dhd/helpers/build_packages.sh -b "" | 20:29 |
neerad | right? | 20:29 |
saidinesh5 | i think so | 20:30 |
saidinesh5 | -b, --build=PKG build one package (PKG can include path) | 20:31 |
neerad | yep | 20:31 |
neerad | yeah exactly | 20:31 |
neerad | I checked it is correct | 20:31 |
neerad | Can you tell me in case I encounter error in deploying the packages in the device what should I do to debug it? | 20:33 |
saidinesh5 | depends on the error really | 20:33 |
saidinesh5 | zypper shoould tell you why it is unable to install a package | 20:34 |
neerad | I know but what is the most commonest of error encountered | 20:34 |
saidinesh5 | since jolla store isnt enabled for your device yet, chances are zypper will hang when refreshing | 20:35 |
saidinesh5 | and takes a long time | 20:35 |
neerad | nope it is enabled | 20:35 |
saidinesh5 | for that you need to disable the store repos using ssu dr | 20:35 |
saidinesh5 | oh | 20:35 |
neerad | wt88047 Redmi 2 | 20:36 |
saidinesh5 | Ahh | 20:36 |
saidinesh5 | well other usual issues would be about missing package dependencies.. | 20:36 |
neerad | not any installation error I guess | 20:37 |
neerad | esp referring to sfdroid pckgs | 20:37 |
saidinesh5 | Ahh chances are you wont face any installation errors | 20:37 |
saidinesh5 | my spec file doesnt depend on any external packages | 20:37 |
neerad | Hope so :) | 20:37 |
saidinesh5 | sfdroid renderer uses the basic packages already provided by sailfish platform | 20:37 |
neerad | hmmm that would be sufficient I guess | 20:38 |
neerad | I guess I don't need android_bionic or android_system_core provided in sfdroid repo | 20:40 |
saidinesh5 | i am not sure actualy | 20:41 |
neerad | What patches did you use all of them or only as given in kommoli's instruction | 20:41 |
neerad | https://gist.github.com/kimmoli/b47469dcca41c73704421074e5c58738 | 20:42 |
neerad | kimmoli* | 20:42 |
neerad | plus android_framework_av | 20:43 |
neerad | that wasn't included | 20:43 |
neerad | as far as i can see your build script is basically what i expected not included android_bionic and other stuffs | 20:44 |
neerad | http://pastebin.com/fXSUaHiQ | 20:48 |
neerad | saidinesh5 I get this sync work tree error ? | 20:48 |
neerad | any idead? | 20:48 |
neerad | ideas? | 20:48 |
saidinesh5 | pwd? | 20:49 |
neerad | "/home/neerad/CyanogenMod_12.1" | 20:49 |
neerad | I am currently syncing CM repos | 20:49 |
saidinesh5 | which repo is it giving the error on? | 20:50 |
saidinesh5 | repo sync --trace or something should tell you about htat | 20:50 |
saidinesh5 | Also you should have cut down the manifest.xml | 20:51 |
neerad | I did that | 20:51 |
saidinesh5 | there are a lot of junk repos in there you dont need | 20:51 |
saidinesh5 | even after that 541? | 20:51 |
saidinesh5 | I am at 380 or something | 20:51 |
neerad | frameworks_opt_carddav | 20:52 |
neerad | or is it removable? | 20:53 |
saidinesh5 | it is for contacts afaik | 20:55 |
neerad | I figured it out , some stupid screensaver I removed it | 20:55 |
saidinesh5 | contacts sync to be precise | 20:56 |
neerad | not that some other repo | 20:56 |
neerad | why does these repos cause error? | 20:57 |
*** piggz <piggz!~piggz@195.147.198.68> has quit IRC (Quit: Konversation terminated!) | 21:01 | |
neerad | how to fix these problem? | 21:03 |
neerad | without removing repos | 21:03 |
saidinesh5 | depends on what the problem is | 21:09 |
saidinesh5 | that's why run repo sync --trace to see what the repo is and what the problem is | 21:09 |
neerad | I was googling it and found something about bare repos? | 21:09 |
neerad | What does it mean and how can it be solved? | 21:09 |
neerad | yeah I traced it repo --trace sync -l | 21:09 |
saidinesh5 | so waht's the error? | 21:10 |
neerad | can't sync work tree | 21:10 |
neerad | and this must be run from a work tree | 21:11 |
*** nh1402 <nh1402!~nh1402@2.26.4.134> has joined #sfdroid | 21:11 | |
saidinesh5 | which repo? | 21:11 |
neerad | bare repos have no work tree that is y they are failing I read | 21:11 |
neerad | libogg, screensavers, contacts sync one and I don't know how many? | 21:12 |
neerad | I remove one another one pops in | 21:12 |
saidinesh5 | try force-sync? maybe there were some local changes it was unable to rewrite | 21:13 |
neerad | did it already failed | 21:13 |
saidinesh5 | hmm.. | 21:14 |
neerad | bare repos seems to be the error | 21:14 |
saidinesh5 | delete those repo related directories inside .repo/projects and project-objects | 21:15 |
saidinesh5 | and then start repo sync | 21:15 |
neerad | okay | 21:15 |
nh1402 | saidinesh5: im getting close to successfully building an emulator image | 21:18 |
saidinesh5 | nh1402: oh what's left? | 21:18 |
neerad | solved it | 21:21 |
neerad | running repo --trace sync -l | 21:21 |
saidinesh5 | yeah --trace is quite helpful | 21:21 |
neerad | yo | 21:21 |
*** neerad <neerad!~neerad@112.133.229.160> has quit IRC (Ping timeout: 240 seconds) | 21:49 | |
nh1402 | saidinesh5: still failing to build first it was source issues, then out of memory errors, and now it's something else | 21:58 |
saidinesh5 | Ahh | 21:59 |
nh1402 | i think the issue now is java 6 instead of java8 installed | 21:59 |
nh1402 | had java6 for sfdroid cm12.1 | 21:59 |
saidinesh5 | hmm | 22:00 |
nh1402 | both are installed but its using 6 | 22:00 |
nh1402 | will fix that tomorrow | 22:01 |
nh1402 | well im off speak to you tomorrow | 22:07 |
*** nh1402 <nh1402!~nh1402@2.26.4.134> has quit IRC (Ping timeout: 252 seconds) | 22:12 | |
*** taaem <taaem!~taaem@unaffiliated/taaem> has quit IRC (Ping timeout: 256 seconds) | 22:44 | |
*** taaem <taaem!~taaem@unaffiliated/taaem> has joined #sfdroid | 23:08 | |
*** miau_ <miau_!~miau@55d40c7c.access.ecotel.net> has quit IRC (Ping timeout: 252 seconds) | 23:10 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!