From 0e44989678eda4c8db517bf0f2795488c48a23a0 Mon Sep 17 00:00:00 2001 From: Jerry James Date: Sat, 7 Jul 2018 16:26:44 -0600 Subject: [PATCH 01/22] Remove info-related scriptlets. --- xemacs.spec | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/xemacs.spec b/xemacs.spec index aab4774..e87fa1d 100644 --- a/xemacs.spec +++ b/xemacs.spec @@ -550,20 +550,6 @@ install -Dpm 644 xemacs.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/xemacs.pc [ $1 -ne 0 ] || \ %{_sbindir}/alternatives --remove etags %{_bindir}/etags.xemacs || : -%post info -for file in xemacs internals lispref new-users-guide ; do - /sbin/install-info %{_infodir}/$file.info %{_infodir}/dir -done -: - -%preun info -if [ $1 -eq 0 ] ; then - for file in xemacs internals lispref new-users-guide ; do - /sbin/install-info --delete %{_infodir}/$file.info %{_infodir}/dir - done -fi -: - %files %doc Installation From 4317a6357ec19f029d9f2af70a8f503bc0b3bd23 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 14 Jul 2018 09:11:35 +0000 Subject: [PATCH 02/22] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- xemacs.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xemacs.spec b/xemacs.spec index e87fa1d..d55b359 100644 --- a/xemacs.spec +++ b/xemacs.spec @@ -23,7 +23,7 @@ Name: xemacs Version: 21.5.34 -Release: 29%{?snap:.%{snap}}%{?dist} +Release: 30%{?snap:.%{snap}}%{?dist} Summary: Different version of Emacs %global majver %(cut -d. -f1-2 <<<%{version}) @@ -635,6 +635,9 @@ install -Dpm 644 xemacs.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/xemacs.pc %dir %{_datadir}/xemacs/site-packages/pkginfo %changelog +* Sat Jul 14 2018 Fedora Release Engineering - 21.5.34-30.20171230hg92757c2b8239 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Sat Mar 3 2018 Jerry James - 21.5.34-29.20171230hg92757c2b8239 - Update to latest mercurial snapshot for miscellaneous bug fixes - Remove obsolete scriptlets From ec5eeb720040d2154e40ea3ff0dbba296d69491e Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Mon, 15 Oct 2018 00:55:07 +0100 Subject: [PATCH 03/22] Update alternatives dep --- xemacs.spec | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/xemacs.spec b/xemacs.spec index d55b359..ad0d253 100644 --- a/xemacs.spec +++ b/xemacs.spec @@ -23,7 +23,7 @@ Name: xemacs Version: 21.5.34 -Release: 30%{?snap:.%{snap}}%{?dist} +Release: 31%{?snap:.%{snap}}%{?dist} Summary: Different version of Emacs %global majver %(cut -d. -f1-2 <<<%{version}) @@ -106,9 +106,9 @@ Requires: %{name}-common = %{version}-%{release} Requires: xorg-x11-fonts-ISO8859-1-75dpi Requires: xorg-x11-fonts-ISO8859-1-100dpi Requires: xorg-x11-fonts-misc -Requires(post): chkconfig +Requires(post): /usr/sbin/alternatives Requires(post): coreutils -Requires(postun): chkconfig +Requires(postun): /usr/sbin/alternatives Requires(postun): coreutils Provides: xemacs(bin) = %{version}-%{release} @@ -127,8 +127,8 @@ This package contains XEmacs built for X Windows%{?with_mule: with MULE support} %package common Summary: Byte-compiled lisp files and other common files for XEmacs Requires: %{name}-filesystem = %{version}-%{release} -Requires(post): chkconfig -Requires(preun): chkconfig +Requires(post): /usr/sbin/alternatives +Requires(preun): /usr/sbin/alternatives %description common XEmacs is a highly customizable open source text editor and @@ -144,9 +144,9 @@ Summary: Different version of Emacs built without X Windows support # Note: no xemacs-packages* dependencies here, we need -nox to build the # base package set. Requires: %{name}-common = %{version}-%{release} -Requires(post): chkconfig +Requires(post): /usr/sbin/alternatives Requires(post): coreutils -Requires(postun): chkconfig +Requires(postun): /usr/sbin/alternatives Provides: xemacs(bin) = %{version}-%{release} %description nox @@ -162,9 +162,9 @@ This package contains XEmacs built without X Windows support. Summary: Different version of Emacs built with Xft/fontconfig support Requires: %{name}-common = %{version}-%{release} Requires: xemacs-packages-base -Requires(post): chkconfig +Requires(post): /usr/sbin/alternatives Requires(post): coreutils -Requires(postun): chkconfig +Requires(postun): /usr/sbin/alternatives Provides: xemacs(bin) = %{version}-%{release} %description xft @@ -635,6 +635,9 @@ install -Dpm 644 xemacs.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/xemacs.pc %dir %{_datadir}/xemacs/site-packages/pkginfo %changelog +* Sun Oct 14 2018 Peter Robinson 21.5.34-31.20171230hg92757c2b8239 +- Update alternatives dep + * Sat Jul 14 2018 Fedora Release Engineering - 21.5.34-30.20171230hg92757c2b8239 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From 8be405a05fa287a1225f57555596a55b49ce57d0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 3 Feb 2019 12:15:00 +0000 Subject: [PATCH 04/22] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- xemacs.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xemacs.spec b/xemacs.spec index ad0d253..64e1488 100644 --- a/xemacs.spec +++ b/xemacs.spec @@ -23,7 +23,7 @@ Name: xemacs Version: 21.5.34 -Release: 31%{?snap:.%{snap}}%{?dist} +Release: 32%{?snap:.%{snap}}%{?dist} Summary: Different version of Emacs %global majver %(cut -d. -f1-2 <<<%{version}) @@ -635,6 +635,9 @@ install -Dpm 644 xemacs.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/xemacs.pc %dir %{_datadir}/xemacs/site-packages/pkginfo %changelog +* Sun Feb 03 2019 Fedora Release Engineering - 21.5.34-32.20171230hg92757c2b8239 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Sun Oct 14 2018 Peter Robinson 21.5.34-31.20171230hg92757c2b8239 - Update alternatives dep From 2fa224b10b7e9d9eea3a772ddcc4002ad226aae2 Mon Sep 17 00:00:00 2001 From: Jerry James Date: Thu, 21 Mar 2019 20:14:15 -0600 Subject: [PATCH 05/22] Update to latest mercurial snapshot for miscellaneous bug fixes. Also: - Switch from NSS to OpenSSL - Build with openldap support - Enable test suite --- .gitignore | 7 +------ sources | 2 +- xemacs.spec | 40 ++++++++++++++++++++++++---------------- 3 files changed, 26 insertions(+), 23 deletions(-) diff --git a/.gitignore b/.gitignore index ad573eb..7f42168 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1 @@ -/xemacs-20170114hgd0e8ec0fe015.tar.xz -/xemacs-20170124hgf412e9f093d4.tar.xz -/xemacs-20170628hg97140cfdeca7.tar.xz -/xemacs-20171125hg700dd03e6a31.tar.xz -/xemacs-20171227hg27f66ce6ab71.tar.xz -/xemacs-20171230hg92757c2b8239.tar.xz +/xemacs-*.tar.xz diff --git a/sources b/sources index 0482249..55006c8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (xemacs-20171230hg92757c2b8239.tar.xz) = 280f83e8b9ab184801351ccf8987034e81dabdef439ffabf87477e47e2685a8c3b277ba6d8d781e9e2dd8657a7f25b5485e1efc3ecaf9fbc69eb48f89be6dd5e +SHA512 (xemacs-20190321hge6bb9f0fcc42.tar.xz) = 27b01cd6d8ea075548339c59490e8615626b9befc67accb6d2f3a37741dfc0d7d91e1414d076009f5b1ce49bbbd1b030b5be089de6af16dc93c1b22a992fc613 diff --git a/xemacs.spec b/xemacs.spec index 64e1488..48357de 100644 --- a/xemacs.spec +++ b/xemacs.spec @@ -19,11 +19,11 @@ %bcond_without modules %endif -%global snap 20171230hg92757c2b8239 +%global snap 20190321hge6bb9f0fcc42 Name: xemacs Version: 21.5.34 -Release: 32%{?snap:.%{snap}}%{?dist} +Release: 33%{?snap:.%{snap}}%{?dist} Summary: Different version of Emacs %global majver %(cut -d. -f1-2 <<<%{version}) @@ -69,7 +69,8 @@ BuildRequires: gcc BuildRequires: texinfo BuildRequires: ncurses-devel BuildRequires: gpm-devel -BuildRequires: nss-devel +BuildRequires: openldap-devel +BuildRequires: openssl-devel BuildRequires: pam-devel BuildRequires: zlib-devel BuildRequires: libjpeg-devel @@ -285,18 +286,18 @@ common_options=" --with-system-packages=%{_datadir}/xemacs --without-msw %if %{with mule} + --with-mule --with-unicode-internal --without-canna %endif --with-clash-detection --with-database=berkdb - --without-ldap + --with-ldap --without-postgresql --with-mail-locking=lockf --with-pop --without-hesiod - --with-tls=nss - --with-system-malloc + --with-tls=openssl --with-pdump %if ! %{with modules} --without-modules @@ -488,19 +489,15 @@ chmod a+x $RPM_BUILD_ROOT%{_datadir}/xemacs-%{xver}%{_sysconfdir}/xemacs-fe.sh find $RPM_BUILD_ROOT%{_prefix} -name "*~" | xargs -r rm rm $RPM_BUILD_ROOT%{_libdir}/xemacs-%{xver}/%{xbuild}/gzip-el.sh rm $RPM_BUILD_ROOT{%{_bindir}/gnuattach,%{_mandir}/man1/gnuattach.1} -cd $RPM_BUILD_ROOT%{_datadir}/xemacs-%{xver}/etc +pushd $RPM_BUILD_ROOT%{_datadir}/xemacs-%{xver}/etc rm -r InstallGuide tests XKeysymDB *.1 -cd - +popd # separate files -rm -f *.files base-files el-files info-files -echo "%%defattr(-,root,root,-)" > base-files -echo "%%defattr(-,root,root,-)" > el-files -echo "%%defattr(-,root,root,-)" > info-files - +rm -f *.files base-files el-files +touch base-files el-files find $RPM_BUILD_ROOT%{_datadir}/xemacs{-%{xver},/site-packages/lisp/*} \ \( -type f -not -name '*.el' -fprint base-non-el.files \) -o \ - \( -type d -name info -fprint info.files -prune \) -o \ \( -type d -not -name site-start.d -fprintf dir.files "%%%%dir %%p\n" \) -o \ \( -name '*.el' \( -exec test -e '{}'c \; -fprint el-bytecomped.files -o \ -fprint base-el-not-bytecomped.files \) \) @@ -513,10 +510,12 @@ sed -i -e 's|^\(.*/site-packages/lisp/.*\)$|%%config(noreplace) \1|' \ # combine the file lists cat base-*.files dir.files >> base-files cat el-*.files >> el-files -cat info.files >> info-files install -Dpm 644 xemacs.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/xemacs.pc +%check +%make_build check + %post %{_sbindir}/alternatives --install %{_bindir}/xemacs xemacs \ @@ -599,6 +598,7 @@ install -Dpm 644 xemacs.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/xemacs.pc %{_libdir}/xemacs/ %dir %{_libdir}/xemacs-%{xver}/%{xbuild}/modules/ %{_libdir}/xemacs-%{xver}/%{xbuild}/modules/auto-autoloads.elc +%{_libdir}/xemacs-%{xver}/%{xbuild}/modules/eldap.ell %endif %{_rpmconfigdir}/macros.d/macros.%{name} %config(noreplace) %{_sysconfdir}/skel/.xemacs/ @@ -611,7 +611,7 @@ install -Dpm 644 xemacs.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/xemacs.pc %{_libdir}/xemacs-%{xver}/%{xbuild}/modules/auto-autoloads.el %endif -%files info -f info-files +%files info %license COPYING %{_infodir}/*.info* @@ -635,6 +635,14 @@ install -Dpm 644 xemacs.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/xemacs.pc %dir %{_datadir}/xemacs/site-packages/pkginfo %changelog +* Thu Mar 21 2019 Tim Landscheidt - 21.5.34-33.20190321hge6bb9f0fcc42 +- Enable test suite + +* Thu Mar 21 2019 Jerry James - 21.5.34-33.20190321hge6bb9f0fcc42 +- Update to latest mercurial snapshot for miscellaneous bug fixes +- Switch from NSS to OpenSSL +- Build with openldap support + * Sun Feb 03 2019 Fedora Release Engineering - 21.5.34-32.20171230hg92757c2b8239 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From b05cd20d3cd8bea41064543613f43acc886aede5 Mon Sep 17 00:00:00 2001 From: Jerry James Date: Thu, 21 Mar 2019 22:03:17 -0600 Subject: [PATCH 06/22] One more upstream update to fix 32-bit builds. --- sources | 2 +- xemacs.spec | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sources b/sources index 55006c8..78d5beb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (xemacs-20190321hge6bb9f0fcc42.tar.xz) = 27b01cd6d8ea075548339c59490e8615626b9befc67accb6d2f3a37741dfc0d7d91e1414d076009f5b1ce49bbbd1b030b5be089de6af16dc93c1b22a992fc613 +SHA512 (xemacs-20190321hg970cd945847e.tar.xz) = 65bb09bc51b72382e41322cc45de07e9375e13aff4eb9e4ac12946239f1ce6b885c803dedb017dc5d4faf67728f39f858464d53f97d8df0780401c95d7e0b0e5 diff --git a/xemacs.spec b/xemacs.spec index 48357de..b1eb87a 100644 --- a/xemacs.spec +++ b/xemacs.spec @@ -19,7 +19,7 @@ %bcond_without modules %endif -%global snap 20190321hge6bb9f0fcc42 +%global snap 20190321hg970cd945847e Name: xemacs Version: 21.5.34 @@ -635,10 +635,10 @@ install -Dpm 644 xemacs.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/xemacs.pc %dir %{_datadir}/xemacs/site-packages/pkginfo %changelog -* Thu Mar 21 2019 Tim Landscheidt - 21.5.34-33.20190321hge6bb9f0fcc42 +* Thu Mar 21 2019 Tim Landscheidt - 21.5.34-33.20190321hg970cd945847e - Enable test suite -* Thu Mar 21 2019 Jerry James - 21.5.34-33.20190321hge6bb9f0fcc42 +* Thu Mar 21 2019 Jerry James - 21.5.34-33.20190321hg970cd945847e - Update to latest mercurial snapshot for miscellaneous bug fixes - Switch from NSS to OpenSSL - Build with openldap support From 39d3e7e6bc3f41eff7f3a1316251cd69e8e78ee7 Mon Sep 17 00:00:00 2001 From: Jerry James Date: Sat, 23 Mar 2019 20:07:46 -0600 Subject: [PATCH 07/22] One more upstream update to fix the big endian build. Obsolete -el subpackage. Compress the Lisp source files. --- sources | 2 +- xemacs.spec | 68 +++++++++++++++++++++-------------------------------- 2 files changed, 28 insertions(+), 42 deletions(-) diff --git a/sources b/sources index 78d5beb..819edf6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (xemacs-20190321hg970cd945847e.tar.xz) = 65bb09bc51b72382e41322cc45de07e9375e13aff4eb9e4ac12946239f1ce6b885c803dedb017dc5d4faf67728f39f858464d53f97d8df0780401c95d7e0b0e5 +SHA512 (xemacs-20190323hgc0ed7ef9a5a1.tar.xz) = 57de142b3cbd829191180f0b8792f245c5978e3e83a23eec5dee402bd31acbf1b24f4f04c3173f7120dba5898b0ff53655b8403050bd69666cb93ee61deed636 diff --git a/xemacs.spec b/xemacs.spec index b1eb87a..1db0281 100644 --- a/xemacs.spec +++ b/xemacs.spec @@ -19,7 +19,7 @@ %bcond_without modules %endif -%global snap 20190321hg970cd945847e +%global snap 20190323hgc0ed7ef9a5a1 Name: xemacs Version: 21.5.34 @@ -126,11 +126,15 @@ and an open software development model, similar to Linux. This package contains XEmacs built for X Windows%{?with_mule: with MULE support}. %package common -Summary: Byte-compiled lisp files and other common files for XEmacs +Summary: Lisp files and other common files for XEmacs Requires: %{name}-filesystem = %{version}-%{release} Requires(post): /usr/sbin/alternatives Requires(preun): /usr/sbin/alternatives +# This can be removed when F29 reaches EOL +Obsoletes: %{name}-el < 21.5.34-33 +Provides: %{name}-el = %{version}-%{release} + %description common XEmacs is a highly customizable open source text editor and application development system. It is protected under the GNU General @@ -138,7 +142,7 @@ Public License and related to other versions of Emacs, in particular GNU Emacs. Its emphasis is on modern graphical user interface support and an open software development model, similar to Linux. -This package contains byte-compiled lisp and other common files for XEmacs. +This package contains lisp and other common files for XEmacs. %package nox Summary: Different version of Emacs built without X Windows support @@ -177,20 +181,6 @@ and an open software development model, similar to Linux. This package contains XEmacs built with Xft and fontconfig support. -%package el -Summary: Emacs lisp source files for XEmacs -Requires: %{name}-filesystem = %{version}-%{release} - -%description el -XEmacs is a highly customizable open source text editor and -application development system. It is protected under the GNU General -Public License and related to other versions of Emacs, in particular -GNU Emacs. Its emphasis is on modern graphical user interface support -and an open software development model, similar to Linux. - -This package contains the lisp source files for XEmacs, mainly of -interest when developing or debugging XEmacs itself. - %package info Summary: XEmacs documentation in GNU texinfo format BuildArch: noarch @@ -410,6 +400,9 @@ EOF %install make install DESTDIR=$RPM_BUILD_ROOT +# Compress the .el files +find %{buildroot}%{_datadir}/xemacs-%{xver} -name \*.el -exec gzip --best {} \+ + %if %{with nox} # install nox files echo ".so man1/xemacs.1" > $RPM_BUILD_ROOT%{_mandir}/man1/xemacs-nox.1 @@ -493,23 +486,16 @@ pushd $RPM_BUILD_ROOT%{_datadir}/xemacs-%{xver}/etc rm -r InstallGuide tests XKeysymDB *.1 popd -# separate files -rm -f *.files base-files el-files -touch base-files el-files -find $RPM_BUILD_ROOT%{_datadir}/xemacs{-%{xver},/site-packages/lisp/*} \ - \( -type f -not -name '*.el' -fprint base-non-el.files \) -o \ - \( -type d -not -name site-start.d -fprintf dir.files "%%%%dir %%p\n" \) -o \ - \( -name '*.el' \( -exec test -e '{}'c \; -fprint el-bytecomped.files -o \ - -fprint base-el-not-bytecomped.files \) \) -sed -i -e "s|$RPM_BUILD_ROOT||" *.files - -# make site-packages lisp files config files -sed -i -e 's|^\(.*/site-packages/lisp/.*\)$|%%config(noreplace) \1|' \ - base-el-not-bytecomped.files - -# combine the file lists -cat base-*.files dir.files >> base-files -cat el-*.files >> el-files +# Generate file list and make site-packages lisp files config files. +# (Note: The double-quote before "(noreplace)" is only to work around +# a bug in rpm-spec-mode). +find $RPM_BUILD_ROOT \ + \( -path $RPM_BUILD_ROOT%{_datadir}/xemacs-%{xver} -o \ + -path $RPM_BUILD_ROOT%{_datadir}/xemacs-%{xver}/\* -o \ + -path $RPM_BUILD_ROOT%{_datadir}/xemacs/site-packages/lisp/\* \) -a \ + \( \( -type d -not -name site-start.d -fprintf base-files "%%%%dir /%%P\n" \) -o \ + \( -type f -path $RPM_BUILD_ROOT%{_datadir}/xemacs/site-packages/lisp/\*.el.gz -not -exec test -e {}c \; -fprintf base-files "%%%%config""(noreplace) /%%P\n" \) -o \ + \( -type f -fprintf base-files "/%%P\n" \) \) install -Dpm 644 xemacs.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/xemacs.pc @@ -597,6 +583,7 @@ install -Dpm 644 xemacs.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/xemacs.pc %if %{with modules} %{_libdir}/xemacs/ %dir %{_libdir}/xemacs-%{xver}/%{xbuild}/modules/ +%{_libdir}/xemacs-%{xver}/%{xbuild}/modules/auto-autoloads.el %{_libdir}/xemacs-%{xver}/%{xbuild}/modules/auto-autoloads.elc %{_libdir}/xemacs-%{xver}/%{xbuild}/modules/eldap.ell %endif @@ -606,11 +593,6 @@ install -Dpm 644 xemacs.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/xemacs.pc %{_mandir}/man1/gnuserv.1* %{_mandir}/man1/xemacs.1* -%files el -f el-files -%if %{with modules} -%{_libdir}/xemacs-%{xver}/%{xbuild}/modules/auto-autoloads.el -%endif - %files info %license COPYING %{_infodir}/*.info* @@ -635,13 +617,17 @@ install -Dpm 644 xemacs.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/xemacs.pc %dir %{_datadir}/xemacs/site-packages/pkginfo %changelog -* Thu Mar 21 2019 Tim Landscheidt - 21.5.34-33.20190321hg970cd945847e +* Thu Mar 21 2019 Tim Landscheidt - 21.5.34-33.20190323hgc0ed7ef9a5a1 +- Obsolete -el subpackage +- Remove needless use of %%defattr +- Simplify generation of file list - Enable test suite -* Thu Mar 21 2019 Jerry James - 21.5.34-33.20190321hg970cd945847e +* Thu Mar 21 2019 Jerry James - 21.5.34-33.20190323hgc0ed7ef9a5a1 - Update to latest mercurial snapshot for miscellaneous bug fixes - Switch from NSS to OpenSSL - Build with openldap support +- Compress the Lisp source files * Sun Feb 03 2019 Fedora Release Engineering - 21.5.34-32.20171230hg92757c2b8239 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From 482e4ef3139667fcff7565baad1e30c67ad25573 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 27 Jul 2019 04:01:18 +0000 Subject: [PATCH 08/22] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- xemacs.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xemacs.spec b/xemacs.spec index 1db0281..f7206cf 100644 --- a/xemacs.spec +++ b/xemacs.spec @@ -23,7 +23,7 @@ Name: xemacs Version: 21.5.34 -Release: 33%{?snap:.%{snap}}%{?dist} +Release: 34%{?snap:.%{snap}}%{?dist} Summary: Different version of Emacs %global majver %(cut -d. -f1-2 <<<%{version}) @@ -617,6 +617,9 @@ install -Dpm 644 xemacs.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/xemacs.pc %dir %{_datadir}/xemacs/site-packages/pkginfo %changelog +* Sat Jul 27 2019 Fedora Release Engineering - 21.5.34-34.20190323hgc0ed7ef9a5a1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Thu Mar 21 2019 Tim Landscheidt - 21.5.34-33.20190323hgc0ed7ef9a5a1 - Obsolete -el subpackage - Remove needless use of %%defattr From 5a36dcffe11585c87e07d9e4d6f063cc162a7d43 Mon Sep 17 00:00:00 2001 From: Jerry James Date: Fri, 24 Jan 2020 22:23:45 -0700 Subject: [PATCH 09/22] Minor spec file cleanups. --- xemacs.spec | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/xemacs.spec b/xemacs.spec index f7206cf..af263dc 100644 --- a/xemacs.spec +++ b/xemacs.spec @@ -131,10 +131,6 @@ Requires: %{name}-filesystem = %{version}-%{release} Requires(post): /usr/sbin/alternatives Requires(preun): /usr/sbin/alternatives -# This can be removed when F29 reaches EOL -Obsoletes: %{name}-el < 21.5.34-33 -Provides: %{name}-el = %{version}-%{release} - %description common XEmacs is a highly customizable open source text editor and application development system. It is protected under the GNU General @@ -226,7 +222,7 @@ add functionality to XEmacs. %prep %setup -q -n %{name}-%{?snap:beta}%{!?snap:%{version}} -find . -type f -name "*.elc" -o -name "*.info*" -exec rm -f {} \+ +find . -type f -name "*.elc" -o -name "*.info*" -delete sed -i -e /tetris/d lisp/menubar-items.el %patch0 %patch1 From a475a09fb89904cc55315c24844ccc22de62018a Mon Sep 17 00:00:00 2001 From: Jerry James Date: Tue, 28 Jan 2020 08:49:54 -0700 Subject: [PATCH 10/22] Replace libdb with gdbm. Use pkgconfig BRs. --- xemacs.spec | 76 ++++++++++++++++++++++++++++------------------------- 1 file changed, 40 insertions(+), 36 deletions(-) diff --git a/xemacs.spec b/xemacs.spec index af263dc..bce5560 100644 --- a/xemacs.spec +++ b/xemacs.spec @@ -65,51 +65,51 @@ Patch7: %{name}-21.5.34-overflow.patch # Submitted upstream 28 Dec 2017: better computation of data start address Patch8: %{name}-21.5.34-data-start.patch -BuildRequires: gcc -BuildRequires: texinfo -BuildRequires: ncurses-devel -BuildRequires: gpm-devel -BuildRequires: openldap-devel -BuildRequires: openssl-devel -BuildRequires: pam-devel -BuildRequires: zlib-devel -BuildRequires: libjpeg-devel BuildRequires: compface-devel -BuildRequires: libpng-devel -BuildRequires: libtiff-devel -BuildRequires: giflib-devel BuildRequires: desktop-file-utils %if %{with mule} %if %{with wnn} BuildRequires: FreeWnn-devel -%endif # wnn -%endif # mule -BuildRequires: xmkmf -BuildRequires: libXau-devel -BuildRequires: libXpm-devel -BuildRequires: alsa-lib-devel -BuildRequires: libdb-devel +%endif +%endif +BuildRequires: gcc +BuildRequires: gdbm-devel +BuildRequires: giflib-devel BuildRequires: gmp-devel +BuildRequires: gpm-devel +BuildRequires: openldap-devel +BuildRequires: pam-devel +BuildRequires: pkgconfig(alsa) +BuildRequires: pkgconfig(libjpeg) +BuildRequires: pkgconfig(libpng) +BuildRequires: pkgconfig(libtiff-4) +BuildRequires: pkgconfig(ncurses) +BuildRequires: pkgconfig(openssl) +BuildRequires: pkgconfig(xau) +BuildRequires: pkgconfig(xft) +BuildRequires: pkgconfig(xpm) +BuildRequires: pkgconfig(zlib) +BuildRequires: texinfo +BuildRequires: xmkmf %if %{with gtk} -BuildRequires: gtk3-devel -%else # gtk +BuildRequires: pkgconfig(gtk+-3.0) +%else BuildRequires: xorg-x11-xbitmaps %if %{with xaw3d} -BuildRequires: Xaw3d-devel -%else # xaw3d +BuildRequires: pkgconfig(xaw3d) +%else BuildRequires: neXtaw-devel -%endif # xaw3d -%endif # gtk -BuildRequires: libXft-devel +%endif +%endif # Note: no xemacs-packages-extra dependency here, need main pkg to build it. Requires: xemacs-packages-base Requires: %{name}-common = %{version}-%{release} Requires: xorg-x11-fonts-ISO8859-1-75dpi Requires: xorg-x11-fonts-ISO8859-1-100dpi Requires: xorg-x11-fonts-misc -Requires(post): /usr/sbin/alternatives +Requires(post): alternatives Requires(post): coreutils -Requires(postun): /usr/sbin/alternatives +Requires(postun): alternatives Requires(postun): coreutils Provides: xemacs(bin) = %{version}-%{release} @@ -128,8 +128,8 @@ This package contains XEmacs built for X Windows%{?with_mule: with MULE support} %package common Summary: Lisp files and other common files for XEmacs Requires: %{name}-filesystem = %{version}-%{release} -Requires(post): /usr/sbin/alternatives -Requires(preun): /usr/sbin/alternatives +Requires(post): alternatives +Requires(preun): alternatives %description common XEmacs is a highly customizable open source text editor and @@ -145,9 +145,9 @@ Summary: Different version of Emacs built without X Windows support # Note: no xemacs-packages* dependencies here, we need -nox to build the # base package set. Requires: %{name}-common = %{version}-%{release} -Requires(post): /usr/sbin/alternatives +Requires(post): alternatives Requires(post): coreutils -Requires(postun): /usr/sbin/alternatives +Requires(postun): alternatives Provides: xemacs(bin) = %{version}-%{release} %description nox @@ -163,9 +163,9 @@ This package contains XEmacs built without X Windows support. Summary: Different version of Emacs built with Xft/fontconfig support Requires: %{name}-common = %{version}-%{release} Requires: xemacs-packages-base -Requires(post): /usr/sbin/alternatives +Requires(post): alternatives Requires(post): coreutils -Requires(postun): /usr/sbin/alternatives +Requires(postun): alternatives Provides: xemacs(bin) = %{version}-%{release} %description xft @@ -307,7 +307,7 @@ mv lib-src/DOC{,-nox} mv src/xemacs{,-nox-%{xver}} mv lib-src/config.values{,-nox} mv Installation{,-nox} -%endif # nox +%endif # build with Xft %configure $common_options \ @@ -409,7 +409,7 @@ install -pm 644 lib-src/DOC-nox \ $RPM_BUILD_ROOT%{_libdir}/xemacs-%{xver}/doc-nox/DOC install -pm 644 lib-src/config.values-nox \ $RPM_BUILD_ROOT%{_libdir}/xemacs-%{xver}/doc-nox/config.values -%endif # nox +%endif # install xft files echo ".so man1/xemacs.1" > $RPM_BUILD_ROOT%{_mandir}/man1/xemacs-xft.1 @@ -613,6 +613,10 @@ install -Dpm 644 xemacs.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/xemacs.pc %dir %{_datadir}/xemacs/site-packages/pkginfo %changelog +* Tue Jan 28 2020 Jerry James - 21.5.34-3420190323hgc0ed7ef9a5a1 +- Replace libdb with gdbm +- Use pkgconfig BRs + * Sat Jul 27 2019 Fedora Release Engineering - 21.5.34-34.20190323hgc0ed7ef9a5a1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From 6b4e167749a7328e430c388b15ebecbcae544b74 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 31 Jan 2020 04:16:14 +0000 Subject: [PATCH 11/22] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- xemacs.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xemacs.spec b/xemacs.spec index bce5560..5610c1f 100644 --- a/xemacs.spec +++ b/xemacs.spec @@ -23,7 +23,7 @@ Name: xemacs Version: 21.5.34 -Release: 34%{?snap:.%{snap}}%{?dist} +Release: 35%{?snap:.%{snap}}%{?dist} Summary: Different version of Emacs %global majver %(cut -d. -f1-2 <<<%{version}) @@ -613,6 +613,9 @@ install -Dpm 644 xemacs.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/xemacs.pc %dir %{_datadir}/xemacs/site-packages/pkginfo %changelog +* Fri Jan 31 2020 Fedora Release Engineering - 21.5.34-35.20190323hgc0ed7ef9a5a1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Tue Jan 28 2020 Jerry James - 21.5.34-3420190323hgc0ed7ef9a5a1 - Replace libdb with gdbm - Use pkgconfig BRs From 621bba2cd1d7d2114bec274feb7fe416a621765a Mon Sep 17 00:00:00 2001 From: Jerry James Date: Tue, 21 Jul 2020 19:41:14 -0600 Subject: [PATCH 12/22] Explicitly ask configure for gdbm. --- xemacs.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xemacs.spec b/xemacs.spec index 5610c1f..a08b71f 100644 --- a/xemacs.spec +++ b/xemacs.spec @@ -277,7 +277,7 @@ common_options=" --without-canna %endif --with-clash-detection - --with-database=berkdb + --with-database=gdbm --with-ldap --without-postgresql --with-mail-locking=lockf From 20b6445349530fb191bed3220438a71480ec3fd1 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 14 Jul 2020 14:54:38 +0000 Subject: [PATCH 13/22] Use make macros https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro --- xemacs.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/xemacs.spec b/xemacs.spec index a08b71f..d510451 100644 --- a/xemacs.spec +++ b/xemacs.spec @@ -23,7 +23,7 @@ Name: xemacs Version: 21.5.34 -Release: 35%{?snap:.%{snap}}%{?dist} +Release: 36%{?snap:.%{snap}}%{?dist} Summary: Different version of Emacs %global majver %(cut -d. -f1-2 <<<%{version}) @@ -394,7 +394,7 @@ cat > macros.xemacs << EOF EOF %install -make install DESTDIR=$RPM_BUILD_ROOT +%make_install # Compress the .el files find %{buildroot}%{_datadir}/xemacs-%{xver} -name \*.el -exec gzip --best {} \+ @@ -613,6 +613,10 @@ install -Dpm 644 xemacs.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/xemacs.pc %dir %{_datadir}/xemacs/site-packages/pkginfo %changelog +* Tue Jul 14 2020 Tom Stellard - 21.5.34-36.20190323hgc0ed7ef9a5a1 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + * Fri Jan 31 2020 Fedora Release Engineering - 21.5.34-35.20190323hgc0ed7ef9a5a1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From e70c0a7c88ccf6a01a68d5ed6db536b7b3f39d15 Mon Sep 17 00:00:00 2001 From: Jerry James Date: Wed, 22 Jul 2020 16:32:12 -0600 Subject: [PATCH 14/22] Update to latest mercurial snapshot for miscellaneous bug fixes. - Add -strsignal patch to fix build with latest glibc. --- sources | 2 +- xemacs-21.5.34-strsignal.patch | 85 ++++++++++++++++++++++++++++++++++ xemacs.spec | 21 ++++----- 3 files changed, 95 insertions(+), 13 deletions(-) create mode 100644 xemacs-21.5.34-strsignal.patch diff --git a/sources b/sources index 819edf6..b5901cd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (xemacs-20190323hgc0ed7ef9a5a1.tar.xz) = 57de142b3cbd829191180f0b8792f245c5978e3e83a23eec5dee402bd31acbf1b24f4f04c3173f7120dba5898b0ff53655b8403050bd69666cb93ee61deed636 +SHA512 (xemacs-20200331hge2ac728aa576.tar.xz) = cfeb5bdef2cb864550674200a3fb95bb71923b248394bca10e1b0e21c3fb79343201ab458219d1a12c46d753194a8ab95ca1b43f7b13e4451a5e0d2886e688e6 diff --git a/xemacs-21.5.34-strsignal.patch b/xemacs-21.5.34-strsignal.patch new file mode 100644 index 0000000..02fa97b --- /dev/null +++ b/xemacs-21.5.34-strsignal.patch @@ -0,0 +1,85 @@ +--- configure.orig 2020-07-22 15:06:06.967107535 -0600 ++++ configure 2020-07-22 15:09:53.877056156 -0600 +@@ -18093,7 +18093,7 @@ done + esac + + +-for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp fsync ftime ftruncate getaddrinfo gethostname getnameinfo getpagesize getrlimit gettimeofday getcwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setsid sigblock sighold sigprocmask snprintf strerror strlwr strupr symlink tzset ulimit umask usleep vlimit vsnprintf waitpid wcscmp wcslen ++for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp fsync ftime ftruncate getaddrinfo gethostname getnameinfo getpagesize getrlimit gettimeofday getcwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setsid sigblock sighold sigprocmask snprintf strerror strlwr strsignal strupr symlink tzset ulimit umask usleep vlimit vsnprintf waitpid wcscmp wcslen + do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` + ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +--- configure.ac.orig 2020-07-21 21:57:12.000000000 -0600 ++++ configure.ac 2020-07-22 15:09:48.023057483 -0600 +@@ -4563,7 +4563,7 @@ dnl ------------------------------------ + dnl Check for POSIX functions. + dnl ---------------------------------------------------------------- + +-AC_CHECK_FUNCS(cbrt closedir dup2 eaccess fmod fpathconf frexp fsync ftime ftruncate getaddrinfo gethostname getnameinfo getpagesize getrlimit gettimeofday getcwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setsid sigblock sighold sigprocmask snprintf strerror strlwr strupr symlink tzset ulimit umask usleep vlimit vsnprintf waitpid wcscmp wcslen) ++AC_CHECK_FUNCS(cbrt closedir dup2 eaccess fmod fpathconf frexp fsync ftime ftruncate getaddrinfo gethostname getnameinfo getpagesize getrlimit gettimeofday getcwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setsid sigblock sighold sigprocmask snprintf strerror strlwr strsignal strupr symlink tzset ulimit umask usleep vlimit vsnprintf waitpid wcscmp wcslen) + + dnl getaddrinfo() is borked under hpux11 + if test "$ac_cv_func_getaddrinfo" != "no" ; then +--- src/config.h.in.orig 2020-07-21 21:57:12.000000000 -0600 ++++ src/config.h.in 2020-07-22 15:08:47.781071118 -0600 +@@ -417,6 +417,7 @@ things are arranged in config.h.in. In + #undef HAVE_SNPRINTF + #undef HAVE_STRERROR + #undef HAVE_STRLWR ++#undef HAVE_STRSIGNAL + #undef HAVE_STRUPR + #undef HAVE_SYMLINK + #undef HAVE_TZSET +--- src/process.c.orig 2020-07-21 21:57:12.000000000 -0600 ++++ src/process.c 2020-07-22 15:24:09.884978441 -0600 +@@ -1646,7 +1646,11 @@ const char * + signal_name (int signum) + { + if (signum >= 0 && signum < NSIG) ++#ifdef HAVE_STRSIGNAL ++ return strsignal (signum); ++#else + return (const char *) sys_siglist[signum]; ++#endif + + return (const char *) GETTEXT ("unknown signal"); + } +--- src/s/linux.h.orig 2020-07-21 21:57:12.000000000 -0600 ++++ src/s/linux.h 2020-07-22 15:11:55.884028996 -0600 +@@ -36,10 +36,6 @@ Boston, MA 02111-1307, USA. */ + + /* Deleted GNU_LIBRARY_PENDING_OUTPUT_COUNT -- unused in XEmacs */ + +-/* This is needed for sysdep.c */ +- +-#define HAVE_SYS_SIGLIST +- + /* #define POSIX -- not used in XEmacs */ + + /* Deleted TERM stuff -- probably hugely obsolete */ +--- src/sysdep.c.orig 2020-07-22 15:06:29.217102499 -0600 ++++ src/sysdep.c 2020-07-22 15:30:51.614011813 -0600 +@@ -3521,7 +3521,7 @@ get_random (void) + /* Strings corresponding to defined signals */ + /************************************************************************/ + +-#if (!defined(HAVE_DECL_SYS_SIGLIST) || !HAVE_DECL_SYS_SIGLIST ) && !defined (HAVE_SYS_SIGLIST) ++#if !defined(HAVE_STRSIGNAL) && (!defined(HAVE_DECL_SYS_SIGLIST) || !HAVE_DECL_SYS_SIGLIST ) + + #if defined(WIN32_NATIVE) || defined(CYGWIN) + const char *sys_siglist[] = +--- src/syssignal.h.orig 2020-07-21 21:57:12.000000000 -0600 ++++ src/syssignal.h 2020-07-22 15:22:23.900976554 -0600 +@@ -263,10 +263,8 @@ signal_handler_t qxe_reliable_signal (in + # endif + #endif + +-/* HAVE_DECL_SYS_SIGLIST is determined by configure. On Linux, it seems, +- configure incorrectly fails to find it, so s/linux.h defines +- HAVE_SYS_SIGLIST. */ +-#if (!defined(HAVE_DECL_SYS_SIGLIST) || !HAVE_DECL_SYS_SIGLIST ) && !defined (HAVE_SYS_SIGLIST) ++/* Systems that have sys_siglist but do not declare it. */ ++#if !defined(HAVE_STRSIGNAL) && (!defined(HAVE_DECL_SYS_SIGLIST) || !HAVE_DECL_SYS_SIGLIST ) + extern const char *sys_siglist[]; + #endif + diff --git a/xemacs.spec b/xemacs.spec index d510451..21b7996 100644 --- a/xemacs.spec +++ b/xemacs.spec @@ -19,11 +19,11 @@ %bcond_without modules %endif -%global snap 20190323hgc0ed7ef9a5a1 +%global snap 20200331hge2ac728aa576 Name: xemacs Version: 21.5.34 -Release: 36%{?snap:.%{snap}}%{?dist} +Release: 37%{?snap:.%{snap}}%{?dist} Summary: Different version of Emacs %global majver %(cut -d. -f1-2 <<<%{version}) @@ -64,6 +64,8 @@ Patch6: %{name}-21.5.34-alsaplay.patch Patch7: %{name}-21.5.34-overflow.patch # Submitted upstream 28 Dec 2017: better computation of data start address Patch8: %{name}-21.5.34-data-start.patch +# Submitted upstream 22 Jul 2020: Use strsignal() in preference to sys_siglist +Patch9: %{name}-21.5.34-strsignal.patch BuildRequires: compface-devel BuildRequires: desktop-file-utils @@ -221,18 +223,9 @@ This package contains directories that are required by other packages that add functionality to XEmacs. %prep -%setup -q -n %{name}-%{?snap:beta}%{!?snap:%{version}} +%autosetup -p0 -n %{name}-%{?snap:beta}%{!?snap:%{version}} find . -type f -name "*.elc" -o -name "*.info*" -delete sed -i -e /tetris/d lisp/menubar-items.el -%patch0 -%patch1 -%patch2 -%patch3 -%patch4 -%patch5 -%patch6 -%patch7 -%patch8 sed -e 's/"lib"/"%{_lib}"/' lisp/setup-paths.el > lisp/setup-paths.el.new touch -r lisp/setup-paths.el lisp/setup-paths.el.new @@ -613,6 +606,10 @@ install -Dpm 644 xemacs.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/xemacs.pc %dir %{_datadir}/xemacs/site-packages/pkginfo %changelog +* Wed Jul 22 2020 Jerry James - 21.5.34-37.20200331hge2ac728aa576 +- Update to latest mercurial snapshot for miscellaneous bug fixes +- Add -strsignal patch to fix build with latest glibc + * Tue Jul 14 2020 Tom Stellard - 21.5.34-36.20190323hgc0ed7ef9a5a1 - Use make macros - https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro From 7db6db0fd375365066afdc424cdc3fb149308e75 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 29 Jul 2020 14:35:09 +0000 Subject: [PATCH 15/22] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- xemacs.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xemacs.spec b/xemacs.spec index 21b7996..b06825d 100644 --- a/xemacs.spec +++ b/xemacs.spec @@ -23,7 +23,7 @@ Name: xemacs Version: 21.5.34 -Release: 37%{?snap:.%{snap}}%{?dist} +Release: 38%{?snap:.%{snap}}%{?dist} Summary: Different version of Emacs %global majver %(cut -d. -f1-2 <<<%{version}) @@ -606,6 +606,9 @@ install -Dpm 644 xemacs.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/xemacs.pc %dir %{_datadir}/xemacs/site-packages/pkginfo %changelog +* Wed Jul 29 2020 Fedora Release Engineering - 21.5.34-38.20200331hge2ac728aa576 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Wed Jul 22 2020 Jerry James - 21.5.34-37.20200331hge2ac728aa576 - Update to latest mercurial snapshot for miscellaneous bug fixes - Add -strsignal patch to fix build with latest glibc From f60634b59139c0ce32d7babbdc88eb9eeda64475 Mon Sep 17 00:00:00 2001 From: Jerry James Date: Mon, 9 Nov 2020 21:33:37 -0700 Subject: [PATCH 16/22] Explicitly BR make. --- xemacs.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/xemacs.spec b/xemacs.spec index b06825d..3c5b5dc 100644 --- a/xemacs.spec +++ b/xemacs.spec @@ -79,6 +79,7 @@ BuildRequires: gdbm-devel BuildRequires: giflib-devel BuildRequires: gmp-devel BuildRequires: gpm-devel +BuildRequires: make BuildRequires: openldap-devel BuildRequires: pam-devel BuildRequires: pkgconfig(alsa) From 9201297f41b6d91402a067ecf1e65122e6483c1c Mon Sep 17 00:00:00 2001 From: Jerry James Date: Thu, 21 Jan 2021 21:27:47 -0700 Subject: [PATCH 17/22] Mark as deprecated (bz 1916926). --- xemacs.spec | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/xemacs.spec b/xemacs.spec index 3c5b5dc..74d02d3 100644 --- a/xemacs.spec +++ b/xemacs.spec @@ -116,6 +116,10 @@ Requires(postun): alternatives Requires(postun): coreutils Provides: xemacs(bin) = %{version}-%{release} +# https://fedoraproject.org/wiki/Changes/Deprecate_xemacs +# https://bugzilla.redhat.com/show_bug.cgi?id=1916926 +Provides: deprecated() + %global xver %(echo %{version} | sed -e 's/\\.\\([0-9]\\+\\)$/-b\\1/') %global xbuild %(echo %{_build} | sed -e 's/^\\([^-]*-[^-]*-[^-]*\\).*/\\1/') @@ -134,6 +138,10 @@ Requires: %{name}-filesystem = %{version}-%{release} Requires(post): alternatives Requires(preun): alternatives +# https://fedoraproject.org/wiki/Changes/Deprecate_xemacs +# https://bugzilla.redhat.com/show_bug.cgi?id=1916926 +Provides: deprecated() + %description common XEmacs is a highly customizable open source text editor and application development system. It is protected under the GNU General @@ -153,6 +161,10 @@ Requires(post): coreutils Requires(postun): alternatives Provides: xemacs(bin) = %{version}-%{release} +# https://fedoraproject.org/wiki/Changes/Deprecate_xemacs +# https://bugzilla.redhat.com/show_bug.cgi?id=1916926 +Provides: deprecated() + %description nox XEmacs is a highly customizable open source text editor and application development system. It is protected under the GNU General @@ -171,6 +183,10 @@ Requires(post): coreutils Requires(postun): alternatives Provides: xemacs(bin) = %{version}-%{release} +# https://fedoraproject.org/wiki/Changes/Deprecate_xemacs +# https://bugzilla.redhat.com/show_bug.cgi?id=1916926 +Provides: deprecated() + %description xft XEmacs is a highly customizable open source text editor and application development system. It is protected under the GNU General @@ -186,6 +202,10 @@ BuildArch: noarch Requires(post): info Requires(preun): info +# https://fedoraproject.org/wiki/Changes/Deprecate_xemacs +# https://bugzilla.redhat.com/show_bug.cgi?id=1916926 +Provides: deprecated() + %description info XEmacs is a highly customizable open source text editor and application development system. It is protected under the GNU General @@ -200,6 +220,10 @@ Summary: Development files for XEmacs Requires: %{name}%{?_isa} = %{version}-%{release} Requires: pkgconfig +# https://fedoraproject.org/wiki/Changes/Deprecate_xemacs +# https://bugzilla.redhat.com/show_bug.cgi?id=1916926 +Provides: deprecated() + %description devel XEmacs is a highly customizable open source text editor and application development system. It is protected under the GNU General @@ -213,6 +237,10 @@ This package contains XEmacs development support files. Summary: XEmacs filesystem layout BuildArch: noarch +# https://fedoraproject.org/wiki/Changes/Deprecate_xemacs +# https://bugzilla.redhat.com/show_bug.cgi?id=1916926 +Provides: deprecated() + %description filesystem XEmacs is a highly customizable open source text editor and application development system. It is protected under the GNU General @@ -607,6 +635,9 @@ install -Dpm 644 xemacs.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/xemacs.pc %dir %{_datadir}/xemacs/site-packages/pkginfo %changelog +* Thu Jan 21 2021 Jerry James - 21.5.34-38.20200331hge2ac728aa576 +- Mark as deprecated (bz 1916926) + * Wed Jul 29 2020 Fedora Release Engineering - 21.5.34-38.20200331hge2ac728aa576 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 86b2e621c35b286b77d513cf03132a4f2078d893 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 27 Jan 2021 23:55:09 +0000 Subject: [PATCH 18/22] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- xemacs.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xemacs.spec b/xemacs.spec index 74d02d3..d3576f6 100644 --- a/xemacs.spec +++ b/xemacs.spec @@ -23,7 +23,7 @@ Name: xemacs Version: 21.5.34 -Release: 38%{?snap:.%{snap}}%{?dist} +Release: 39%{?snap:.%{snap}}%{?dist} Summary: Different version of Emacs %global majver %(cut -d. -f1-2 <<<%{version}) @@ -635,6 +635,9 @@ install -Dpm 644 xemacs.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/xemacs.pc %dir %{_datadir}/xemacs/site-packages/pkginfo %changelog +* Wed Jan 27 2021 Fedora Release Engineering - 21.5.34-39.20200331hge2ac728aa576 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Thu Jan 21 2021 Jerry James - 21.5.34-38.20200331hge2ac728aa576 - Mark as deprecated (bz 1916926) From ca3ac70be7482a40d2a10b3a569ba67c2efd5680 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 23 Jul 2021 21:26:04 +0000 Subject: [PATCH 19/22] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- xemacs.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xemacs.spec b/xemacs.spec index d3576f6..729043e 100644 --- a/xemacs.spec +++ b/xemacs.spec @@ -23,7 +23,7 @@ Name: xemacs Version: 21.5.34 -Release: 39%{?snap:.%{snap}}%{?dist} +Release: 40%{?snap:.%{snap}}%{?dist} Summary: Different version of Emacs %global majver %(cut -d. -f1-2 <<<%{version}) @@ -635,6 +635,9 @@ install -Dpm 644 xemacs.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/xemacs.pc %dir %{_datadir}/xemacs/site-packages/pkginfo %changelog +* Fri Jul 23 2021 Fedora Release Engineering - 21.5.34-40.20200331hge2ac728aa576 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Wed Jan 27 2021 Fedora Release Engineering - 21.5.34-39.20200331hge2ac728aa576 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 8dd60e636a1bca0243a42cf559d6fe28a474965b Mon Sep 17 00:00:00 2001 From: Jerry James Date: Wed, 4 Aug 2021 09:43:44 -0600 Subject: [PATCH 20/22] Add -xlinker patch to fix link failure. --- xemacs-21.5.34-xlinker.patch | 94 ++++++++++++++++++++++++++++++++++++ xemacs.spec | 11 +++-- 2 files changed, 102 insertions(+), 3 deletions(-) create mode 100644 xemacs-21.5.34-xlinker.patch diff --git a/xemacs-21.5.34-xlinker.patch b/xemacs-21.5.34-xlinker.patch new file mode 100644 index 0000000..0b361f4 --- /dev/null +++ b/xemacs-21.5.34-xlinker.patch @@ -0,0 +1,94 @@ +--- configure.ac.orig 2021-08-04 09:10:32.405958685 -0600 ++++ configure.ac 2021-08-04 09:27:43.671827551 -0600 +@@ -186,7 +186,7 @@ if test "$GCC" = "yes"; then + case [$]1 in + -L | -l | -u ) [$1]="$[$1] [$]1 [$]2"; shift ;; + -L* | -l* | -u* | -Wl* | -pg ) [$1]="$[$1] [$]1" ;; +- -Xlinker* ) ;; ++ -Xlinker* | -specs* ) ;; + * ) [$1]="$[$1] -Xlinker [$]1" ;; + esac + shift +--- configure.orig 2021-08-04 09:10:32.515958873 -0600 ++++ configure 2021-08-04 09:29:53.325030055 -0600 +@@ -9768,7 +9768,7 @@ if test "$GCC" = "yes"; then + case $1 in + -L | -l | -u ) ld_switch_system="$ld_switch_system $1 $2"; shift ;; + -L* | -l* | -u* | -Wl* | -pg ) ld_switch_system="$ld_switch_system $1" ;; +- -Xlinker* ) ;; ++ -Xlinker* | -specs* ) ;; + * ) ld_switch_system="$ld_switch_system -Xlinker $1" ;; + esac + shift +@@ -9781,7 +9781,7 @@ if test "$GCC" = "yes"; then + case $1 in + -L | -l | -u ) ld_switch_machine="$ld_switch_machine $1 $2"; shift ;; + -L* | -l* | -u* | -Wl* | -pg ) ld_switch_machine="$ld_switch_machine $1" ;; +- -Xlinker* ) ;; ++ -Xlinker* | -specs* ) ;; + * ) ld_switch_machine="$ld_switch_machine -Xlinker $1" ;; + esac + shift +@@ -9794,7 +9794,7 @@ if test "$GCC" = "yes"; then + case $1 in + -L | -l | -u ) ld_switch_site="$ld_switch_site $1 $2"; shift ;; + -L* | -l* | -u* | -Wl* | -pg ) ld_switch_site="$ld_switch_site $1" ;; +- -Xlinker* ) ;; ++ -Xlinker* | -specs* ) ;; + * ) ld_switch_site="$ld_switch_site -Xlinker $1" ;; + esac + shift +@@ -9807,7 +9807,7 @@ if test "$GCC" = "yes"; then + case $1 in + -L | -l | -u ) LDFLAGS="$LDFLAGS $1 $2"; shift ;; + -L* | -l* | -u* | -Wl* | -pg ) LDFLAGS="$LDFLAGS $1" ;; +- -Xlinker* ) ;; ++ -Xlinker* | -specs* ) ;; + * ) LDFLAGS="$LDFLAGS -Xlinker $1" ;; + esac + shift +@@ -9820,7 +9820,7 @@ if test "$GCC" = "yes"; then + case $1 in + -L | -l | -u ) ld_call_shared="$ld_call_shared $1 $2"; shift ;; + -L* | -l* | -u* | -Wl* | -pg ) ld_call_shared="$ld_call_shared $1" ;; +- -Xlinker* ) ;; ++ -Xlinker* | -specs* ) ;; + * ) ld_call_shared="$ld_call_shared -Xlinker $1" ;; + esac + shift +@@ -10104,7 +10104,7 @@ if test "$GCC" = "yes"; then + case $1 in + -L | -l | -u ) xe_check_libs="$xe_check_libs $1 $2"; shift ;; + -L* | -l* | -u* | -Wl* | -pg ) xe_check_libs="$xe_check_libs $1" ;; +- -Xlinker* ) ;; ++ -Xlinker* | -specs* ) ;; + * ) xe_check_libs="$xe_check_libs -Xlinker $1" ;; + esac + shift +@@ -10188,7 +10188,7 @@ if test "$GCC" = "yes"; then + case $1 in + -L | -l | -u ) ld_switch_run="$ld_switch_run $1 $2"; shift ;; + -L* | -l* | -u* | -Wl* | -pg ) ld_switch_run="$ld_switch_run $1" ;; +- -Xlinker* ) ;; ++ -Xlinker* | -specs* ) ;; + * ) ld_switch_run="$ld_switch_run -Xlinker $1" ;; + esac + shift +@@ -13457,7 +13457,7 @@ if test "$GCC" = "yes"; then + case $1 in + -L | -l | -u ) ld_switch_run="$ld_switch_run $1 $2"; shift ;; + -L* | -l* | -u* | -Wl* | -pg ) ld_switch_run="$ld_switch_run $1" ;; +- -Xlinker* ) ;; ++ -Xlinker* | -specs* ) ;; + * ) ld_switch_run="$ld_switch_run -Xlinker $1" ;; + esac + shift +@@ -18065,7 +18065,7 @@ if test "$GCC" = "yes"; then + case $1 in + -L | -l | -u ) ld_switch_run="$ld_switch_run $1 $2"; shift ;; + -L* | -l* | -u* | -Wl* | -pg ) ld_switch_run="$ld_switch_run $1" ;; +- -Xlinker* ) ;; ++ -Xlinker* | -specs* ) ;; + * ) ld_switch_run="$ld_switch_run -Xlinker $1" ;; + esac + shift diff --git a/xemacs.spec b/xemacs.spec index 729043e..2dbe26b 100644 --- a/xemacs.spec +++ b/xemacs.spec @@ -23,7 +23,7 @@ Name: xemacs Version: 21.5.34 -Release: 40%{?snap:.%{snap}}%{?dist} +Release: 41%{?snap:.%{snap}}%{?dist} Summary: Different version of Emacs %global majver %(cut -d. -f1-2 <<<%{version}) @@ -66,6 +66,8 @@ Patch7: %{name}-21.5.34-overflow.patch Patch8: %{name}-21.5.34-data-start.patch # Submitted upstream 22 Jul 2020: Use strsignal() in preference to sys_siglist Patch9: %{name}-21.5.34-strsignal.patch +# Do not protect -specs=* with -Xlinker +Patch10: %{name}-21.5.34-xlinker.patch BuildRequires: compface-devel BuildRequires: desktop-file-utils @@ -276,10 +278,10 @@ EOF %build -CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" +CFLAGS="%{build_cflags} -fno-strict-aliasing" export CFLAGS export EMACSLOADPATH=$PWD/lisp:$PWD/lisp/mule -export LDFLAGS="$RPM_LD_FLAGS -Wl,--as-needed" +export LDFLAGS="%{build_ldflags}" # The --with-*dir args can probably go away in the future if/when upstream # configure learns to honor standard autofoo dirs better. @@ -635,6 +637,9 @@ install -Dpm 644 xemacs.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/xemacs.pc %dir %{_datadir}/xemacs/site-packages/pkginfo %changelog +* Wed Aug 4 2021 Jerry James - 21.5.34-41.20200331hge2ac728aa576 +- Add -xlinker patch to fix link failure + * Fri Jul 23 2021 Fedora Release Engineering - 21.5.34-40.20200331hge2ac728aa576 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From f29cd9af4c1dbfa9701a7034d935caac859e5fca Mon Sep 17 00:00:00 2001 From: Sahana Prasad Date: Tue, 14 Sep 2021 19:17:57 +0200 Subject: [PATCH 21/22] Rebuilt with OpenSSL 3.0.0 --- xemacs.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xemacs.spec b/xemacs.spec index 2dbe26b..32c9c3d 100644 --- a/xemacs.spec +++ b/xemacs.spec @@ -23,7 +23,7 @@ Name: xemacs Version: 21.5.34 -Release: 41%{?snap:.%{snap}}%{?dist} +Release: 42%{?snap:.%{snap}}%{?dist} Summary: Different version of Emacs %global majver %(cut -d. -f1-2 <<<%{version}) @@ -637,6 +637,9 @@ install -Dpm 644 xemacs.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/xemacs.pc %dir %{_datadir}/xemacs/site-packages/pkginfo %changelog +* Tue Sep 14 2021 Sahana Prasad - 21.5.34-42.20200331hge2ac728aa576 +- Rebuilt with OpenSSL 3.0.0 + * Wed Aug 4 2021 Jerry James - 21.5.34-41.20200331hge2ac728aa576 - Add -xlinker patch to fix link failure From 9cb7ea0e93314bea87b174961f3f67e455fc736e Mon Sep 17 00:00:00 2001 From: Jerry James Date: Mon, 17 Jan 2022 09:54:47 -0700 Subject: [PATCH 22/22] Unmaintained upstream --- .gitignore | 1 - dead.package | 1 + default.el | 28 - dotxemacs-init.el | 4 - gnuclient.desktop | 11 - sources | 1 - xemacs-21.5.25-mk-nochk-features.patch | 11 - xemacs-21.5.25-wnnfix-128362.patch | 61 -- xemacs-21.5.27-no-expdyn-ia64-106744.patch | 28 - xemacs-21.5.28-courier-default.patch | 11 - xemacs-21.5.29-x-server.patch | 11 - xemacs-21.5.34-alsaplay.patch | 13 - xemacs-21.5.34-data-start.patch | 12 - xemacs-21.5.34-overflow.patch | 20 - xemacs-21.5.34-strsignal.patch | 85 -- xemacs-21.5.34-utf8-fonts.patch | 64 -- xemacs-21.5.34-xlinker.patch | 94 -- xemacs-sitestart.el | 156 --- xemacs-snapshot.sh | 34 - xemacs.appdata.xml | 32 - xemacs.desktop | 34 - xemacs.spec | 1078 -------------------- 22 files changed, 1 insertion(+), 1789 deletions(-) delete mode 100644 .gitignore create mode 100644 dead.package delete mode 100644 default.el delete mode 100644 dotxemacs-init.el delete mode 100644 gnuclient.desktop delete mode 100644 sources delete mode 100644 xemacs-21.5.25-mk-nochk-features.patch delete mode 100644 xemacs-21.5.25-wnnfix-128362.patch delete mode 100644 xemacs-21.5.27-no-expdyn-ia64-106744.patch delete mode 100644 xemacs-21.5.28-courier-default.patch delete mode 100644 xemacs-21.5.29-x-server.patch delete mode 100644 xemacs-21.5.34-alsaplay.patch delete mode 100644 xemacs-21.5.34-data-start.patch delete mode 100644 xemacs-21.5.34-overflow.patch delete mode 100644 xemacs-21.5.34-strsignal.patch delete mode 100644 xemacs-21.5.34-utf8-fonts.patch delete mode 100644 xemacs-21.5.34-xlinker.patch delete mode 100644 xemacs-sitestart.el delete mode 100755 xemacs-snapshot.sh delete mode 100644 xemacs.appdata.xml delete mode 100644 xemacs.desktop delete mode 100644 xemacs.spec diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 7f42168..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/xemacs-*.tar.xz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..151f4be --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Unmaintained upstream diff --git a/default.el b/default.el deleted file mode 100644 index 8d4478e..0000000 --- a/default.el +++ /dev/null @@ -1,28 +0,0 @@ -;;; default.el - loaded at startup after "~/.xemacs/init.el" by default -;;; -;;; Setting `inhibit-default-init' to non-nil in "~/.xemacs/init.el" -;;; prevents loading of this file. The "-q" option to xemacs -;;; prevents "~/.xemacs/init.el" *and* this file from being loaded -;;; at startup. - -;; enable wheel mouse support by default -(when window-system - (mwheel-install)) - -;; make gnus save articles be mbox format not rmail format -(defvar gnus-default-article-saver 'gnus-summary-save-in-file) - -;; use terminfo by default -(defvar system-uses-terminfo t) - -;; turn on syntax highlighting by default if lazy-lock is available -(when (fboundp 'turn-on-lazy-lock) - (require 'font-lock) - ;; use lazy-lock by default if lazy-shot is not enabled - (remove-hook 'font-lock-mode-hook 'turn-on-lazy-lock) - (add-hook 'font-lock-mode-hook - (function - (lambda () - (unless (and (boundp 'lazy-shot-mode) lazy-shot-mode) - (turn-on-lazy-lock)))) - t)) diff --git a/dotxemacs-init.el b/dotxemacs-init.el deleted file mode 100644 index 6697754..0000000 --- a/dotxemacs-init.el +++ /dev/null @@ -1,4 +0,0 @@ -;;; ~/.xemacs/init.el - -;;; uncomment this line to disable loading of "default.el" at startup -;(setq inhibit-default-init t) diff --git a/gnuclient.desktop b/gnuclient.desktop deleted file mode 100644 index c06d946..0000000 --- a/gnuclient.desktop +++ /dev/null @@ -1,11 +0,0 @@ -[Desktop Entry] -Name=Gnuclient -GenericName=Text Editor -Comment=Edit text -MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++; -Exec=gnuclient %f -Icon=xemacs -Type=Application -Terminal=false -Categories=Application;Utility;TextEditor; -StartupWMClass=XEmacs diff --git a/sources b/sources deleted file mode 100644 index b5901cd..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (xemacs-20200331hge2ac728aa576.tar.xz) = cfeb5bdef2cb864550674200a3fb95bb71923b248394bca10e1b0e21c3fb79343201ab458219d1a12c46d753194a8ab95ca1b43f7b13e4451a5e0d2886e688e6 diff --git a/xemacs-21.5.25-mk-nochk-features.patch b/xemacs-21.5.25-mk-nochk-features.patch deleted file mode 100644 index 79a5a1d..0000000 --- a/xemacs-21.5.25-mk-nochk-features.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile.in.in.orig 2017-04-18 09:36:15.000000000 -0600 -+++ Makefile.in.in 2017-04-18 09:38:44.769709731 -0600 -@@ -402,7 +402,7 @@ etc/PROBLEMS: $(srcdir)/PROBLEMS - - install-only: ${MAKE_SUBDIR} check-features install-arch-dep install-arch-indep - --install: all check-features install-arch-dep install-arch-indep -+install: all install-arch-dep install-arch-indep - - install-arch-dep: mkdir - for subdir in ${INSTALL_ARCH_DEP_SUBDIR}; do \ diff --git a/xemacs-21.5.25-wnnfix-128362.patch b/xemacs-21.5.25-wnnfix-128362.patch deleted file mode 100644 index 0b64249..0000000 --- a/xemacs-21.5.25-wnnfix-128362.patch +++ /dev/null @@ -1,61 +0,0 @@ ---- src/mule-wnnfns.c.orig 2011-04-29 07:31:16.000000000 -0600 -+++ src/mule-wnnfns.c 2011-05-03 14:00:02.625969757 -0600 -@@ -316,7 +316,7 @@ - Lisp_Object Qwnn_jisho, Qwnn_sbn, Qwnn_dbn_len, Qwnn_sbn_cnt, Qwnn_suuji; - Lisp_Object Qwnn_kana, Qwnn_eisuu, Qwnn_kigou, Qwnn_toji_kakko, Qwnn_fuzokogo, Qwnn_kaikakko; - Lisp_Object Vwnn_server_type; --Lisp_Object Vcwnn_zhuyin; -+//Lisp_Object Vcwnn_zhuyin; - Lisp_Object Vwnnenv_sticky; - Lisp_Object Vwnn_uniq_level; - Lisp_Object Qchinese_sisheng; -@@ -1914,9 +1914,11 @@ - DEFVAR_LISP ("wnn-server-type", &Vwnn_server_type /* - *jserver, cserver .. - */ ); -- DEFVAR_LISP ("cwnn-zhuyin", &Vcwnn_zhuyin /* -+#if 0 -+ DEFVAR_LISP ("cwnn-zhuyin", &Vcwnn_zhuyin /* - *pinyin or zhuyin - */ ); -+#endif - DEFVAR_LISP ("wnnenv-sticky", &Vwnnenv_sticky /* - *If non-nil, make environment sticky - */ ); -@@ -1925,7 +1927,7 @@ - */ ); - - Vwnn_server_type = Qjserver; -- Vcwnn_zhuyin = Qnil; -+ //Vcwnn_zhuyin = Qnil; - Vwnnenv_sticky = Qnil; - - DEFSYMBOL (Qchinese_sisheng); -@@ -1952,10 +1954,14 @@ - case 0x80: - if (EQ(Vwnn_server_type, Qcserver)) - { -+#if 0 - len = cwnn_yincod_pzy (pzy, wc, - NILP (Vcwnn_zhuyin) - ? CWNN_PINYIN - : CWNN_ZHUYIN); -+#else -+ len = 0; -+#endif - for (i = 0; i < len; i++) - { - if (pzy[i] & 0x80) -@@ -2055,8 +2061,12 @@ - else *pin = *w; - w++; pin++; - } -+#if 0 - len = cwnn_pzy_yincod (ybuf, pbuf, - NILP (Vcwnn_zhuyin) ? CWNN_PINYIN : CWNN_ZHUYIN); -+#else -+ return; -+#endif - if (len <= 0) - return; - diff --git a/xemacs-21.5.27-no-expdyn-ia64-106744.patch b/xemacs-21.5.27-no-expdyn-ia64-106744.patch deleted file mode 100644 index 9d0e902..0000000 --- a/xemacs-21.5.27-no-expdyn-ia64-106744.patch +++ /dev/null @@ -1,28 +0,0 @@ ---- aclocal.m4.orig 2017-12-27 09:57:56.000000000 -0700 -+++ aclocal.m4 2017-12-27 09:59:53.773320170 -0700 -@@ -533,7 +533,10 @@ if test "$xe_gnu_ld" = yes -a "$ld_shlib - ;; - - *) -- ld_dynamic_link_flags="${wl}-export-dynamic" -+ # avoid -export-dynamic on ia64 -+ if test "$xehost_cpu" != "ia64"; then -+ ld_dynamic_link_flags="${wl}-export-dynamic" -+ fi - ;; - esac - fi ---- configure.orig 2017-12-27 09:57:56.000000000 -0700 -+++ configure 2017-12-27 09:59:53.778320152 -0700 -@@ -15058,7 +15058,10 @@ if test "$xe_gnu_ld" = yes -a "$ld_shlib - ;; - - *) -- ld_dynamic_link_flags="${wl}-export-dynamic" -+ # avoid -export-dynamic on ia64 -+ if test "$xehost_cpu" != "ia64"; then -+ ld_dynamic_link_flags="${wl}-export-dynamic" -+ fi - ;; - esac - fi diff --git a/xemacs-21.5.28-courier-default.patch b/xemacs-21.5.28-courier-default.patch deleted file mode 100644 index 696fb5d..0000000 --- a/xemacs-21.5.28-courier-default.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- src/faces.c.orig 2017-12-27 10:00:10.468259293 -0700 -+++ src/faces.c 2017-12-27 10:01:24.744988448 -0700 -@@ -2524,7 +2524,7 @@ complex_vars_of_faces (void) - Fcons - (Fcons - (list1 (device_symbol), -- build_ascstring ("-*-lucidatypewriter-medium-r-*-*-*-120-*-*-m-*-*-*")), -+ build_ascstring ("-*-courier-medium-r-*-*-*-120-*-*-m-*-*-*")), - inst_list); - #endif /* HAVE_GTK */ - #endif /* !HAVE_XFT */ diff --git a/xemacs-21.5.29-x-server.patch b/xemacs-21.5.29-x-server.patch deleted file mode 100644 index f72b399..0000000 --- a/xemacs-21.5.29-x-server.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- ./lisp/x-init.el.orig 2012-08-02 12:38:28.000000000 -0600 -+++ ./lisp/x-init.el 2012-08-06 20:31:09.330411828 -0600 -@@ -154,7 +154,7 @@ it was previously unaware of, the predic - (string-equal "X Consortium" vendor)) - ;; Ok, we think this could be a Sun keyboard. Run the Sun code. - (x-win-init-sun device)) -- ((string-match #r"XFree86\|Cygwin/X\|The X\.Org Foundation" vendor) -+ ((string-match #r"XFree86\|Cygwin/X\|The X\.Org Foundation\|Fedora Project" vendor) - ;; Those XFree86 people do some weird keysym stuff, too. - (x-win-init-xfree86 device))))) - diff --git a/xemacs-21.5.34-alsaplay.patch b/xemacs-21.5.34-alsaplay.patch deleted file mode 100644 index eaa9b7c..0000000 --- a/xemacs-21.5.34-alsaplay.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- src/alsaplay.c.orig 2011-05-02 21:22:30.000000000 -0600 -+++ src/alsaplay.c 2015-10-03 10:33:52.961671169 -0600 -@@ -375,6 +375,10 @@ alsa_play_sound_data (const Binbyte *dat - if ((err = snd_pcm_writei (pcm_handle, data, length)) < 0) - goto error_mixer; - -+ /* Wait for it to finish */ -+ if ((err = snd_pcm_drain (pcm_handle)) < 0) -+ goto error_mixer; -+ - /* Put the volume back the way it used to be */ - reset_volume (&mix); - diff --git a/xemacs-21.5.34-data-start.patch b/xemacs-21.5.34-data-start.patch deleted file mode 100644 index a41dac2..0000000 --- a/xemacs-21.5.34-data-start.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- src/sysdep.c.orig 2017-12-28 13:34:54.000000000 -0700 -+++ src/sysdep.c 2017-12-28 17:06:55.763497550 -0700 -@@ -1969,7 +1969,8 @@ start_of_data (void) - if (!initialized) - return static_heap_base; - #endif -- return ((char *) &environ); -+ extern char _end; -+ return &_end; - #else - extern int data_start; - return ((char *) &data_start); diff --git a/xemacs-21.5.34-overflow.patch b/xemacs-21.5.34-overflow.patch deleted file mode 100644 index 94f6663..0000000 --- a/xemacs-21.5.34-overflow.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- src/alloca.c.orig 2017-12-28 13:34:54.000000000 -0700 -+++ src/alloca.c 2017-12-28 13:39:44.078644647 -0700 -@@ -177,15 +177,14 @@ xemacs_c_alloca (size_t size) - - { - #ifdef emacs -- size_t total_size = sizeof (header) + size; - register pointer new_; - -- if (total_size < size || ((Bytecount) (total_size) < 0)) -+ if (SIZE_MAX - size < sizeof(header)) - { - memory_full (); - } - -- new_ = xmalloc ((Bytecount) total_size); -+ new_ = xmalloc ((Bytecount) (size + sizeof(header))); - #else - register pointer new_ = malloc (sizeof (header) + size); - #endif diff --git a/xemacs-21.5.34-strsignal.patch b/xemacs-21.5.34-strsignal.patch deleted file mode 100644 index 02fa97b..0000000 --- a/xemacs-21.5.34-strsignal.patch +++ /dev/null @@ -1,85 +0,0 @@ ---- configure.orig 2020-07-22 15:06:06.967107535 -0600 -+++ configure 2020-07-22 15:09:53.877056156 -0600 -@@ -18093,7 +18093,7 @@ done - esac - - --for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp fsync ftime ftruncate getaddrinfo gethostname getnameinfo getpagesize getrlimit gettimeofday getcwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setsid sigblock sighold sigprocmask snprintf strerror strlwr strupr symlink tzset ulimit umask usleep vlimit vsnprintf waitpid wcscmp wcslen -+for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp fsync ftime ftruncate getaddrinfo gethostname getnameinfo getpagesize getrlimit gettimeofday getcwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setsid sigblock sighold sigprocmask snprintf strerror strlwr strsignal strupr symlink tzset ulimit umask usleep vlimit vsnprintf waitpid wcscmp wcslen - do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` - ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" ---- configure.ac.orig 2020-07-21 21:57:12.000000000 -0600 -+++ configure.ac 2020-07-22 15:09:48.023057483 -0600 -@@ -4563,7 +4563,7 @@ dnl ------------------------------------ - dnl Check for POSIX functions. - dnl ---------------------------------------------------------------- - --AC_CHECK_FUNCS(cbrt closedir dup2 eaccess fmod fpathconf frexp fsync ftime ftruncate getaddrinfo gethostname getnameinfo getpagesize getrlimit gettimeofday getcwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setsid sigblock sighold sigprocmask snprintf strerror strlwr strupr symlink tzset ulimit umask usleep vlimit vsnprintf waitpid wcscmp wcslen) -+AC_CHECK_FUNCS(cbrt closedir dup2 eaccess fmod fpathconf frexp fsync ftime ftruncate getaddrinfo gethostname getnameinfo getpagesize getrlimit gettimeofday getcwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setsid sigblock sighold sigprocmask snprintf strerror strlwr strsignal strupr symlink tzset ulimit umask usleep vlimit vsnprintf waitpid wcscmp wcslen) - - dnl getaddrinfo() is borked under hpux11 - if test "$ac_cv_func_getaddrinfo" != "no" ; then ---- src/config.h.in.orig 2020-07-21 21:57:12.000000000 -0600 -+++ src/config.h.in 2020-07-22 15:08:47.781071118 -0600 -@@ -417,6 +417,7 @@ things are arranged in config.h.in. In - #undef HAVE_SNPRINTF - #undef HAVE_STRERROR - #undef HAVE_STRLWR -+#undef HAVE_STRSIGNAL - #undef HAVE_STRUPR - #undef HAVE_SYMLINK - #undef HAVE_TZSET ---- src/process.c.orig 2020-07-21 21:57:12.000000000 -0600 -+++ src/process.c 2020-07-22 15:24:09.884978441 -0600 -@@ -1646,7 +1646,11 @@ const char * - signal_name (int signum) - { - if (signum >= 0 && signum < NSIG) -+#ifdef HAVE_STRSIGNAL -+ return strsignal (signum); -+#else - return (const char *) sys_siglist[signum]; -+#endif - - return (const char *) GETTEXT ("unknown signal"); - } ---- src/s/linux.h.orig 2020-07-21 21:57:12.000000000 -0600 -+++ src/s/linux.h 2020-07-22 15:11:55.884028996 -0600 -@@ -36,10 +36,6 @@ Boston, MA 02111-1307, USA. */ - - /* Deleted GNU_LIBRARY_PENDING_OUTPUT_COUNT -- unused in XEmacs */ - --/* This is needed for sysdep.c */ -- --#define HAVE_SYS_SIGLIST -- - /* #define POSIX -- not used in XEmacs */ - - /* Deleted TERM stuff -- probably hugely obsolete */ ---- src/sysdep.c.orig 2020-07-22 15:06:29.217102499 -0600 -+++ src/sysdep.c 2020-07-22 15:30:51.614011813 -0600 -@@ -3521,7 +3521,7 @@ get_random (void) - /* Strings corresponding to defined signals */ - /************************************************************************/ - --#if (!defined(HAVE_DECL_SYS_SIGLIST) || !HAVE_DECL_SYS_SIGLIST ) && !defined (HAVE_SYS_SIGLIST) -+#if !defined(HAVE_STRSIGNAL) && (!defined(HAVE_DECL_SYS_SIGLIST) || !HAVE_DECL_SYS_SIGLIST ) - - #if defined(WIN32_NATIVE) || defined(CYGWIN) - const char *sys_siglist[] = ---- src/syssignal.h.orig 2020-07-21 21:57:12.000000000 -0600 -+++ src/syssignal.h 2020-07-22 15:22:23.900976554 -0600 -@@ -263,10 +263,8 @@ signal_handler_t qxe_reliable_signal (in - # endif - #endif - --/* HAVE_DECL_SYS_SIGLIST is determined by configure. On Linux, it seems, -- configure incorrectly fails to find it, so s/linux.h defines -- HAVE_SYS_SIGLIST. */ --#if (!defined(HAVE_DECL_SYS_SIGLIST) || !HAVE_DECL_SYS_SIGLIST ) && !defined (HAVE_SYS_SIGLIST) -+/* Systems that have sys_siglist but do not declare it. */ -+#if !defined(HAVE_STRSIGNAL) && (!defined(HAVE_DECL_SYS_SIGLIST) || !HAVE_DECL_SYS_SIGLIST ) - extern const char *sys_siglist[]; - #endif - diff --git a/xemacs-21.5.34-utf8-fonts.patch b/xemacs-21.5.34-utf8-fonts.patch deleted file mode 100644 index 3f99b52..0000000 --- a/xemacs-21.5.34-utf8-fonts.patch +++ /dev/null @@ -1,64 +0,0 @@ ---- etc/Emacs.ad.orig 2013-08-21 11:43:43.000000000 -0600 -+++ etc/Emacs.ad 2013-10-24 20:00:00.000000000 -0600 -@@ -222,36 +222,40 @@ - ! *menubar*FontSet: -*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*, \ - ! -*-*-*-*-*-*-*-120-*-jisx0208.1983-0 - ! --*menubar*Font: -*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-* --*popup*Font: -*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-* --*menubar*FontSet: -*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*, \ -+*menubar*Font: -*-helvetica-bold-r-*-*-*-120-*-*-*-*-*-* -+*popup*Font: -*-helvetica-bold-r-*-*-*-120-*-*-*-*-*-* -+ -+XEmacs*FontSet: -*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso10646-1, \ -+ -*-helvetica-bold-r-*-*-*-120-*-*-*-*-*-*, \ -+ * -+*menubar*FontSet: -*-helvetica-bold-r-*-*-*-120-*-*-*-*-*-*, \ - -*-*-*-*-*-*-*-120-*-iso10646-1, \ - -*-*-*-*-*-*-*-120-*-jisx0208.1983-0, \ - -*-*-*-*-*-*-*-120-*-jisx0201.1976-0 --*popup*FontSet: -*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*, \ -+*popup*FontSet: -*-helvetica-bold-r-*-*-*-120-*-*-*-*-*-*, \ - -*-*-*-*-*-*-*-120-*-iso10646-1, \ - -*-*-*-*-*-*-*-120-*-jisx0208.1983-0, \ - -*-*-*-*-*-*-*-120-*-jisx0201.1976-0 - - ! Gui elements share this font - ! --Emacs.gui-element.attributeFont: -*-helvetica-medium-r-*-*-*-120-*-*-*-*-iso8859-* -+Emacs.gui-element.attributeFont: -*-helvetica-medium-r-*-*-*-120-*-*-*-*-*-* - - ! Font in the Motif dialog boxes. - ! (Motif uses `fontList' while most other things use `font' - if you don't - ! know why you probably don't want to.) - ! --*XmDialogShell*FontList: -*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-* --*XmTextField*FontList: -*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-* --*XmText*FontList: -*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-* --*XmList*FontList: -*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-* -+*XmDialogShell*FontList: -*-helvetica-bold-r-*-*-*-120-*-*-*-*-*-* -+*XmTextField*FontList: -*-courier-medium-r-*-*-*-120-*-*-*-*-*-* -+*XmText*FontList: -*-courier-medium-r-*-*-*-120-*-*-*-*-*-* -+*XmList*FontList: -*-courier-medium-r-*-*-*-120-*-*-*-*-*-* - - ! Font in the Athena dialog boxes. - ! I think 14-point looks nicer than 12-point. - ! Some people use 12-point anyway because you get more text, but - ! there's no purpose at all in doing this for dialog boxes. - --*Dialog*Font: -*-helvetica-bold-r-*-*-*-140-*-*-*-*-iso8859-* -+*Dialog*Font: -*-helvetica-bold-r-*-*-*-140-*-*-*-*-*-* - - ! Dialog box translations. - ! ======================= ---- lwlib/xlwmenu.c.orig 2013-08-21 11:43:43.000000000 -0600 -+++ lwlib/xlwmenu.c 2013-10-24 20:00:00.000000000 -0600 -@@ -108,7 +108,7 @@ - /* We must use an iso8859-1 font here, or people without $LANG set lose. - It's fair to assume that those who do have $LANG set also have the - *fontList resource set, or at least know how to deal with this. */ -- XtRString, (XtPointer) "-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-1"), -+ XtRString, (XtPointer) "-*-helvetica-bold-r-*-*-*-120-*-*-*-*-*-1"), - #else - fontres (XtNfont, XtCFont, XtRFontStruct, XFontStruct *, font, - "XtDefaultFont"), diff --git a/xemacs-21.5.34-xlinker.patch b/xemacs-21.5.34-xlinker.patch deleted file mode 100644 index 0b361f4..0000000 --- a/xemacs-21.5.34-xlinker.patch +++ /dev/null @@ -1,94 +0,0 @@ ---- configure.ac.orig 2021-08-04 09:10:32.405958685 -0600 -+++ configure.ac 2021-08-04 09:27:43.671827551 -0600 -@@ -186,7 +186,7 @@ if test "$GCC" = "yes"; then - case [$]1 in - -L | -l | -u ) [$1]="$[$1] [$]1 [$]2"; shift ;; - -L* | -l* | -u* | -Wl* | -pg ) [$1]="$[$1] [$]1" ;; -- -Xlinker* ) ;; -+ -Xlinker* | -specs* ) ;; - * ) [$1]="$[$1] -Xlinker [$]1" ;; - esac - shift ---- configure.orig 2021-08-04 09:10:32.515958873 -0600 -+++ configure 2021-08-04 09:29:53.325030055 -0600 -@@ -9768,7 +9768,7 @@ if test "$GCC" = "yes"; then - case $1 in - -L | -l | -u ) ld_switch_system="$ld_switch_system $1 $2"; shift ;; - -L* | -l* | -u* | -Wl* | -pg ) ld_switch_system="$ld_switch_system $1" ;; -- -Xlinker* ) ;; -+ -Xlinker* | -specs* ) ;; - * ) ld_switch_system="$ld_switch_system -Xlinker $1" ;; - esac - shift -@@ -9781,7 +9781,7 @@ if test "$GCC" = "yes"; then - case $1 in - -L | -l | -u ) ld_switch_machine="$ld_switch_machine $1 $2"; shift ;; - -L* | -l* | -u* | -Wl* | -pg ) ld_switch_machine="$ld_switch_machine $1" ;; -- -Xlinker* ) ;; -+ -Xlinker* | -specs* ) ;; - * ) ld_switch_machine="$ld_switch_machine -Xlinker $1" ;; - esac - shift -@@ -9794,7 +9794,7 @@ if test "$GCC" = "yes"; then - case $1 in - -L | -l | -u ) ld_switch_site="$ld_switch_site $1 $2"; shift ;; - -L* | -l* | -u* | -Wl* | -pg ) ld_switch_site="$ld_switch_site $1" ;; -- -Xlinker* ) ;; -+ -Xlinker* | -specs* ) ;; - * ) ld_switch_site="$ld_switch_site -Xlinker $1" ;; - esac - shift -@@ -9807,7 +9807,7 @@ if test "$GCC" = "yes"; then - case $1 in - -L | -l | -u ) LDFLAGS="$LDFLAGS $1 $2"; shift ;; - -L* | -l* | -u* | -Wl* | -pg ) LDFLAGS="$LDFLAGS $1" ;; -- -Xlinker* ) ;; -+ -Xlinker* | -specs* ) ;; - * ) LDFLAGS="$LDFLAGS -Xlinker $1" ;; - esac - shift -@@ -9820,7 +9820,7 @@ if test "$GCC" = "yes"; then - case $1 in - -L | -l | -u ) ld_call_shared="$ld_call_shared $1 $2"; shift ;; - -L* | -l* | -u* | -Wl* | -pg ) ld_call_shared="$ld_call_shared $1" ;; -- -Xlinker* ) ;; -+ -Xlinker* | -specs* ) ;; - * ) ld_call_shared="$ld_call_shared -Xlinker $1" ;; - esac - shift -@@ -10104,7 +10104,7 @@ if test "$GCC" = "yes"; then - case $1 in - -L | -l | -u ) xe_check_libs="$xe_check_libs $1 $2"; shift ;; - -L* | -l* | -u* | -Wl* | -pg ) xe_check_libs="$xe_check_libs $1" ;; -- -Xlinker* ) ;; -+ -Xlinker* | -specs* ) ;; - * ) xe_check_libs="$xe_check_libs -Xlinker $1" ;; - esac - shift -@@ -10188,7 +10188,7 @@ if test "$GCC" = "yes"; then - case $1 in - -L | -l | -u ) ld_switch_run="$ld_switch_run $1 $2"; shift ;; - -L* | -l* | -u* | -Wl* | -pg ) ld_switch_run="$ld_switch_run $1" ;; -- -Xlinker* ) ;; -+ -Xlinker* | -specs* ) ;; - * ) ld_switch_run="$ld_switch_run -Xlinker $1" ;; - esac - shift -@@ -13457,7 +13457,7 @@ if test "$GCC" = "yes"; then - case $1 in - -L | -l | -u ) ld_switch_run="$ld_switch_run $1 $2"; shift ;; - -L* | -l* | -u* | -Wl* | -pg ) ld_switch_run="$ld_switch_run $1" ;; -- -Xlinker* ) ;; -+ -Xlinker* | -specs* ) ;; - * ) ld_switch_run="$ld_switch_run -Xlinker $1" ;; - esac - shift -@@ -18065,7 +18065,7 @@ if test "$GCC" = "yes"; then - case $1 in - -L | -l | -u ) ld_switch_run="$ld_switch_run $1 $2"; shift ;; - -L* | -l* | -u* | -Wl* | -pg ) ld_switch_run="$ld_switch_run $1" ;; -- -Xlinker* ) ;; -+ -Xlinker* | -specs* ) ;; - * ) ld_switch_run="$ld_switch_run -Xlinker $1" ;; - esac - shift diff --git a/xemacs-sitestart.el b/xemacs-sitestart.el deleted file mode 100644 index 4fa0353..0000000 --- a/xemacs-sitestart.el +++ /dev/null @@ -1,156 +0,0 @@ -;;; site-start.el - loaded at startup before "~/.xemacs/init.el" -;;; -;;; The "-no-site-file" option to xemacs prevents this file from being loaded. - -;;; psgml catalog list -(setq sgml-catalog-files - (if (getenv "SGML_CATALOG_FILES") - (split-path (getenv "SGML_CATALOG_FILES")) - (list "CATALOG" "catalog" - "/etc/sgml/catalog" - "/etc/xml/catalog" - (locate-data-file "CATALOG")))) - -;; default to non-kerberos ftp -(setq efs-ftp-program-name "/usr/bin/ftp") - -;; default to unified diffs -(setq-default diff-switches "-u") - -;; decrease lazy-lock default threshold -(setq-default lazy-lock-minimum-size (* 2 1024)) - -;; load .el files in "site-start.d/" -(let ((files (directory-files - "/usr/share/xemacs/site-packages/lisp/site-start.d" t "\\.el$"))) - (mapc 'load-file files)) - -;; fix default courier italics -;; for courier, oblique usually produces better results than italic -(setq try-oblique-before-italic-fonts t) -(when window-system - (make-face-italic 'italic) - (make-face-italic 'bold-italic)) - -;; Set up language environment and coding systems -(when (featurep 'mule) - (let* ((locale (getenv "LANG")) - (lang-region (and locale - (substring locale 0 (min 5 (length locale))))) - (lang (and lang-region - (substring lang-region 0 (min 2 (length lang-region)))))) - (cond ((equal lang "af") - (set-language-environment "Afrikaans")) - ((equal lang "sq") - (set-language-environment "Albanian")) - ((equal lang "ca") - (set-language-environment "Catalan")) - ((or (equal lang-region "zh_TW") (equal lang-region "zh_HK")) - (set-language-environment "Chinese-BIG5")) - ((or (equal lang-region "zh_CN") (equal lang-region "zh_SG")) - (set-language-environment "Chinese-GB")) - ((equal lang "hr") - (set-language-environment "Croatian")) - ((equal lang "ru") - (set-language-environment "Cyrillic-KOI8")) - ((equal lang "cs") - (set-language-environment "Czech")) - ((equal lang "da") - (set-language-environment "Danish")) - ((equal lang "nl") - (set-language-environment "Dutch")) - ((equal lang "et") - (set-language-environment "Estonian")) - ((equal lang "fi") - (set-language-environment "Finnish")) - ((equal lang "fr") - (set-language-environment "French")) - ((equal lang "gl") - (set-language-environment "Galician")) - ((equal lang "de") - (set-language-environment "German")) - ((equal lang "el") - (set-language-environment "Greek")) - ((equal lang "kl") - (set-language-environment "Greenlandic")) - ((or (equal lang "he") (equal lang "iw")) - (set-language-environment "Hebrew")) - ((equal lang "hu") - (set-language-environment "Hungarian")) - ((equal lang "ga") - (set-language-environment "Irish")) - ((equal lang "it") - (set-language-environment "Italian")) - ((equal lang "ja") - (set-language-environment "Japanese")) - ((equal lang "ko") - (set-language-environment "Korean")) - ((equal lang "lt") - (set-language-environment "Lithuanian")) - ((equal lang "mt") - (set-language-environment "Maltese")) - ((or (equal lang "nb") (equal lang "nn") (equal lang "no")) - (set-language-environment "Norwegian")) - ((equal lang "pl") - (set-language-environment "Polish")) - ((equal lang "pt") - (set-language-environment "Portuguese")) - ((equal lang "ro") - (set-language-environment "Romanian")) - ((equal lang "sk") - (set-language-environment "Slovak")) - ((equal lang "sl") - (set-language-environment "Slovenian")) - ((equal lang "es") - (set-language-environment "Spanish")) - ((equal lang "sv") - (set-language-environment "Swedish")) - ((equal lang "th") - (set-language-environment "Thai-XTIS")) - ((equal lang "tr") - (set-language-environment "Turkish")) - ((equal lang "vi") - (set-language-environment "Vietnamese")) - (t - (set-language-environment "English"))) - - ;; set-language-environment changes the locale; restore it. - (setenv "LANG" locale) - (set-current-locale (or locale "C")) - - (let* ((tmp (shell-command-to-string "locale charmap")) - (tmp (substring tmp 0 (string-match "\[ \t\n\]" tmp))) - (tmp (intern (downcase tmp)))) - (when (find-coding-system tmp) - (let ((cat (or (coding-system-category tmp) tmp))) - (set-coding-priority-list (list cat)) - (set-coding-category-system cat tmp)) - (set-default-output-coding-systems tmp) - (set-keyboard-coding-system tmp) - (set-terminal-coding-system tmp) - (setq file-name-coding-system tmp) - (setq process-coding-system-alist (cons (cons ".*" tmp) '())) - (define-coding-system-alias 'native tmp))) - - ;; Register available Input Methods. - (load "leim-list" t) - (when (member lang '("ja" "ko" "zh")) - ;; ispell doesn't support CJK - (setq-default ispell-local-dictionary "english")))) - -;; Set input mode -;(let ((value (current-input-mode))) -; (set-input-mode (nth 0 value) -; (nth 1 value) -; (terminal-coding-system) -; ;; This quit value is optional -; (nth 3 value))) - -;; try to preserve user/group when saving files -(setq-default backup-by-copying-when-mismatch t) - -;; when saving a buffer always end it with a newline -(setq-default require-final-newline t) - -;; the graphical progress bar is buggy - disable it by default (#188973) -(setq-default progress-feedback-use-echo-area t) diff --git a/xemacs-snapshot.sh b/xemacs-snapshot.sh deleted file mode 100755 index fb235dc..0000000 --- a/xemacs-snapshot.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/bash - -set -e - -if [ -z "$1" -o $# -ne 1 ]; then - echo "Usage: $0 " - exit 2 -fi - -rev="$1" -tmp=$(mktemp -d) -tarball="xemacs-$(date +%Y%m%d)hg$rev.tar" - -trap cleanup EXIT -cleanup() { - set +e - [ -z "$tmp" -o ! -d "$tmp" ] || rm -rf "$tmp" -} - -unset CDPATH -pwd=$(pwd) -now=$(date +%Y%m%d) - -cd "$tmp" -hg clone https://bitbucket.org/xemacs/xemacs xemacs-beta -cd xemacs-beta -hg update -r "$rev" -# Hack to avoid needing .hg/ around but still getting xemacs-extra-name right -hg identify | cut -d " " -f 1 >> version.sh.in # see configure.ac -rm -r .hg* -cd .. -tar cf "$pwd/$tarball" xemacs-beta -xz -9f "$pwd/$tarball" -cd - >/dev/null diff --git a/xemacs.appdata.xml b/xemacs.appdata.xml deleted file mode 100644 index 00c4be6..0000000 --- a/xemacs.appdata.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - xemacs.desktop - CC0 - GPL-3.0+ - XEmacs - Different version of Emacs - -

- XEmacs is a highly customizable open source text editor and application - development system. -

-

XEmacs is protected under the GNU General Public License. It is related - to other versions of Emacs, in particular GNU Emacs. Its emphasis is on - modern graphical user interface support and an open software development - model, similar to Linux. -

-
- - - http://www.xemacs.org/Images/gnus.png - Gnus in XEmacs - - - http://www.xemacs.org/Images/custom.png - Customize buffer - - - james@xemacs.org - http://www.xemacs.org/ - http://tracker.xemacs.org/XEmacs/its/ -
diff --git a/xemacs.desktop b/xemacs.desktop deleted file mode 100644 index 817c6d9..0000000 --- a/xemacs.desktop +++ /dev/null @@ -1,34 +0,0 @@ -[Desktop Entry] -Name=XEmacs Text Editor -Name[bg]=редактор XEmacs -Name[ca]=Editor XEmacs -Name[cs]=Editor XEmacs -Name[da]=XEmacs tekstredigerer -Name[de]=XEmacs Texteditor -Name[eo]=La redaktilo XEmakso -Name[es]=Emacs para X -Name[et]=Emacs X'i kasutajaliidesega -Name[fi]=XEmacs editori -Name[fr]=Éditeur XEmacs -Name[hu]=XEmacs szövegszerkesztő -Name[is]=XEmacs-ritill -Name[it]=Emacs per X -Name[ja]=XEmacs テキスト・エディター -Name[mk]=Софистицираниот XEmacs уредувач -Name[no]=XEmacs-tekstredigerer -Name[pt]=Editor XEmacs -Name[ro]=Editorul XEmacs -Name[ru]=Редактор XEmacs -Name[sk]=Editor XEmacs -Name[sl]=Urejevalnik XEmacs -Name[uk]=Редактор XEmacs -GenericName=Text Editor -Comment=Edit text -Comment[zh_TW]=編輯文字 -MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++; -Exec=xemacs %f -Icon=xemacs -Type=Application -Terminal=false -Categories=Application;Utility;TextEditor; -StartupWMClass=XEmacs diff --git a/xemacs.spec b/xemacs.spec deleted file mode 100644 index 32c9c3d..0000000 --- a/xemacs.spec +++ /dev/null @@ -1,1078 +0,0 @@ -# The garbage collector does not work with PIE -%undefine _hardened_build - -# TODO: review desktop entry associations (does text/* work?) -# TODO: zero-length /usr/share/xemacs-21.5-b26/lisp/dump-paths.el -# TODO: non-ASCII in buffer tabs - -%bcond_with gtk -%bcond_with wnn -%bcond_with xaw3d -%bcond_with xfs -%bcond_with xim -%bcond_without mule -%bcond_without nox -%ifarch ia64 -# no-expdyn-ia64 patch, https://bugzilla.redhat.com/show_bug.cgi?id=106744#c39 -%bcond_with modules -%else -%bcond_without modules -%endif - -%global snap 20200331hge2ac728aa576 - -Name: xemacs -Version: 21.5.34 -Release: 42%{?snap:.%{snap}}%{?dist} -Summary: Different version of Emacs - -%global majver %(cut -d. -f1-2 <<<%{version}) - -License: GPLv3+ -URL: http://www.xemacs.org/ -%if 0%{?snap:1} -Source0: %{name}-%{snap}.tar.xz -%else -Source0: http://ftp.xemacs.org/xemacs-%{majver}/xemacs-%{version}.tar.gz -%endif -Source1: %{name}.appdata.xml -Source2: xemacs.desktop -Source3: dotxemacs-init.el -Source4: default.el -Source5: xemacs-sitestart.el -Source6: gnuclient.desktop - -# Fedora-specific. Don't run the check-features Makefile target. It checks -# that necessary packages are installed, but they aren't installed while -# building an RPM. -Patch0: %{name}-21.5.25-mk-nochk-features.patch -# Experimental patch. Fix WNN support. This patch is no longer sufficient. -# WNN still doesn't work. -Patch1: %{name}-21.5.25-wnnfix-128362.patch -# Fedora-specific. Don't force ISO-8859 fonts. -Patch2: %{name}-21.5.34-utf8-fonts.patch -# Experimental patch, to be sent upstream eventually. Don't use -# -export-dynamic on IA64; leads to segfaults due to function pointer issues. -Patch3: %{name}-21.5.27-no-expdyn-ia64-106744.patch -# Fedora-specific. Default to courier instead of lucidatypewriter. -Patch4: %{name}-21.5.28-courier-default.patch -# Fedora-specific. Recognize the Fedora X server. -Patch5: %{name}-21.5.29-x-server.patch -# Submitted upstream by Henry Thompson: fix playing sounds through ALSA -Patch6: %{name}-21.5.34-alsaplay.patch -# Submitted upstream 28 Dec 2017: do not rely on integer overflow wrapping -Patch7: %{name}-21.5.34-overflow.patch -# Submitted upstream 28 Dec 2017: better computation of data start address -Patch8: %{name}-21.5.34-data-start.patch -# Submitted upstream 22 Jul 2020: Use strsignal() in preference to sys_siglist -Patch9: %{name}-21.5.34-strsignal.patch -# Do not protect -specs=* with -Xlinker -Patch10: %{name}-21.5.34-xlinker.patch - -BuildRequires: compface-devel -BuildRequires: desktop-file-utils -%if %{with mule} -%if %{with wnn} -BuildRequires: FreeWnn-devel -%endif -%endif -BuildRequires: gcc -BuildRequires: gdbm-devel -BuildRequires: giflib-devel -BuildRequires: gmp-devel -BuildRequires: gpm-devel -BuildRequires: make -BuildRequires: openldap-devel -BuildRequires: pam-devel -BuildRequires: pkgconfig(alsa) -BuildRequires: pkgconfig(libjpeg) -BuildRequires: pkgconfig(libpng) -BuildRequires: pkgconfig(libtiff-4) -BuildRequires: pkgconfig(ncurses) -BuildRequires: pkgconfig(openssl) -BuildRequires: pkgconfig(xau) -BuildRequires: pkgconfig(xft) -BuildRequires: pkgconfig(xpm) -BuildRequires: pkgconfig(zlib) -BuildRequires: texinfo -BuildRequires: xmkmf -%if %{with gtk} -BuildRequires: pkgconfig(gtk+-3.0) -%else -BuildRequires: xorg-x11-xbitmaps -%if %{with xaw3d} -BuildRequires: pkgconfig(xaw3d) -%else -BuildRequires: neXtaw-devel -%endif -%endif -# Note: no xemacs-packages-extra dependency here, need main pkg to build it. -Requires: xemacs-packages-base -Requires: %{name}-common = %{version}-%{release} -Requires: xorg-x11-fonts-ISO8859-1-75dpi -Requires: xorg-x11-fonts-ISO8859-1-100dpi -Requires: xorg-x11-fonts-misc -Requires(post): alternatives -Requires(post): coreutils -Requires(postun): alternatives -Requires(postun): coreutils -Provides: xemacs(bin) = %{version}-%{release} - -# https://fedoraproject.org/wiki/Changes/Deprecate_xemacs -# https://bugzilla.redhat.com/show_bug.cgi?id=1916926 -Provides: deprecated() - -%global xver %(echo %{version} | sed -e 's/\\.\\([0-9]\\+\\)$/-b\\1/') -%global xbuild %(echo %{_build} | sed -e 's/^\\([^-]*-[^-]*-[^-]*\\).*/\\1/') - -%description -XEmacs is a highly customizable open source text editor and -application development system. It is protected under the GNU General -Public License and related to other versions of Emacs, in particular -GNU Emacs. Its emphasis is on modern graphical user interface support -and an open software development model, similar to Linux. - -This package contains XEmacs built for X Windows%{?with_mule: with MULE support}. - -%package common -Summary: Lisp files and other common files for XEmacs -Requires: %{name}-filesystem = %{version}-%{release} -Requires(post): alternatives -Requires(preun): alternatives - -# https://fedoraproject.org/wiki/Changes/Deprecate_xemacs -# https://bugzilla.redhat.com/show_bug.cgi?id=1916926 -Provides: deprecated() - -%description common -XEmacs is a highly customizable open source text editor and -application development system. It is protected under the GNU General -Public License and related to other versions of Emacs, in particular -GNU Emacs. Its emphasis is on modern graphical user interface support -and an open software development model, similar to Linux. - -This package contains lisp and other common files for XEmacs. - -%package nox -Summary: Different version of Emacs built without X Windows support -# Note: no xemacs-packages* dependencies here, we need -nox to build the -# base package set. -Requires: %{name}-common = %{version}-%{release} -Requires(post): alternatives -Requires(post): coreutils -Requires(postun): alternatives -Provides: xemacs(bin) = %{version}-%{release} - -# https://fedoraproject.org/wiki/Changes/Deprecate_xemacs -# https://bugzilla.redhat.com/show_bug.cgi?id=1916926 -Provides: deprecated() - -%description nox -XEmacs is a highly customizable open source text editor and -application development system. It is protected under the GNU General -Public License and related to other versions of Emacs, in particular -GNU Emacs. Its emphasis is on modern graphical user interface support -and an open software development model, similar to Linux. - -This package contains XEmacs built without X Windows support. - -%package xft -Summary: Different version of Emacs built with Xft/fontconfig support -Requires: %{name}-common = %{version}-%{release} -Requires: xemacs-packages-base -Requires(post): alternatives -Requires(post): coreutils -Requires(postun): alternatives -Provides: xemacs(bin) = %{version}-%{release} - -# https://fedoraproject.org/wiki/Changes/Deprecate_xemacs -# https://bugzilla.redhat.com/show_bug.cgi?id=1916926 -Provides: deprecated() - -%description xft -XEmacs is a highly customizable open source text editor and -application development system. It is protected under the GNU General -Public License and related to other versions of Emacs, in particular -GNU Emacs. Its emphasis is on modern graphical user interface support -and an open software development model, similar to Linux. - -This package contains XEmacs built with Xft and fontconfig support. - -%package info -Summary: XEmacs documentation in GNU texinfo format -BuildArch: noarch -Requires(post): info -Requires(preun): info - -# https://fedoraproject.org/wiki/Changes/Deprecate_xemacs -# https://bugzilla.redhat.com/show_bug.cgi?id=1916926 -Provides: deprecated() - -%description info -XEmacs is a highly customizable open source text editor and -application development system. It is protected under the GNU General -Public License and related to other versions of Emacs, in particular -GNU Emacs. Its emphasis is on modern graphical user interface support -and an open software development model, similar to Linux. - -This package contains XEmacs documentation in GNU texinfo format. - -%package devel -Summary: Development files for XEmacs -Requires: %{name}%{?_isa} = %{version}-%{release} -Requires: pkgconfig - -# https://fedoraproject.org/wiki/Changes/Deprecate_xemacs -# https://bugzilla.redhat.com/show_bug.cgi?id=1916926 -Provides: deprecated() - -%description devel -XEmacs is a highly customizable open source text editor and -application development system. It is protected under the GNU General -Public License and related to other versions of Emacs, in particular -GNU Emacs. Its emphasis is on modern graphical user interface support -and an open software development model, similar to Linux. - -This package contains XEmacs development support files. - -%package filesystem -Summary: XEmacs filesystem layout -BuildArch: noarch - -# https://fedoraproject.org/wiki/Changes/Deprecate_xemacs -# https://bugzilla.redhat.com/show_bug.cgi?id=1916926 -Provides: deprecated() - -%description filesystem -XEmacs is a highly customizable open source text editor and -application development system. It is protected under the GNU General -Public License and related to other versions of Emacs, in particular -GNU Emacs. Its emphasis is on modern graphical user interface support -and an open software development model, similar to Linux. - -This package contains directories that are required by other packages that -add functionality to XEmacs. - -%prep -%autosetup -p0 -n %{name}-%{?snap:beta}%{!?snap:%{version}} -find . -type f -name "*.elc" -o -name "*.info*" -delete -sed -i -e /tetris/d lisp/menubar-items.el - -sed -e 's/"lib"/"%{_lib}"/' lisp/setup-paths.el > lisp/setup-paths.el.new -touch -r lisp/setup-paths.el lisp/setup-paths.el.new -mv -f lisp/setup-paths.el.new lisp/setup-paths.el - -for f in man/internals/internals.texi man/lispref/mule.texi man/xemacs-faq.texi CHANGES-beta -do - iconv -f iso-8859-1 -t utf-8 -o $f.utf8 $f - touch -r $f $f.utf8 - mv -f $f.utf8 $f -done - -# Get reproducible builds by setting the compiling username -mkdir ~/.xemacs -echo >> ~/.xemacs/custom.el << EOF -(custom-set-variables - '(user-mail-address "mockbuild@fedoraproject.org")) -EOF - - -%build -CFLAGS="%{build_cflags} -fno-strict-aliasing" -export CFLAGS -export EMACSLOADPATH=$PWD/lisp:$PWD/lisp/mule -export LDFLAGS="%{build_ldflags}" - -# The --with-*dir args can probably go away in the future if/when upstream -# configure learns to honor standard autofoo dirs better. -common_options=" - --mandir=%{_mandir}/man1 - --with-archlibdir=%{_libdir}/xemacs-%{xver}/%{xbuild} -%if %{with modules} - --with-moduledir=%{_libdir}/xemacs-%{xver}/%{xbuild}/modules -%endif - --with-lispdir=%{_datadir}/xemacs-%{xver}/lisp - --with-etcdir=%{_datadir}/xemacs-%{xver}/etc - --with-system-packages=%{_datadir}/xemacs - --without-msw -%if %{with mule} - --with-mule - --with-unicode-internal - --without-canna -%endif - --with-clash-detection - --with-database=gdbm - --with-ldap - --without-postgresql - --with-mail-locking=lockf - --with-pop - --without-hesiod - --with-tls=openssl - --with-pdump -%if ! %{with modules} - --without-modules -%endif - --with-debug - --with-error-checking=none - --enable-bignum=gmp - --with-union-type -" - -%if %{with nox} -# build without X -%configure $common_options \ - --with-docdir=%{_libdir}/xemacs-%{xver}/doc-nox \ - --with-sound=none \ - --with-xim=no \ - --without-wnn \ - --without-x -make EMACSDEBUGPATHS=yes # toplevel parallel make fails -mv lib-src/DOC{,-nox} -mv src/xemacs{,-nox-%{xver}} -mv lib-src/config.values{,-nox} -mv Installation{,-nox} -%endif - -# build with Xft -%configure $common_options \ - --with-docdir=%{_libdir}/xemacs-%{xver}/doc-xft \ - --with-sound=nonative,alsa \ - --with-xft=all \ -%if %{with gtk} - --with-gtk \ - --with-gnome \ -%else - --with-athena=%{?with_xaw3d:3d}%{!?with_xaw3d:next} \ - --with-menubars=lucid \ - --with-widgets=athena \ - --with-dialogs=athena \ - --with-scrollbars=lucid \ - --with-xim=%{?with_xim:xlib}%{!?with_xim:no} \ -%endif -%if ! %{with wnn} - --without-wnn -%endif -make EMACSDEBUGPATHS=yes # toplevel parallel make fails -mv lib-src/DOC{,-xft} -mv src/xemacs{,-xft-%{xver}} -mv lib-src/config.values{,-xft} -mv Installation{,-xft} - -# build with X -%configure $common_options \ - --with-docdir=%{_libdir}/xemacs-%{xver}/doc \ - --with-sound=nonative,alsa \ -%if %{with xft} - --with-xft=all \ -%else -%if %{with xfs} - --with-xfs \ -%endif -%endif -%if %{with gtk} - --with-gtk \ - --with-gnome \ -%else - --with-athena=%{?with_xaw3d:3d}%{!?with_xaw3d:next} \ - --with-menubars=lucid \ - --with-widgets=athena \ - --with-dialogs=athena \ - --with-scrollbars=lucid \ - --with-xim=%{?with_xim:xlib}%{!?with_xim:no} \ -%endif -%if ! %{with wnn} - --without-wnn -%endif - -make EMACSDEBUGPATHS=yes # toplevel parallel make fails - -cat << \EOF > xemacs.pc -prefix=%{_prefix} -%if %{with modules} -includedir=%{_libdir}/xemacs-%{xver}/%{xbuild}/include -sitemoduledir=%{_libdir}/xemacs/site-modules -%endif -sitestartdir=%{_datadir}/xemacs/site-packages/lisp/site-start.d -sitepkglispdir=%{_datadir}/xemacs/site-packages/lisp - -Name: xemacs -Description: Different version of Emacs -Version: %{version} -%if %{with modules} -Cflags: -I${includedir} -%endif -EOF - -cat > macros.xemacs << EOF -%%_xemacs_version %{majver} -%%_xemacs_ev %{?epoch:%{epoch}:}%{version} -%%_xemacs_evr %{?epoch:%{epoch}:}%{version}-%{release} -%%_xemacs_sitepkgdir %{_datadir}/xemacs/site-packages -%%_xemacs_sitelispdir %{_datadir}/xemacs/site-packages/lisp -%%_xemacs_sitestartdir %{_datadir}/xemacs/site-packages/lisp/site-start.d -%%_xemacs_bytecompile /usr/bin/xemacs -q -no-site-file -batch -eval '(push "." load-path)' -f batch-byte-compile -%if %{with modules} -%%_xemacs_includedir %{_libdir}/xemacs-%{xver}/%{xbuild}/include -%%_xemacs_sitemoduledir %{_libdir}/xemacs/site-modules -%endif -EOF - -%install -%make_install - -# Compress the .el files -find %{buildroot}%{_datadir}/xemacs-%{xver} -name \*.el -exec gzip --best {} \+ - -%if %{with nox} -# install nox files -echo ".so man1/xemacs.1" > $RPM_BUILD_ROOT%{_mandir}/man1/xemacs-nox.1 -install -pm 755 src/xemacs-nox-%{xver} $RPM_BUILD_ROOT%{_bindir} -ln -s xemacs-nox-%{xver} $RPM_BUILD_ROOT%{_bindir}/xemacs-nox -install -dm 755 $RPM_BUILD_ROOT%{_libdir}/xemacs-%{xver}/doc-nox -install -pm 644 lib-src/DOC-nox \ - $RPM_BUILD_ROOT%{_libdir}/xemacs-%{xver}/doc-nox/DOC -install -pm 644 lib-src/config.values-nox \ - $RPM_BUILD_ROOT%{_libdir}/xemacs-%{xver}/doc-nox/config.values -%endif - -# install xft files -echo ".so man1/xemacs.1" > $RPM_BUILD_ROOT%{_mandir}/man1/xemacs-xft.1 -install -pm 755 src/xemacs-xft-%{xver} $RPM_BUILD_ROOT%{_bindir} -ln -s xemacs-xft-%{xver} $RPM_BUILD_ROOT%{_bindir}/xemacs-xft -install -dm 755 $RPM_BUILD_ROOT%{_libdir}/xemacs-%{xver}/doc-xft -install -pm 644 lib-src/DOC-xft \ - $RPM_BUILD_ROOT%{_libdir}/xemacs-%{xver}/doc-xft/DOC -install -pm 644 lib-src/config.values-xft \ - $RPM_BUILD_ROOT%{_libdir}/xemacs-%{xver}/doc-xft/config.values - -# these clash with GNU Emacs -mv $RPM_BUILD_ROOT%{_bindir}/etags{,.xemacs} -rm -f $RPM_BUILD_ROOT%{_bindir}/{ctags,rcs-checkin,b2m} -mv $RPM_BUILD_ROOT%{_mandir}/man1/etags{,.xemacs}.1 -rm -f $RPM_BUILD_ROOT%{_mandir}/man1/ctags.1 -rm -f $RPM_BUILD_ROOT%{_infodir}/{cl,widget}.info* - -# these clash with other packages -rm -f $RPM_BUILD_ROOT%{_infodir}/info* -rm -f $RPM_BUILD_ROOT%{_infodir}/standards* -rm -f $RPM_BUILD_ROOT%{_infodir}/termcap* -rm -f $RPM_BUILD_ROOT%{_infodir}/dir - -desktop-file-install --mode=644 --dir=$RPM_BUILD_ROOT%{_datadir}/applications \ - %{SOURCE2} - -desktop-file-install --mode=644 --dir=$RPM_BUILD_ROOT%{_datadir}/applications \ - %{SOURCE6} - -# AppData file -mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata -install -pm 644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/appdata - -# site-start.el -install -dm 755 \ - $RPM_BUILD_ROOT%{_datadir}/xemacs/site-packages/lisp/site-start.d -install -pm 644 %{SOURCE5} \ - $RPM_BUILD_ROOT%{_datadir}/xemacs/site-packages/lisp/site-start.el - -# default.el -install -pm 644 %{SOURCE4} $RPM_BUILD_ROOT%{_datadir}/xemacs/site-packages/lisp - -# default user init file -install -Dpm 644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/skel/.xemacs/init.el - -# icon -install -Dpm 644 etc/xemacs-icon.svg \ - $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/scalable/apps/xemacs.png - -# macro file -install -Dpm 644 macros.xemacs $RPM_BUILD_ROOT%{_rpmconfigdir}/macros.d/macros.%{name} - -# Empty directories for external packages to use -mkdir -m 0755 $RPM_BUILD_ROOT%{_datadir}/xemacs/site-packages/etc -mkdir -m 0755 $RPM_BUILD_ROOT%{_datadir}/xemacs/site-packages/info -mkdir -m 0755 $RPM_BUILD_ROOT%{_datadir}/xemacs/site-packages/lib-src -mkdir -m 0755 $RPM_BUILD_ROOT%{_datadir}/xemacs/site-packages/man -mkdir -m 0755 $RPM_BUILD_ROOT%{_datadir}/xemacs/site-packages/pkginfo - -# make sure nothing is 0400 -chmod -R a+rX $RPM_BUILD_ROOT%{_prefix} -chmod a+x $RPM_BUILD_ROOT%{_datadir}/xemacs-%{xver}%{_sysconfdir}/xemacs-fe.sh - -# clean up unneeded stuff (TODO: there's probably much more) -find $RPM_BUILD_ROOT%{_prefix} -name "*~" | xargs -r rm -rm $RPM_BUILD_ROOT%{_libdir}/xemacs-%{xver}/%{xbuild}/gzip-el.sh -rm $RPM_BUILD_ROOT{%{_bindir}/gnuattach,%{_mandir}/man1/gnuattach.1} -pushd $RPM_BUILD_ROOT%{_datadir}/xemacs-%{xver}/etc -rm -r InstallGuide tests XKeysymDB *.1 -popd - -# Generate file list and make site-packages lisp files config files. -# (Note: The double-quote before "(noreplace)" is only to work around -# a bug in rpm-spec-mode). -find $RPM_BUILD_ROOT \ - \( -path $RPM_BUILD_ROOT%{_datadir}/xemacs-%{xver} -o \ - -path $RPM_BUILD_ROOT%{_datadir}/xemacs-%{xver}/\* -o \ - -path $RPM_BUILD_ROOT%{_datadir}/xemacs/site-packages/lisp/\* \) -a \ - \( \( -type d -not -name site-start.d -fprintf base-files "%%%%dir /%%P\n" \) -o \ - \( -type f -path $RPM_BUILD_ROOT%{_datadir}/xemacs/site-packages/lisp/\*.el.gz -not -exec test -e {}c \; -fprintf base-files "%%%%config""(noreplace) /%%P\n" \) -o \ - \( -type f -fprintf base-files "/%%P\n" \) \) - -install -Dpm 644 xemacs.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/xemacs.pc - -%check -%make_build check - - -%post -%{_sbindir}/alternatives --install %{_bindir}/xemacs xemacs \ - %{_bindir}/xemacs-%{xver} 80 - -%postun -[ -e %{_bindir}/xemacs-%{xver} ] || \ -%{_sbindir}/alternatives --remove xemacs %{_bindir}/xemacs-%{xver} - -%post nox -%{_sbindir}/alternatives --install %{_bindir}/xemacs xemacs \ - %{_bindir}/xemacs-nox-%{xver} 40 || : - -%postun nox -[ -e %{_bindir}/xemacs-nox-%{xver} ] || \ -%{_sbindir}/alternatives --remove xemacs %{_bindir}/xemacs-nox-%{xver} || : - -%post xft -%{_sbindir}/alternatives --install %{_bindir}/xemacs xemacs \ - %{_bindir}/xemacs-xft-%{xver} 40 || : - -%postun xft -[ -e %{_bindir}/xemacs-xft-%{xver} ] || \ -%{_sbindir}/alternatives --remove xemacs %{_bindir}/xemacs-xft-%{xver} || : - -%post common -%{_sbindir}/alternatives --install %{_bindir}/etags etags \ - %{_bindir}/etags.xemacs 40 || : - -%preun common -[ $1 -ne 0 ] || \ -%{_sbindir}/alternatives --remove etags %{_bindir}/etags.xemacs || : - - -%files -%doc Installation -# gnuclient needs X libs, so not in -common -%{_bindir}/gnuclient -%{_bindir}/gnudoit -%ghost %{_bindir}/xemacs -%{_bindir}/xemacs-%{xver} -%{_libdir}/xemacs-%{xver}/doc/ -%{_datadir}/appdata/%{name}.appdata.xml -%{_datadir}/applications/%{name}.desktop -%{_datadir}/applications/gnuclient.desktop -%{_datadir}/icons/hicolor/scalable/apps/xemacs.png -%{_mandir}/man1/gnuclient.1* -%{_mandir}/man1/gnudoit.1* - -%if %{with nox} -%files nox -%doc Installation-nox -%ghost %{_bindir}/xemacs -%{_bindir}/xemacs-nox -%{_bindir}/xemacs-nox-%{xver} -%{_libdir}/xemacs-%{xver}/doc-nox/ -%{_mandir}/man1/xemacs-nox.1* -%endif - -%files xft -%doc Installation-xft -%ghost %{_bindir}/xemacs -%{_bindir}/xemacs-xft -%{_bindir}/xemacs-xft-%{xver} -%{_libdir}/xemacs-%{xver}/doc-xft/ -%{_mandir}/man1/xemacs-xft.1* - -%files common -f base-files -%doc INSTALL README PROBLEMS CHANGES-beta etc/NEWS etc/TUTORIAL -%license COPYING -%{_bindir}/etags.xemacs -%{_bindir}/ootags -%{_bindir}/xemacs-script -%dir %{_libdir}/xemacs-%{xver}/ -%dir %{_libdir}/xemacs-%{xver}/%{xbuild}/ -%{_libdir}/xemacs-%{xver}/%{xbuild}/[acdfghprsvwy]* -%{_libdir}/xemacs-%{xver}/%{xbuild}/m[am]* -%{_libdir}/xemacs-%{xver}/%{xbuild}/movemail -%if %{with modules} -%{_libdir}/xemacs/ -%dir %{_libdir}/xemacs-%{xver}/%{xbuild}/modules/ -%{_libdir}/xemacs-%{xver}/%{xbuild}/modules/auto-autoloads.el -%{_libdir}/xemacs-%{xver}/%{xbuild}/modules/auto-autoloads.elc -%{_libdir}/xemacs-%{xver}/%{xbuild}/modules/eldap.ell -%endif -%{_rpmconfigdir}/macros.d/macros.%{name} -%config(noreplace) %{_sysconfdir}/skel/.xemacs/ -%{_mandir}/man1/etags.xemacs.1* -%{_mandir}/man1/gnuserv.1* -%{_mandir}/man1/xemacs.1* - -%files info -%license COPYING -%{_infodir}/*.info* - -%files devel -%if %{with modules} -%{_bindir}/ellcc -%{_libdir}/xemacs-%{xver}/%{xbuild}/include/ -%endif -%{_libdir}/pkgconfig/xemacs.pc - -%files filesystem -%dir %{_datadir}/xemacs -%dir %{_datadir}/xemacs/site-lisp -%dir %{_datadir}/xemacs/site-packages -%dir %{_datadir}/xemacs/site-packages/etc -%dir %{_datadir}/xemacs/site-packages/info -%dir %{_datadir}/xemacs/site-packages/lib-src -%dir %{_datadir}/xemacs/site-packages/lisp -%dir %{_datadir}/xemacs/site-packages/lisp/site-start.d -%dir %{_datadir}/xemacs/site-packages/man -%dir %{_datadir}/xemacs/site-packages/pkginfo - -%changelog -* Tue Sep 14 2021 Sahana Prasad - 21.5.34-42.20200331hge2ac728aa576 -- Rebuilt with OpenSSL 3.0.0 - -* Wed Aug 4 2021 Jerry James - 21.5.34-41.20200331hge2ac728aa576 -- Add -xlinker patch to fix link failure - -* Fri Jul 23 2021 Fedora Release Engineering - 21.5.34-40.20200331hge2ac728aa576 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Wed Jan 27 2021 Fedora Release Engineering - 21.5.34-39.20200331hge2ac728aa576 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Thu Jan 21 2021 Jerry James - 21.5.34-38.20200331hge2ac728aa576 -- Mark as deprecated (bz 1916926) - -* Wed Jul 29 2020 Fedora Release Engineering - 21.5.34-38.20200331hge2ac728aa576 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Wed Jul 22 2020 Jerry James - 21.5.34-37.20200331hge2ac728aa576 -- Update to latest mercurial snapshot for miscellaneous bug fixes -- Add -strsignal patch to fix build with latest glibc - -* Tue Jul 14 2020 Tom Stellard - 21.5.34-36.20190323hgc0ed7ef9a5a1 -- Use make macros -- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro - -* Fri Jan 31 2020 Fedora Release Engineering - 21.5.34-35.20190323hgc0ed7ef9a5a1 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Tue Jan 28 2020 Jerry James - 21.5.34-3420190323hgc0ed7ef9a5a1 -- Replace libdb with gdbm -- Use pkgconfig BRs - -* Sat Jul 27 2019 Fedora Release Engineering - 21.5.34-34.20190323hgc0ed7ef9a5a1 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Thu Mar 21 2019 Tim Landscheidt - 21.5.34-33.20190323hgc0ed7ef9a5a1 -- Obsolete -el subpackage -- Remove needless use of %%defattr -- Simplify generation of file list -- Enable test suite - -* Thu Mar 21 2019 Jerry James - 21.5.34-33.20190323hgc0ed7ef9a5a1 -- Update to latest mercurial snapshot for miscellaneous bug fixes -- Switch from NSS to OpenSSL -- Build with openldap support -- Compress the Lisp source files - -* Sun Feb 03 2019 Fedora Release Engineering - 21.5.34-32.20171230hg92757c2b8239 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Sun Oct 14 2018 Peter Robinson 21.5.34-31.20171230hg92757c2b8239 -- Update alternatives dep - -* Sat Jul 14 2018 Fedora Release Engineering - 21.5.34-30.20171230hg92757c2b8239 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Sat Mar 3 2018 Jerry James - 21.5.34-29.20171230hg92757c2b8239 -- Update to latest mercurial snapshot for miscellaneous bug fixes -- Remove obsolete scriptlets -- Drop upstreamed -endian, -gcpro, and -format-overflow patches -- Install a scalable icon - -* Sun Feb 11 2018 Sandro Mani - 21.5.34-28.20171227hg27f66ce6ab71 -- Rebuild (giflib) - -* Fri Feb 09 2018 Fedora Release Engineering - 21.5.34-27.20171227hg27f66ce6ab71 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Thu Dec 28 2017 Jerry James - 21.5.34-26.20171227hg27f66ce6ab71 -- Update to latest mercurial snapshot for Unicode support -- Add -gcpro patch to fix FTBFS -- Add -overflow patch to fix possible bad code generation -- Add -data-start patch to fix FTBFS on ppc64/ppc64le -- Add -endian patch to fix FTBFS on ppc64/s390x - -* Tue Nov 28 2017 Jerry James - 21.5.34-26.20171125hg700dd03e6a31 -- Update to latest mercurial snapshot for miscellaneous bug fixes -- Drop Canna support (bz 1517235) - -* Sat Aug 5 2017 Jerry James - 21.5.34-25.20170628hg97140cfdeca7 -- Update to latest mercurial snapshot for miscellaneous bug fixes - -* Thu Aug 03 2017 Fedora Release Engineering - 21.5.34-24.20170124hgf412e9f093d4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Thu Jul 27 2017 Fedora Release Engineering - 21.5.34-23.20170124hgf412e9f093d4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Wed Feb 22 2017 Jerry James - 21.5.34-22.20170124hgf412e9f093d4 -- Rebuild for NSS 3.29.1 - -* Sat Feb 11 2017 Fedora Release Engineering - 21.5.34-21.20170124hgf412e9f093d4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Tue Jan 24 2017 Jerry James - 21.5.34-20.20170124hgf412e9f093d4 -- Update to latest mercurial snapshot to really fix bz 1408201 -- Drop upstreamed -with-output-to-string patch - -* Sat Jan 14 2017 Jerry James - 21.5.34-19.20170114hg29e551281d78 -- Update to latest mercurial snapshot (bz 1408201) -- Use glibc malloc on all platforms -- Add -with-output-to-string patch - -* Tue Oct 18 2016 Jerry James - 21.5.34-18.20161013hg39f002ba1b8c -- Update to latest mercurial snapshot - -* Fri Jun 3 2016 Jerry James - 21.5.34-17.20160603hga561e02bb626 -- Update to fix NSS breakage -- Drop upstreamed -tls and -setsid patches - -* Sat May 28 2016 Jerry James - 21.5.34-16.20160507hgd5b51c618ef8 -- Update to latest mercurial snapshot -- Fix M-x shell under tcsh (bz 1222897, 1260785) - -* Sat Feb 20 2016 Jerry James - 21.5.34-15.20160104hg4d03958b4080 -- Update to latest mercurial snapshot - -* Fri Feb 05 2016 Fedora Release Engineering - 21.5.34-14.20150929hga76c9268bb72 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Wed Dec 30 2015 Michal Toman - 21.5.34-13.20150929hga76c9268bb72 -- Use system malloc on 32-bit MIPS (bz 1294893) - -* Sat Oct 3 2015 Jerry James - 21.5.34-12.20150929hga76c9268bb72 -- Update to snapshot: fixes multiple bugs -- Add -alsaplay patch to fix playing sounds through ALSA - -* Fri Jun 19 2015 Fedora Release Engineering - 21.5.34-11.20150420hg23178aa71f8b -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Mon Apr 20 2015 Jerry James - 21.5.34-10.20150420hg23178aa71f8b -- Update to snapshot: fixes multiple bugs -- Drop upstreamed -c11 patch -- Enable NSS support - -* Mon Feb 9 2015 Jerry James - 21.5.34-9.20140605hgacf1c26e3019 -- Add -c11 patch to fix build failure with gcc 5.0 -- Set compiling username to get reproducible builds -- Use license macro - -* Mon Aug 18 2014 Fedora Release Engineering - 21.5.34-8.20140605hgacf1c26e3019 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - -* Sun Jun 08 2014 Fedora Release Engineering - 21.5.34-7.20140605hgacf1c26e3019 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Thu Jun 5 2014 Jerry James - 21.5.34-6.20140605hgacf1c26e3019 -- Update to snapshot: fixes bz 1095405 and allows diagnosis of bz 1078159 -- Update snapshot creating script to use bitbucket and maximally compress -- Don't need to exclude texinfo info files; upstream has dropped them - -* Wed Feb 5 2014 Jerry James - 21.5.34-5 -- Disable XIM by default. It hasn't worked since the release of Fedora 19 due - to a fixed size buffer inside libX11 that is too small (see _XimProtoCreateIC - in modules/im/ximcp/imDefIc.c), and nobody has complained. -- Update location of rpm macro file for rpm >= 4.11 - -* Tue Nov 12 2013 Jerry James - 21.5.34-4 -- Add an AppData file - -* Fri Oct 25 2013 Jerry James - 21.5.34-3 -- Update the -utf8-fonts patch to remove more references to iso8859 fonts - -* Wed Oct 2 2013 Jerry James - 21.5.34-2 -- Don't package the texinfo info files; they clash with texinfo 5.2 - -* Thu Aug 22 2013 Jerry James - 21.5.34-1 -- New upstream version -- Drop upstreamed -menubar, -aarch64, and -texinfo patches -- Drop unnecessary sed BR - -* Sun Aug 04 2013 Fedora Release Engineering - 21.5.33-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Wed Jun 19 2013 Jerry James - 21.5.33-6 -- Rebuild for libpng 1.6 - -* Mon Apr 8 2013 Jerry James - 21.5.33-5 -- Add -texinfo patch to fix problems with texinfo 5 (bz 923365) -- Add -aarch64 patch (bz 926766) -- Build with libdb version 5 -- Emacs started shipping cl and widget info files, so we drop them - -* Tue Feb 5 2013 Jerry James - 21.5.33-4 -- Update -menubar patch so :visible keyword is accepted in menus (bz 890565) - -* Mon Jan 21 2013 Jerry James - 21.5.33-3 -- Add -menubar patch to fix bz 890565 - -* Mon Jan 21 2013 Adam Tkac - 21.5.33-2 -- rebuild due to "jpeg8-ABI" feature drop - -* Mon Jan 7 2013 Jerry James - 21.5.33-1 -- New upstream version -- Drop upstreamed view-mode patch - -* Fri Dec 21 2012 Adam Tkac - 21.5.32-2 -- rebuild against new libjpeg - -* Mon Aug 6 2012 Jerry James - 21.5.32-1 -- New upstream version -- Drop upstreamed patches -- Running autoconf no longer necessary -- Drop conditionals for ancient versions of Fedora -- Package X versions of lib-src binaries to get gnuclient linked with -lXau - -* Sun Jul 22 2012 Fedora Release Engineering - 21.5.31-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Sat Jan 7 2012 Jerry James - 21.5.31-4 -- Rebuild for GCC 4.7 -- Minor spec file cleanups - -* Mon Nov 7 2011 Jerry James - 21.5.31-3 -- Rebuild with new libpng - -* Wed Oct 26 2011 Marcela Mašláňová - 21.5.31-2.2 -- rebuild with new gmp without compat lib - -* Wed Oct 12 2011 Peter Schiffer - 21.5.31-2.1 -- rebuild with new gmp - -* Fri Aug 5 2011 Jerry James - 21.5.31-2 -- Build --with-union-type to avoid a make-int bug in lisp-disunion.h -- Add view-mode patch (bz 709399) -- Add get-other-frame patch from upstream -- Add lib-src patch to eliminate unnecessary linkage - -* Tue May 3 2011 Jerry James - 21.5.31-1 -- Update to 21.5.31 -- License is now GPLv3+ -- Drop upstreamed patches: x-paths, image-overflow, no-xft, png, tty-font, - etags-memmove, arabic, dired, infodir -- Rebase and renumber remaining patches -- Drop workaround for ancient alternatives bug - -* Tue Mar 1 2011 Jerry James - 21.5.29-18 -- Make -filesystem subpackage be noarch. - -* Tue Mar 1 2011 Jerry James - 21.5.29-17 -- Add filesystem subpackage (bz 672093). -- Add gnuclient desktop file. -- Fix CFLAGS so -fno-strict-aliasing actually gets used. -- Add . to the default load-path in _xemacs_bytecompile. -- Update Requires for pre/post(un) scripts. - -* Mon Feb 07 2011 Fedora Release Engineering - 21.5.29-16 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Wed Dec 1 2010 Jerry James - 21.5.29-15 -- Don't create /var/lock/xemacs; it is not used (bz 656723). -- Drop the BuildRoot tag. -- Ship COPYING with the -info subpackage. - -* Wed Nov 10 2010 Jerry James - 21.5.29-14 -- Create and own subdirectories of site-packages - -* Tue Jul 6 2010 Jerry James - 21.5.29-13 -- Add db4 support (bz 581614). -- Add -xft subpackage (bz 356961). -- Recognize Fedora's X server. - -* Tue Mar 2 2010 Jerry James - 21.5.29-12 -- Remove the bitmap-fonts dependency. - -* Thu Jan 7 2010 Jerry James - 21.5.29-11 -- New upstream patch for bz 547840. -- Add dired patch for large files (bz 550145). -- Replace "lzma" with "xz" for snapshots. - -* Mon Dec 21 2009 Jerry James - 21.5.29-10 -- Don't crash with a Persian keyboard layout (bz 547840) - -* Tue Dec 8 2009 Jerry James - 21.5.29-9 -- Add patch to use memmove in etags (bz 545399). - -* Mon Nov 9 2009 Jerry James - 21.5.29-8 -- Move macros.xemacs to the -common subpackage (bz 533611). -- Updated TTY font patch from upstream. - -* Tue Nov 3 2009 Jerry James - 21.5.29-7 -- Make the desktop file consistent with Emacs (bz 532296). - -* Wed Oct 28 2009 Jerry James - 21.5.29-6 -- Bring back the courier font patch; that was a red herring. -- Really, seriously fix bz 512623 with a TTY font patch. -- Fix the version number in macros.xemacs. -- Build with bignum support. -- Turn off OSS support. - -* Wed Sep 23 2009 Jerry James - 21.5.29-5 -- Final fix for bz 512623, which is actually two bugs, because ... -- ... the courier font patch breaks TTY font detection. Removed that patch - and Require bitmap-fonts to supply the original font name. -- Add macros.xemacs (bz 480546) -- Add png patch to fix a problem with reading PNG files - -* Wed Aug 26 2009 Jerry James - 21.5.29-4 -- Use upstream's attempt at fixing #512623 instead of mine, which didn't work. - -* Mon Aug 24 2009 Jerry James - 21.5.29-3 -- Fix image overflow bug (CVE-2009-2688). -- Fix calling xft-font-create-object in non-Xft builds (#512623). -- Rebase patches to eliminate fuzz/offsets. - -* Mon Jul 27 2009 Fedora Release Engineering - 21.5.29-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - -* Wed May 20 2009 Ville Skyttä - 21.5.29-1 -- Update to 21.5.29; gtk-gcc4, finder-lisp-dir, 3d-athena, autoconf262, - doc-encodings, revert-modified, and xemacs-base-autoloads patches applied - upstream. - -* Thu Mar 12 2009 Ville Skyttä - 21.5.28-13 -- Add possibility to build upstream hg snapshots. -- Add dependency on xorg-x11-fonts-misc (#478370, Carl Brune). -- Include Installation{,-nox} in docs. - -* Sun Mar 8 2009 Ville Skyttä - 21.5.28-12 -- Make XFontSet support optional at build time and disable it by default - to work around #478370. - -* Thu Feb 26 2009 Ville Skyttä - 21.5.28-11 -- Apply upstream autoload changes to be able to build recent XEmacs packages. -- Make support for XIM optional at build time, still enabled by default. -- Drop support for building without stack protector compiler flags. -- Make -info subpackage noarch when built for Fedora >= 10. -- Improve icon cache and desktop database refresh scriptlets. -- Use %%global instead of %%define. - -* Thu Feb 26 2009 Fedora Release Engineering - 21.5.28-10 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - -* Sun Jul 20 2008 Ville Skyttä - 21.5.28-9 -- Rebuild. - -* Sun Jul 6 2008 Ville Skyttä - 21.5.28-8 -- Apply upstream fix for detection of 3D Athena widget sets. - -* Sun Jul 6 2008 Ville Skyttä - 21.5.28-7 -- Fix build with autoconf >= 2.62 (#449626). - -* Tue Feb 19 2008 Fedora Release Engineering - 21.5.28-6 -- Autorebuild for GCC 4.3 - -* Fri Aug 17 2007 Ville Skyttä - 21.5.28-5 -- Turn on syntax highlighting by default only if lazy-lock is available. -- Requires(post): coreutils in main package and -nox. -- Scriptlet cleanups. -- License: GPLv2+ - -* Sat Jun 30 2007 Ville Skyttä - 21.5.28-4 -- Turn on syntax highlighting with lazy-lock by default. -- Drop Application and X-Fedora categories and Encoding from desktop entry. -- Move diff-switches default from skeleton init.el to site-start.el. - -* Sun Jun 24 2007 Ville Skyttä - 21.5.28-3 -- Apply upstream fix for #245017. - -* Wed Jun 6 2007 Ville Skyttä - 21.5.28-2 -- Set more dirs explicitly until upstream configure honors them better. -- Borrow DESTDIR install patch from openSUSE. -- Add pkgconfig file to -devel. - -* Mon May 21 2007 Ville Skyttä - 21.5.28-1 -- 21.5.28, module path fix applied upstream. -- Patch to retain courier as the default font. -- Fix some corrupt characters in docs. - -* Fri May 18 2007 Ville Skyttä - 21.5.27-9 -- Require one of the actual editor variants in -common. -- Require -common in -el, drop duplicate dir ownerships. - -* Wed Jan 24 2007 Ville Skyttä - 21.5.27-8 -- Fix canna_api.ell install/load paths (#222559). -- Fix site-start.el locale setup when the LANG env var is unset. - -* Thu Jan 4 2007 Ville Skyttä - 21.5.27-7 -- Don't run autoconf during build. - -* Wed Jan 3 2007 Ville Skyttä - 21.5.27-6 -- Fix site-start.el coding system setup in non-UTF8 locales (#213582). -- Fix "--without modules" build. - -* Mon Oct 2 2006 Ville Skyttä - 21.5.27-5 -- Rebuild. - -* Wed Sep 20 2006 Ville Skyttä - 21.5.27-4 -- Disable graphical progress bar by default (#188973). -- Make Wnn support optional at build time, disabled by default. - -* Sun Sep 10 2006 Ville Skyttä - 21.5.27-3 -- Adjust to split xemacs-packages-{base,extra}. -- Provide xemacs(bin) in main package and -nox. - -* Sat Sep 2 2006 Ville Skyttä - 21.5.27-2 -- Fix build when previous revision of the same XEmacs version is installed. -- BuildRequire compface-devel instead of compface. -- Turn error checking off. -- Specfile cleanups. - -* Tue May 16 2006 Ville Skyttä - 21.5.27-1 -- 21.5.27, maximize patch included upstream. -- Drop no longer needed find-paths patch. -- Fix alternatives setup. - -* Sun May 7 2006 Ville Skyttä - 21.5.26-5 -- Apply upstream fix for window maximization problems (#111225). - -* Sun Apr 23 2006 Ville Skyttä - 21.5.26-4 -- Bring StartupWMClass in desktop entry up to date. -- Fix non-MULE build. - -* Sat Apr 15 2006 Ville Skyttä - 21.5.26-3 -- Don't expect to find ellcc if building without modules (#188929). -- New --with/--without rpmbuild flags: - - xft: enable/disable Xft support, default disabled. - - nox: enable/disable building the non-X version, default enabled - - modules: enable/disable module support, default arch-dependent. -- Re-enable XFontSet support for menubars for non-Xft builds (from openSUSE). -- Move gnuserv to -common, gnudoit to base package, drop gnuattach. -- Split ellcc and headers to -devel subpackage. -- Drop unneeded libXaw-devel build dependency. -- Move -nox "man page" to -nox subpackage. -- Fix GTK build and glade detection for it. -- Avoid -common dependency on ALSA. - -* Thu Apr 6 2006 Ville Skyttä - 21.5.26-2 -- Borrow Mike Fabian's site-start.el work from the SuSE package. - -* Tue Apr 4 2006 Ville Skyttä - 21.5.26-1 -- 21.5.26 (WIP). -- Make %%{_bindir}/xemacs an alternative (main/nox). -- Convert some info docs to UTF-8. - -* Fri Mar 31 2006 Ville Skyttä - 21.5.25-1 -- 21.5.25 (WIP). -- Trim pre-21.5 %%changelog entries.