From a4f4647b255ec8f060fbc01082cfd010fcb74421e720866d44f5e328eb46261e Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Fri, 23 Jul 2010 21:20:50 +0000 Subject: [PATCH] Accepting request 43610 from editors Copy from editors/emacs-auctex based on submit request 43610 from user WernerFink OBS-URL: https://build.opensuse.org/request/show/43610 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/emacs-auctex?expand=0&rev=14 --- auctex-11.85-preview.dif | 66 +++++++++++++++++ auctex-11.85.tar.bz2 | 3 - auctex-11.85.dif => auctex-11.86.dif | 54 +++++++------- auctex-11.86.tar.bz2 | 3 + emacs-auctex.changes | 30 ++++++++ emacs-auctex.spec | 107 ++------------------------- 6 files changed, 134 insertions(+), 129 deletions(-) create mode 100644 auctex-11.85-preview.dif delete mode 100644 auctex-11.85.tar.bz2 rename auctex-11.85.dif => auctex-11.86.dif (88%) create mode 100644 auctex-11.86.tar.bz2 diff --git a/auctex-11.85-preview.dif b/auctex-11.85-preview.dif new file mode 100644 index 0000000..261d46b --- /dev/null +++ b/auctex-11.85-preview.dif @@ -0,0 +1,66 @@ +--- preview/preview.el ++++ preview/preview.el 2010-07-21 13:48:25.830924999 +0200 +@@ -233,7 +233,7 @@ method, like when PDFTeX was used." + (symbol :tag "Emacs image-type") + (repeat :inline t :tag "Ghostscript options" string)))) + +-(defcustom preview-image-type 'png ++(defcustom preview-image-type 'dvipng + "*Image type to be used in images." + :group 'preview-gs + :type (append '(choice) +@@ -682,29 +682,31 @@ Gets the usual PROCESS and STRING parame + (setq preview-gs-sequence (list 1))) + (setcdr preview-gs-sequence 1) + (let* ((process-connection-type nil) +- (outfile (format "-dOutputFile=%s" +- (preview-ps-quote-filename ++ (inputdir (format "-I%s/" (car TeX-active-tempdir))) ++ (outfile (format "-sOutputFile=%s" + (format "%s/pr%d-%%d.%s" + (car TeX-active-tempdir) + (car preview-gs-sequence) +- preview-gs-image-type)))) ++ preview-gs-image-type))) + (process + (apply #'start-process + "Preview-Ghostscript" + (current-buffer) + preview-gs-command + outfile ++ inputdir + preview-gs-command-line))) + (goto-char (point-max)) + (insert-before-markers "Running `Preview-Ghostscript' with ``" + (mapconcat #'shell-quote-argument + (append + (list preview-gs-command +- outfile) ++ outfile ++ inputdir) + preview-gs-command-line) + " ") "''\n") + (setq preview-gs-answer "") +- (process-kill-without-query process) ++ (set-process-query-on-exit-flag process nil) + (set-process-sentinel process #'preview-gs-sentinel) + (set-process-filter process #'preview-gs-filter) + (process-send-string process preview-gs-init-string) +@@ -1075,7 +1077,7 @@ NONREL is not NIL." + (setq preview-gs-init-string + (concat preview-gs-init-string + (format "[%s(r)file]aload exch %s .runandhide aload pop " +- (preview-ps-quote-filename file) ++ (preview-ps-quote-filename file t) + (preview-gs-dsc-cvx 0 preview-gs-dsc)))))) + + (defun preview-gs-urgentize (ov buff) +@@ -1163,7 +1165,7 @@ Try \\[ps-shell] and \\[ps-execute-buffe + "Make an eps error flag in overlay OV for ERR string." + (let* ((filenames (overlay-get ov 'filenames)) + (file (car (nth 0 filenames))) +- (outfile (format "-dOutputFile=%s" ++ (outfile (format "-sOutputFile=%s" + (preview-ps-quote-filename + (car (nth 1 filenames))))) + (ps-open diff --git a/auctex-11.85.tar.bz2 b/auctex-11.85.tar.bz2 deleted file mode 100644 index 78b896e..0000000 --- a/auctex-11.85.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7377600bc0f937858b17d73fbae16d46dc74331d8716c5af630c0f79cfe53bc7 -size 841343 diff --git a/auctex-11.85.dif b/auctex-11.86.dif similarity index 88% rename from auctex-11.85.dif rename to auctex-11.86.dif index 74909d5..2191336 100644 --- a/auctex-11.85.dif +++ b/auctex-11.86.dif @@ -124,28 +124,28 @@ (defun LaTeX-recipient-hook (environment) "Insert ENVIRONMENT and prompt for recipient and address." -- (let ((sender (read-input "Absender: " (user-full-name))) -- (recipient (read-input "Empf\"anger: ")) -- (address (read-input "Anschrift: ")) -- (postvermerk (read-input "Postvermerk: ")) +- (let ((sender (read-string "Absender: " (user-full-name))) +- (recipient (read-string "Empf\"anger: ")) +- (address (read-string "Anschrift: ")) +- (postvermerk (read-string "Postvermerk: ")) + (let ( + (sender (LaTeX-sender)) -+ (recipient (read-input "Empfänger: ")) ++ (recipient (read-string "Empfänger: ")) + (address (LaTeX-recipient)) - (date (read-input "Datum: " (LaTeX-today))) -- (betreff (read-input "Betreff: ")) -+ (postremark (read-input "Postvermerk: ")) -+ (fenster (read-input "Fenster \(ja/nein\): ")) - (vermerk (read-input "Behandlungsvermerk: ")) - (verteil (read-input "Verteiler: ")) -- (anlage (read-input "Anlagen: ")) -+ (betreff (read-input "Betreff: ")) - (opening (read-input "Anrede: ")) -- (closing (read-input "Schlu\"s: ")) -- (fenster (read-input "Fenster \(ja/nein\): ")) -+ (closing (read-input "Schluss: ")) - (signature (read-input "Unterschrift: ")) -+ (anlage (read-input "Anlagen: ")) + (date (read-string "Datum: " (LaTeX-today))) +- (betreff (read-string "Betreff: ")) ++ (postremark (read-string "Postvermerk: ")) ++ (fenster (read-string "Fenster \(ja/nein\): ")) + (vermerk (read-string "Behandlungsvermerk: ")) + (verteil (read-string "Verteiler: ")) +- (anlage (read-string "Anlagen: ")) ++ (betreff (read-string "Betreff: ")) + (opening (read-string "Anrede: ")) +- (closing (read-string "Schlu\"s: ")) +- (fenster (read-string "Fenster \(ja/nein\): ")) ++ (closing (read-string "Schluss: ")) + (signature (read-string "Unterschrift: ")) ++ (anlage (read-string "Anlagen: ")) ) - (if (not (zerop (length sender))) @@ -175,7 +175,7 @@ (if (string= fenster "ja") (progn - (insert TeX-esc "Fenster") -- (let ((retouradr (read-input "Retouradresse: " (user-full-name)))) +- (let ((retouradr (read-string "Retouradresse: " (user-full-name)))) + (din-insert TeX-esc "enabledraftstandard") + (newline-and-indent) + (din-insert TeX-esc "centeraddress") @@ -184,7 +184,7 @@ + (newline-and-indent) + (din-insert TeX-esc "windowtics") + (newline-and-indent) -+ (let ((retouradr (read-input "Retouradresse: " sender))) ++ (let ((retouradr (read-string "Retouradresse: " sender))) (newline-and-indent) (if (not (zerop (length retouradr))) (progn @@ -264,9 +264,9 @@ +(defun LaTeX-sender nil + "Read and writes the senders address" + (interactive) -+ (let ((name (read-input "Absender: " (user-full-name))) -+ (str (read-input "Meine Strasse: ")) -+ (ort (read-input "Mein Wohnort: "))) ++ (let ((name (read-string "Absender: " (user-full-name))) ++ (str (read-string "Meine Strasse: ")) ++ (ort (read-string "Mein Wohnort: "))) + (if (not (zerop (length name))) + (progn + (goto-char (point-min)) ; insert before \end{document} @@ -291,8 +291,8 @@ +(defun LaTeX-recipient nil + "Read and returns the recipient address" + (interactive) -+ (let ((str (read-input "Wohnhaft in Strasse: ")) -+ (ort (read-input "Aus der Ortschaft: "))) ++ (let ((str (read-string "Wohnhaft in Strasse: ")) ++ (ort (read-string "Aus der Ortschaft: "))) + (if (not (zerop (length str))) + (if (not (zerop (length ort))) + (concat str " " TeX-esc TeX-esc " " ort) @@ -311,7 +311,7 @@ (month (substring ctime-string (match-beginning 1) (match-end 1))) - (day (substring ctime-string (match-beginning 2) (match-end 2)))) + (day (substring ctime-string (match-beginning 2) (match-end 2))) -+ (place (read-input "Heutiger Ort: "))) ++ (place (read-string "Heutiger Ort: "))) (if (assoc month month-alist) (progn (setq month (cdr (assoc month month-alist))) diff --git a/auctex-11.86.tar.bz2 b/auctex-11.86.tar.bz2 new file mode 100644 index 0000000..55cc41b --- /dev/null +++ b/auctex-11.86.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ab058ebe0c223cd5f897bc0d864628548ea1ca7311dc5b8372fb094f81803ad1 +size 958514 diff --git a/emacs-auctex.changes b/emacs-auctex.changes index 5c6180a..b7ca9fa 100644 --- a/emacs-auctex.changes +++ b/emacs-auctex.changes @@ -1,3 +1,33 @@ +------------------------------------------------------------------- +Wed Jul 21 14:29:50 CEST 2010 - werner@suse.de + +- Update to auctex 11.86 + * Parsing of LaTeX output was improved. It is now less likely that + AUCTeX opens a non-existent file upon calling `TeX-next-error'; a + problem for example encountered when using MiKTeX 2.8. In addition + quoted file names as emitted by MiKTeX are now supported. + * A new framework for the definition and selection of viewers was + implemented. If you have customizations regarding viewers you + will have to redo them in this new framework or reenable the old + one. See the section on viewers in the manual for details. + * Comprehensive editing support for PSTricks was added. + * Support for various LaTeX packages was added, e.g. `tabularx', + `CJK', and `hyperref'. + * An easy way to switch between TeX engines (PDFTeX, LuaTeX, XeTeX, + Omega) was added. + * Support for SyncTeX was added. This involves the command line + options for LaTeX and the viewer. + * Folding can now be customized to use macro arguments as replacement + text. + * `preview.sty' now works with XeTeX. + * A lot of smaller and larger bugs have been squashed. + +------------------------------------------------------------------- +Wed Jul 21 14:04:52 CEST 2010 - werner@suse.de + +- Fix the usage of ghostscript for preview mode also switch over to + faster dvipng mode which is much faster than ghostscript (bnc#623719) + ------------------------------------------------------------------- Mon Mar 17 11:34:56 CET 2008 - werner@suse.de diff --git a/emacs-auctex.spec b/emacs-auctex.spec index fb2cebe..410cb41 100644 --- a/emacs-auctex.spec +++ b/emacs-auctex.spec @@ -1,7 +1,7 @@ # -# spec file for package emacs-auctex (Version 11.85) +# spec file for package emacs-auctex (Version 11.86) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,18 +20,19 @@ Name: emacs-auctex BuildRequires: emacs-x11 ghostscript_any giflib-devel libpng-devel libtiff-devel texlive texlive-latex xorg-x11 xorg-x11-devel -License: GPL v2 or later +License: GPLv2+ Group: Productivity/Editors/Emacs Obsoletes: ge_auc Provides: auc-tex auctex ge_auc Requires: emacs texlive-tools texlive-latex AutoReqProv: on -Version: 11.85 -Release: 88 +Version: 11.86 +Release: 1 Summary: AUC TeX: An Emacs Extension Source: ftp://ftp.gnu.org/pub/gnu/auctex/auctex-%{version}.tar.bz2 Url: http://www.gnu.org/software/auctex -Patch: auctex-%{version}.dif +Patch: auctex-11.86.dif +Patch1: auctex-11.85-preview.dif BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch @@ -62,6 +63,7 @@ Authors: %prep %setup -n auctex-%{version} %patch +%patch1 %build unset ${!LC_*} @@ -158,96 +160,3 @@ done %config %{_sitedir}/tex-site.el %changelog -* Mon Mar 17 2008 werner@suse.de -- Use texlive-tools instead of lacheck -* Tue Mar 11 2008 werner@suse.de -- Avoid overlong file lists use find and xargs instead -* Mon Mar 10 2008 werner@suse.de -- Make it work with texlive and texlive-latex -- Update to auctec 11.85 - + News in 11.85 - * Font locking has been improved significantly. - * The license was updated to GPLv3. - * Support for the nomencl, flashcards and comment LaTeX packages - as well as the Icelandic language option of babel were added. - * Support for folding of math macros was added. - * Lots of minor bugs in features and documentation fixed. - + News in 11.84 - * AUCTeX has been changed in order to accommodate file names - containing spaces. - * Support for folding of comments was added. - * The TeX tool bar is now available and enabled by default in - plain TeX mode. - * Bug fix in the display of math subscripts and superscripts. - * Bug fix `TeX-doc' for Emacs 21. - * There has been quite a number of other bug fixes to various - features and documentation across the board. -* Sun Apr 29 2007 aj@suse.de -- Fix Requires for texlive. -* Fri Apr 27 2007 werner@suse.de -- Make it build with texlive -* Fri Mar 02 2007 werner@suse.de -- No binary anymore is no architecture -* Thu Jun 29 2006 werner@suse.de -- Update to 11.83 -* Wed Jan 25 2006 mls@suse.de -- converted neededforbuild to BuildRequires -* Thu Sep 22 2005 werner@suse.de -- Update to 11.55 -- Use newer dinbrief.el -- Build as non root user -* Tue Sep 21 2004 werner@suse.de -- encl, cc ... should be included within letter environment -* Fri Jan 09 2004 werner@suse.de -- Update to 11.14 -* Tue Jul 02 2002 werner@suse.de -- Update to auc-tex 11.11 (bug #16605) -* Fri Feb 22 2002 werner@suse.de -- Make conditionals in font-lock work with emacs 21.1 -* Sat Feb 09 2002 ro@suse.de -- removed te_fr from neededforbuild -* Fri Feb 01 2002 ro@suse.de -- changed neededforbuild to -* Thu Nov 08 2001 werner@suse.de -- Add all libs reqired by emacs to neededforbuild -* Fri Mar 16 2001 werner@suse.de -- Mark tex-site.el as config file -* Tue Mar 13 2001 ro@suse.de -- added emacs-x11 to neededforbuild -* Wed Mar 07 2001 werner@suse.de -- Rename package to emacs-auctex -* Fri Nov 17 2000 ro@suse.de -- ge_exec -> emacs -* Tue Jun 06 2000 ro@suse.de -- doc relocation -* Fri Feb 25 2000 werner@suse.de -- Change dvips print command to be able to avoid config.lp - within teTeX package -* Thu Feb 24 2000 werner@suse.de -- Make it work for all teTeX versions - - /usr/info -> /usr/share/info -* Mon Sep 13 1999 bs@suse.de -- ran old prepare_spec on spec file to switch to new prepare_spec. -* Fri Aug 13 1999 werner@suse.de -- Make dinbrief.sty comaptible to xemacs -* Thu Jul 08 1999 werner@suse.de -- New version 9.9p - - A few changes to my dinbrief.sty -* Thu Apr 15 1999 werner@suse.de -- added export LC_CTYPE=ISO-8859-1 to install section -* Wed Nov 18 1998 werner@suse.de -- Change file list because of the new tetex version -* Mon Jul 27 1998 bs@suse.de -- added export LC_CTYPE=ISO-8859-1 to build section - emacs needs it. -* Fri Jul 10 1998 bs@suse.de -- added xaw3d to neededforbuild (ge_exec needs it) -* Mon Jun 02 1997 werner@suse.de -- removed /usr/info/latex*.gz ... because it's included in tetex -* Wed May 28 1997 werner@suse.de -- New version 9.7p - - Skip X-emacs: xemacs-19.15 has an integrated - auctex version 9.7l - - Added ltx-help.el, latex(2e).info due - the auctex-9.7p does not has it anymore -* Thu Jan 02 1997 werner@suse.de -- auctex: Version 9.5a für GNU-emacs und X-emacs