This a pre-configured flatpak manifest to build an emacs branch with libjanson, libgccjit and dependencies. This uses the latest releases of of all components, except for gcc, which has jit fixes in-tree and emacs, which has the experimental code bringing everything together.
This simply glues everything together to in a trackable package rather than installing to /usr/local/
If you’d prefer traditional ./configure && make && make install
checkout the ‘pgtk-nativecomp’ branch here: https://github.com/fejfighter/emacs
Based off the official documentation: https://docs.flatpak.org/en/latest/first-build.html
flatpak install org.gnome.sdk
(might also want to install the relevant theme you prefer)flatpak-builder --repo=repo --force-clean build-dir org.gnu.emacs.json
- this will take some timeflatpak --user remote-add --no-gpg-verify emacs-repo repo
flatpack install emacs
Rebuilding is simply repeating steps 2 and running flatpak update
.