rpms/xulrunner/F-9 mozilla-ps-pdf-simplify-operators.patch, NONE, 1.1 xulrunner.spec, 1.125, 1.126

Christopher Aillon (caillon) fedora-extras-commits at redhat.com
Thu May 29 14:44:36 UTC 2008


Author: caillon

Update of /cvs/extras/rpms/xulrunner/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20065

Modified Files:
	xulrunner.spec 
Added Files:
	mozilla-ps-pdf-simplify-operators.patch 
Log Message:
* Thu May 29 2008 Christopher Aillon <caillon at redhat.com> 1.0-0.63
- Simplify PS/PDF operators


mozilla-ps-pdf-simplify-operators.patch:

--- NEW FILE mozilla-ps-pdf-simplify-operators.patch ---
https://bugzilla.mozilla.org/show_bug.cgi?id=435313

Index: mozilla/gfx/thebes/public/gfxPDFSurface.h
===================================================================
RCS file: /cvsroot/mozilla/gfx/thebes/public/gfxPDFSurface.h,v
retrieving revision 1.13
diff -d -u -p -r1.13 gfxPDFSurface.h
--- mozilla/gfx/thebes/public/gfxPDFSurface.h	19 Mar 2008 20:51:42 -0000	1.13
+++ mozilla/gfx/thebes/public/gfxPDFSurface.h	23 May 2008 00:50:31 -0000
@@ -63,7 +63,11 @@ public:
     // this is in points!
     const gfxSize& GetSize() const { return mSize; }
 
-    virtual PRInt32 GetDefaultContextFlags() const { return gfxContext::FLAG_DISABLE_SNAPPING; }
+    virtual PRInt32 GetDefaultContextFlags() const
+    {
+        return gfxContext::FLAG_SIMPLIFY_OPERATORS |
+               gfxContext::FLAG_DISABLE_SNAPPING;
+    }
 
 private:
     nsCOMPtr<nsIOutputStream> mStream;
Index: mozilla/gfx/thebes/public/gfxPSSurface.h
===================================================================
RCS file: /cvsroot/mozilla/gfx/thebes/public/gfxPSSurface.h,v
retrieving revision 1.13
diff -d -u -p -r1.13 gfxPSSurface.h
--- mozilla/gfx/thebes/public/gfxPSSurface.h	19 Mar 2008 20:51:42 -0000	1.13
+++ mozilla/gfx/thebes/public/gfxPSSurface.h	23 May 2008 00:50:31 -0000
@@ -63,7 +63,11 @@ public:
     // this is in points!
     const gfxSize& GetSize() const { return mSize; }
 
-    virtual PRInt32 GetDefaultContextFlags() const { return gfxContext::FLAG_DISABLE_SNAPPING; }
+    virtual PRInt32 GetDefaultContextFlags() const
+    {
+        return gfxContext::FLAG_SIMPLIFY_OPERATORS |
+               gfxContext::FLAG_DISABLE_SNAPPING;
+    }
 
 private:
     nsCOMPtr<nsIOutputStream> mStream;


Index: xulrunner.spec
===================================================================
RCS file: /cvs/extras/rpms/xulrunner/F-9/xulrunner.spec,v
retrieving revision 1.125
retrieving revision 1.126
diff -u -r1.125 -r1.126
--- xulrunner.spec	22 May 2008 19:14:28 -0000	1.125
+++ xulrunner.spec	29 May 2008 14:43:54 -0000	1.126
@@ -10,7 +10,7 @@
 Summary:        XUL Runtime for Gecko Applications
 Name:           xulrunner
 Version:        1.9
-Release:        0.62%{?version_pre}%{?dist}
+Release:        0.63%{?version_pre}%{?dist}
 URL:            http://www.mozilla.org/projects/xulrunner/
 License:        MPLv1.1 or GPLv2+ or LGPLv2+
 Group:          Applications/Internet
@@ -35,6 +35,7 @@
 Patch23:        xulrunner-hang.patch
 Patch24:        mozilla-resolution.patch
 Patch25:        mozilla-fsync.patch
+Patch26:        mozilla-ps-pdf-simplify-operators.patch
 
 
 # ---------------------------------------------------
@@ -110,6 +111,7 @@
 %patch23 -p1 -b .hang
 %patch24 -p1 -b .resolution
 %patch25 -p1 -b .fsync
+%patch26 -p1 -b .ps-pdf-simplify-operators
 
 %{__rm} -f .mozconfig
 %{__cp} %{SOURCE10} .mozconfig
@@ -382,6 +384,9 @@
 #---------------------------------------------------------------------
 
 %changelog
+* Thu May 29 2008 Christopher Aillon <caillon at redhat.com> 1.0-0.63
+- Simplify PS/PDF operators
+
 * Thu May 22 2008 Christopher Aillon <caillon at redhat.com> 1.0-0.62
 - Upstream patch to fsync() less
 




More information about the fedora-extras-commits mailing list