*** ChanServ sets mode: +v T4 | 05:50 | |
r0kk3rz | Leif_Erikson: you'd need to add the nemo OBS repo | 07:31 |
---|---|---|
Leif_Erikson | How can I add the OBS repo? It's not described on my linked pahe of the Mer wiki, isn't it? | 08:54 |
r0kk3rz | theres some instructions in the sailfish wiki i think | 08:55 |
Leif_Erikson | Yesterday, I found the contextual menu to add libraries to a project in the Sailfish SDK. | 08:55 |
Leif_Erikson | So I think I have to build the Lipstick project and add the library to the Lipstick example or Glacier project, correct? | 08:56 |
r0kk3rz | https://sailfishos.org/wiki/Application_SDK_FAQ#Build_Engine | 08:57 |
Leif_Erikson | I think I have to build Lipstick in two versions, one for the device and one for the simulator, correct? | 08:58 |
r0kk3rz | then you can add new repos to the target using sb2 and zypper | 08:58 |
Leif_Erikson | r0kk3rz: Your answer is related to my second question? | 09:00 |
r0kk3rz | you have lots of questions | 09:01 |
Leif_Erikson | r0kk3rz: 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_Erikson | r0kk3rz: You wrote, that I have to add another repository for this purpose, correct? | 09:03 |
r0kk3rz | what are you actually trying to do though? you want to install glacier homescreen on something? | 09:04 |
r0kk3rz | you want to build it? | 09:04 |
Leif_Erikson | r0kk3rz: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 |
r0kk3rz | then follow that link you posted above, NeoChapay updated it recently i think | 09:09 |
Leif_Erikson | 2. 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_Erikson | r0kk3rz: Thanks | 09:10 |
Leif_Erikson | We would prefer to hire a consultant to set up our development envirobment, but develipers with Nemo skills are rare. | 09:14 |
Leif_Erikson | If I try to build the lipstick example project, the compilation error is not surprising: lipstick devrlopment packahe not found. | 09:15 |
Leif_Erikson | I 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_Erikson | If I try to build the lipstick project I get the error: contextkit-statefs development package not found. | 09:21 |
Leif_Erikson | I looks like a wrong setup of the SDK that causes infinite, recursive errors for missing libraries. | 09:22 |
r0kk3rz | yes if you are building without rpm spec files you'll have to manually install all the dependencies yourself | 09:41 |
Leif_Erikson | r0kk3rz: 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_Erikson | Sorry again for the typos. I'm online with my phone. | 10:37 |
Leif_Erikson | The Sailfish documentation says, that the .spec file is created automatically: https://sailfishos.org/wiki/Application_SDK_Packaging_Apps | 10:44 |
Leif_Erikson | It 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_Erikson | I prefer linked libraries for st | 10:49 |
Leif_Erikson | ... stable builds, but if a proje t has targets for diffetent plattforms a dynamic alternative is necessary. | 10:49 |
Leif_Erikson | This seems to be the case If I have projecz in Qt Creater that can be build for arm processors and the x86 simulator | 10:51 |
Leif_Erikson | Does someone know an example .yaml file? | 10:52 |
kimmoli | i prefer skipping yaml, and using directly spec | 11:13 |
r0kk3rz | yeah ignore the yaml | 13:46 |
r0kk3rz | an rpm is a package definition, which managed deps, building, installing, versioning .etc | 13:48 |
Leif_Erikson | r0kk3rz: Butvthe .spec is automativalky created and not part of the project, isn't it? | 13:49 |
r0kk3rz | its better to make your own | 13:50 |
r0kk3rz | its not hard, and then you'll be familiar with them for other things | 13:52 |
kimmoli | .spec is part of the project, at least per the sdk wizard template. | 14:26 |
kimmoli | just remove and delete the .yaml, then it uses Your .spec | 14:27 |
Leif_Erikson | I 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_Erikson | I've been searching for months now for a solution. | 14:34 |
Leif_Erikson | If we would find a cosultant, we would publish a guide to setup the sdk. I didn't find any tutorial. | 14:36 |
Leif_Erikson | Unfortunately Jolla doesn't sell support on a man day base. | 14:48 |
r0kk3rz | Leif_Erikson: you know about obs right? | 14:53 |
r0kk3rz | it should have all the libraries you need, for whatever arch you need | 14:53 |
Leif_Erikson | r0kk3rz: No. I quickly checked the abbreviatuon. It's open broadcast software? | 15:00 |
r0kk3rz | hah | 15:00 |
r0kk3rz | close, but no | 15:00 |
r0kk3rz | https://build.merproject.org/ | 15:00 |
r0kk3rz | in particular this one - https://build.merproject.org/project/show/mer:core | 15:01 |
r0kk3rz | and this one - https://build.merproject.org/project/show/home:neochapay:mer:nemo-devel-ux | 15:02 |
Leif_Erikson | r0kk3rz: 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 |
r0kk3rz | surely that is self explanatory? | 15:05 |
Leif_Erikson | I concluded, that the library is not part of the sdk. But I learned from your posting, that this conclusion is wrong. | 15:07 |
kimmoli | when entering this world, i think lipstick is not the first thing to start building... | 15:08 |
r0kk3rz | yeah i agree | 15:10 |
Leif_Erikson | kimmoli: 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_Erikson | Now, it's time for the next step. | 15:11 |
Leif_Erikson | My 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 |
r0kk3rz | of course | 15:16 |
T4 | <samzn> You can use cmake instead of qmake | 15:17 |
Leif_Erikson | I 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 |
r0kk3rz | surely its better to do that yourself, because then at the end of it you know whats going on | 15:23 |
r0kk3rz | especially if you want to make a product with this stuff | 15:23 |
Leif_Erikson | I've still no idea how to pr | 15:32 |
Leif_Erikson | proceed. | 15:32 |
Leif_Erikson | I will study the lonks about ODS. | 15:32 |
abranson | Leif_Erikson: I came over from Java. Don't miss it at all ;) | 15:36 |
kimmoli | 1. 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 build | 15:37 |
T4 | <locusf> @neochapay [and approve my pr plz :))))], I can't unless mer-core mr is merged | 15:38 |
Leif_Erikson | abranson: I love Qt in combination with python. It feels like a tidied up home afzer sping clean :-) | 15:42 |
Leif_Erikson | kimmoli: Thanks. Looks like a plan. I conclude, tjat the missing library needs to be available on the vm, not in Qt creator. | 15:44 |
kimmoli | i had fresh installation, building with .spec (above command) it drags required stuff in | 15:46 |
kimmoli | i just did those steps, still building | 15:47 |
T4 | <locusf> only if you required repos in | 15:47 |
T4 | <locusf> that have the dependencies | 15:47 |
T4 | <locusf> but that surely works quite well with sailfish os sdk | 15:47 |
r0kk3rz | Leif_Erikson: yes the package needs to be installed into the sb2 target on the buildvm | 15:48 |
r0kk3rz | like i said :P | 15:48 |
kimmoli | building | 15:48 |
r0kk3rz | new construction options, building.... | 15:49 |
kimmoli | sadly this is not ra2 | 15:51 |
kimmoli | obs 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 home | 15:54 |
T4 | <locusf> eekkelund hasn't reviewed | 15:55 |
Leif_Erikson | kimmoli: The buimd is running. I think I need an additional x86 build target for the simulator, correct? | 16:00 |
kimmoli | there should be 486 target. sdk-assistant list | 16:00 |
Leif_Erikson | kimmoli: Thanks. | 16:06 |
Leif_Eri_ | Indeed. The target is SailfishOS-2.2.0.29-i486 | 16:15 |
Leif_Eri_ | After building the package I get still the same build error in Qt Creator: lipstick development package not found | 16: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 format | 16:17 |
Leif_Eri_ | collect2: error: ld returned 1 exit status | 16:17 |
Leif_Eri_ | make[1]: *** [liblipstick-qt5.so.0.32.18] Error 1 | 16:17 |
Leif_Eri_ | make[1]: Leaving directory `/home/mersdk/lipstick/src' | 16:17 |
Leif_Eri_ | make: *** [sub-src-make_first] Error 2 | 16:17 |
Leif_Eri_ | error: Bad exit status from /var/tmp/rpm-tmp.4HVuul (%build) | 16:17 |
akaWolf | can someone briefly describe what is the difference between Nemo and Sailfish? | 16:43 |
tbr | one is open source, the other isn't | 16:58 |
akaWolf | tbr: so nemo do not based at sailfish? | 17:21 |
T4 | <samzn> @akaWolf [tbr: so nemo do not based at sailfish?], Both are based on mer | 17:23 |
tbr | nemo essentially replaces closed source components of sailfish. (Oversimplifying for simplicity) | 17:24 |
akaWolf | what about quality of that components? | 17:25 |
akaWolf | I mean does Nemo provide the same experience level as SOS does? | 17:26 |
tbr | I would not expect so. It's a free time open source project. | 17:27 |
akaWolf | which exactly components Nemo is replace for example? | 17:29 |
r0kk3rz | akaWolf: homescreen ui | 17:42 |
T4 | <samzn> nemo has the better soul of the N9 🙂 | 17:45 |
akaWolf | but why Nemo supports the same phones as Sailfish does? | 17:46 |
T4 | <samzn> They both use the same core | 17:46 |
akaWolf | mer? | 17:47 |
T4 | <samzn> yes | 17:47 |
akaWolf | only Mer needs to be ported? no more? | 17:47 |
r0kk3rz | more or less | 17:53 |
r0kk3rz | they use common middleware | 17:54 |
*** ChanServ sets mode: +v T4 | 17:57 | |
Leif_Erikson | Indeed. Both Sailfish an Nemo Mobile are using Mer as tve core OS. | 19:09 |
Leif_Erikson | Both need a system UI and core apps, which are different. | 19:10 |
r0kk3rz | ? | 19:12 |
Leif_Erikson | The 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_Erikson | It's a lipstick implementation. Nemo uses Glacier and Sailfish, well the Daimfisj UI. | 19:12 |
Leif_Erikson | sorry, I mean Sailfish UI | 19:13 |
Leif_Erikson | Both implementations seem to be stable. | 19:14 |
Leif_Erikson | Nemo 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_Erikson | If 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_Erikson | If 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_Erikson | Today, it was another day of trial and error. We loose time and money. | 19:21 |
Leif_Erikson | Anyway, I appreciate alk the comments and suggestions in that chat. Tvank you! | 19:21 |
mal | Leif_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 enough | 19:42 |
Leif_Erikson | mal: 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 |
mal | what lipstick example? | 21:04 |
mal | you mean this https://github.com/nemomobile-graveyard/lipstick-example-home ? | 21:06 |
mal | or something else | 21:06 |
Leif_Erikson | Yes. http://github.com/nrmomobile/lipstick-example-home | 21:10 |
mal | Leif_Erikson: I'm pretty sure that has broken pro file, lipstick packagekit file is called lipstick-qt5 now, not just lipstick | 21:12 |
mal | *pkg-config file | 21:12 |
mal | so changing the last line here might help https://github.com/nemomobile-graveyard/lipstick-example-home/blob/master/lipstick-example-home.pro | 21:12 |
Leif_Erikson | Sounds 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_Erikson | Now the compilor error says: lipstick-qt5 development package not found | 21:18 |
mal | which sdk are you using, the app sdk? | 21:20 |
mal | I use this https://sailfishos.org/wiki/Platform_Development | 21:20 |
Leif_Erikson | Yes, the app sdk with Qt Creater. | 21:27 |
Leif_Erikson | The platform sdk has no IDE with a simulator to see the results. | 21:27 |
mal | it seems that has only limited packages available, it's meant for building apps not platform packages | 21:27 |
mal | yep | 21:28 |
Leif_Erikson | I 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_Erikson | It's similar isn't it? In the end, a lipstick implementation is an app like an Android launcher, isn't it? | 21:35 |
mal | for qt development I use the sailfish ide, then just build things in different enviroment | 21:35 |
mal | not really an app like normal sailfish apps | 21:36 |
Leif_Erikson | So it's diffetent to the Android Launcher approach? A launcher is an app with a different manifest. | 21:40 |
Leif_Erikson | mal: Did you install tve plattform sdk on the build vm of the app sdk? | 21:41 |
mal | no, I have it on my computer directly | 21:42 |
mal | Leif_Erikson: home application is in certain ways an app but it uses different main component i.e. directly the lipstick HomeApplication type | 21:43 |
Leif_Erikson | mal: So, you've added a so called Kit in tve IDE? | 21:56 |
mal | no | 21:57 |
mal | I just build via commandline | 21:57 |
mal | Leif_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.cpp | 21:58 |
mal | *declarative | 22:00 |
mal | in platform sdk I use commands like sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -R qmake | 22:00 |
mal | replace the $VENDOR-$DEVICE-$PORT_ARCH with whatevet target name you used when creating the target | 22:01 |
Leif_Erikson | mal: 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 |
mal | even when doing app development I usually test directly on the device | 22:10 |
mal | so I deploy to the device from sailfish sdk | 22:10 |
mal | and from platform sdk I just copy with scp | 22:10 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!