unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* branch feature/native-comp
@ 2021-01-10 22:24 AW
  2021-01-10 23:49 ` Óscar Fuentes
  0 siblings, 1 reply; 3+ messages in thread
From: AW @ 2021-01-10 22:24 UTC (permalink / raw)
  To: Help GNU Emacs

Hi!

OS: Linux, Tumbleweed by openSUSE

1) Is there somewhere a description of the git branches of emacs at http://
git.savannah.gnu.org/cgit/emacs.git ?

2) Linux on desktop is moving towards wayland. As far as I understand it 
(probably completely wrong), this is done with a kind of GTK-Emacs. 

There is a pure gtk feature branch, "feature/pgtk". I compiled it and it works 
under "pure" wayland. 

By the way, "./configure --with-native-comp" didn't work (no surprise). 

But there is also a branch feature/native-comp, which doesn't work under 
wayland. I checked this branch out as well, compiled it, installed it, but no 
fun: At least I always get the GTK error "cannot open display: 1". But in 
a x11 environment (KDE Plasma) in a short test there were no issues. 

As far as I understand it, sense of the latter branch is to speed up Emacs. 
And that makes me curious...

Is there a way to get this native-compiled feature into an Emacs working under 
wayland?

Regards,

Alexander





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: branch feature/native-comp
  2021-01-10 22:24 branch feature/native-comp AW
@ 2021-01-10 23:49 ` Óscar Fuentes
  2021-01-11 18:15   ` AW
  0 siblings, 1 reply; 3+ messages in thread
From: Óscar Fuentes @ 2021-01-10 23:49 UTC (permalink / raw)
  To: help-gnu-emacs

AW <alexander.willand@t-online.de> writes:

> Hi!
>
> OS: Linux, Tumbleweed by openSUSE
>
> 1) Is there somewhere a description of the git branches of emacs at http://
> git.savannah.gnu.org/cgit/emacs.git ?

AFAIK, no.

> 2) Linux on desktop is moving towards wayland. As far as I understand it 
> (probably completely wrong), this is done with a kind of GTK-Emacs. 
>
> There is a pure gtk feature branch, "feature/pgtk". I compiled it and it works 
> under "pure" wayland. 
>
> By the way, "./configure --with-native-comp" didn't work (no surprise). 

It is --with-nativecomp, but see below.

> But there is also a branch feature/native-comp, which doesn't work under 
> wayland. I checked this branch out as well, compiled it, installed it, but no 
> fun: At least I always get the GTK error "cannot open display: 1". But in 
> a x11 environment (KDE Plasma) in a short test there were no issues. 

The native-comp branch is not merged with into pgtk branch (nor into
master, so --with-nativecomp only works on the native-comp branch (and
that option is required to enable the feature)), so right now neither
branch contains those two features.

> As far as I understand it, sense of the latter branch is to speed up Emacs. 
> And that makes me curious...
>
> Is there a way to get this native-compiled feature into an Emacs working under 
> wayland?

You can try creating a new branch that merges those two.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: branch feature/native-comp
  2021-01-10 23:49 ` Óscar Fuentes
@ 2021-01-11 18:15   ` AW
  0 siblings, 0 replies; 3+ messages in thread
From: AW @ 2021-01-11 18:15 UTC (permalink / raw)
  To: help-gnu-emacs; +Cc: Óscar Fuentes

Am Montag, 11. Januar 2021, 00:49:55 CET schrieb Óscar Fuentes:

> It is --with-nativecomp, but see below.

> > Is there a way to get this native-compiled feature into an Emacs working
> > under wayland?
> 
> You can try creating a new branch that merges those two.

Somebody already did that. I got the hint here: 

https://deathwish.info/2020/08/01/pgtk-nativecomp/

and the source is here: https://github.com/fejfighter/emacs

Cloned with 

git clone -b pgtk-nativecomp https://github.com/fejfighter/emacs

and compiled, works! Got lots (354) of *.eln files in ~/.emacs.d/eln-chache 

@Óscar: Thank you very much, because the option for configuring was, as you 
mentioned, --with-nativecomp !

For the impatient: the main work was to get libgccjit onto my system. 

Regards,

Alexander







^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-01-11 18:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-10 22:24 branch feature/native-comp AW
2021-01-10 23:49 ` Óscar Fuentes
2021-01-11 18:15   ` AW

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).