emacs-gcc-pgtk
emacs-gcc-pgtk copied to clipboard
Dockerfile for building emacs.deb
#+TITLE: emacs-gcc-pgtk - Dockerfile for building emacs.deb with native-comp and pure GTK
- Summary This repository shows a Dockerfile to create a emacs-29 deb package with native compilation and pure GTK for Ubuntu >=20.04.
** Notes:
- The deb package can be found in [[https://github.com/konstare/emacs-gcc-pgtk/actions/workflows/deploy.yml?query=is%3Acompleted][GitHub Action]].
- The emacs source files are [[https://git.savannah.gnu.org/cgit/emacs.git/log/?h=emacs-29][here]].
- no xwidgets
- no imagemagick. Emacs now supports resizing and rotating of images without ImageMagick.
- all =.el= files are compiled ahead of time.
- The emacs is built with sqlite, webp, tree-sitter ** The package is compiled with flags:
- --with-pgtk
- --with-json
- --with-gnutls
- --with-rsvg
- --without-xwidgets
- --without-xaw3d
- --with-mailutils
- --with-native-compilation=aot
- CFLAGS="-O2 -pipe"
-
Installation 1: Use [[https://github.com/konstare/emacs-gcc-pgtk/actions][GitHub Actions]] The deb package with this recipe is built by =github= every day and can be found in [[https://github.com/konstare/emacs-gcc-pgtk/actions/workflows/deploy.yml?query=is%3Acompleted][GitHub Action]].
-
Installation 2: Compile on your own computer ** Requirements
- docker ** Compilation #+begin_src bash git clone https://github.com/konstare/emacs-gcc-pgtk cd emacs-gcc-pgtk ./build.sh #+end_src