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
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