rpms/paps/devel paps-0.6.3-fix-pagesize.patch, NONE, 1.1 paps.spec, 1.6, 1.7

Akira Tagoh (tagoh) fedora-extras-commits at redhat.com
Fri Mar 24 09:35:24 UTC 2006


Author: tagoh

Update of /cvs/extras/rpms/paps/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26271

Modified Files:
	paps.spec 
Added Files:
	paps-0.6.3-fix-pagesize.patch 
Log Message:
* Fri Mar 24 2006 Akira TAGOH <tagoh at redhat.com> - 0.6.3-3
- paps-0.6.3-fix-pagesize.patch: fixed displaying the beginning of line at out of page. (#176207)

paps-0.6.3-fix-pagesize.patch:

--- NEW FILE paps-0.6.3-fix-pagesize.patch ---
diff -ruN paps-0.6.3.orig/src/paps.c paps-0.6.3/src/paps.c
--- paps-0.6.3.orig/src/paps.c	2005-12-21 05:22:04.000000000 +0900
+++ paps-0.6.3/src/paps.c	2006-03-24 18:27:06.000000000 +0900
@@ -558,6 +558,7 @@
           "%%%%Title: %s\n"
           "%%%%Creator: paps version 0.1 by Dov Grobgeld\n"
           "%%%%Pages: (atend)\n"
+          "%%%%BoundingBox: 0 0 %d %d\n"
           "%%%%BeginProlog\n"
 	  "%%%%Orientation: %s\n"
 	  "/papsdict 1 dict def\n"
@@ -605,6 +606,8 @@
           "  0 pageheight neg translate\n"
           "} def\n",
           title,
+          page_layout->page_width,
+          page_layout->page_height,
 	  orientation_names[orientation]
           );
   
@@ -612,6 +615,7 @@
           "%% User settings\n"
           "/pagewidth %d def\n"
           "/pageheight %d def\n"
+          "pagewidth pageheight setpagesize\n"
           "/column_width %d def\n"
           
           "/bodyheight %d def\n"


Index: paps.spec
===================================================================
RCS file: /cvs/extras/rpms/paps/devel/paps.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- paps.spec	2 Mar 2006 07:32:59 -0000	1.6
+++ paps.spec	24 Mar 2006 09:35:23 -0000	1.7
@@ -1,6 +1,6 @@
 Name:		paps
 Version:	0.6.3
-Release:	2%{?dist}
+Release:	3%{?dist}
 
 License:	LGPL
 URL:		http://paps.sourceforge.net/
@@ -8,6 +8,7 @@
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:	pango-devel
 Patch0:		paps-0.6.1-makefile.patch
+Patch1:		paps-0.6.3-fix-pagesize.patch
 
 Summary:	Plain Text to PostScript converter
 Group:		Applications/Publishing
@@ -18,6 +19,7 @@
 %prep
 %setup -q
 %patch0 -p1 -b .makefile
+%patch1 -p1 -b .pagesize
 aclocal
 automake
 autoconf
@@ -44,6 +46,9 @@
 
 
 %changelog
+* Fri Mar 24 2006 Akira TAGOH <tagoh at redhat.com> - 0.6.3-3
+- paps-0.6.3-fix-pagesize.patch: fixed displaying the beginning of line at out of page. (#176207)
+
 * Thu Mar  2 2006 Akira TAGOH <tagoh at redhat.com> - 0.6.3-2
 - rebuilt.
 




More information about the fedora-extras-commits mailing list