From e1f159163d7fddf9a0b8addf356c1b9e0b0341ee21f4250c8acec5023578bf29 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Thu, 6 Jun 2013 10:29:14 +0000 Subject: [PATCH 1/3] . OBS-URL: https://build.opensuse.org/package/show/editors/emacs-auctex?expand=0&rev=20 --- auctex-11.86-font-latex.5.194.patch | 13 +++++++++++++ emacs-auctex.changes | 6 ++++++ emacs-auctex.spec | 2 ++ 3 files changed, 21 insertions(+) create mode 100644 auctex-11.86-font-latex.5.194.patch diff --git a/auctex-11.86-font-latex.5.194.patch b/auctex-11.86-font-latex.5.194.patch new file mode 100644 index 0000000..19096b4 --- /dev/null +++ b/auctex-11.86-font-latex.5.194.patch @@ -0,0 +1,13 @@ +--- font-latex.el 2011/05/01 14:54:21 5.193 ++++ font-latex.el 2012/07/04 06:11:58 5.194 +@@ -1952,8 +1952,8 @@ + (symbol-function 'font-latex-make-built-in-keywords)) + (dolist (elt font-latex-built-in-keyword-classes) + (let ((name (nth 0 elt))) +- (byte-compile (intern (concat "font-latex-" name))) +- (byte-compile (intern (concat "font-latex-" name "-make")))))) ++ (byte-compile (intern (concat "font-latex-match-" name))) ++ (byte-compile (intern (concat "font-latex-match-" name "-make")))))) + + + ;; Provide ourselves: diff --git a/emacs-auctex.changes b/emacs-auctex.changes index f4ffa9a..7a0b839 100644 --- a/emacs-auctex.changes +++ b/emacs-auctex.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jun 6 10:27:26 UTC 2013 - werner@suse.de + +- Add fix from upstream to make GNU emacs 24.3 silent about font-late.elc + was reported by Johannes Roth + ------------------------------------------------------------------- Fri Feb 22 17:08:38 UTC 2013 - werner@suse.de diff --git a/emacs-auctex.spec b/emacs-auctex.spec index 5ac8ca1..ded163e 100644 --- a/emacs-auctex.spec +++ b/emacs-auctex.spec @@ -50,6 +50,7 @@ Url: http://www.gnu.org/software/auctex Patch: auctex-11.86.dif Patch1: auctex-11.85-preview.dif Patch2: auctex-11.86-dinbrief.dif +Patch3: auctex-11.86-font-latex.5.194.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch @@ -75,6 +76,7 @@ you cannot use this package for XEmacs. %patch %patch1 %patch2 +%patch3 %build unset ${!LC_*} From 91d5cfc6af540d2a3c3073e690f473ab2bf1209c3e38853132638859ae6445ff Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Thu, 6 Jun 2013 10:31:14 +0000 Subject: [PATCH 2/3] . OBS-URL: https://build.opensuse.org/package/show/editors/emacs-auctex?expand=0&rev=21 --- emacs-auctex.changes | 5 +++-- emacs-auctex.spec | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/emacs-auctex.changes b/emacs-auctex.changes index 7a0b839..4c02464 100644 --- a/emacs-auctex.changes +++ b/emacs-auctex.changes @@ -1,8 +1,9 @@ ------------------------------------------------------------------- Thu Jun 6 10:27:26 UTC 2013 - werner@suse.de -- Add fix from upstream to make GNU emacs 24.3 silent about font-late.elc - was reported by Johannes Roth +- 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 diff --git a/emacs-auctex.spec b/emacs-auctex.spec index ded163e..19b39b6 100644 --- a/emacs-auctex.spec +++ b/emacs-auctex.spec @@ -76,6 +76,7 @@ you cannot use this package for XEmacs. %patch %patch1 %patch2 +# PATCH-FIX-UPSTREAM: Make font-latex.elc work with GNU emacs 24.3 %patch3 %build From 98e5ed1198f86798f967ff2bd1fcb1740b42f0a1af12251c84294da22663ac62 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Thu, 6 Jun 2013 11:03:22 +0000 Subject: [PATCH 3/3] . OBS-URL: https://build.opensuse.org/package/show/editors/emacs-auctex?expand=0&rev=22 --- auctex-11.85-preview.dif | 44 ---------------------------- auctex-11.86-font-latex.5.194.patch | 13 -------- auctex-11.86.tar.bz2 | 3 -- auctex-11.86.dif => auctex-11.87.dif | 14 ++++----- auctex-11.87.tar.gz | 3 ++ emacs-auctex.changes | 10 ++++++- emacs-auctex.spec | 11 ++----- 7 files changed, 22 insertions(+), 76 deletions(-) delete mode 100644 auctex-11.85-preview.dif delete mode 100644 auctex-11.86-font-latex.5.194.patch delete mode 100644 auctex-11.86.tar.bz2 rename auctex-11.86.dif => auctex-11.87.dif (71%) create mode 100644 auctex-11.87.tar.gz diff --git a/auctex-11.85-preview.dif b/auctex-11.85-preview.dif deleted file mode 100644 index 5abe4bd..0000000 --- a/auctex-11.85-preview.dif +++ /dev/null @@ -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 "<> 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 diff --git a/auctex-11.86-font-latex.5.194.patch b/auctex-11.86-font-latex.5.194.patch deleted file mode 100644 index 19096b4..0000000 --- a/auctex-11.86-font-latex.5.194.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- font-latex.el 2011/05/01 14:54:21 5.193 -+++ font-latex.el 2012/07/04 06:11:58 5.194 -@@ -1952,8 +1952,8 @@ - (symbol-function 'font-latex-make-built-in-keywords)) - (dolist (elt font-latex-built-in-keyword-classes) - (let ((name (nth 0 elt))) -- (byte-compile (intern (concat "font-latex-" name))) -- (byte-compile (intern (concat "font-latex-" name "-make")))))) -+ (byte-compile (intern (concat "font-latex-match-" name))) -+ (byte-compile (intern (concat "font-latex-match-" name "-make")))))) - - - ;; Provide ourselves: diff --git a/auctex-11.86.tar.bz2 b/auctex-11.86.tar.bz2 deleted file mode 100644 index 55cc41b..0000000 --- a/auctex-11.86.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ab058ebe0c223cd5f897bc0d864628548ea1ca7311dc5b8372fb094f81803ad1 -size 958514 diff --git a/auctex-11.86.dif b/auctex-11.87.dif similarity index 71% rename from auctex-11.86.dif rename to auctex-11.87.dif index 18fca32..45d1f6a 100644 --- a/auctex-11.86.dif +++ b/auctex-11.87.dif @@ -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 diff --git a/auctex-11.87.tar.gz b/auctex-11.87.tar.gz new file mode 100644 index 0000000..c38adb5 --- /dev/null +++ b/auctex-11.87.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:63d57229e585dbf727f5545337615b997488bfdf475274da0718c90b77bd5cf2 +size 1206073 diff --git a/emacs-auctex.changes b/emacs-auctex.changes index 4c02464..604b3ef 100644 --- a/emacs-auctex.changes +++ b/emacs-auctex.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +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 @@ -259,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 diff --git a/emacs-auctex.spec b/emacs-auctex.spec index 19b39b6..33f5a51 100644 --- a/emacs-auctex.spec +++ b/emacs-auctex.spec @@ -40,17 +40,15 @@ 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 -Patch3: auctex-11.86-font-latex.5.194.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch @@ -74,10 +72,7 @@ you cannot use this package for XEmacs. %prep %setup -n auctex-%{version} %patch -%patch1 %patch2 -# PATCH-FIX-UPSTREAM: Make font-latex.elc work with GNU emacs 24.3 -%patch3 %build unset ${!LC_*}