GithubHelp home page GithubHelp logo

pulp-ui's Introduction

Pulp UI

GTK4 Based UI for Stats all Around AP Sensing in Böblingen using a Raspberry Pi.

Examples

TODO

Building

Requirements

Fedora

sudo dnf install gtkmm4.0-devel libadwaita-devel libcurl-devel g++ clang cmake git
sudo dnf install libsoup3-devel sqlite-devel ninja-build meson

Building

git clone https://github.com/COM8/pulp-ui.git
cd pulp-ui
mkdir build
cd build
cmake ..
cmake --build .

Flatpak

The pulp-ui can be built and installed using Flatpak.

Requirements

Fedora

sudo dnf install flatpak flatpak-builder
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install flathub org.gnome.Sdk/43 org.gnome.Platform/43

Debian/Ubuntu

sudo apt install flatpak flatpak-builder
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install flathub org.gnome.Sdk/43 org.gnome.Platform/43

Building

Add --jobs=1 to the flatpak-builder command when building on a Raspberry Pi to prevent running out of RAM.

git clone https://github.com/COM8/pulp-ui.git
cd pulp-ui
flatpak-builder --force-clean flatpak_build_dir de.pulp_ui.cli.yml

Installing

flatpak-builder --user --install --force-clean flatpak_build_dir de.pulp_ui.cli.yml

Cross-Compiling

In case you would like to cross-compile for the Raspberry Pi (aarch64), this can be done as follows:

sudo dnf install qemu-system-arm qemu-user-static
sudo systemctl restart systemd-binfmt.service

flatpak install flathub org.gnome.Sdk/aarch64/43 org.gnome.Platform/aarch64/43
flatpak-builder --arch=aarch64 --repo=repo --force-clean flatpak_build_dir de.pulp_ui.cli.yml
flatpak build-bundle --arch=aarch64 ./repo/ de.pulp_ui.cli.flatpak de.pulp_ui.cli

# Copy the "repo" dir to the target system
flatpak --user remote-add --no-gpg-verify pulp-ui-repo repo
flatpak --user install pulp-ui-repo de.pulp_ui.cli

Uninstalling

flatpak uninstall de.pulp_ui.cli

Executing

flatpak run de.pulp_ui.cli

pulp-ui's People

Watchers

Fabian Sauter avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.