This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <sys/socket.h> | |
| #include <arpa/inet.h> | |
| #include <sys/un.h> | |
| #include <unistd.h> | |
| #include <string.h> | |
| #include <stdio.h> | |
| #define _PATH_UNIX_X "/tmp/.X11-unix/X%d" | |
| #define DISPLAY_PORT 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git clone --single-branch --depth=1 https://github.com/emacs-mirror/emacs.git | |
| cd emacs/ | |
| sudo apt install -y autoconf make gcc texinfo libxpm-dev \ | |
| libjpeg-dev libgif-dev libtiff-dev libpng-dev libgnutls28-dev \ | |
| libncurses5-dev libjansson-dev libharfbuzz-dev | |
| ./autogen.sh | |
| ./configure --with-json --with-modules --with-harfbuzz --with-compress-install \ | |
| --with-threads --with-included-regex --with-zlib --with-cairo --without-rsvg\ | |
| --without-sound --without-imagemagick --without-toolkit-scroll-bars \ | |
| --without-gpm --without-dbus --without-makeinfo --without-pop \ |