Giter Club home page Giter Club logo

emacs-gcc-pgtk's Introduction

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

emacs-gcc-pgtk's People

Contributors

konstare avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

emacs-gcc-pgtk's Issues

Problems launching Emacs after building .deb package

I build the .deb package according to the instructions in the README and installed the .deb package. Now when I run, Emacs I get the following errors:

emacs: /lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by emacs)
emacs: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by emacs)

System specs:

λ uname -a
Linux laptop 5.8.0-55-generic #62~20.04.1-Ubuntu SMP Wed Jun 2 08:55:04 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

unmet dependencies when installing .deb

Hello,

I am using a copy of your .deb package generated a couple of days ago in a docker build (for now just uploaded to a repository to test).

However the build fails

The following packages have unmet dependencies:
 emacs-gcc-pgtk : Depends: libotf0 but it is not installable
                  Depends: libgccjit0 but it is not installable
                  Depends: libm17n-0 but it is not installable
                  Depends: librsvg2-2 but it is not installable
                  Depends: libjansson4 but it is not installable

I am using the same version of ubuntu as your Dockerfile:
https://gitlab.com/xeijin-dev/emacs-pgtkncb/-/blob/main/Dockerfile#L1

This is the install command from my dockerfile:
https://gitlab.com/xeijin-dev/emacs-pgtkncb/-/blob/main/Dockerfile#L19

Here is the relevant section of the failed docker build:
https://gitlab.com/xeijin-dev/emacs-pgtkncb/-/jobs/1511569698#L1852

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.