Skip to content

konstare/emacs-gcc-pgtk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

  1. The deb package can be found in GitHub Action.
  2. The emacs source files are here.
  3. no xwidgets
  4. no imagemagick. Emacs now supports resizing and rotating of images without ImageMagick.
  5. all .el files are compiled ahead of time.
  6. 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 GitHub Actions

The deb package with this recipe is built by github every day and can be found in GitHub Action.

Installation 2: Compile on your own computer

Requirements

  1. docker

Compilation

git clone https://github.com/konstare/emacs-gcc-pgtk
cd emacs-gcc-pgtk
./build.sh

Releases

No releases published

Packages

No packages published