[GCompris-devel] gcompris [Sailfish OS]
JAZEIX Johnny
jazeix at gmail.com
Sat Feb 14 15:44:15 UTC 2015
Hi,
I sent it again as the mail size was too big.
Johnny
On 02/14/15 16:40, JAZEIX Johnny wrote:
> Hi,
>
> thanks to Bruno, we removed the QtDialogs dependency.
>
> I updated my repo
> (https://github.com/petitlapin/GCompris-qt/tree/sailfish) with the
> latest gcompris version to have it.
>
> I can't test because the emulator is i486 and qtquickcontrols needs a
> libQt5V8.so.5 library that I can't find...
>
> I also noticed a few issues:
> * gcc version is 4.6.4 and some code uses c++11 that have been added
> on 4.7 (Non-static data member initializers)
> * QtQuick.Controls and QtQuick.Controls.Styles version are 1.0 and in
> the code we use 1.1 or 1.2. I don't know what we lose if we use 1.0
> instead of above ones if above ones are available in the system?
>
> To compile, run: " cmake -DSAILFISHOS=1 -DBUILD_ARCH=armv7hl
> ../GCompris-qt && make package". There probably will be an error like:
> CPack Error: Problem copying the package:
> /home/mersdk/build_arm/_CPack_Packages/Linux/RPM/gcompris-0.27-Linux.rpm
> to /home/mersdk/build_arm/gcompris-0.27-Linux.rpm
> CPack Error: Error when generating package: gcompris
>
> But you can find the rpm in
> BUILD_DIR/_CPack_Packages/Linux/RPM/harbour-gcompris-qt-0.27-1.armv7hl.rpm
>
> Johnny
>
> On 01/07/15 23:31, Alex Smirnoff wrote:
>> Was able to find time to search again.
>> Fortunatelly it is already here. I mean qtquicks-controls port
>> https://github.com/nemomobile/qtquickcontrols-nemo
>>
>> Rpm for Sailfish in version 5.2 could be installed from here.
>> https://openrepos.net/content/locusf/glacier-homescreen
>>
>> This is used as part of another grate project.
>> I am already in touch with developers.
>> So we can go further from this point.
>>
>> Alex.
>>
>> 2014-12-18 22:31 GMT+01:00 <smirnoff.al at gmail.com
>> <mailto:smirnoff.al at gmail.com>>:
>>
>> Hello.
>> I have asked in Sailfish devel list about qtquick.controls.
>> There is no support at all in SailfishOS. There also no packages
>> exist in Mer official repo.
>>
>> But never mind. I have no plan to run Gcompris on Jolla phone in
>> long terms anyway.
>> The goal is Jolla tablet, wich has Intel architecture. And it is
>> much more like to have Controls out of the box on tablet.
>> But we will not have tablet sdk before June next year, so I will
>> try to build controls my self. Then we can decide where to place it.
>>
>> Alex.
>>
>>
>> Am Di. Dez. 16 10:51:53 2014 GMT+0100 schrieb Johnny Jazeix:
>> > Hi,
>> >
>> > I managed to build the package for the emulator and run it (I
>> pushed
>> > it really faslty this morning so I hope I don't forget anything
>> in the
>> > repo). I have the same as you, it stays in "Loading" state. I
>> ran it
>> > with gdb and saw some errors:
>> > QtQuick.Dialogs and QtQuick.Controls are not installed in the
>> emulator
>> > (and probably on the phone).
>> >
>> > I see from
>> https://github.com/sailfish-sdk/sdk-harbour-rpmvalidator/blob/1.18/allowed_qmlimports.conf
>> > that these imports are not handled by sailfishOS. I'm not sure
>> on how
>> > to handle this... Do you know if we can install them (I did
>> pkcon but
>> > all the Qt Qml packages seemed to be installed so they don't seem
>> > supported by sailfish)?
>> >
>> > An other solution I see would be to do separate qml code for
>> sailfish
>> > but I don't like this idea at all... ("Write once, compile
>> > everywhere")
>> >
>> > For now, we should ask sailfishOS mailing list how can we
>> handle these
>> > packages. Can you do it or do you want me to do it?
>> >
>> > For connecting to the emulator, I don't have what I did here
>> but does
>> > the password asked is the one you enter in developer settings?
>> > Basically what I did is compile under mersdk vm, copy to the
>> host and
>> > scp the file from my host to the nemo vm.
>> >
>> > Johnny
>> >
>> > >>
>> > >> 2014-12-14 23:55 GMT+01:00 Alex Smirnoff
>> <smirnoff.al at gmail.com <mailto:smirnoff.al at gmail.com>>:
>> > >> > Hello, Johnny.
>> > >> > Thank you for you work. I was able to build rpm for
>> armv7hl. And have
>> > >> > successfully installed it on my Jolla. Application icon is
>> on the place it
>> > >> > should be.
>> > >> > Unfortunately I could not start it. It shows loading...
>> and stays in this
>> > >> > stage.
>> > >> >
>> > >> > I have also no idea how to debug, because I could not
>> start it from Creator.
>> > >> > There is no available cmake generator.
>> > >> >
>> > >> > I was also not able to build rpm for emulator. I have got
>> Error: No
>> > >> > compatible architecture found.
>> > >> >
>> > >> > 2014-12-10 23:37 GMT+01:00 JAZEIX Johnny <jazeix at gmail.com
>> <mailto:jazeix at gmail.com>>:
>> > >> >>
>> > >> >> Hi,
>> > >> >>
>> > >> >> you can find a first try here :
>> > >> >> https://github.com/petitlapin/GCompris-qt/tree/sailfish
>> > >> >>
>> > >> >> Using the rpmvalidator tool, I'm still having errors :
>> > >> >> * rpm name (for now, I do a manual mv but we can automate it)
>> > >> >> * /bin/sh is a non allowed dependency (I think we can
>> play with the spec
>> > >> >> file for this point?)
>> > >> >>
>> > >> >> A warning telling the file is not stripped and an info
>> telling the rpath
>> > >> >> is empty.
>> > >> >>
>> > >> >> I did comment a lot of plugins so I hope they are not
>> needed or already
>> > >> >> installed...
>> > >> >> -----
>> > >> >> If someone wants to try (it's not working yet) :
>> > >> >>
>> > >> >> I had to install cmake in the mersdk virtualbox:
>> > >> >> sb2 -t SailfishOS-armv7hl -m sdk-install -R zypper
>> install cmake
>> > >> >>
>> > >> >> Then inside clone the gcompris repository:
>> > >> >> git clone
>> https://github.com/petitlapin/GCompris-qt/tree/sailfish
>> > >> >>
>> > >> >> To run the cmake:
>> > >> >> mkdir build_gcompris
>> > >> >> cd build_gcompris
>> > >> >> sb2 -t SailfishOS-armv7hl
>> > >> >> cmake -DSAILFISHOS=1 -DBUILD_RPM=1 ../gcompris && make
>> package
>> > >> >>
>> > >> >> -----
>> > >> >> I didn't try to deploy it yet (need to find how to do it)...
>> > >> >>
>> > >> >> Johnny
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/gcompris-devel/attachments/20150214/4faac261/attachment.html>
More information about the GCompris-devel
mailing list