[Libreoffice-commits] .: 2 commits - cairo/cairo cairo/cairo-1.10.2.patch cairo/pixman cairo/pixman-0.24.0.patch

Fridrich Strba fridrich at kemper.freedesktop.org
Mon Dec 19 00:43:36 PST 2011


 cairo/cairo-1.10.2.patch  |   12 ++++--------
 cairo/cairo/makefile.mk   |    2 +-
 cairo/pixman-0.24.0.patch |   20 ++++++++++++++++++++
 cairo/pixman/makefile.mk  |    2 +-
 4 files changed, 26 insertions(+), 10 deletions(-)

New commits:
commit 8cf76f19c5bcaebd2e35a62d41e1d0ecd46fd94f
Author: Fridrich Å trba <fridrich.strba at bluewin.ch>
Date:   Mon Dec 19 09:43:18 2011 +0100

    Build ps and pdf cairo surfaces with MSVC

diff --git a/cairo/cairo-1.10.2.patch b/cairo/cairo-1.10.2.patch
index 195af16..74c139d 100644
--- a/cairo/cairo-1.10.2.patch
+++ b/cairo/cairo-1.10.2.patch
@@ -9,14 +9,10 @@
  CAIRO_HAS_GL_SURFACE=0
  CAIRO_HAS_DIRECTFB_SURFACE=0
  CAIRO_HAS_VG_SURFACE=0
-@@ -28,9 +28,9 @@
- CAIRO_HAS_SCRIPT_SURFACE=0
- CAIRO_HAS_FT_FONT=0
+@@ -30,7 +30,7 @@
  CAIRO_HAS_FC_FONT=0
--CAIRO_HAS_PS_SURFACE=1
--CAIRO_HAS_PDF_SURFACE=1
-+CAIRO_HAS_PS_SURFACE=0
-+CAIRO_HAS_PDF_SURFACE=0
+ CAIRO_HAS_PS_SURFACE=1
+ CAIRO_HAS_PDF_SURFACE=1
 -CAIRO_HAS_SVG_SURFACE=1
 +CAIRO_HAS_SVG_SURFACE=0
  CAIRO_HAS_TEST_SURFACES=0
@@ -47,7 +43,7 @@
  else
  ZLIB_CFLAGS += -I$(top_srcdir)/../zlib/
 -CAIRO_LIBS += $(top_builddir)/../zlib/zdll.lib
-+CAIRO_LIBS += $(top_builddir)/../zlib/zlib.lib
++CAIRO_LIBS += $(ZLIB3RDLIB)
  endif
  
  DEFAULT_CFLAGS = -nologo $(MS_MDFLAGS) $(OPT)
diff --git a/cairo/cairo/makefile.mk b/cairo/cairo/makefile.mk
index 0eaef24..7f84e3d 100644
--- a/cairo/cairo/makefile.mk
+++ b/cairo/cairo/makefile.mk
@@ -100,7 +100,7 @@ BUILD_DIR=$(CONFIGURE_DIR)$/src
 .ENDIF
 
 .ELSE   # WNT, not GCC
-BUILD_ACTION=$(GNUMAKE) -f Makefile.win32 CFG=release
+BUILD_ACTION=$(GNUMAKE) -f Makefile.win32 CFG=release ZLIB3RDLIB=$(ZLIB3RDLIB)
 BUILD_DIR=
 .ENDIF
 
commit b4c74957cbec8ce1fab512983f5133223376545e
Author: Fridrich Å trba <fridrich.strba at bluewin.ch>
Date:   Mon Dec 19 09:42:32 2011 +0100

    Fix MMX build of pixman with MSVC

diff --git a/cairo/pixman-0.24.0.patch b/cairo/pixman-0.24.0.patch
index 61ef416..a6141ac 100644
--- a/cairo/pixman-0.24.0.patch
+++ b/cairo/pixman-0.24.0.patch
@@ -122,4 +122,24 @@
  
  #include "pixman-private.h"
  
+--- misc/pixman-0.24.0/pixman/pixman-mmx.c	2011-11-06 13:47:42.000000000 -0700
++++ misc/build/pixman-0.24.0/pixman/pixman-mmx.c	2011-12-19 00:41:42.280402800 -0700
+@@ -309,7 +309,7 @@
+ 
+ /* Elemental unaligned loads */
+ 
+-static __inline__ __m64 ldq_u(uint64_t *p)
++static inline __m64 ldq_u(uint64_t *p)
+ {
+ #ifdef USE_X86_MMX
+     /* x86's alignment restrictions are very relaxed. */
+@@ -328,7 +328,7 @@
+ #endif
+ }
+ 
+-static __inline__ uint32_t ldl_u(uint32_t *p)
++static inline uint32_t ldl_u(uint32_t *p)
+ {
+ #ifdef USE_X86_MMX
+     /* x86's alignment restrictions are very relaxed. */
 
diff --git a/cairo/pixman/makefile.mk b/cairo/pixman/makefile.mk
index dcd489d..44ea09b 100644
--- a/cairo/pixman/makefile.mk
+++ b/cairo/pixman/makefile.mk
@@ -74,7 +74,7 @@ BUILD_DIR=$(CONFIGURE_DIR)
 
 .ELSE   # WNT, not GCC
 BUILD_DIR=pixman
-BUILD_ACTION=$(GNUMAKE) -f Makefile.win32 MMX=off SSE2=on CFG=release
+BUILD_ACTION=$(GNUMAKE) -f Makefile.win32 MMX=on SSE2=on CFG=release
 .ENDIF
 
 .ELIF "$(GUIBASE)"=="aqua"


More information about the Libreoffice-commits mailing list