Commit Graph

449 Commits

Author SHA1 Message Date
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
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
b7ecd22927
Rebase pdm-fingerprint patch 2022-12-31 00:06:47 +01:00
Dan Čermák
665fa92b7e
Update cdefs.h from gnulib 2022-12-31 00:06:46 +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