Giter Site home page Giter Site logo

esp-er / substrate Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gluonhq/substrate

0.0 0.0 0.0 3.18 MB

Create native Java(FX) apps for desktop, mobile and embedded

License: GNU General Public License v2.0

Java 87.95% C 9.86% Shell 0.62% Objective-C 1.33% CSS 0.03% AppleScript 0.20%

substrate's Introduction

Gluon Substrate

Maven Central Github Actions

Gluon Substrate is a tool that converts Java(FX) Client applications into native executables for desktop, mobile and embedded devices. It uses the GraalVM GraalVM native-image tool to compile the required Java bytecode into code that can be executed on the target system (e.g. your desktop, on iOS, on a Raspberry Pi).

Gluon Substrate deals with JavaFX resources (e.g. FXML, shader code,...) and with platform-specific Java and native code that is part of the JavaFX platform.

While Gluon Substrate has an API that allows direct access to it, it is recommended to use the Maven plugin which simply requires some configuration in the pom.xml file of your project. The plugin will then invoke the Substrate API which in turn will use GraalVM native-image to compile the Java code, and it will link the result with the required libraries and configuration into a native executable.

There are a number of samples available that show you how to get started with Gluon Substrate. We recommend using your favourite IDE to run those samples.

Compilation

Linux hosts

To compile Gluon Substrate on Linux you need to install these development packages:

# on ubuntu (debian flavors)
apt-get install libasound2-dev libavcodec-dev libavformat-dev libavutil-dev libfreetype6-dev
apt-get install libgl-dev libglib2.0-dev libgtk-3-dev libpango1.0-dev libx11-dev libxtst-dev zlib1g-dev

# on fedora (redhat flavors), requires https://rpmfusion.org/
dnf install alsa-lib-devel freetype-devel glib2-devel gtk3-devel libX11-devel
dnf install libXtst-devel mesa-libGL-devel pango-devel zlib-devel
dnf install ffmpeg-devel

Issues and Contributions

Issues can be reported to the Issue tracker

Contributions can be submitted via Pull requests, providing you have signed the Gluon Individual Contributor License Agreement (CLA).

substrate's People

Contributors

abhinayagarwal avatar alaa-az avatar almasb avatar danielpeintner avatar erwin1 avatar eugener avatar gluon-bot avatar johanvos avatar jperedadnr avatar jskov avatar kkriske avatar kristofdho avatar lazar-mitrovic avatar tiainen 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.