rpms/paps/devel paps-0.6.6-wordwrap.patch, NONE, 1.1 paps.spec, 1.15, 1.16

Akira Tagoh (tagoh) fedora-extras-commits at redhat.com
Tue Jun 20 16:47:10 UTC 2006


Author: tagoh

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

Modified Files:
	paps.spec 
Added Files:
	paps-0.6.6-wordwrap.patch 
Log Message:
* Wed Jun 21 2006 Akira TAGOH <tagoh at redhat.com>
- paps-0.6.6-wordwrap.patch: applied to do a wordwrap.

paps-0.6.6-wordwrap.patch:

--- NEW FILE paps-0.6.6-wordwrap.patch ---
diff -ruN -x 'Makefile*' -x autom4te.cache -x 'config*' -x doc -x 'foo*' -x 'lib*' -x .deps -x .libs -x paps -x '*o' -x '*~' -x 'stamp*' -x 'test*' paps-0.6.6.orig/src/paps.c paps-0.6.6/src/paps.c
--- paps-0.6.6.orig/src/paps.c	2006-06-20 20:40:11.000000000 +0900
+++ paps-0.6.6/src/paps.c	2006-06-21 01:36:54.000000000 +0900
@@ -495,6 +495,7 @@
                                       page_layout->pango_dir == PANGO_DIRECTION_LTR
                                       ? PANGO_ALIGN_LEFT : PANGO_ALIGN_RIGHT);
           pango_layout_set_width (para->layout, paint_width * PANGO_SCALE);
+	  pango_layout_set_wrap (para->layout, PANGO_WRAP_WORD_CHAR);
           para->height = 0;
 
           if (wc == '\f')


Index: paps.spec
===================================================================
RCS file: /cvs/extras/rpms/paps/devel/paps.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- paps.spec	19 Jun 2006 19:43:00 -0000	1.15
+++ paps.spec	20 Jun 2006 16:47:09 -0000	1.16
@@ -14,6 +14,7 @@
 Patch5:		paps-0.6.6-segfault.patch
 Patch6:		paps-0.6.6-font-option.patch
 Patch7:		paps-0.6.6-lcctype.patch
+Patch8:		paps-0.6.6-wordwrap.patch
 
 Summary:	Plain Text to PostScript converter
 Group:		Applications/Publishing
@@ -30,6 +31,7 @@
 %patch5 -p1 -b .segfault
 %patch6 -p1 -b .fontopt
 %patch7 -p1 -b .lcctype
+%patch8 -p1 -b .wordwrap
 aclocal
 automake
 autoconf
@@ -57,6 +59,9 @@
 
 
 %changelog
+* Wed Jun 21 2006 Akira TAGOH <tagoh at redhat.com>
+- paps-0.6.6-wordwrap.patch: applied to do a wordwrap.
+
 * Tue Jun 20 2006 Akira TAGOH <tagoh at redhat.com> - 0.6.6-5
 - paps-typo-font-scale.patch: backported from CVS.
 - paps-0.6.6-font-option.patch: integrated --font-family and --font-scale




More information about the fedora-extras-commits mailing list