kelleyk / ppa-emacs

Packaging repository for my Emacs PPA
https://launchpad.net/~kelleyk/+archive/ubuntu/emacs
97 stars 4 forks source link

Could you share the configuration of emacs source code compilation? #35

Open improve100 opened 3 months ago

improve100 commented 3 months ago

./configure --with-mailutils --with-xwidgets --with-modules --with-imagemagick --prefix=/home/dericbytes/installs --bindir=/home/dericbytes/bin --with-nativecomp ??

kelleyk commented 3 months ago

Hello!

The configuration that the actual packages are built from is in debian/control.

Can you say more about what you're trying to do?

improve100 commented 3 months ago

I used to install Emacs via kelleyk/ppa Emacs, but now I want to try compiling Emacs 29.3 from source on Ubuntu 20.04. I'm not sure which configuration parameters to use. Below is my current configuration method:

./autogen.sh
./configure --with-native-compilation=aot \
            --with-x \
            --with-xwidgets \
            --with-tree-sitter \
            --with-imagemagick \
            --with-mailutils \
            --with-json \
            --with-jit \
            --with-rsvg

make -j$(nproc)
sudo make install -j2
./src/emacs -Q

The compiled Emacs can be run in the terminal, but an emacs.desktop file was not generated. I'm not sure how you compiled it, so I'd like to see your method for reference.