Sunday, 2018-09-02

*** ChanServ sets mode: +v T405:50
r0kk3rzLeif_Erikson: you'd need to add the nemo OBS repo07:31
Leif_EriksonHow can I add the OBS repo? It's not described on my linked pahe of the Mer wiki, isn't it?08:54
r0kk3rztheres some instructions in the sailfish wiki i think08:55
Leif_EriksonYesterday, I found the contextual menu to add libraries to a project in the Sailfish SDK.08:55
Leif_EriksonSo I think I have to build the Lipstick project and add the library to the Lipstick example or Glacier project, correct?08:56
r0kk3rzhttps://sailfishos.org/wiki/Application_SDK_FAQ#Build_Engine08:57
Leif_EriksonI think I have to build Lipstick in two versions, one for the device and one for the simulator, correct?08:58
r0kk3rzthen you can add new repos to the target using sb2 and zypper08:58
Leif_Eriksonr0kk3rz: Your answer is related to my second question?09:00
r0kk3rzyou have lots of questions09:01
Leif_Eriksonr0kk3rz: Indeed. The firsz one is related to the evaluation of Nemo. I found advice for the installation of Glacier in thr Mer Wiki.09:03
Leif_Eriksonr0kk3rz: You wrote, that I have to add another repository for this purpose, correct?09:03
r0kk3rzwhat are you actually trying to do though? you want to install glacier homescreen on something?09:04
r0kk3rzyou want to build it?09:04
Leif_Eriksonr0kk3rz:1. We want to evaluate Nemo Mobile as a candidaze of the platform we will choose. For this purpose I woul like to install Glacier and the Nemo apos on a Sailfish device.09:08
r0kk3rzthen follow that link you posted above, NeoChapay updated it recently i think09:09
Leif_Erikson2. If Nemo or Sailfish would be our plattform, we need to customize a Lipstick implementation. Therefore I try to build and run the Lipstick example as a playground.09:09
Leif_Eriksonr0kk3rz: Thanks09:10
Leif_EriksonWe would prefer to hire a consultant to set up our development envirobment, but develipers with Nemo skills are rare.09:14
Leif_EriksonIf I try to build the lipstick example project, the compilation error is not surprising: lipstick devrlopment packahe not found.09:15
Leif_EriksonI found the contectual menu to add a library in Qt Creator. Here I have to choose between a internal, external or syszem library.09:19
Leif_EriksonIf I try to build the lipstick project I get the error: contextkit-statefs development package not found.09:21
Leif_EriksonI looks like a wrong setup of the SDK that causes infinite, recursive errors for missing libraries.09:22
r0kk3rzyes if you are building without rpm spec files you'll have to manually install all the dependencies yourself09:41
Leif_Eriksonr0kk3rz: Is an rpm spec gile similar to sn ant build xml or more like a maven pom?  I'm not familiar with rpm spec files.10:37
Leif_EriksonSorry again for the typos. I'm online with my phone.10:37
Leif_EriksonThe Sailfish documentation says, that the .spec file is created automatically: https://sailfishos.org/wiki/Application_SDK_Packaging_Apps10:44
Leif_EriksonIt seems, that I have to define a .yaml file. I know project dependencies in Xcode.  A complex project build requres severel dependent builds. First Xcode builds the librarirs of required libraries before the main project id builf.10:48
Leif_EriksonI prefer linked libraries for st10:49
Leif_Erikson... stable builds, but if a proje t has targets for diffetent plattforms a dynamic alternative is necessary.10:49
Leif_EriksonThis seems to be the case If I have projecz in Qt Creater that can be build for arm processors and the x86 simulator10:51
Leif_EriksonDoes someone know an example .yaml file?10:52
kimmolii prefer skipping yaml, and using directly spec11:13
r0kk3rzyeah ignore the yaml13:46
r0kk3rzan rpm is a package definition, which managed deps, building, installing, versioning .etc13:48
Leif_Eriksonr0kk3rz: Butvthe .spec is automativalky created and not part of the project, isn't it?13:49
r0kk3rzits better to make your own13:50
r0kk3rzits not hard, and then you'll be familiar with them for other things13:52
kimmoli.spec is part of the project, at least per the sdk wizard template.14:26
kimmolijust remove and delete the .yaml, then it uses Your .spec14:27
Leif_EriksonI will try to find some documentation. I have still no idea how to build and deploy a lipstick implementation. It seems, that the lipstick library is not part of tje sdk. So I have to build the library on my own for each target plattform arm and x86. But the lipstick library requires the build a further library as I mentioned above.14:33
Leif_EriksonI've been searching for months now for a solution.14:34
Leif_EriksonIf we would find a cosultant, we would publish a guide to setup the sdk. I didn't find any tutorial.14:36
Leif_EriksonUnfortunately Jolla doesn't sell support on a man day base.14:48
r0kk3rzLeif_Erikson: you know about obs right?14:53
r0kk3rzit should have all the libraries you need, for whatever arch you need14:53
Leif_Eriksonr0kk3rz: No. I quickly checked the abbreviatuon. It's open broadcast software?15:00
r0kk3rzhah15:00
r0kk3rzclose, but no15:00
r0kk3rzhttps://build.merproject.org/15:00
r0kk3rzin particular this one - https://build.merproject.org/project/show/mer:core15:01
r0kk3rzand this one - https://build.merproject.org/project/show/home:neochapay:mer:nemo-devel-ux15:02
Leif_Eriksonr0kk3rz: Tvanks. I will check the links. If the library is available in the sdk, I'm wondering, why the compilation error is shown: lipstick development packace not found.15:05
r0kk3rzsurely that is self explanatory?15:05
Leif_EriksonI concluded, that the library is not part of the sdk. But I learned from your posting, that this conclusion is wrong.15:07
kimmoliwhen entering this world, i think lipstick is not the first thing to start building...15:08
r0kk3rzyeah i agree15:10
Leif_Eriksonkimmoli: I agree. I started with developing and building apps. The Sailfish SDK is perfectly prepared for this and I could find good tutorials.15:11
Leif_EriksonNow, it's time for the next step.15:11
Leif_EriksonMy background is Java and Objective-C developments. Seems to be a different world, not the programming language, but the development environment and dependency management.15:14
r0kk3rzof course15:16
T4<samzn> You can use cmake instead of qmake15:17
Leif_EriksonI think the most efficiant and cheapest way would be to book a consultant for one or two dayd, who would set up our development environment. Can someone recomment a freelancer or company in Europe?15:20
r0kk3rzsurely its better to do that yourself, because then at the end of it you know whats going on15:23
r0kk3rzespecially if you want to make a product with this stuff15:23
Leif_EriksonI've still no idea how to pr15:32
Leif_Eriksonproceed.15:32
Leif_EriksonI will study the lonks about ODS.15:32
abransonLeif_Erikson: I came over from Java. Don't miss it at all ;)15:36
kimmoli1. login to vm over ssh as mersdk 2. git clone https://git.merproject.org/mer-core/lipstick.git 3. cd lipstick 4. mb2 -t SailfishOS-2.2.0.29-armv7hl build15:37
T4<locusf> @neochapay [and approve my pr plz :))))], I can't unless mer-core mr is merged15:38
Leif_Eriksonabranson: I love Qt in combination with python. It feels like a tidied up home afzer sping clean :-)15:42
Leif_Eriksonkimmoli: Thanks. Looks like a plan. I conclude, tjat the missing library needs to be available on the vm, not in Qt creator.15:44
kimmolii had fresh installation, building with .spec (above command) it drags required stuff in15:46
kimmolii just did those steps, still building15:47
T4<locusf> only if you required repos in15:47
T4<locusf> that have the dependencies15:47
T4<locusf> but that surely works quite well with sailfish os sdk15:47
r0kk3rzLeif_Erikson: yes the package needs to be installed into the sb2 target on the buildvm15:48
r0kk3rzlike i said :P15:48
kimmolibuilding15:48
r0kk3rznew construction options, building....15:49
kimmolisadly this is not ra215:51
kimmoliobs should have ra2 frontend... select target, enforcements have arrived,15:53
T4<neochapay> @locusf [I can't unless mer-core mr is merged], I am about mr in glacier home15:54
T4<locusf> eekkelund hasn't reviewed15:55
Leif_Eriksonkimmoli: The buimd is running. I think I need an additional x86 build target for the simulator, correct?16:00
kimmolithere should be 486 target. sdk-assistant list16:00
Leif_Eriksonkimmoli: Thanks.16:06
Leif_Eri_Indeed. The target is SailfishOS-2.2.0.29-i48616:15
Leif_Eri_After building the package I get still the same build error in Qt Creator: lipstick development package not found16:16
Leif_Eri_And building the i486 target runs in an error:16:17
Leif_Eri_.obj/lipstickcompositor.o: error adding symbols: File in wrong format16:17
Leif_Eri_collect2: error: ld returned 1 exit status16:17
Leif_Eri_make[1]: *** [liblipstick-qt5.so.0.32.18] Error 116:17
Leif_Eri_make[1]: Leaving directory `/home/mersdk/lipstick/src'16:17
Leif_Eri_make: *** [sub-src-make_first] Error 216:17
Leif_Eri_error: Bad exit status from /var/tmp/rpm-tmp.4HVuul (%build)16:17
akaWolfcan someone briefly describe what is the difference between Nemo and Sailfish?16:43
tbrone is open source, the other isn't16:58
akaWolftbr: so nemo do not based at sailfish?17:21
T4<samzn> @akaWolf [tbr: so nemo do not based at sailfish?], Both are based on mer17:23
tbrnemo essentially replaces closed source components of sailfish. (Oversimplifying for simplicity)17:24
akaWolfwhat about quality of that components?17:25
akaWolfI mean does Nemo provide the same experience level as SOS does?17:26
tbrI would not expect so. It's a free time open source project.17:27
akaWolfwhich exactly components Nemo is replace for example?17:29
r0kk3rzakaWolf: homescreen ui17:42
T4<samzn> nemo has the better soul of the N9 🙂17:45
akaWolfbut why Nemo supports the same phones as Sailfish does?17:46
T4<samzn> They both use the same core17:46
akaWolfmer?17:47
T4<samzn> yes17:47
akaWolfonly Mer needs to be ported? no more?17:47
r0kk3rzmore or less17:53
r0kk3rzthey use common middleware17:54
*** ChanServ sets mode: +v T417:57
Leif_EriksonIndeed. Both Sailfish an Nemo Mobile are using Mer as tve core OS.19:09
Leif_EriksonBoth need a system UI and core apps, which are different.19:10
r0kk3rz?19:12
Leif_EriksonThe system UI is more than a home screen, it's the notification center, short cuts for settings, the app launcher and the overview of opened apps.19:12
Leif_EriksonIt's a lipstick implementation. Nemo uses Glacier and Sailfish, well the Daimfisj UI.19:12
Leif_Eriksonsorry, I mean Sailfish UI19:13
Leif_EriksonBoth implementations seem to be stable.19:14
Leif_EriksonNemo Mobile is open source while tve Sailfish components are closed source. If you would like to offer phones with Sailfish, you need a license agreement with Jolla.19:16
Leif_EriksonIf I believe tbe Nemo Mobile wiki, then the core apos of Nemo Mobile are not as stable and mature line Sailfish core apos.19:17
Leif_EriksonIf someone knows a freelancer or company that could support us to train us how to set up the sdk to build and deploy a lipstick implementation like tve example project or Glacier, please tell me. I can srnd our email address with a private message.19:20
Leif_EriksonToday, it was another day of trial and error. We loose time and money.19:21
Leif_EriksonAnyway, I appreciate alk the comments and suggestions in that chat. Tvank you!19:21
malLeif_Erikson: still wondering why you are trying to build lipstick and not just use the already built one? building the nemo packages should not require it to be built, setting up the platform development sdk should be enough19:42
Leif_Eriksonmal: The reason is, that I can't build the lipstick example build because of tve quoted error: The lipstick developer package is missing.21:04
malwhat lipstick example?21:04
malyou mean this https://github.com/nemomobile-graveyard/lipstick-example-home ?21:06
malor something else21:06
Leif_EriksonYes. http://github.com/nrmomobile/lipstick-example-home21:10
malLeif_Erikson: I'm pretty sure that has broken pro file, lipstick packagekit file is called lipstick-qt5 now, not just lipstick21:12
mal*pkg-config file21:12
malso changing the last line here might help https://github.com/nemomobile-graveyard/lipstick-example-home/blob/master/lipstick-example-home.pro21:12
Leif_EriksonSounds plausible. I'll try. Today I followed the suggested solution: checking out lipstick on the build servrr vm of the sdk and building the project. This didn't silve the issue.21:14
Leif_EriksonNow the compilor error says: lipstick-qt5 development package not found21:18
malwhich sdk are you using, the app sdk?21:20
malI use this https://sailfishos.org/wiki/Platform_Development21:20
Leif_EriksonYes, the app sdk with Qt Creater.21:27
Leif_EriksonThe platform sdk has no IDE with a simulator to see the results.21:27
malit seems that has only limited packages available, it's meant for building apps not platform packages21:27
malyep21:28
Leif_EriksonI have installed the platform sdk on another linux machine. I comes without an IDE and simulator. Which IDE are you using? Because a lipstick implementation includes UI devrlopment, I expected, that I could use the app sdk. I'm also using Andoid Studio for launcher development.21:33
Leif_EriksonIt's similar isn't it? In the end, a lipstick implementation is an app like an Android launcher, isn't it?21:35
malfor qt development I use the sailfish ide, then just build things in different enviroment21:35
malnot really an app like normal sailfish apps21:36
Leif_EriksonSo it's diffetent to the Android Launcher approach? A launcher is an app with a different manifest.21:40
Leif_Eriksonmal: Did you install tve plattform sdk on the build vm of the app sdk?21:41
malno, I have it on my computer directly21:42
malLeif_Erikson: home application is in certain ways an app but it uses different main component i.e. directly the lipstick HomeApplication type21:43
Leif_Eriksonmal: So, you've added a so called Kit in tve IDE?21:56
malno21:57
malI just build via commandline21:57
malLeif_Erikson: anyway I got that example to build with some modifications, replacing desclarative with qml in .pro file and removing QApplication::setGraphicsSystem("native"); from main.cpp21:58
mal*declarative22:00
malin platform sdk I use commands like sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -R qmake22:00
malreplace the $VENDOR-$DEVICE-$PORT_ARCH with whatevet target name you used when creating the target22:01
Leif_Eriksonmal: Sounds like a plan. The platform sfk doesn't support the simulator, correct? Do you have to deploy the build result somehow on a test device to run the code and ser the UI, cotrect?22:09
maleven when doing app development I usually test directly on the device22:10
malso I deploy to the device from sailfish sdk22:10
maland from platform sdk I just copy with scp22:10

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!