Accepting request 177896 from editors

- Update to auctex 11.87
  * Includes the preview fix for ghostscript
  * Includes the changes for font-late.elc
- Remove auctex-11.86-font-latex.5.194.patch

- Add patch auctex-11.86-font-latex.5.194.patch from upstream to
  make GNU emacs 24.3 silent about font-late.elc (reported by
  Johannes Roth)

- auctex: Version 9.5a für GNU-emacs und X-emacs

OBS-URL: https://build.opensuse.org/request/show/177896
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/emacs-auctex?expand=0&rev=26
This commit is contained in:
Stephan Kulow 2013-06-07 04:58:00 +00:00 committed by Git OBS Bridge
commit 7aa3db27b3
6 changed files with 29 additions and 60 deletions

View File

@ -1,44 +0,0 @@
--- preview/preview.el
+++ preview/preview.el 2010-10-13 10:01:38.999927331 +0000
@@ -369,6 +369,10 @@ See also `preview-gs-command'."
Buffer-local to the appropriate TeX process buffer.")
(make-variable-buffer-local 'preview-gs-queue)
+(defvar preview-pdf-filename ""
+ "Name of the PDF file used for preview.")
+(make-variable-buffer-local 'preview-pdf-filename)
+
(defvar preview-gs-outstanding nil
"Overlays currently processed.")
(make-variable-buffer-local 'preview-gs-outstanding)
@@ -704,7 +708,7 @@ Gets the usual PROCESS and STRING parame
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)
@@ -1072,6 +1076,13 @@ NONREL is not NIL."
(caar preview-ps-file))
(car preview-ps-file))))
(setq preview-gs-dsc (preview-dsc-parse file))
+ (setq preview-gs-command-line
+ (append (list "-dDELAYSAFER")
+ (remove "-dSAFER" preview-gs-command-line)
+ (list "-c"
+ (format "<</PermitFileReading[%s %s]>> setuserparams .locksafe"
+ (preview-ps-quote-filename file)
+ (preview-ps-quote-filename preview-pdf-filename)))))
(setq preview-gs-init-string
(concat preview-gs-init-string
(format "[%s(r)file]aload exch %s .runandhide aload pop "
@@ -3100,6 +3111,7 @@ If FAST is set, do a fast conversion."
(setq tempdir TeX-active-tempdir
pdfsource (funcall `,(car file) "pdf")))))
(name "Preview-PDF2DSC"))
+ (setq preview-pdf-filename pdfsource)
(setq TeX-active-tempdir tempdir)
(setq preview-ps-file (preview-attach-filename
pdfsource

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ab058ebe0c223cd5f897bc0d864628548ea1ca7311dc5b8372fb094f81803ad1
size 958514

View File

@ -20,13 +20,13 @@
'((tex-mode . tex-mode)
(plain-tex-mode . tex-mode)
--- tex.el
+++ tex.el 2006-06-29 18:40:59.000000000 +0200
@@ -86,7 +86,7 @@
+++ tex.el 2013-06-06 10:47:43.941439046 +0000
@@ -326,7 +326,7 @@ string."
;; TeX-print-command.
;; How to print.
-(defcustom TeX-print-command "%(o?)dvips -P%p %r %s"
+(defcustom TeX-print-command "%(o?)dvips %r -f %s | lpr -P%p"
"*Command used to print a file.
(defcustom TeX-print-command
- "{ test -e %s.dvi && %(o?)dvips -P%p %r %s; } || lpr -P%p %o"
+ "{ test -e %s.dvi && %(o?)dvips %r -f %s | lpr -P%p; } || lpr -P%p %o"
"Command used to print a file.
First `%p' is expanded to the printer name, then ordinary expansion is

3
auctex-11.87.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:63d57229e585dbf727f5545337615b997488bfdf475274da0718c90b77bd5cf2
size 1206073

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Thu Jun 6 10:50:17 UTC 2013 - werner@suse.de
- Update to auctex 11.87
* Includes the preview fix for ghostscript
* Includes the changes for font-late.elc
- Remove auctex-11.86-font-latex.5.194.patch
-------------------------------------------------------------------
Thu Jun 6 10:27:26 UTC 2013 - werner@suse.de
- Add patch auctex-11.86-font-latex.5.194.patch from upstream to
make GNU emacs 24.3 silent about font-late.elc (reported by
Johannes Roth)
-------------------------------------------------------------------
Fri Feb 22 17:08:38 UTC 2013 - werner@suse.de
@ -252,6 +267,6 @@ Wed May 28 14:40:01 MET DST 1997 - werner@suse.de
Mon Nov 4 16:12:03 MET DST 1996 - werner@suse.de
- auctex: Version 9.5a für GNU-emacs und X-emacs
- auctex: Version 9.5a für GNU-emacs und X-emacs

View File

@ -40,15 +40,14 @@ BuildRequires: texlive-collection-latexextra
BuildRequires: texlive-tex
BuildRequires: texlive-texinfo
%endif
Version: 11.86
Version: 11.87
Release: 0
Summary: AUC TeX: An Emacs Extension
License: GPL-2.0+
Group: Productivity/Editors/Emacs
Source: ftp://ftp.gnu.org/pub/gnu/auctex/auctex-%{version}.tar.bz2
Source: ftp://ftp.gnu.org/pub/gnu/auctex/auctex-%{version}.tar.gz
Url: http://www.gnu.org/software/auctex
Patch: auctex-11.86.dif
Patch1: auctex-11.85-preview.dif
Patch: auctex-11.87.dif
Patch2: auctex-11.86-dinbrief.dif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
@ -73,7 +72,6 @@ you cannot use this package for XEmacs.
%prep
%setup -n auctex-%{version}
%patch
%patch1
%patch2
%build