Hi Sathish

For your situation, you could build your application follow the next steps:


1.      $ pwd

/home/user



2.      Create a repo with repodata which contains the information of the 
external library your app depends on:

$ mkdir -p pre-built/toolchain-x86/  && cd $_
$ wget PKG.rpm(which provides the dependency libjansson.so)
$ createrepo .


3.      Gbs build with the release repo and the new pre-built repo:

$ cd APPLICATION_SOURCE dir

$ gbs build -A i586 --clean --clean-repos -R repo(March Tizen IVI release) -R 
/home/user/pre-built/toolchain-x86/


I have tested this build procedure, it is ok on my side.
Additional, your app specfile should contain macro definition BuildRequires: 
libjansson.so




Thanks
Li Jinjing
From: IVI [mailto:[email protected]] On Behalf Of Wang, Ning W
Sent: Friday, August 22, 2014 10:12 AM
To: karthik karthik; [email protected]
Subject: RE: GBS build using a external library file.

Hi Sathish,

You can create a local repository for this external package, and configure the 
local repository in .gbs.conf or use "-R" option through gbs command line.

Thanks,
Ning
From: IVI [mailto:[email protected]] On Behalf Of karthik karthik
Sent: Friday, August 22, 2014 9:47 AM
To: [email protected]<mailto:[email protected]>
Subject: GBS build using a external library file.

Hi,

    The application I have written has a dependency on a external library not 
present in tizen.
In such a case, is there a way to include the library in the build process.

   The library I am dependent on is libjansson.so. I am using March Tizen IVI 
release..

Thanks,
Sathish
_______________________________________________
IVI mailing list
[email protected]
https://lists.tizen.org/listinfo/ivi

Reply via email to