65f97dc35b25d054eda7019880a69f195514b27e
Adwaita Template
Adwaita Template is a template application for the Adwaita package.
Table of Contents
Installation
Install the Swift Freedesktop SDK Extension
- Install
flatpakandflatpak-builder(https://flatpak.org/). - Add Flathub to Flatpak:
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
- Install the newest version of the Freedesktop SDK:
flatpak install org.freedesktop.Sdk
- Install the LLVM 16 Freedesktop extension:
flatpak install org.freedesktop.Sdk.Extension.llvm16/x86_64/23.08
- Install the GNOME SDK. It's not required for building the Swift Freedesktop SDK extension, but later for building the application:
flatpak install org.gnome.Sdk
- Download the Swift Freedesktop SDK extension using this link.
- In a terminal, enter the downloaded directory using
cd. - Install the Swift Freedesktop SDK extension:
sudo flatpak-builder build-dir org.freedesktop.Sdk.Extension.swift.json --install --force-clean
Install Other Tools
The following tools are required or recommended for editing this repository:
Usage
- Open this project in GNOME Builder. Copy the path to the containing folder of this file (in the sidebar) and replace the following piece of text in the
io.github.AparokshaUI.AdwaitaTemplate.jsonfile:
https://github.com/AparokshaUI/AdwaitaTemplate
with the following syntax (replace /path/to/directoy):
file:///path/to/directory
- Build and run the application.
- Change the app's name and other information about the application in the following files (and file names):
README.mdPackage.swiftio.github.AparokshaUI.AdwaitaTemplate.jsonSources/AdwaitaTemplate.swiftdata/io.github.AparokshaUI.AdwaitaTemplate.metainfo.xmldata/io.github.AparokshaUI.AdwaitaTemplate.desktopdata/icons/io.github.AparokshaUI.AdwaitaTemplate.Source.svgdata/icons/io.github.AparokshaUI.AdwaitaTemplate.svgdata/icons/io.github.AparokshaUI.AdwaitaTemplate-symbolic.svg
- Edit the code. Help is available here, ask questions in the discussions.
- Edit the app's icons using the previously installed tools according to this tutorial.
- In GNOME Builder, click on the dropdown next to the hammer and then on
Export. Wait until the file explorer appears, open the.flatpakfile and install the app on your device!
Thanks
Dependencies
- Adwaita licensed under the GPL-3.0 license
Description
Repository voor Fase 2 van de Proofs-of-Concept. Deze repository bevat een simpele calculator-app, gebruik makend van Adwaita for Swift.
Languages
Swift
96.9%
Dockerfile
3.1%