Commit Graph

476 Commits

Author SHA1 Message Date
Dan Čermák
2850fb1bc1
Use %autosetup instead of %setup -q 2023-08-01 00:36:45 +02:00
Dan Čermák
da33813951
Remove patches already part of emacs-29
- remove emacs-pdmp-fingerprint.patch, it was cherry picked from emacs 29.1
- remove emacs-configure-c99-2.patch, already part of emacs-29
- remove fixed-ctags-local-command-execute-vulnerability.patch
- remove fix-searching-for-end-of-string-in-python-nav-end-of.patch
- remove native-compile-with_-Q.patch
- remove webkit2gtk-4.1.patch, has been implemented in emacs-29 via
  7287b7b53a17f9b2d1b474466106806a9d57af47
2023-08-01 00:35:44 +02:00
Dan Čermák
28d8e707a9
Update gpg signkey for emacs 29 2023-08-01 00:33:45 +02:00
Dan Čermák
8a2469cc20
Remove our bundled cdefs.h, emacs' version caught up with gnulib 2023-08-01 00:33:02 +02:00
Scott Talbert
be0cd269fa Rebuild for libotf soname bump 2023-07-25 10:44:01 -04:00
Benson Muite
a50b3ef331 Add change log entry for typo fix 2023-07-22 21:34:11 +03:00
Jason Thatcher
a0c541bd55 Fix typo in emacs.spec
lisp/play/pong.el -> lisp/play/pong.elc
2023-07-22 06:01:25 +00:00
Fedora Release Engineering
3dae471d21 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-19 18:21:58 +00:00
Benson Muite
9e852a1606 Fix infinite loop when editing Python files
rhbz2187041
2023-05-31 09:06:27 +03:00
Lukáš Zaoral
57bf08d2e1
migrate to SPDX license format 2023-04-24 13:29:50 +02:00
Peter Oliver
f151e68f40 Eliminate "file listed twice" warings during RPM build 2023-04-14 23:19:42 +01:00
Peter Oliver
44811312be Consolidate more files and requirements into the common subpackage. 2023-04-11 12:48:31 +01:00
Michael Catanzaro
1670e57f63 Use webkit2gtk-4.1 2023-02-10 10:38:26 -06:00
Dan Čermák
a45e306af9
Ensure native files are newer than byte-code files
See: https://bugzilla.redhat.com/show_bug.cgi?id=2157979#c11
2023-01-27 15:38:19 +01:00
Fedora Release Engineering
d5a49f6fd2 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 02:13:27 +00:00
Dan Čermák
42430c92f4
Use filelists to not remove exec permissions from eln files
We need to remove the exec permission on the eln files to prevent them from
having the same build-id and thereby failing the debuginfo extraction, while at
the same time they must be executable for emacs to use them.
We use filelists for that where we use attr to set their executable bits *after*
the build.
2023-01-18 00:36:03 +01:00
Dan Čermák
ebd9e6be29
Include info files via filelist & remove useless check with info subdir
The shell snippet comparing %info_files and ls info was not working anyway and
the check itself was not serving any purpose. Also, not all the contents of that
directory are actually installed as info pages.
2023-01-18 00:34:04 +01:00
Dan Čermák
ecd248959e
Don't glob manpages in %files 2023-01-17 00:21:13 +01:00
Dan Čermák
a1c92fb665
Don't include everything in %emacs_libexecdir in common subpackage
This fixes rhbz#2160550
Otherwise the pdmp files are included in the nox, lucid and gtk subpackage as
well as duplicates in the common subpackage
2023-01-17 00:20:54 +01:00
Jens Petersen
45bfcb855d
spawn native-compilation processes with -Q rhbz#2155824 (petersen) 2022-12-31 00:13:49 +01:00
Dan Čermák
69e6751434
Remove exec permissions from eln files to prevent build failures due to duplicate build-ids 2022-12-31 00:07:31 +01:00
Dan Čermák
e6bb941875
Add missing BuildRequires: pkgconfig(systemd)
emacs-libdir-vs-systemd.patch relies on the systemd package config files being
in the buildroot, which stopped being the case in Fedora >= 37. Thus we need to
depend on systemd explicitly
2022-12-31 00:07:31 +01:00
Dan Čermák
d21b022666
Add patch to fix CVE-2022-45939 2022-12-31 00:07:30 +01:00
Dan Čermák
2d9a8cd742
Use Stefan Kangas' gpg key for verification
The Emacs 28.2 tarballs have been signed by Stefan
2022-12-31 00:06:46 +01:00
Dan Čermák
27348f8c69
New upstream release 28.2, fixes rhbz#2126048 2022-12-31 00:06:43 +01:00
Florian Weimer
c079ae3eb0 C99 compatibility fixes for the configure script
Related to:

  <https://fedoraproject.org/wiki/Changes/PortingToModernC>
  <https://fedoraproject.org/wiki/Toolchain/PortingToModernC>
2022-12-23 21:22:35 +01:00
Fedora Release Engineering
2f6338330a Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 01:51:23 +00:00
Dan Čermák
24d65d087d Merge #14 drop --with-xft for gtk3 and copy cdefs.h 2022-07-15 14:21:06 +00:00
Jens Petersen
29b8e9dec8 drop --with-xft for gtk3 toolkit build
It should be deprecated now by Cairo rendering with the new native pgtk in 28

See current build.log
eg https://koji.fedoraproject.org/koji/buildinfo?buildID=2001145:

  Does Emacs use cairo?                                   yes
:
  Does Emacs use -lfreetype?                              yes
  Does Emacs use HarfBuzz?                                yes
  Does Emacs use -lm17n-flt?                              yes
  Does Emacs use -lotf?                                   yes
  Does Emacs use -lxft?                                   no
2022-07-15 15:47:58 +08:00
Jens Petersen
8f058b1c85 copy not move SOURCE3 (cdef.h) into tree 2022-07-15 15:47:10 +08:00
Dan Čermák
615534bee5
Obsolete emacs-transient to prevent update issues, fixes rhbz#2107269 2022-07-15 09:03:05 +02:00
Bhavin Gandhi
e79d2e526a
emacs-28.1 is available (#2071638)
- Enables native compilation which requires libgccjit
- Use upstream AppStream metainfo
- Add %{setarch} to make bootstrap as it builds architecture specific
  .eln files.

- Move the GTK+ build at the end to avoid rebuilding during make
  install in the %install section.
  This rebuild does not compile .eln files as the .elc files from nox
  build are present and we don't run make bootstrap here. The
  resulting .pdmp file does not load .eln files, so Emacs fails to
  find exact path to the .eln files at the run time after
  installation. See https://debbugs.gnu.org/52376#89

- Use pdmp files with fingerprints
  Keeping the .pdmp files alongside the binaries is not recommended. See
  https://debbugs.gnu.org/52488
  Applying the patch which creates and loads pdmp files with binary
  specific fingerprints
  https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=e81f1faca4 This
  allows us to put these files into their correct location in libexec.

Signed-off-by: Bhavin Gandhi <bhavin7392@gmail.com>
2022-04-20 22:34:28 +05:30
Dan Čermák
d092d213ec
Include upstream version of bundled glib cdefs.h, fixes rhbz#2045136 2022-03-23 22:02:47 +01:00
Dan Čermák
0263a47ced
Correct license from CC0-1.0 to CC0
This fixes rhbz#2036068
2022-01-26 21:45:09 +01:00
Scott Talbert
65f0c06e4b Revert "cherry-pick fix for SIGSTKSZ no longer being static"
This reverts commit c4a21caf59.

This patch was already incorporated in emacs-glibc-2.34.patch.
2022-01-22 10:20:22 -05:00
Fedora Release Engineering
36be3d61d5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 01:49:20 +00:00
Stewart Smith
c4a21caf59 cherry-pick fix for SIGSTKSZ no longer being static
Signed-off-by: Stewart Smith <trawets@amazon.com>
2021-09-21 18:44:16 +00:00
Dan Čermák
e4c235604e
Add Requires: info to fix info-mode 2021-08-07 20:20:06 +02:00
Fedora Release Engineering
2c49d5d892 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 21:50:11 +00:00
Dan Čermák
cee12ef43a
Add patch to fix pdump page size incompatibility 2021-07-11 22:00:18 +02:00
Michel Alexandre Salim
bf1d5e8e1b
Fix incorrect date in changelog
Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
2021-06-25 16:08:03 -07:00
Dan Čermák
fe829acf27
Swallow %preun and %posttrans scriptlet exit status 2021-06-13 19:34:51 +02:00
Peter Oliver
a3d22a1ee0 Validate AppStream metainfo. 2021-06-05 14:32:30 +01:00
Peter Oliver
e6597871cb Validate .desktop files. 2021-06-05 14:24:21 +01:00
Peter Oliver
f8859c95d0 Remove duplicate emacs.desktop from /usr/share/emacs/27.2/etc/. 2021-05-25 16:59:00 +01:00
Peter Oliver
8fbb0fc07e Prefer upstream emacs.desktop
The upstream emacs.desktop looks fine to me, so I don’t think we need to maintain our own.
2021-05-25 16:58:53 +01:00
Dan Čermák
49615aad35
Add fix for rhbz#1950158: freeze in modula2 mode 2021-04-26 15:12:23 +02:00
Peter Oliver
6cb8c47e98
Patch Makefile to install emacs.service into desired location. 2021-03-27 22:47:39 +01:00
Peter Oliver
b9da2a30d8
Prefer upstream systemd service definition. 2021-03-27 22:46:49 +01:00
Bhavin Gandhi
9e413dee60 emacs-27.2 is available
- Switched to Eli Zaretskii's key as the new tars are signed by that
  key.

Signed-off-by: Bhavin Gandhi <bhavin7392@gmail.com>
2021-03-27 17:31:59 +05:30
Scott Talbert
181aafcdb7 Fix FTBFS with glibc 2.34 2021-03-27 00:10:16 -04:00
Peter Oliver
14924f48f8 Make Enchant the default for ispell-program-name when available
To decide the default value of ispell-program-name, Emacs looks in turn for a number of different binaries, and uses whichever it finds first.  The snag with this approach is that, just because a binary is installed, doesnʼt mean that a dictionary in your language is installed for that binary.

Since https://bugzilla.redhat.com/show_bug.cgi?id=713600 weʼve been patching the search list to look for Hunspell before Aspell, presumably because Hunspell dictionaries were considered more likely to be installed than the Aspell dictionaries.

However, now we have Enchant, which will automatically select a backend based on a configuration preference, skipping over any backends for which youʼre missing a dictionary.  This seems to be exactly what we want, so letʼs use it here.
2021-02-06 00:14:47 +00:00
Fedora Release Engineering
746bf11c12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 04:28:18 +00:00
Tom Stellard
87fd254a44 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-04 22:13:21 +00:00
Jan Synacek
1cedb94027 use make macros 2020-08-18 12:15:32 +02:00
Bhavin Gandhi
ac07724a18 emacs-27.1 is available (#1867841)
- Add systemd-devel to support Type=notify in unit file
  - https://debbugs.gnu.org/cgi/bugreport.cgi?bug=42242
- Build with Cairo and Jansson support
- Remove ImageMagick dependency as it's no longer used
- Keep the emacs.pdmp as executable_name.pdmp in _bindir

Signed-off-by: Bhavin Gandhi <bhavin7392@gmail.com>
2020-08-11 20:17:16 +05:30
Fedora Release Engineering
c669fb8f4d - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 16:27:45 +00:00
Dan Čermák
3485b794fc
Drop dependency on GConf2 2020-04-16 22:03:55 +02:00
Dan Čermák
662bd4a9f9
Use macros where appropriate 2020-04-16 22:00:38 +02:00
Dan Čermák
6f367bc62e
Use %gpgverify to check the tarball's validity 2020-04-16 21:59:20 +02:00
Fedora Release Engineering
2a95cfd148 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 17:12:05 +00:00
Maximiliano Sandoval
0a3be2953e Update emacs.spec 2019-09-09 02:22:04 +00:00
Maximiliano Sandoval R
94c9e43efe
emacs-26.3 is available (#1747101) 2019-09-08 21:34:16 -03:00
Fedora Release Engineering
9f11e11b96 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-24 23:22:51 +00:00
Jan Synacek
f6258eb59a emacs-26.2 is available (#1699434)
Resolves: #1699434
2019-04-18 10:57:37 +02:00
Fedora Release Engineering
3db109a18a - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-01-31 18:32:32 +00:00
Igor Gnatenko
4e7b9f195e Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:00 +01:00
Igor Gnatenko
b0e50ecf8b
Remove obsolete scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-01-27 15:28:11 +01:00
Michael Cronenworth
8e555a7028 Rebuild for ImageMagick 6.9.10 2018-08-28 15:26:52 -05:00
Jan Synacek
ae52ac8149 remove python dependencies
emacs*.py have not been there for a while
2018-08-13 11:51:48 +02:00
Fedora Release Engineering
b30910b353 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-12 23:47:43 +00:00
Igor Gnatenko
c54edbb096 add BuildRequires: gcc
Reference: https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot
2018-07-09 19:06:44 +02:00
Miro Hrončok
4331f4bc1a Rebuilt for Python 3.7 2018-07-02 18:22:15 +02:00
Jan Synacek
0a11a46a01 emacs SIGABRT after XProtocolError on displaying an email in Gnus (#1591223)
Resolves: #1591223
2018-06-26 13:18:12 +02:00
Miro Hrončok
2d38b7a376 Rebuilt for Python 3.7 2018-06-19 10:42:36 +02:00
Jan Synacek
0588f11f70 emacs-26.1 is available (#1583433)
Resolves: #1583433
2018-05-30 13:25:38 +02:00
Jan Synacek
f71d70bf31 Emacs crashes when loading color fonts (#1519038)
Resolves: #1519038
2018-04-04 09:53:23 +02:00
Sandro Mani
037321c00b Rebuild (giflib) 2018-02-11 21:47:11 +01:00
Igor Gnatenko
3ff82ca0e7
Escape macros in %changelog
Reference: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/Y2ZUKK2B7T2IKXPMODNF6HB2O5T5TS6H/
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-09 09:04:26 +01:00
Fedora Release Engineering
fcfcb1d79c - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 08:20:37 +00:00
Jan Synacek
9e6823b900 use https instead of ftp in Source0 2018-01-22 10:10:33 +01:00
Tomas Popela
fe17289e8a Adapt to the webkitgtk4 rename 2018-01-12 15:26:37 +01:00
Igor Gnatenko
41da3cc65c Remove obsolete scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-01-11 14:49:45 +01:00
Pete Walter
6d0b8cdb85 Rebuilt for ImageMagick 6.9.9 soname bump 2017-09-14 23:10:12 +01:00
Richard W.M. Jones
eb340f7901 Rebuild to try to fix: libwebkit2gtk-4.0.so.37: undefined symbol:
soup_auth_manager_clear_cached_credentials
2017-09-13 21:25:37 +01:00
Jan Synacek
433a36c248 update to 25.3 (#1490649 #1490409)
Resolves: #1490649 #1490409
2017-09-12 10:14:05 +02:00
Michael Cronenworth
de26e2cf83 Rebuild for ImageMagick 6 2017-09-06 10:50:04 -05:00
Michael Cronenworth
a8cca11cb9 Re-enable BR for ImageMagick 2017-08-25 17:45:52 -05:00
Michael Cronenworth
74e09af8a6 Merge branch 'master' of ssh://pkgs.fedoraproject.org/rpms/emacs 2017-08-25 17:45:13 -05:00
Michael Cronenworth
cda0f6323b Add patch for ImageMagick 7 support 2017-08-25 17:45:01 -05:00
Adam Williamson
2715f7ef90 Comment out ImageMagick-devel buildrequires, with a note
emacs does not work with ImageMagick 7 at all. The support is
just disabled when emacs is built against ImageMagick 7. So add
a note to this effect and disable the BuildRequires.
2017-08-25 15:17:38 -07:00
Igor Gnatenko
39bc5c84e3 Rebuilt for ImageMagick soname bump
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-08-25 18:20:49 +02:00
Fedora Release Engineering
fb95c223b0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-02 20:01:38 +00:00
Florian Weimer
fea1ed0e76 Rebuild with binutils fix for ppc64le (#1475636) 2017-07-30 19:13:59 +02:00
Björn Esser
ad2e040d6c Rebuilt for new ImageMagick so-name 2017-07-28 13:28:56 +02:00
Fedora Release Engineering
5feaf4c3f4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 07:19:38 +00:00
Gregory Shimansky
3abc8dcd69 Added package with LUCID X toolkit support 2017-07-17 12:36:18 +02:00
Jan Synacek
42fa24ab12 compile with support for dynamic modules (#1421087) 2017-04-28 15:37:18 +02:00
Jan Synacek
ce2d0a5250 update to 25.2 (#1444818)
Resolves: #1444818
2017-04-24 14:06:45 +02:00
Jan Synacek
1116d1bc15 update to 25.2 rc2, depend on the latest webkit (#1375834) 2017-02-27 10:37:02 +01:00