[GCompris-devel] gcompris [Sailfish OS]
Johnny Jazeix
jazeix at gmail.com
Tue Dec 2 09:45:44 UTC 2014
Hi, i didn't push anything yet. I'll try to do it tonight (French
time) or at least send you a patch of what I did from the latest
revision of the trunk.
2014-12-02 10:35 GMT+01:00 Alex Smirnoff <smirnoff.al at gmail.com>:
> Hi.
> If you send me CMake rules file you have created, I could also try to test
> and tra to fix the issues.
>
> Have you already branch from gcompris git?
>
>
>
> 2014-12-02 10:19 GMT+01:00 Johnny Jazeix <jazeix at gmail.com>:
>>
>> Hi,
>>
>> thanks for pointing out the verification tool. I managed to create a
>> first rpm using CMake/CPack and it shows a lot of errors. I didn't
>> have the time to check them (there is the one about file placements of
>> rcc/translations which should not be in .../bin/ but .../share/...,
>> naming conventions to follow (described in the FAQ)).
>>
>> Johnny
>>
>>
>> 2014-12-01 22:18 GMT+01:00 <smirnoff.al at gmail.com>:
>> > Hello.
>> > .pro is not QtCreator specific. This file is used by qmake, to generate
>> > classic makefile. In this sense qmake does absolute the same as cmake does.
>> >
>> > I have not so much experience with cmake as with qmake. So for me it is
>> > easy to create the .pro .
>> >
>> > But if f we want to use cmake, the main candidate for investigation is
>> > .prf. It includes almost all the libraries needed on sailfishos for
>> > ordinary application.
>> >
>> > Rpm has nothing special. It is possible to install any standard rpm,
>> > builded for armv7.
>> > So rpmbuild should be enough.
>> >
>> > The spec file could be created manually or using yaml.
>> >
>> > As about plugins, yes that was jpeg.
>> > I wanted to add missing path, but the cmake syntax yet be to learned.
>> > If jpeg plugin is not needed, that is better. I willl comment it out.
>> >
>> > Alex.
>> >
>> > Am Mo. Dez. 1 10:34:30 2014 GMT+0100 schrieb Johnny Jazeix:
>> >> Hi,
>> >>
>> >> I took a first look this week-end.
>> >>
>> >> My aim was to create the rpm without using QtCreator. I first
>> >> installed cmake on the mersdk virtual machine, then run it and
>> >> compile.
>> >> Some little changes in the source code need to be made (Sailfish uses
>> >> Qt5.2). but I think the compilation is ok (except I didn't try to use
>> >> sailfish "sdk" where we can enable the "booster").
>> >>
>> >> I don't think we can deploy GCompris like that but we need to create a
>> >> rpm.
>> >>
>> >> The rpm package structure looks like:
>> >> /usr/bin/GCompris
>> >> /usr/share/GCompris/{data}
>> >>
>> >> Actually, we do (if I'm not wrong):
>> >> bin/GCompris
>> >> bin/{rcc/translations}/{data}
>> >>
>> >> My next aim was to create the good folders and put the files in them
>> >> in order to create the rpm.
>> >> Sailfish uses the .pro file from QtCreator but we do not have this so
>> >> I need to take a look at what it does and see if we can bypass it (or
>> >> create it on the fly).
>> >> I didn't take a good look yet on how runs rpmbuild and how it's called
>> >> by QtCreator compiler.
>> >>
>> >> Do you know which files are needed to run rpmbuild and where to put
>> >> the files ? Once we have it, the cmake rules should be simple :
>> >> - "make" to compile GCompris
>> >> - "make sailfish_rpm" which will create the folders, copy the files
>> >> and run rpmbuild.
>> >> ... ("make sailfish_deploy" if needed)
>> >>
>> >> I also saw that CPack can create rpms
>> >> (http://www.cmake.org/cmake/help/v3.1/module/CPackRPM.html). Do you
>> >> know if the rpm packages needed by Sailfish are the same as "regular"
>> >> ones ?
>> >>
>> >> ------
>> >>
>> >> For your try, what are the troubles ? Are the missing plugins the jpeg
>> >> and xcb ones ? I also had this problem and I just commented on the
>> >> src/core/CMakeLists.txt for now...
>> >>
>> >> When you have some time, can you describe me what you did so maybe
>> >> this could help me some way ?
>> >>
>> >> Thanks,
>> >>
>> >> Johnny
>> >>
>> >> 2014-12-01 9:11 GMT+01:00 Alex Smirnoff <smirnoff.al at gmail.com>:
>> >> > Yes, Bruno, I have both the interest and the knowledge. My goal to
>> >> > make it
>> >> > possible.
>> >> > If Johnny Jazeix create cmake rules, I will try to build it and run
>> >> > it in an
>> >> > emulator and on my Jolla phone.
>> >> >
>> >> > Till now I have made already the first try, but got troubles with qt
>> >> > plugins.
>> >> >
>> >> > Regards.
>> >> > Alex.
>> >> >
>> >> > 2014-11-27 23:48 GMT+01:00 Bruno Coudoin
>> >> > <bruno.coudoin at gcompris.net>:
>> >> >>
>> >> >>
>> >> >> Le 27/11/2014 22:09, Alex Smirnoff a écrit :
>> >> >>
>> >> >> Hello.
>> >> >> I would like to know if there is any activity already to run/port
>> >> >> gcompris-qt on Sailfish OS?
>> >> >>
>> >> >>
>> >> >> Hi,
>> >> >>
>> >> >> You are the first to mention it on the list and got not private
>> >> >> request
>> >> >> about that either.
>> >> >>
>> >> >> Do you have the interest and the knowledge to build GCompris on it?
>> >> >>
>> >> >> Bruno.
>> >> >>
>> >> >> _______________________________________________
>> >> >> GCompris-devel mailing list
>> >> >> GCompris-devel at kde.org
>> >> >> https://mail.kde.org/mailman/listinfo/gcompris-devel
>> >> >>
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > Alex Smirnov
>> >> >
>> >> > _______________________________________________
>> >> > GCompris-devel mailing list
>> >> > GCompris-devel at kde.org
>> >> > https://mail.kde.org/mailman/listinfo/gcompris-devel
>> >> >
>> >>
>> >
>> > --
>> > Gesendet von meinem Jolla
>
>
>
>
> --
> Alex Smirnov
More information about the GCompris-devel
mailing list