diff --git a/.cvsignore b/.cvsignore index 8da2cb4..33ad19d 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1,5 +1,6 @@ Mule-UCS-current.tar.gz elisp-manual-21-2.8.tar.bz2 +emacs-21.3 emacs-21.3.tar.gz leim-21.3.tar.gz php-mode-1.1.0.tgz diff --git a/dotemacs.el b/dotemacs.el index 9180e94..6ee704d 100644 --- a/dotemacs.el +++ b/dotemacs.el @@ -8,3 +8,7 @@ ;; enable visual feedback on selections ;(setq transient-mark-mode t) + +;; default to better frame titles +(setq frame-title-format + (concat "%b - emacs@" system-name)) diff --git a/emacs.desktop b/emacs.desktop index 5336649..8386e99 100644 --- a/emacs.desktop +++ b/emacs.desktop @@ -1,34 +1,33 @@ [Desktop Entry] -Name=Emacs -Name[eo]=Emakso -Name[et]=Emacs tekstiredaktor -Comment=Emacs -Comment[ca]=Editor Emacs -Comment[cs]=Editor Emacs -Comment[eo]=La redaktilo Emakso -Comment[et]=Võimas tekstiredaktor Emacs -Comment[fi]=Emacs editori -Comment[fr]=Éditeur Emacs -Comment[hu]=Emacs szövegszerkesztő -Comment[is]=Emacs-ritill -Comment[mk]=Софистицираниот Emacs уредувач -Comment[no]=Emacs-tekstredigerer -Comment[pt]=Editor Emacs -Comment[ro]=Editorul Emacs -Comment[ru]=Редактор Emacs -Comment[sk]=Editor Emacs -Comment[sl]=Urejevalnik Emacs -Comment[uk]=Редактор Emacs -BinaryPattern= -Protocols= +Name=Emacs Text Editor +Name[bg]=редактор Emacs +Name[ca]=Editor Emacs +Name[cs]=Editor Emacs +Name[da]=Emacs tekstredigerer +Name[de]=Emacs Texteditor +Name[eo]=La redaktilo Emakso +Name[et]=Võimas tekstiredaktor Emacs +Name[fi]=Emacs editori +Name[fr]=Éditeur Emacs +Name[hu]=Emacs szövegszerkesztő +Name[is]=Emacs-ritill +Name[ja]=Emacs テキスト・エディター +Name[mk]=Софистицираниот Emacs уредувач +Name[no]=Emacs-tekstredigerer +Name[pt]=Editor Emacs +Name[ro]=Editorul Emacs +Name[ru]=Редактор Emacs +Name[sk]=Editor Emacs +Name[sl]=Urejevalnik Emacs +Name[uk]=Редактор Emacs +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=emacs %f Icon=emacs.png -TerminalOptions= -Path= Type=Application -Terminal=0 -MapNotify=false -Categories=TextEditor;Development;X-Red-Hat-Base;Application; +Terminal=false +Categories=Application;Development;TextEditor;X-Red-Hat-Base; Encoding=UTF-8 StartupWMClass=Emacs +NoDisplay=true diff --git a/emacs.spec b/emacs.spec index 31fc05d..7d82315 100644 --- a/emacs.spec +++ b/emacs.spec @@ -5,7 +5,7 @@ Summary: GNU Emacs text editor Name: emacs Version: 21.3 -Release: 14 +Release: 15 License: GPL URL: http://www.gnu.org/software/emacs/ Group: Applications/Editors @@ -42,6 +42,8 @@ Patch8: browse-url-htmlview-84262.patch Patch9: emacs-21.3-ppc64.patch Patch10: editfns.c-Fformat-multibyte-davej.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 BuildRequires: glibc-devel, gcc, bzip2, ncurses-devel, zlib-devel, autoconf213 Buildrequires: XFree86-devel, Xaw3d-devel, libpng-devel, libjpeg-devel, libungif-devel, libtiff-devel @@ -82,6 +84,7 @@ Summary: Emacs common files Group: Applications/Editors Requires(post,preun): /sbin/install-info, dev Requires(post): /bin/ln +Requires(post,preun): %{_sbindir}/alternatives %description common Emacs is a powerful, customizable, self-documenting, modeless text @@ -127,6 +130,8 @@ sets are included in this package. %patch9 -p1 -b .ppc64 %patch10 -p1 -b .multibyte %patch11 -p1 -b .rpath +# patches 2 and 3 touch configure.in +autoconf-2.13 ## Lisp patches # 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* # make browse-url default to htmlview not netscape %patch8 -p1 -# patches 2 and 3 touch configure.in -autoconf-2.13 +# fix names of aspell language dictionaries +%patch12 -p1 +# fix running gdb with libtool +%patch13 -p1 # install rest of site-lisp files ( 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%{_mandir}/man1/{ctags.1,gctags.1} -mv $RPM_BUILD_ROOT%{_bindir}/{ctags,ctags.emacs} -ln -s ctags.emacs $RPM_BUILD_ROOT%{_bindir}/gctags +mv $RPM_BUILD_ROOT%{_bindir}/{ctags,gctags} # GNOME / KDE files mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications @@ -258,20 +264,20 @@ cat leim-*-files > leim-filelist 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 + %post common for f in %{info_files}; do /sbin/install-info %{_infodir}/$f.gz %{_infodir}/dir --section="GNU Emacs" 2> /dev/null || : done - -# make etags a symlink to etags.emacs if etags doesn't exist -[ -e %{_bindir}/etags ] || ln -s etags.emacs %{_bindir}/etags +alternatives --install %{_bindir}/etags etags %{_bindir}/etags.emacs 80 %preun common if [ "$1" = 0 ]; then -for f in %{info_files}; do - /sbin/install-info --delete %{_infodir}/$f.gz %{_infodir}/dir \ - --section="GNU Emacs" 2> /dev/null || : -done + for f in %{info_files}; do + /sbin/install-info --delete %{_infodir}/$f.gz %{_infodir}/dir \ + --section="GNU Emacs" 2> /dev/null || : + done + alternatives --remove %{_bindir}/etags %{_bindir}/etags.emacs fi %files @@ -282,6 +288,7 @@ fi %{_datadir}/emacs/%{version}/etc/DOC-%{version}.1 %dir %{_libexecdir}/emacs/%{version}/* %{_libexecdir}/emacs/%{version}/*/fns-%{version}.1.el +%{_datadir}/applications/gnu-emacs.desktop %files nox %defattr(-,root,root) @@ -314,7 +321,6 @@ fi %exclude %{_libexecdir}/emacs/%{version}/*/fns-%{version}.*.el %attr(0644,root,root) %config %{_datadir}/emacs/site-lisp/site-start.el # %dir %{_datadir}/emacs/site-lisp/site-start.d -%{_datadir}/applications/gnu-emacs.desktop %{_datadir}/pixmaps/emacs.png %files -f el-filelist el @@ -324,6 +330,19 @@ fi %defattr(-,root,root) %changelog +* Wed Sep 29 2004 Jens Petersen - 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 - rebuilt