public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/emacs] rawhide: Add info page "Emacs on Fedora".
@ 2026-06-29 12:03 Peter Oliver
0 siblings, 0 replies; only message in thread
From: Peter Oliver @ 2026-06-29 12:03 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/emacs
Branch : rawhide
Commit : 7177d5143f128aa3f96bb547f0674a1d8353d92c
Author : Peter Oliver <git@mavit.org.uk>
Date : 2026-06-29T13:02:35+01:00
Stats : +61/-2 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/emacs/c/7177d5143f128aa3f96bb547f0674a1d8353d92c?branch=rawhide
Log:
Add info page "Emacs on Fedora".
---
diff --git a/emacs-fedora.texi b/emacs-fedora.texi
new file mode 100644
index 0000000..c9919d6
--- /dev/null
+++ b/emacs-fedora.texi
@@ -0,0 +1,54 @@
+\input texinfo @c -*- mode: texinfo; -*-
+@c %**start of header
+@setfilename ../../info/emacs-varieties.info
+@settitle Emacs on Fedora Linux
+@documentlanguage en
+@include docstyle.texi
+@c %**end of header
+
+@dircategory Emacs
+@direntry
+* Emacs on Fedora: (emacs-fedora).
+ Emacs on Fedora Linux and derivatives.
+@end direntry
+
+@node Top
+@top Emacs on Fedora Linux and derivatives
+
+@chapter Build varieties
+
+Fedora Linux includes several different builds of GNU Emacs, each using
+different graphical toolkits (or none at all). Each is provided in a subpackage of the same name.
+
+@itemize @bullet
+
+@item
+@command{emacs-pgtk} uses purely the GTK toolkit, and is suggested for
+use with Wayland displays. The Emacs developers recommend not running
+it on the X Window System.
+
+@item
+@command{emacs-gtk+x11} uses the GTK toolkit, for use on the X Window
+System.
+
+@item
+@command{emacs-lucid} uses the Lucid toolkit, for use on the X Window
+System.
+
+@item
+@command{emacs-nw} has no graphical display support, and can be run on a
+terminal only. The package that contains it has many fewer dependencies
+on other packages, which can lead to significantly smaller installation
+sizes on servers without graphical environments.
+
+@end itemize
+
+Additionally, Fedora provides a wrapper, @command{emacs-desktop}, which
+will try to guess a suitable build, from those installed, for the
+current desktop environment.
+
+A favoured build can be selected using the @command{alternatives}
+system, with @command{emacs-desktop} taking the highest priority by
+default.
+
+@bye
diff --git a/emacs.spec b/emacs.spec
index e152052..927130c 100644
--- a/emacs.spec
+++ b/emacs.spec
@@ -35,11 +35,12 @@ Source103: https://keys.openpgp.org/vks/v1/by-fingerprint/8DC2487E51ABDD90B5
Source4: dotemacs.el
Source5: site-start.el
Source6: default.el
+Source9: emacs-desktop.sh.in
Source10: emacs_lisp.attr
Source11: emacs_lisp.rec
-Source20: emacs-desktop.sh.in
+Source20: emacs-fedora.texi
Source21: emacs-desktop.1
Source22: emacs-gtk+x11.1
Source23: emacs-lucid.1
@@ -337,6 +338,10 @@ rm keyring
cd %{name}-%{version}
%autopatch -p1
+# Add info page "Emacs on Fedora"
+cp -p %{SOURCE20} doc/misc/
+sed -e 's/^INFO_COMMON = /INFO_COMMON = %{gsub %{basename %{SOURCE20}} .texi %{quote:}}/' doc/misc/Makefile.in
+
# Avoid trademark issues
rm lisp/play/pong.el lisp/play/pong.elc \
lisp/play/tetris.el lisp/play/tetris.elc
@@ -522,7 +527,7 @@ cat > 10-source-directory.el << 'EOF'
;;; 10-source-directory.el ends here
EOF
-sed -e 's|@bindir@|%{_bindir}|' %SOURCE20 > emacs-desktop.sh
+sed -e 's|@bindir@|%{_bindir}|' %SOURCE9 > emacs-desktop.sh
%install
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-29 12:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-29 12:03 [rpms/emacs] rawhide: Add info page "Emacs on Fedora" Peter Oliver
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox