Building Tizen-IVI on a Debian System

Prepared by Alison Chaikenshe-devel logo and offered under Creative Commons logo


Environment: fully patched Debian Testing (rolling release) system with KDE desktop.

Accessing Tizen Git repos
  1. First, followed instructions and got to
    [alison@bonnet gitsrc]$ ssh tizen
      [ . . . ]
      To clone a hosted Git repository, use:
      git clone ssh://alison@review.tizen.org:29418/REPOSITORY_NAME.git
    
  2. Cool! But REPOSITORY_NAME is not clear, and ".git" suffix doesn't work for me; I get a "not found" error. The advice about using "https://<username>:<HTTP_Password>@review.tizen.org/gerrit/p" doesn't work, either: authentication of credentials fails. What works instead is
  3. [alison@bonnet gitsrc]$ git clone ssh://alison@review.tizen.org:29418/profile/ivi/automotive-message-broker
    Cloning into 'automotive-message-broker'...
    
  4. How to find out the correct URI for the clone command? Use the "project name" fields from package list. (Use Chromium browser to view this package list; the javascript causes a fully patched Firefox to hang.)
  5. Filed Tizen bug DEVT-137, "Instructions printed by "ssh tizen" don't work" to describe the problem.
Installing gbs and mic
  1. Continuing with the instructions, "sudo apt-get install mic" worked fine, but "sudo apt-get install gbs" failed because it depends on perlapi-5.14.2, which in Debian is provided by perl-base. So I had the libraries gbs needs already installed, but couldn't figure out how to tell the package manager.
  2. The only solution I could figure out was to create an empty package called perlapi-5.14.2_5.14.2_all.deb and install it following the instructions at Akkana Peck's blog:
  3. [alison@bonnet]$ sudo apt-get install equivs
    [alison@bonnet]$ equivs-control perlapi
    
  4. Then edit perlapi file:
  5.     Section: misc
        Priority: optional
        Standards-Version: 3.9.2
    
        Package: perlapi-5.14.2
        Version: 1:5.14.2
        Maintainer: Alison Chaiken 
        Architecture: all
        Description: empty replacement for perlapi-5.14.2 needed by Tizen's gbs
    
  6. Then
  7. [alison@bonnet]$ equivs-build perlapi
     dpkg-deb: building package `perlapi-5.14.2' in `../perlapi-5.14.2_5.14.2_all.deb'.
    [alison@bonnet]$ sudo dpkg -i perlapi-5.14.2_5.14.2_all.deb 
    [alison@bonnet]$  dpkg -l "perlapi*"
    Desired=Unknown/Install/Remove/Purge/Hold
    | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
    |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
    ||/ Name                Version        Architecture   Description
    +++-===================-==============-==============-===========================================
    ii  perlapi-5.14.2      1:5.14.2       all            empty replacement for perlapi-5.14.2 needed
    
  8. Then
  9. [alison@bonnet]$ sudo apt-get install libcrypt-ssleay-perl
    [alison@bonnet]$ sudo apt-get install gbs
    
  10. Piece of cake! My awesome perlapi-5.14.2_5.14.2_all.deb package is attached for your convenience.
Use "repo" to access Tizen repositories

Hey! These instructions worked without problem.