Building and Running Tizen Platform Package Source Code on Ubuntu

Original Created Jul 27, 2017 | Regeneration Apr 22, 2026

I'm an undergraduate student trying to build and execute the signature-validator-until-3.0.cpp example from the Tizen platform's cert-svc package on my Ubuntu desktop for study purposes (Tizen 2.4 or later).

I've reviewed documentation like:

  • Building packages locally with GBS
  • Cloning Tizen source code

However, I'm having difficulty understanding where to begin. While I'm proficient in Git and C/C++ programming, this is my first time working with platform-level code.

Key questions:

  1. Is it possible to execute this example directly on Ubuntu?
  2. Do I need to use an emulator or other tools?
  3. Could you help me understand the proper starting point?

Problem Understanding

The user wants to:

  1. Build and run a specific Tizen platform example (signature-validator-until-3.0.cpp)
  2. Understand whether this can be done natively on Ubuntu or requires emulation
  3. Get guidance on the proper development setup process

Solution Methods

  1. Development Environment Setup:

    • Install required tools: sudo apt-get install gbs mic
    • Configure GBS: gbs conf
    • Set up Tizen SDK: Install from Samsung Tizen OS website
  2. Source Code Management:

    • Clone the repository:
      git clone https://review.tizen.org/git/platform/core/security/cert-svc.git
      cd cert-svc
      
  3. Building Process:

    • Build using GBS:
      gbs build -A armv7l --include-all
      
    • For specific file compilation, modify the spec file to include only necessary components
  4. Execution Options:

    • For platform packages, running on emulator/device is recommended
    • Use sdb to push and install RPM packages:
      sdb push package.rpm /tmp
      sdb shell rpm -ivh /tmp/package.rpm
      

Additional Tips

  • The example file might not be available in all Tizen versions (e.g., missing in 3.0 wearable)
  • Building individual files without the full package is challenging due to dependencies
  • Emulator/device environment doesn't typically include development tools like gcc
  • Consider using Tizen Studio for easier development experience

Customize your cookie preferences

You can enable or disable non-essential cookies. Essential cookies are always on to ensure the site works properly and to keep you signed in.

Necessary

These cookies are necessary for the website to function properly and cannot be switched off. They help with things like logging in and setting your privacy preferences.

Always on

Analytics

These cookies help us improve the site by tracking which pages are most popular and how visitors move around the site.

Enable analytics cookies
Public Forum Public Forum
Employees only. Please sign in with your company account.