- cleanup and update .desktop file

- make emacs not appear in the desktop menu (Seth Nickell,132567)
- move the desktop file from -common to main package
- go back to using just gctags for ctags
- etags is now handled by alternatives (92256)
- improve the default frame title by prefixing the buffer name (Christopher
    Beland, 128110)
- fix the names of some European aspell languages with
    emacs-21.3-lisp-textmodes-ispell-languages.patch (David Jansen, 122618)
- fixing running "libtool gdb program" in gud with
    emacs-21.3-gud-libtool-fix.patch (Dave Malcolm, 130955)
This commit is contained in:
Jens Petersen 2004-09-29 16:54:16 +00:00
parent e36e0be1f6
commit 6a53a29555
4 changed files with 63 additions and 40 deletions

View File

@ -1,5 +1,6 @@
Mule-UCS-current.tar.gz Mule-UCS-current.tar.gz
elisp-manual-21-2.8.tar.bz2 elisp-manual-21-2.8.tar.bz2
emacs-21.3
emacs-21.3.tar.gz emacs-21.3.tar.gz
leim-21.3.tar.gz leim-21.3.tar.gz
php-mode-1.1.0.tgz php-mode-1.1.0.tgz

View File

@ -8,3 +8,7 @@
;; enable visual feedback on selections ;; enable visual feedback on selections
;(setq transient-mark-mode t) ;(setq transient-mark-mode t)
;; default to better frame titles
(setq frame-title-format
(concat "%b - emacs@" system-name))

View File

@ -1,34 +1,33 @@
[Desktop Entry] [Desktop Entry]
Name=Emacs Name=Emacs Text Editor
Name[eo]=Emakso Name[bg]=редактор Emacs
Name[et]=Emacs tekstiredaktor Name[ca]=Editor Emacs
Comment=Emacs Name[cs]=Editor Emacs
Comment[ca]=Editor Emacs Name[da]=Emacs tekstredigerer
Comment[cs]=Editor Emacs Name[de]=Emacs Texteditor
Comment[eo]=La redaktilo Emakso Name[eo]=La redaktilo Emakso
Comment[et]=Võimas tekstiredaktor Emacs Name[et]=Võimas tekstiredaktor Emacs
Comment[fi]=Emacs editori Name[fi]=Emacs editori
Comment[fr]=Éditeur Emacs Name[fr]=Éditeur Emacs
Comment[hu]=Emacs szövegszerkesztő Name[hu]=Emacs szövegszerkesztő
Comment[is]=Emacs-ritill Name[is]=Emacs-ritill
Comment[mk]=Софистицираниот Emacs уредувач Name[ja]=Emacs
Comment[no]=Emacs-tekstredigerer Name[mk]=Софистицираниот Emacs уредувач
Comment[pt]=Editor Emacs Name[no]=Emacs-tekstredigerer
Comment[ro]=Editorul Emacs Name[pt]=Editor Emacs
Comment[ru]=Редактор Emacs Name[ro]=Editorul Emacs
Comment[sk]=Editor Emacs Name[ru]=Редактор Emacs
Comment[sl]=Urejevalnik Emacs Name[sk]=Editor Emacs
Comment[uk]=Редактор Emacs Name[sl]=Urejevalnik Emacs
BinaryPattern= Name[uk]=Редактор Emacs
Protocols= 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++; 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=emacs %f Exec=emacs %f
Icon=emacs.png Icon=emacs.png
TerminalOptions=
Path=
Type=Application Type=Application
Terminal=0 Terminal=false
MapNotify=false Categories=Application;Development;TextEditor;X-Red-Hat-Base;
Categories=TextEditor;Development;X-Red-Hat-Base;Application;
Encoding=UTF-8 Encoding=UTF-8
StartupWMClass=Emacs StartupWMClass=Emacs
NoDisplay=true

View File

@ -5,7 +5,7 @@
Summary: GNU Emacs text editor Summary: GNU Emacs text editor
Name: emacs Name: emacs
Version: 21.3 Version: 21.3
Release: 14 Release: 15
License: GPL License: GPL
URL: http://www.gnu.org/software/emacs/ URL: http://www.gnu.org/software/emacs/
Group: Applications/Editors Group: Applications/Editors
@ -42,6 +42,8 @@ Patch8: browse-url-htmlview-84262.patch
Patch9: emacs-21.3-ppc64.patch Patch9: emacs-21.3-ppc64.patch
Patch10: editfns.c-Fformat-multibyte-davej.patch Patch10: editfns.c-Fformat-multibyte-davej.patch
Patch11: emacs-21.3-no-rpath.patch Patch11: emacs-21.3-no-rpath.patch
Patch12: emacs-21.3-lisp-textmodes-ispell-languages.patch
Patch13: emacs-21.3-gud-libtool-fix.patch
Buildroot: %{_tmppath}/%{name}-%{version}-root Buildroot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: glibc-devel, gcc, bzip2, ncurses-devel, zlib-devel, autoconf213 BuildRequires: glibc-devel, gcc, bzip2, ncurses-devel, zlib-devel, autoconf213
Buildrequires: XFree86-devel, Xaw3d-devel, libpng-devel, libjpeg-devel, libungif-devel, libtiff-devel Buildrequires: XFree86-devel, Xaw3d-devel, libpng-devel, libjpeg-devel, libungif-devel, libtiff-devel
@ -82,6 +84,7 @@ Summary: Emacs common files
Group: Applications/Editors Group: Applications/Editors
Requires(post,preun): /sbin/install-info, dev Requires(post,preun): /sbin/install-info, dev
Requires(post): /bin/ln Requires(post): /bin/ln
Requires(post,preun): %{_sbindir}/alternatives
%description common %description common
Emacs is a powerful, customizable, self-documenting, modeless text Emacs is a powerful, customizable, self-documenting, modeless text
@ -127,6 +130,8 @@ sets are included in this package.
%patch9 -p1 -b .ppc64 %patch9 -p1 -b .ppc64
%patch10 -p1 -b .multibyte %patch10 -p1 -b .multibyte
%patch11 -p1 -b .rpath %patch11 -p1 -b .rpath
# patches 2 and 3 touch configure.in
autoconf-2.13
## Lisp patches ## Lisp patches
# remove game we can't ship # remove game we can't ship
@ -134,8 +139,10 @@ sets are included in this package.
rm lisp/finder-inf.el lisp/play/tetris.el* rm lisp/finder-inf.el lisp/play/tetris.el*
# make browse-url default to htmlview not netscape # make browse-url default to htmlview not netscape
%patch8 -p1 %patch8 -p1
# patches 2 and 3 touch configure.in # fix names of aspell language dictionaries
autoconf-2.13 %patch12 -p1
# fix running gdb with libtool
%patch13 -p1
# install rest of site-lisp files # install rest of site-lisp files
( cd site-lisp ( cd site-lisp
@ -208,8 +215,7 @@ install -m 0644 %SOURCE26 %{site_lisp}
mv $RPM_BUILD_ROOT%{_bindir}/{etags,etags.emacs} mv $RPM_BUILD_ROOT%{_bindir}/{etags,etags.emacs}
mv $RPM_BUILD_ROOT%{_mandir}/man1/{ctags.1,gctags.1} mv $RPM_BUILD_ROOT%{_mandir}/man1/{ctags.1,gctags.1}
mv $RPM_BUILD_ROOT%{_bindir}/{ctags,ctags.emacs} mv $RPM_BUILD_ROOT%{_bindir}/{ctags,gctags}
ln -s ctags.emacs $RPM_BUILD_ROOT%{_bindir}/gctags
# GNOME / KDE files # GNOME / KDE files
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
@ -258,13 +264,12 @@ cat leim-*-files > leim-filelist
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%define info_files ada-mode autotype ccmode cl dired-x ebrowse ediff efaq elisp emacs eshell eudc forms gnus idlwave info message mh-e pcl-cvs reftex sc speedbar vip viper widget woman %define info_files ada-mode autotype ccmode cl dired-x ebrowse ediff efaq elisp emacs eshell eudc forms gnus idlwave info message mh-e pcl-cvs reftex sc speedbar vip viper widget woman
%post common %post common
for f in %{info_files}; do for f in %{info_files}; do
/sbin/install-info %{_infodir}/$f.gz %{_infodir}/dir --section="GNU Emacs" 2> /dev/null || : /sbin/install-info %{_infodir}/$f.gz %{_infodir}/dir --section="GNU Emacs" 2> /dev/null || :
done done
alternatives --install %{_bindir}/etags etags %{_bindir}/etags.emacs 80
# make etags a symlink to etags.emacs if etags doesn't exist
[ -e %{_bindir}/etags ] || ln -s etags.emacs %{_bindir}/etags
%preun common %preun common
if [ "$1" = 0 ]; then if [ "$1" = 0 ]; then
@ -272,6 +277,7 @@ for f in %{info_files}; do
/sbin/install-info --delete %{_infodir}/$f.gz %{_infodir}/dir \ /sbin/install-info --delete %{_infodir}/$f.gz %{_infodir}/dir \
--section="GNU Emacs" 2> /dev/null || : --section="GNU Emacs" 2> /dev/null || :
done done
alternatives --remove %{_bindir}/etags %{_bindir}/etags.emacs
fi fi
%files %files
@ -282,6 +288,7 @@ fi
%{_datadir}/emacs/%{version}/etc/DOC-%{version}.1 %{_datadir}/emacs/%{version}/etc/DOC-%{version}.1
%dir %{_libexecdir}/emacs/%{version}/* %dir %{_libexecdir}/emacs/%{version}/*
%{_libexecdir}/emacs/%{version}/*/fns-%{version}.1.el %{_libexecdir}/emacs/%{version}/*/fns-%{version}.1.el
%{_datadir}/applications/gnu-emacs.desktop
%files nox %files nox
%defattr(-,root,root) %defattr(-,root,root)
@ -314,7 +321,6 @@ fi
%exclude %{_libexecdir}/emacs/%{version}/*/fns-%{version}.*.el %exclude %{_libexecdir}/emacs/%{version}/*/fns-%{version}.*.el
%attr(0644,root,root) %config %{_datadir}/emacs/site-lisp/site-start.el %attr(0644,root,root) %config %{_datadir}/emacs/site-lisp/site-start.el
# %dir %{_datadir}/emacs/site-lisp/site-start.d # %dir %{_datadir}/emacs/site-lisp/site-start.d
%{_datadir}/applications/gnu-emacs.desktop
%{_datadir}/pixmaps/emacs.png %{_datadir}/pixmaps/emacs.png
%files -f el-filelist el %files -f el-filelist el
@ -324,6 +330,19 @@ fi
%defattr(-,root,root) %defattr(-,root,root)
%changelog %changelog
* Wed Sep 29 2004 Jens Petersen <petersen@redhat.com> - 21.3-15
- cleanup and update .desktop file
- make emacs not appear in the desktop menu (Seth Nickell,132567)
- move the desktop file from -common to main package
- go back to using just gctags for ctags
- etags is now handled by alternatives (92256)
- improve the default frame title by prefixing the buffer name
(Christopher Beland, 128110)
- fix the names of some European aspell languages with
emacs-21.3-lisp-textmodes-ispell-languages.patch (David Jansen, 122618)
- fixing running "libtool gdb program" in gud with
emacs-21.3-gud-libtool-fix.patch (Dave Malcolm, 130955)
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com> * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt - rebuilt