Dr. Werner Fink 2024-04-11 06:47:29 +00:00 committed by Git OBS Bridge
parent cf8216f026
commit f87a5a6687
2 changed files with 10 additions and 5 deletions

View File

@ -5,13 +5,17 @@ Subject: Allow GNU Emacs server to open X Display
even if the Xauthority file is not the default expected by XCloseDisplay() even if the Xauthority file is not the default expected by XCloseDisplay()
--- ---
etc/emacs.service | 1 + etc/emacs.service | 2 ++
lisp/server.el | 45 +++++++++++++++++++++++++++++++++++++++++++-- lisp/server.el | 45 +++++++++++++++++++++++++++++++++++++++++++--
2 files changed, 44 insertions(+), 2 deletions(-) 2 files changed, 45 insertions(+), 2 deletions(-)
--- etc/emacs.service --- etc/emacs.service
+++ etc/emacs.service 2023-08-01 07:24:44.856332618 +0000 +++ etc/emacs.service 2024-04-11 06:46:29.320172754 +0000
@@ -8,6 +8,7 @@ Documentation=info:emacs man:emacs(1) ht @@ -5,9 +5,11 @@
[Unit]
Description=Emacs text editor
Documentation=info:emacs man:emacs(1) https://gnu.org/software/emacs/
+After=graphical-session.target
[Service] [Service]
Type=notify Type=notify
@ -20,7 +24,7 @@ even if the Xauthority file is not the default expected by XCloseDisplay()
# Emacs will exit with status 15 after having received SIGTERM, which # Emacs will exit with status 15 after having received SIGTERM, which
--- lisp/server.el --- lisp/server.el
+++ lisp/server.el 2024-02-02 07:50:00.878231817 +0000 +++ lisp/server.el 2024-04-11 06:17:17.692578500 +0000
@@ -289,6 +289,11 @@ If nil, no instructions are displayed." @@ -289,6 +289,11 @@ If nil, no instructions are displayed."
"The directory in which to place the server socket. "The directory in which to place the server socket.
If local sockets are not supported, this is nil.") If local sockets are not supported, this is nil.")

View File

@ -353,6 +353,7 @@ and most assembler-like syntaxes.
%patch -P25 -p0 -b .xft %patch -P25 -p0 -b .xft
%patch -P26 -p0 -b .fmt %patch -P26 -p0 -b .fmt
%patch -P29 -p0 -b .xauth %patch -P29 -p0 -b .xauth
exit 1
%patch -P0 -p0 -b .0 %patch -P0 -p0 -b .0
%if %{without tex4pdf} %if %{without tex4pdf}
pushd etc/refcards/ pushd etc/refcards/