[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/tetex/devel tetex-3.0-xdvi-keepflag.patch, NONE, 1.1 tetex.spec, 1.70, 1.71



Author: jnovy

Update of /cvs/dist/rpms/tetex/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv29248

Modified Files:
	tetex.spec 
Added Files:
	tetex-3.0-xdvi-keepflag.patch 
Log Message:
- remove preview-latex files as they are incomplete and without
  documentation, preview-latex is now part of AUCTeX (#168859)
- fix xdvi -> navigation with a spacebar does not keep position (#168124)


tetex-3.0-xdvi-keepflag.patch:
 events.c |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

--- NEW FILE tetex-3.0-xdvi-keepflag.patch ---
--- tetex-src-3.0/texk/xdvik/events.c.xdvi-keepflag	2004-11-30 01:45:11.000000000 +0100
+++ tetex-src-3.0/texk/xdvik/events.c	2005-10-31 15:34:32.000000000 +0100
@@ -696,10 +696,12 @@ home(wide_bool scrl)
     {
 	int value;
 
-	value = (globals.page.w - mane.width) / 2;
-	if (value > resource.sidemargin_int / mane.shrinkfactor)
-	    value = resource.sidemargin_int / mane.shrinkfactor;
-	(void)set_bar_value(globals.widgets.x_bar, value, (int)(globals.page.w - mane.width));
+	if (!resource.keep_flag) {
+	    value = (globals.page.w - mane.width) / 2;
+	    if (value > resource.sidemargin_int / mane.shrinkfactor)
+		value = resource.sidemargin_int / mane.shrinkfactor;
+	    (void)set_bar_value(globals.widgets.x_bar, value, (int)(globals.page.w - mane.width));
+	}
 
 	value = (globals.page.h - mane.height) / 2;
 	if (value > resource.topmargin_int / mane.shrinkfactor)


Index: tetex.spec
===================================================================
RCS file: /cvs/dist/rpms/tetex/devel/tetex.spec,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -r1.70 -r1.71
--- tetex.spec	19 Aug 2005 09:45:32 -0000	1.70
+++ tetex.spec	31 Oct 2005 14:41:47 -0000	1.71
@@ -11,7 +11,7 @@
 Summary: The TeX text formatting system.
 Name: tetex
 Version: 3.0
-Release: 6
+Release: 7
 License: distributable
 Group: Applications/Publishing
 Requires: tmpwatch, dialog, ed
@@ -74,6 +74,7 @@
 Patch12: tetex-3.0-badscript.patch
 Patch13: tetex-3.0-marvosym-rightarrow.patch
 Patch14: tetex-3.0-dcb314.patch
+Patch15: tetex-3.0-xdvi-keepflag.patch
 
 ######
 # Japanization patches
@@ -281,6 +282,8 @@
 %patch13 -p1 -b .rightarrow
 # Fix usage of uninitialized variable (bug #149212)
 %patch14 -p1 -b .dcb314
+# Fix xdvi - navigation with a spacebar does not keep position (bug #168124)
+%patch15 -p1 -b .xdvi-keepflag
 
 %if %{enable_japanese}
 mkdir texmf/ptex-texmf
@@ -518,6 +521,9 @@
 	$RPM_BUILD_ROOT%{_datadir}/texmf/tex/latex/base/latex.ltx.orig
 rm -rf	$RPM_BUILD_ROOT%{_prefix}/html
 
+# Remove preview-latex (#168859)
+rm -rf  $RPM_BUILD_ROOT%{_datadir}/texmf/tex/latex/preview
+
 # Compress man pages
 [ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress
 
@@ -783,6 +789,11 @@
 %defattr(-,root,root)
 
 %changelog
+* Mon Oct 31 2005 Jindrich Novy <jnovy redhat com> 3.0-7
+- remove preview-latex files as they are incomplete and without
+  documentation, preview-latex is now part of AUCTeX (#168859)
+- fix xdvi -> navigation with a spacebar does not keep position (#168124)
+ 
 * Fri Aug 19 2005 Jindrich Novy <jnovy redhat com> 3.0-6
 - fix detectection of X resource file for pxdvi (#164960)
 - update to mendexk 2.6c (announced by MATSUURA Takanori)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]