From e7c45b663c1fc3755e2563510eff1a95e1dc7b19e5d37cb1e064bf2f5be6c509 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Fri, 5 Dec 2008 14:29:54 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xemacs?expand=0&rev=38 --- ...50838-make-generic-print-buffer-work.patch | 22 ++++++++++++++ xemacs.changes | 7 +++++ xemacs.spec | 30 +++++++++++-------- 3 files changed, 47 insertions(+), 12 deletions(-) create mode 100644 bnc450838-make-generic-print-buffer-work.patch diff --git a/bnc450838-make-generic-print-buffer-work.patch b/bnc450838-make-generic-print-buffer-work.patch new file mode 100644 index 0000000..6cac431 --- /dev/null +++ b/bnc450838-make-generic-print-buffer-work.patch @@ -0,0 +1,22 @@ +diff -r 49f8ed034500 -r 78767f901c2b lisp/printer.el +--- a/lisp/printer.el Mon May 12 11:53:04 2008 +0200 ++++ b/lisp/printer.el Tue May 13 14:56:38 2008 +0200 +@@ -263,7 +263,7 @@ If BUFFER is nil or omitted, the current + (let* ((print-region (and (interactive-p) (region-active-p))) + (start (if print-region (region-beginning) (point-min buffer))) + (end (if print-region (region-end) (point-max buffer)))) +- (if (or (not (valid-specifier-tag-p 'msprinter)) ++ (if (or (not (valid-device-type-p 'msprinter)) + (not display-print-dialog)) + (generic-print-region start end buffer) + (let* ((d (Printer-get-device)) +@@ -312,7 +312,7 @@ Recognized properties are the same as th + to-page Last page to print, inclusive, If omitted, printing ends at + the end. + copies Number of copies to print. If omitted, one copy is printed." +- (cond ((valid-specifier-tag-p 'msprinter) ++ (cond ((valid-device-type-p 'msprinter) + ;; loop, printing one copy of document per loop. kill and + ;; re-create the frame each time so that we eject the piece + ;; of paper at the end even if we're printing more than one + diff --git a/xemacs.changes b/xemacs.changes index cff84e9..1903bac 100644 --- a/xemacs.changes +++ b/xemacs.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Dec 04 15:03:37 CET 2008 - mfabian@suse.de + +- bnc#450838: make generic-print-buffer work again. Patch by + Aidan Kehoe from upstream, see + http://article.gmane.org/gmane.emacs.xemacs.patches/9411 + ------------------------------------------------------------------- Wed Oct 29 12:27:46 CET 2008 - mfabian@suse.de diff --git a/xemacs.spec b/xemacs.spec index 0dbdd60..79a893e 100644 --- a/xemacs.spec +++ b/xemacs.spec @@ -44,7 +44,7 @@ Requires: xemacs-info xemacs-packages ctags Conflicts: gnuserv AutoReqProv: on Version: 21.5.28.20080401 -Release: 58 +Release: 59 Summary: XEmacs BuildRoot: %{_tmppath}/%{name}-%{version}-build # Howto get the cvs tree of XEmacs: @@ -104,6 +104,7 @@ Patch49: xemacs-configure.patch Patch292811: bugzilla-292811-make-x-make-font-bold-italic-xft-work.patch Patch301352: bugzilla-301352-fix-wrong-incrementing-in-macros.patch Patch432404: bnc432404-bytecomp.diff +Patch450838: bnc450838-make-generic-print-buffer-work.patch %description This is the current version of XEmacs, formerly known as Lucid-Emacs. @@ -199,6 +200,7 @@ Authors: %patch292811 -p1 %patch301352 -p1 %patch432404 -p1 +%patch450838 -p1 %patch0 -p1 find lisp/ etc/ -name '*.elc' | xargs -r rm -f %ifarch ia64 @@ -601,6 +603,10 @@ rm -rf $RPM_BUILD_ROOT %dir /usr/share/xemacs/site-packages/lisp/term/ %changelog +* Thu Dec 04 2008 mfabian@suse.de +- bnc#450838: make generic-print-buffer work again. Patch by + Aidan Kehoe from upstream, see + http://article.gmane.org/gmane.emacs.xemacs.patches/9411 * Wed Oct 29 2008 mfabian@suse.de - bnc#432404 (XEmacs crashes on loading byte compiled .gnus.elc): prevent latin-unity from fiddling with the coding system when @@ -773,7 +779,7 @@ rm -rf $RPM_BUILD_ROOT + remove fix-wrong-use-of-memset.patch (included upstream). * Tue Jul 18 2006 schwab@suse.de - Fix broken use of autoconf internal macros. -* Thu Jun 15 2006 dmueller@suse.de +* Wed Jun 14 2006 dmueller@suse.de - build parallel * Mon Mar 27 2006 mfabian@suse.de - update to 21.5.25.20060327 to make xemacs build on x86_64 again, @@ -882,13 +888,13 @@ rm -rf $RPM_BUILD_ROOT - update to 21.5.20. - jamie-zawinski-selection-fix.patch, aidan-kehoe-iso8859-16.patch not necessary anymore. -* Tue Apr 26 2005 mfabian@suse.de +* Mon Apr 25 2005 mfabian@suse.de - add workaround support for more unicode characters, especially for those needed for IPA. * Thu Apr 14 2005 mfabian@suse.de - Bugzilla #77957: add all characters from U+00A1 to U+00FF to preloaded-unicode-key-translations. -* Mon Apr 04 2005 aj@suse.de +* Sun Apr 03 2005 aj@suse.de - Fix GCC4 sentinel warnings. * Mon Mar 07 2005 mfabian@suse.de - add a few more characters to preloaded-unicode-key-translations @@ -919,7 +925,7 @@ rm -rf $RPM_BUILD_ROOT * Thu Feb 10 2005 mfabian@suse.de - remove configure option "--rel-alloc" because it makes XEmacs 21.5.18 often crash when using 'compile-goto-error'. -* Sat Feb 05 2005 schwab@suse.de +* Fri Feb 04 2005 schwab@suse.de - Fix format string bug in movemail. * Fri Feb 04 2005 werner@suse.de - Security fix for movemail applied (bug #50237) @@ -966,7 +972,7 @@ rm -rf $RPM_BUILD_ROOT incompatible to XEmacs and should never be read. - use -adobe-helvetica-bold-* instead of -gnu-unifont- by default for the menus because most users like it better. -* Tue Mar 09 2004 mfabian@suse.de +* Mon Mar 08 2004 mfabian@suse.de - adapt Werner's patch for xemacs 21.5.16. * Mon Mar 08 2004 werner@suse.de - Make workaround to a real fix: autoconf 2.59 does not accept @@ -1037,7 +1043,7 @@ rm -rf $RPM_BUILD_ROOT - fix race condition when generating the file list. * Tue Jun 24 2003 ro@suse.de - added directories to filelist -* Tue Jun 24 2003 ro@suse.de +* Mon Jun 23 2003 ro@suse.de - fixed filelist * Thu Mar 13 2003 mfabian@suse.de - Bug #25300: call 'latin-unity-install' for non-UTF-8 locales in @@ -1162,7 +1168,7 @@ rm -rf $RPM_BUILD_ROOT translated app-defaults file (e.g. en_US.UTF-8). - generate the file lists for the .el and .elc files automatically in the .spec file -* Tue May 07 2002 schwab@suse.de +* Mon May 06 2002 schwab@suse.de - Readd ia64 patch, suitably adapted. - Fix lib64 configuration. * Thu May 02 2002 mfabian@suse.de @@ -1344,7 +1350,7 @@ rm -rf $RPM_BUILD_ROOT * ispell menus * xterm/console key mappings - Fix font menu: set `ignore scaled fonts' to nil -* Sat Nov 06 1999 werner@suse.de +* Fri Nov 05 1999 werner@suse.de - Change file list of xe_info and xe_lisp * Thu Nov 04 1999 werner@suse.de - Remove libgif from required packages @@ -1358,7 +1364,7 @@ rm -rf $RPM_BUILD_ROOT - Add patch for glibc and __malloc_hook * Tue Oct 26 1999 werner@suse.de - New glibc requires `with system malloc' -* Thu Oct 21 1999 werner@suse.de +* Wed Oct 20 1999 werner@suse.de - Last checks * Wed Oct 20 1999 werner@suse.de - New version 21.1.7 @@ -1398,7 +1404,7 @@ rm -rf $RPM_BUILD_ROOT * Tue Nov 03 1998 werner@suse.de - Change names of languages and encoding style in ispell from `language (encod)' to `language-encod' -* Wed Jul 29 1998 werner@suse.de +* Tue Jul 28 1998 werner@suse.de - Do not use system malloc ... some parts of xemacs arn't smart enough for that. - Disable const @@ -1418,7 +1424,7 @@ rm -rf $RPM_BUILD_ROOT - Use -rpath-link /usr/X11R6/lib - Avoid multiple common - Remove and set some CONST -* Thu May 28 1998 werner@suse.de +* Wed May 27 1998 werner@suse.de - Use Xaw3d instead of Xaw to avoid trouble with xaw3dd - Change pop service "pop" to "pop3" * Tue Mar 03 1998 werner@suse.de