flatpak-build-mildenhall-helloworld-app manual

medium

Image Types:
sdk-amd64
Image Deployment:
APT
Type:
functional

Description

Install mildenhall runtime, build helloworld-app using mildenhall runtime and run the helloworld-app.


Pre Conditions

  1. Please uninstall the org.apertis.mildenhall.helloworld-app if already installed.
  2. $ flatpak uninstall org.apertis.mildenhall.helloworld-app

Execution Steps

  1. Clone the helloworld-app
  2. $ git clone https://gitlab.apertis.org/sample-applications/helloworld-app.git -b apertis/v2021
  3. Add remote for mildenall runtime:
  4. $ flatpak --user remote-add --if-not-exists --no-gpg-verify apertis-mildenhall https://images.apertis.org/flatpak/mildenhall
  5. Install the org.apertis.mildenhall.Platform org.apertis.mildenhall.Sdk
  6. $ flatpak install -y org.apertis.mildenhall.Platform org.apertis.mildenhall.Sdk
  7. Wait for installation to be completed
  8. Switch inside the helloworld-app directory
  9. $ cd helloworld-app
  10. Build the helloworld-app using mildenhall runtime
  11. $ flatpak-builder --repo=repo --force-clean build-dir flatpak-recipe.yaml
  12. Add remote for helloworld-app
  13. $ flatpak --if-not-exists --user remote-add --no-gpg-verify hello-worldapp repo/
  14. Install the helloworld app
  15. $ flatpak install -y hello-worldapp org.apertis.mildenhall.helloworld-app
  16. Now run the helloworld app
  17. $ flatpak run org.apertis.mildenhall.helloworld-app

Expected

Hello world app window should be visible