deathwish/emacs-pgtk-nativecomp

Pure Gtk + native compilation builds of GNU Emacs

Instructions not filled in by author. Author knows what to do. Everybody else should avoid this repo.


This is a companion discussion topic for the original entry at https://copr.fedorainfracloud.org/coprs/deathwish/emacs-pgtk-nativecomp/
1 Like

Hi, this is nice! However it seems this Emacs has been built without modules support, i.e. it crashes when trying to use vterm.

Hello and thanks for the feedback. The spec has --with-modules enabled in the config step, see emacs-pgtk-nativecomp-copr/emacs.spec at master · A6GibKm/emacs-pgtk-nativecomp-copr · GitHub. Maybe there is something else it is missing? or maybe there is a bug upstream?

I installed this package yesterday. it works well.

vterm also works. make sure you install relevant libraries (the ones listed on the vterm github page). I had to do this when installing ubuntu on wsl if memory serves. in any case, I have found no problems .

I should mention that Emacs has some lag in Gnome but none on Sway. I like them both, but it seems I’ll have to use Sway for its speed. no big deal. like I said, I like them both.

Hi - thanks for making this, I’ve been using it for some time now.

It is a bit old now, of course - has it been superceded by another build, perhaps by the mainline?

Hello everyone, I have created a pull request to fix FC37/FC38 builds here:

If you would like to participate testing this please feel free to provide feedback on this PR. I am using this myself on FC38 for the last couple of days.

Hi everyone! Would it be possible to get a new build for Emacs 29.1?

I am very new to Fedora and still don’t know how could I do it by myself.
(Trying Fedora Silverblue).

Fedora newcomer, so apologies if this is obvious but: what is the procedure for requesting a rebuild? 1:29.2 just landed in the main repo, replacing this package.

For others running into this issue, you can get this version of emacs back as follows:

$ sudo dnf list emacs --showduplicates
Last metadata expiration check: 0:16:42 ago on Fri 02 Feb 2024 10:00:48 AM PST.
Installed Packages
emacs.x86_64                       1:29.2-2.fc39                                              @updates
Available Packages
emacs.x86_64                       1:29.1-2.fc39                                              fedora
emacs.src                          1:29.1.90-1.20231019.gitebd92cc.fc39                       copr:copr.fedorainfracloud.org:deathwish:emacs-pgtk-nativecomp
emacs.x86_64                       1:29.1.90-1.20231019.gitebd92cc.fc39                       copr:copr.fedorainfracloud.org:deathwish:emacs-pgtk-nativecomp
emacs.x86_64                       1:29.2-2.fc39                                              updates

$ sudo dnf install "emacs-1:29.1.90-1.20231019.gitebd92cc.fc39"

Fedora 39 is now pgtk enabled.
Why do you build for Fedora 39 ?