Commit Graph

487 Commits

Author SHA1 Message Date
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
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
Jan Synacek
fc196308db upload sources (#1867841)
Related: #1867841
2020-08-18 10:22:24 +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