This commit is contained in:
Jai Flack 2021-07-31 16:08:13 +10:00
parent 10b6383019
commit 38040b143c
No known key found for this signature in database
GPG Key ID: B0073AB365D0807D
8 changed files with 198 additions and 25 deletions

21
LICENSE Normal file
View File

@ -0,0 +1,21 @@
MIT License
Copyright (c) 1997-2020 Fedora Emacs package contributors (https://src.fedoraproject.org/rpms/emacs/blob/master/f/emacs.spec)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

47
README.md Normal file
View File

@ -0,0 +1,47 @@
[![Copr build status](https://copr.fedorainfracloud.org/coprs/deathwish/emacs-pgtk-nativecomp/package/emacs/status_image/last_build.png)](https://copr.fedorainfracloud.org/coprs/deathwish/emacs-pgtk-nativecomp/package/emacs/)
## Pure Gtk and native compilation builds of GNU Emacs
- [masm11/emacs](https://github.com/masm11/emacs)
- [fejfighter/emacs](https://github.com/fejfighter/emacs)
This package is mostly aligned with the GNU Emacs package from
official Fedora repositories.
- [https://src.fedoraproject.org/rpms/emacs](https://src.fedoraproject.org/rpms/emacs)
## Changes in Emacs 28
- [`NEWS` file from `master`
branch](https://git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS?h=master)
## Credits & Licensing
The repository
[A6GibKm/emacs-pgtk-nativecomp-copr](https://github.com:A6GibKm/emacs-pgtk-nativecomp-copr)
containing build recipes for [Copr project
emacs-gtk-native-comp](https://copr.fedorainfracloud.org/coprs/deathwish/emacs-pgtk-nativecomp/)
is a fork of
[https://src.fedoraproject.org/rpms/emacs](https://src.fedoraproject.org/rpms/emacs).
This fork as well as the original repository ([according to
FPCA](https://fedoraproject.org/wiki/Legal:Fedora_Project_Contributor_Agreement#Other_FAQs))
are licensed under MIT License. See
[LICENSE](https://github.com/A6GibKm/emacs-pgtk-nativecomp-copr/blob/master/LICENSE)
for the full license text.
## How to install/update
- Enable this copr repository,
```sh
$ dnf copr enable deathwish/emacs-pgtk-nativecomp
```
- Install latest pretest,
```sh
$ dnf install emacs
```
or update the installed version,
```sh
$ dnf update emacs
```
## Reporting issues
If you face any issues while installing or updating, please create an
issue on [GitHub repository
here](https://github.com/A6GibKm/emacs-pgtk-nativecomp-copr).

View File

@ -1,22 +1,15 @@
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
index 65f61644b6..254c3e6a82 100644
diff -u a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
--- a/lisp/textmodes/ispell.el
+++ b/lisp/textmodes/ispell.el
@@ -197,14 +197,11 @@ ispell-choices-win-default-height
:type 'integer
:group 'ispell)
-;; XXX Add enchant to this list once enchant >= 2.1.0 is widespread.
-;; Before that, adding it is useless, as if it is found, it will just
-;; cause an error; and one of the other spelling engines below is
-;; almost certainly installed in any case, for enchant to use.
@@ -191,9 +191,9 @@
:type 'integer)
(defcustom ispell-program-name
- (or (executable-find "aspell")
- (executable-find "ispell")
+ (or (executable-find "enchant-2")
(executable-find "hunspell")
+ (or (executable-find "hunspell")
+ (executable-find "aspell")
+ (executable-find "ispell")
"ispell")
"Program invoked by \\[ispell-word] and \\[ispell-region] commands."
:type 'string
(executable-find "ispell")
- (executable-find "hunspell")
;; Enchant is commonly installed as `enchant-2', so use this
;; name and avoid old versions of `enchant'.
(executable-find "enchant-2")

12
emacs.desktop Normal file
View File

@ -0,0 +1,12 @@
[Desktop Entry]
Name=Emacs
GenericName=Text Editor
Comment=Edit text
Comment[zh_TW]=編輯文字
MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;
Exec=emacs %f
Icon=emacs
Type=Application
Terminal=false
Categories=Utility;TextEditor;X-Red-Hat-Base;
StartupWMClass=Emacs

11
emacs.service Normal file
View File

@ -0,0 +1,11 @@
[Unit]
Description=Emacs: the extensible, self-documenting text editor
[Service]
Type=forking
ExecStart=/usr/bin/emacs --daemon
ExecStop=/usr/bin/emacsclient --eval "(kill-emacs)"
Restart=always
[Install]
WantedBy=default.target

View File

@ -1,13 +1,13 @@
%global _hardened_build 1
%global commit 13a9a5e836cbe6e64aadaba40fe1f7eb83320d08
%global commit 63767220b78d0fe7af36199b660c7b5a51cd0351
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 20210717
%global gitrel .%{commit_date}.git%{shortcommit}
# disable these for now until .pdmp is fixed
#%global enable_lucid 0
#%global enable_nox 0
%global enable_lucid 0
%global enable_nox 0
# This file is encoded in UTF-8. -*- coding: utf-8 -*-
Summary: GNU Emacs text editor
@ -17,12 +17,12 @@ Version: 28.0.50
Release: 1%{gitrel}%{?dist}
License: GPLv3+ and CC0-1.0
URL: http://www.gnu.org/software/emacs/
Source0: https://github.com/emacs-mirror/emacs/archive/$%{commit}.tar.gz
Source0: https://github.com/flatwhatson/emacs/archive/%{commit}/%{name}-%{shortcommit}.tar.gz
# generate the keyring via:
# wget https://ftp.gnu.org/gnu/gnu-keyring.gpg
# gpg2 --import gnu-keyring.gpg
# gpg2 --armor --export E6C9029C363AD41D787A8EBB91C1262F01EB8D39 > gpgkey-E6C9029C363AD41D787A8EBB91C1262F01EB8D39.gpg
Source2: gpgkey-E6C9029C363AD41D787A8EBB91C1262F01EB8D39.gpg
# gpg2 --armor --export D405AA2C862C54F17EEE6BE0E8BCD7866AFCF978 > gpgkey-D405AA2C862C54F17EEE6BE0E8BCD7866AFCF978.gpg
Source2: gpgkey-D405AA2C862C54F17EEE6BE0E8BCD7866AFCF978.gpg
Source3: emacs.desktop
Source4: dotemacs.el
Source5: site-start.el

View File

@ -0,0 +1,91 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQENBE/UA7cBCADWKKjxDivnNJhYYFcxPj/441aBG+MnoSEILupVIiIWN6RyRmiQ
pLHi3/05VZY4ngWMr4HX0a0iGnhfmljlAzerTfY//Puz7EYrN7EBMlm/abqsELXa
LWsxGcimRQGv0IIyZEgzmkFhu1F5e4r1BflBuqh5V6Y5s/SuA74xRvolyW2uliET
AiYGsO3zgY8j1ky4rU0TJhxGIl89WYPD0kzHji66zx9AxdWZ+EO4XtSuvbDghnxM
DMHLj+HDV+Ytl64arTp05WHoepAowKFpCBCPupgPk5+ss76wU5og+kG0DLBkctCL
Eywu0M1K08j5oVBSnOIqI71/yTV3cgCMRDNHABEBAAG0H05pY29sYXMgUGV0dG9u
IDxuaWNvQHBldHRvbi5mcj6JAU4EEwEIADgWIQQo077YUf3zq1f++TwjNYekfCB5
EAUCXYf1oAIbAwULCQgHAgYVCgkICwIEFgIDAQIeAQIXgAAKCRAjNYekfCB5EN+K
B/9W2UAElDBuBqiaCQ39n9M3/MIovCYM95/0fI+ucmUWEl3nY/ShT8LUPYtTEQn4
xXUVC5Q64nG/h1t6F/NVDIC3Jgmrv4Zz5tkVrCDL2n7NIXO1SVbGEsgndM14bM5o
WDyT8pdIlAhJEPMfRPJOayFlzasnIfaekjiO8xIBeRmPo6arGrJc+YKPbFs7Y1G0
9XI5U5ctKA79qVQpqr0oiX1CU7nimbUC8LlWX9CohmF8mJkC9dp2YvoYLQrJTSMe
vik/nm7vQJ96d0OsUXyLd432JakpjWNdf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QH7muuXJXcVggCunVEM1InRj68gcg4b0kZ1beqKkFCbVadezbIEQRk
ULoM0ONXR7VkLh9oX78jjsp30kmMV6n7YXkdqaCX9UwT69Zcug6RSODt65CzAQAR
AQABiQE8BBgBCAAmAhsgFiEEKNO+2FH986tX/vk8IzWHpHwgeRAFAl4S+fYFCQeR
l2YACgkQIzWHpHwgeRCgrAf9Gt27U7I1WYvszmIaVXwC3GzQvjPbDl17uL00xe90
IFe/wCzSXVrO0eWESEBlm2IqCux6KHapFoURjYTrmHXfQqJXV9X6uJc+JVD3hajx
1gpPa26aPE5REjaPBnQQUkoJyAI8Xtx0AEULvVvtYsBJdqdQtQNbMtcU3oU/FPZV
CT6KjrRZy4G+Z50wfH9+wed59eb4Pa804Ngc24KKdVjqkcGS3TcovMkIqtbdMlkV
72mJERjP6ETPJIjV3efxp3zWHHouKxSK0X6RJ7iuIrNgim3P7lqALLq0LTg5gcWJ
WigRa6zu3LAcwYAofO3bwCMOFmO6vaed/N45pUSF5o975A==
=/cmd
-----END PGP PUBLIC KEY BLOCK-----

View File

@ -1,2 +0,0 @@
SHA512 (emacs-27.2.tar.xz) = 0f63a5a8709b113ef790c1a64845dad05ead096f93f62164ff221c517a35b91ea7bced75a992d794981a85382cda03cca7338da2f5ef8f6ef1459b88018a4ce9
SHA512 (emacs-27.2.tar.xz.sig) = 60d273c537aed3c996d065374307b043c3a92d803668f6ab770dd6cab6814a32959d8632d2809c7389c4bc51c7a75b13ecd68a9ea9ca11df3bb63281816132c6