Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
Apertis Flatpak Runtime
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
infrastructure
Apertis Flatpak Runtime
Commits
170b543c
Commit
170b543c
authored
3 years ago
by
Ryan Gonzalez
Browse files
Options
Downloads
Patches
Plain Diff
Add a basic README
parent
700fd7ad
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#298992
passed
3 years ago
Stage: prepare
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+41
-0
41 additions, 0 deletions
README.md
with
41 additions
and
0 deletions
README.md
0 → 100644
+
41
−
0
View file @
170b543c
# apertis-flatpak-runtime
Reference Flatpak runtime for Apertis.
## Building Locally
This currently needs
[
a separate branch of
apertis-flatdeb
](
https://gitlab.apertis.org/pkg/apertis-flatdeb/-/tree/wip/refi64/T8169-changes
)
,
and
`FLATDEB_REPO`
should be set to the path to the local clone of the branch.
The headless and HMI runtimes can be built via:
```
./flatdeb.sh v2022pre amd64 runtimes runtimes/org.apertis.headless.yaml
./flatdeb.sh v2022pre amd64 runtimes runtimes/org.apertis.hmi.yaml
```
This will build both the .Platform and .Sdk variants of both. To build only one,
pass one of
`--platform`
or
`--sdk`
before the
`runtimes`
argument.
For a faster local build, you can also pass
`--no-collect-source-code`
and
`--no-debug-symbols`
to skip gathering the source code and generating the debug
extensions.
Once the runtimes are built, they will be placed in the OSTree repository
`flatdeb-builddir/ostree-repo`
. From there, they can be installed via:
```
flatpak --user remote-add --no-gpg-verify apertis $PWD/flatdeb-builddir/ostree-repo
flatpak install apertis org.apertis.{headless,hmi}.{Platform,Sdk}
```
The sample apps can be built via:
```
./flatdeb.sh v2022pre amd64 --export-bundles apps apps/org.apertis.headless.hello.yaml
./flatdeb.sh v2022pre amd64 --export-bundles apps apps/org.apertis.hmi.gnome-font-viewer.yaml
```
These will result in
`.flatpak`
bundles being placed inside the
`flatdeb-builddir`
folder.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment