2013/8/20 Ylinen, Mikko <[email protected]>

> On Tue, Aug 20, 2013 at 8:51 AM, Tomasz Olszak <[email protected]>
> wrote:
> > Correct me if I am wrong but it looks like it is can be helpful when I
> will
> > want to provide Qt projects/packages for Tizen.
> > What I need now is a way to prepare ivi rootstrap from command line. I
> tried
>
> GBS does it automatically for you.
>
> I realized we're missing documentation how to make new source code
> buildable in Tizen.  [1] and [2] are quite close thought.
>
> What you need is
>
> 1) tar.gz file imported to a local git tree
> 2) .spec file in the packaging/ directory with all build dependencies
> listed there
> 3) gbs build
>
> > to follow
> >
> https://source.tizen.org/documentation/developer-guide/creating-tizen-platform-image-scratch-through-local-build
> > But it hangs on repo sync:
> >
> >
> > ssh: connect to host review.tizen.org port 22: Connection timed out
> > ssh: connect to host review.tizen.org port 22: Connection timed out
> > ssh: connect to host review.tizen.org port 22: Connection timed out
> > ssh: connect to host review.tizen.org port 22: Connection timed out
> > ssh: connect to host review.tizen.org port 22: Connection timed out
> > fatal: Could not read from remote repository.
> >
> > Please make sure you have the correct access rights
> > and the repository exists.
> > fatal: Could not read from remote repository.
>
> (I did not test this but it looks you might have to modify the manifest
> .xml fetch url to ssh://<username>@review.tizen.org:29418)
>
> > It is needed for gbs build right? In the time of writing this mail
> someone
>
> it is not needed.
>
> > also encounter such problem and I asked the question in the thread
> > too(https://lists.tizen.org/pipermail/ivi/2013-August/000792.html).
> Mikko
> > Ilynen pointed out that there should be no reason to build whole IVI
> > locally. How do I create rootstrap for cross compilation and development
> > then?
>
> Just follow the guidance I wrote above.
>
> -- Mikko
>

Thank you for the answer. I would like to mention that I suppose that repo
sync hangs because I added
Host tizen
 ....

to my .ssh/config and it should be
Host review.tizen.org.
Both names occurs in wiki and docs so I simply copy and paste some build
instructions and encounter such issue. Using adequate url's should solve
the problem.

Unfortunately I think that I need more help with build process. So far I
have some understanding of gbs but... could you please correct following
statements or give an advice regarding some of them.
1. The only thing I need to build Qt for Tizen IVI is gbs build.
2. Qt base module needs to run configure script before compilation part. It
looks for different dependencies in sysroot and makes some assumptions
(e.g. If it finds glib then glib event loop is used as Qt event loop, if it
finds gstreamer then it uses it as backend for multimedia and so on). I
need to do that after dependencies will appear in rootstrap. It should be
done by gbs. Additionally qt uses internally qmake tool for creating
makefiles, I know that there is possibility of building Qt with CMake but i
don't know state of this and would rather not to test it now.
3. Building existing projects/repositories is clear to me (just clone repo
and make gbs build with proper tizen IVI gbs.conf file).
4. Building and creating new projects is not clear. I can only suppose that
project need to be git based (contains .git directory and its content). I
don't know what tar.gz file you had in mind and what is the packaging
directory (I tried to looks docs for gbs directory tree but couldn't find
any)

I'm sorry for being troublesome and ask for your understanding. Barriers to
entry look rather high for gbs...

-- 
regards / pozdrawiam, Tomasz Olszak
Qt for Tizen | http://qt-project.org/wiki/Tizen
Qt Certified Developer | http://qt-project.org
http://linkedin.com/in/tolszak
_______________________________________________
IVI mailing list
[email protected]
https://lists.tizen.org/listinfo/ivi

Reply via email to