Commit Graph

447 Commits

Author SHA1 Message Date
Pavol Žáčik
05400fcef7
Remove liblockfile dependency
Resolves: RHEL-34677
2024-04-29 13:23:18 +02:00
Yaakov Selkowitz
6a7849921b Disable gpm on ELN
gpm is unwanted in RHEL 10:

https://github.com/minimization/content-resolver-input/pull/1084
2024-02-06 13:08:45 -05:00
Peter Oliver
bc0c012fb9 Update to version 29.2 2024-01-22 19:36:42 +00:00
Tim Landscheidt
3461073c54 Add -W option to %_emacs_bytecompile
The new option -W to %_emacs_bytecompile causes the byte-compilation
to fail on warnings.  Also, the amendment of load-path is simplified
and the macro %bytecompargs that is no longer used is removed.
2024-01-17 13:46:33 +00:00
Lukáš Zaoral
6efc21e5fc
use correct BuildRequires for SQLite support
libsqlite3x is a library with C++ bindings for SQLite which emacs does not use
at all which transitively pulled in the necessary sqlite-devel.  Due to that
dependency, the libsqlite3x package was also brought into ELN which is unwanted.

Fixes: 9c5e49b7f0 ("Enable new features in Emacs 29: SQLite, Tree-sitter, WEBP, XInput 2.")
2024-01-05 16:28:27 +01:00
Peter Oliver
927faab5c0 Recommend libtree-sitter-java. 2023-11-19 19:25:12 +00:00
Yaakov Selkowitz
aba744d1bc Fix alternatives dependencies
Installation path macros must not be used in file dependencies:

https://docs.fedoraproject.org/en-US/packaging-guidelines/#_file_and_directory_dependencies
2023-11-07 15:57:46 -05:00
Peter Oliver
eb9a486090 Fix typo. 2023-10-21 16:45:27 +01:00
Peter Oliver
64a3d6cec1 Fix typo. 2023-10-21 12:40:23 +01:00
Peter Oliver
2778435025 Merge remote-tracking branch 'yselkowitz/rawhide' into rawhide
Split `%configure` options across multiple lines for easier merging in future.
2023-10-21 11:58:07 +01:00
Yaakov Selkowitz
0d766e84f3 Disable xwidgets on RHEL 10
xwidgets require webkitgtk, which is being dropped from RHEL 10.
2023-10-20 00:19:58 -04:00
Peter Oliver
e739d345f1 Rename emacs-nox subpackage to emacs-nw
The name “no X” doesn’t make sense any more, now that use of the default `emacs` binary is discouraged on the X Window System.  Let’s call it `emacs-nw` instead (which matches the `-nw` command-line option for `emacs`).
2023-09-25 19:23:31 +01:00
Peter Oliver
6a39a2112e Switch the default emacs binary to pure-GTK, suitable for Wayland
Rename the old default hybrid GTK/X11 binary to `emacs-gtk+x11`.
2023-09-25 19:23:31 +01:00
Peter Oliver
e27f9eabc4 Consolidate more files and requirements into the common subpackage
Depend on google-noto-sans-mono-vf-fonts rather than dejavu-sans-mono-fonts, since that's Fedora's default these days.
2023-09-24 21:17:32 +01:00
Peter Oliver
85031a2f73 Convert to %autorelease and %autochangelog
[skip changelog]
2023-09-24 21:03:37 +01:00
Peter Oliver
c5d17299b7 Merge branch 'duplicate-files' into rawhide 2023-09-24 01:22:37 +01:00
Peter Oliver
0fd1a3e8ed Explicitly BuildRequire libXi-devel
See the discussion [To Emacs packagers!](https://lists.gnu.org/archive/html/emacs-devel/2023-09/msg00815.html) on the emacs-devel mailing list.  We were pulling in the dependency indirectly, so this didn’t actually affect us, but still, it’s better to be explicit.
2023-09-13 14:07:30 +01:00
Peter Oliver
6a817e69ea Recommend packages required to build Tree-sitter parsers at runtime. 2023-08-07 19:04:53 +01:00
Peter Oliver
9c5e49b7f0 Enable new features in Emacs 29: SQLite, Tree-sitter, WEBP, XInput 2. 2023-08-06 00:45:31 +01:00
Dan Čermák
0bef0584b6
New upstream release 29.1, fixes rhbz#2227492 2023-08-01 08:32:43 +02:00
Dan Čermák
4c61f62d69
Backport emacs-configure-c99-1 patch from emacs-master branch 2023-08-01 00:37:26 +02:00
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