| |
@@ -4,8 +4,8 @@
|
| |
Summary: GNU Emacs text editor
|
| |
Name: emacs
|
| |
Epoch: 1
|
| |
- Version: 26.3
|
| |
- Release: 4%{?dist}
|
| |
+ Version: 27.1
|
| |
+ Release: 1%{?dist}
|
| |
License: GPLv3+ and CC0-1.0
|
| |
URL: http://www.gnu.org/software/emacs/
|
| |
Source0: https://ftp.gnu.org/gnu/emacs/emacs-%{version}.tar.xz
|
| |
@@ -53,7 +53,6 @@
|
| |
BuildRequires: librsvg2-devel
|
| |
BuildRequires: m17n-lib-devel
|
| |
BuildRequires: libotf-devel
|
| |
- BuildRequires: ImageMagick-devel
|
| |
BuildRequires: libselinux-devel
|
| |
BuildRequires: alsa-lib-devel
|
| |
BuildRequires: gpm-devel
|
| |
@@ -66,6 +65,9 @@
|
| |
BuildRequires: gzip
|
| |
BuildRequires: desktop-file-utils
|
| |
BuildRequires: libacl-devel
|
| |
+ BuildRequires: harfbuzz-devel
|
| |
+ BuildRequires: jansson-devel
|
| |
+ BuildRequires: systemd-devel
|
| |
|
| |
BuildRequires: gtk3-devel
|
| |
BuildRequires: webkit2gtk3-devel
|
| |
@@ -240,7 +242,7 @@
|
| |
|
| |
%configure --with-dbus --with-gif --with-jpeg --with-png --with-rsvg \
|
| |
--with-tiff --with-xft --with-xpm --with-x-toolkit=gtk3 --with-gpm=no \
|
| |
- --with-xwidgets --with-modules
|
| |
+ --with-xwidgets --with-modules --with-harfbuzz --with-cairo --with-json
|
| |
make bootstrap
|
| |
%{setarch} %make_build
|
| |
cd ..
|
| |
@@ -253,7 +255,7 @@
|
| |
|
| |
%configure --with-dbus --with-gif --with-jpeg --with-png --with-rsvg \
|
| |
--with-tiff --with-xft --with-xpm --with-x-toolkit=lucid --with-gpm=no \
|
| |
- --with-modules
|
| |
+ --with-modules --with-harfbuzz --with-cairo --with-json
|
| |
make bootstrap
|
| |
%{setarch} %make_build
|
| |
cd ..
|
| |
@@ -261,7 +263,7 @@
|
| |
# Build binary without X support
|
| |
mkdir build-nox && cd build-nox
|
| |
ln -s ../configure .
|
| |
- %configure --with-x=no --with-modules
|
| |
+ %configure --with-x=no --with-modules --with-json
|
| |
%{setarch} %make_build
|
| |
cd ..
|
| |
|
| |
@@ -297,15 +299,23 @@
|
| |
rm %{buildroot}%{_bindir}/emacs
|
| |
touch %{buildroot}%{_bindir}/emacs
|
| |
|
| |
+ # Remove emacs.pdmp from common
|
| |
+ rm %{buildroot}%{emacs_libexecdir}/emacs.pdmp
|
| |
+
|
| |
# Do not compress the files which implement compression itself (#484830)
|
| |
gunzip %{buildroot}%{_datadir}/emacs/%{version}/lisp/jka-compr.el.gz
|
| |
gunzip %{buildroot}%{_datadir}/emacs/%{version}/lisp/jka-cmpr-hook.el.gz
|
| |
|
| |
+ # Install emacs.pdmp of the emacs with GTK+
|
| |
+ install -p -m 0644 build-gtk/src/emacs.pdmp %{buildroot}%{_bindir}/emacs-%{version}.pdmp
|
| |
+
|
| |
# Install the emacs with LUCID toolkit
|
| |
install -p -m 0755 build-lucid/src/emacs %{buildroot}%{_bindir}/emacs-%{version}-lucid
|
| |
+ install -p -m 0644 build-lucid/src/emacs.pdmp %{buildroot}%{_bindir}/emacs-%{version}-lucid.pdmp
|
| |
|
| |
# Install the emacs without X
|
| |
install -p -m 0755 build-nox/src/emacs %{buildroot}%{_bindir}/emacs-%{version}-nox
|
| |
+ install -p -m 0644 build-nox/src/emacs.pdmp %{buildroot}%{_bindir}/emacs-%{version}-nox.pdmp
|
| |
|
| |
# Make sure movemail isn't setgid
|
| |
chmod 755 %{buildroot}%{emacs_libexecdir}/movemail
|
| |
@@ -418,20 +428,24 @@
|
| |
|
| |
%files
|
| |
%{_bindir}/emacs-%{version}
|
| |
+ %{_bindir}/emacs-%{version}.pdmp
|
| |
%attr(0755,-,-) %ghost %{_bindir}/emacs
|
| |
%{_datadir}/applications/emacs.desktop
|
| |
%{_datadir}/appdata/%{name}.appdata.xml
|
| |
%{_datadir}/icons/hicolor/*/apps/emacs.png
|
| |
%{_datadir}/icons/hicolor/scalable/apps/emacs.svg
|
| |
+ %{_datadir}/icons/hicolor/scalable/apps/emacs.ico
|
| |
%{_datadir}/icons/hicolor/scalable/mimetypes/emacs-document.svg
|
| |
|
| |
%files lucid
|
| |
%{_bindir}/emacs-%{version}-lucid
|
| |
+ %{_bindir}/emacs-%{version}-lucid.pdmp
|
| |
%attr(0755,-,-) %ghost %{_bindir}/emacs
|
| |
%attr(0755,-,-) %ghost %{_bindir}/emacs-lucid
|
| |
|
| |
%files nox
|
| |
%{_bindir}/emacs-%{version}-nox
|
| |
+ %{_bindir}/emacs-%{version}-nox.pdmp
|
| |
%attr(0755,-,-) %ghost %{_bindir}/emacs
|
| |
%attr(0755,-,-) %ghost %{_bindir}/emacs-nox
|
| |
|
| |
@@ -468,6 +482,12 @@
|
| |
%{_includedir}/emacs-module.h
|
| |
|
| |
%changelog
|
| |
+ * Tue Aug 11 2020 Bhavin Gandhi <bhavin7392@gmail.com> - 1:27.1-1
|
| |
+ - emacs-27.1 is available (#1867841)
|
| |
+ - Add systemd-devel to support Type=notify in unit file
|
| |
+ - Build with Cairo and Jansson support
|
| |
+ - Remove ImageMagick dependency as it's no longer used
|
| |
+
|
| |
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:26.3-4
|
| |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
| |
|
| |