1 line
3.4 KiB
Plaintext
1 line
3.4 KiB
Plaintext
<!-- SC_OFF --><div class="md"><p>I've just build from source Emacs using this commands:</p> <pre><code>git clone https://git.savannah.gnu.org/git/emacs.git cd emacs ./autogen.sh ./configure --with-native-compilation --with-json --with-pgtk make -j$(nproc) sudo make install </code></pre> <p>My <code>./configure</code> summary contains:</p> <pre><code>Configured for 'x86_64-pc-linux-gnu'. Where should the build process find the source code? . What compiler should emacs be built with? gcc -g3 -O2 Should Emacs use the GNU version of malloc? no (The GNU allocators don't work with this system configuration.) Should Emacs use a relocating allocator for buffers? no Should Emacs use mmap(2) for buffer allocation? no What window system should Emacs use? pgtk What toolkit should Emacs use? GTK3 Where do we find X Windows header files? Standard dirs Where do we find X Windows libraries? Standard dirs Does Emacs use -lXaw3d? no Does Emacs use -lXpm? no Does Emacs use -ljpeg? yes Does Emacs use -ltiff? yes Does Emacs use a gif library? yes -lgif Does Emacs use a png library? yes -lpng16 -lz Does Emacs use -lrsvg-2? no Does Emacs use -lwebp? no Does Emacs use -lsqlite3? no Does Emacs use cairo? yes Does Emacs use -llcms2? no Does Emacs use imagemagick? no Does Emacs use native APIs for images? no Does Emacs support sound? yes Does Emacs use -lgpm? no Does Emacs use -ldbus? yes Does Emacs use -lgconf? no Does Emacs use GSettings? yes Does Emacs use a file notification library? yes -lglibc (inotify) Does Emacs use access control lists? no Does Emacs use -lselinux? yes Does Emacs use -lgnutls? yes Does Emacs use -lxml2? yes Does Emacs use -lfreetype? yes Does Emacs use HarfBuzz? yes Does Emacs use -lm17n-flt? Does Emacs use -lotf? no Does Emacs use -lxft? Does Emacs use -lsystemd? no Does Emacs use -ljansson? yes Does Emacs use the GMP library? yes Does Emacs directly use zlib? yes Does Emacs have dynamic modules support? yes Does Emacs use toolkit scroll bars? yes Does Emacs support Xwidgets? no Does Emacs have threading support in lisp? yes Does Emacs support the portable dumper? yes Does Emacs support legacy unexec dumping? no Which dumping strategy does Emacs use? pdumper Does Emacs have native lisp compiler? yes Does Emacs use version 2 of the the X Input Extension? no </code></pre> <p>Then I start systemd service:</p> <pre><code>systemctl --user enable --now emacs.service </code></pre> <p>after while I check status:</p> <pre><code>emacs[27202]: Warning: due to a long standing Gtk+ bug emacs[27202]: https://gitlab.gnome.org/GNOME/gtk/issues/221 emacs[27202]: Emacs might crash when run in daemon mode and the X11 connection is unexpectedly lost. emacs[27202]: Using an Emacs configured with --with-x-toolkit=lucid does not have this problem. emacs[27202]: Starting Emacs daemon. </code></pre> <p>I tried with added <code>--with-x-toolkit=lucid</code> option at the end of my <code>./configure</code> command but with <code>--with-pgtk</code> the toolkit is still overwritten by GTK3.</p> <p>I am KDE Plasma user but also on GNOME I experienced similar behaviour.</p> </div><!-- SC_ON -->   submitted by   <a href="https://www.reddit.com/user/AsterOps"> /u/AsterOps </a> <br/> <span><a href="https://www.reddit.com/r/emacs/comments/rtifex/emacs_daemon_doesnt_work_on_pgtk_branch/">[link]</a></span>   <span><a href="https://www.reddit.com/r/emacs/comments/rtifex/emacs_daemon_doesnt_work_on_pgtk_branch/">[comments]</a></span> |