public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Peter Oliver <git@mavit.org.uk>
To: git-commits@fedoraproject.org
Subject: [rpms/emacs] rawhide: Add info page "Emacs on Fedora".
Date: Mon, 29 Jun 2026 12:03:50 GMT [thread overview]
Message-ID: <178273463092.1.7706063597632171031.rpms-emacs-7177d5143f12@fedoraproject.org> (raw)
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
reply other threads:[~2026-06-29 12:03 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178273463092.1.7706063597632171031.rpms-emacs-7177d5143f12@fedoraproject.org \
--to=git@mavit.org.uk \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox