Hi,

I have noticed that in trixie

apt show emacs-gtk/testing
...
Conflicts: emacs-lucid, emacs-nox, emacs-pgtk

apt show emacs-pgtk/testing
...
Conflicts: emacs-gtk, emacs-lucid, emacs-nox

Is it possible to avoid mutual conflict of gtk and pgtk builds?

Currently I am on bookworm and X11, but I am going to try Wayland on trixie (my previous attempts a few years ago were unsuccessful). I expect that I have to switch between Wayland and X11 before I will get acceptable configuration for Wayland. From some messages on the emacs-devel mailing list I anticipate various issues for pgtk build running on X11 and for gtk build running on Wayland. It is the reason why I would prefer to have both variants installed simultaneously.

At first glance there are just few conflicting files like emacsclient and .desktop files. The latter may be renamed to have build type in names (perhaps "X11" and "Wayland" since pgtk and gtk are hardly distinguishable). For emacs and emacsclient I would consider a wrapper script that starts pgtk flavor if WAYLAND_DISPLAY environment is set.

Is it feasible?

Reply via email to