Re: git: 08f3c048b612 - main - editors/emacs-devel: Build pure GTK Emacs by default

From: Joseph Mingrone <jrm_at_FreeBSD.org>
Date: Mon, 24 Jan 2022 20:17:07 UTC
On Sat, 2022-01-22 at 13:19, Jan Beich <jbeich@FreeBSD.org> wrote:

> Joseph Mingrone <jrm@FreeBSD.org> writes:

>> The branch main has been updated by jrm:

>> URL: https://cgit.FreeBSD.org/ports/commit/?id=08f3c048b612d8d4f2a034c1a1cf3ec3812ff230

>> commit 08f3c048b612d8d4f2a034c1a1cf3ec3812ff230
>> Author:     Joseph Mingrone <jrm@FreeBSD.org>
>> AuthorDate: 2022-01-01 21:23:42 +0000
>> Commit:     Joseph Mingrone <jrm@FreeBSD.org>
>> CommitDate: 2022-01-03 18:12:48 +0000

>>     editors/emacs-devel: Build pure GTK Emacs by default

>>     - Add PGTK to OPTIONS_DEFAULT
>>     - Remove M17N, OTF, XFT, XIM, and XPM from OPTIONS_DEFAULT
>>     - Eliminate X11 dependencies for pure GTK Emacs by
>>       - removing CAIRO_IMPLIES=XFT and OTF_IMPLIES=XFT
>>       - adding CAIRO_PREVENTS=XFT and PGTK_PREVENTS=M17N XFT XPM
>>       - not including USES=xorg.

>>     While here, pull in a new 2022-01-03 revision and incorporate minor
>>     formatting changes suggested by portfmt.

>>     Reported by:    jbeich
>>     Reviewed by:    jbeich
>>     Sponsored by:   The FreeBSD Foundation
>>     Differential Revision:  https://reviews.freebsd.org/D33714

> Do you plan to merge this (and other updates) into 2022Q1 for /quarterly?
> It improves copy-paste experience on Wayland. For historical reasons
> there're at least 2 buffers[1]: PRIMARY (middle-click) and CLIPBOARD (CUA).
> Wayland inherited both from X11, so Xwayland has to keep 4 buffers in sync
> which is error-prone due to the differences in how readiness is propagated.

> [1] SECONDARY is mostly unused... except in Emacs ;)
>     https://www.gnu.org/software/emacs/manual/html_node/emacs/Secondary-Selection.html

I hadn't planned on it.  Cherry picking the four commits to
editors/emacs-devel in the main branch would change the default options
and also pull in many upstream commits.  That seems too disruptive for
the quarterly branch.

I've copied emacs@FreeBSD.org in case they feel differently.

Regards,

J.