Permalink
Browse files

works on the mac

  • Loading branch information...
1 parent 98446da commit 5b34db6c8270596296e073d9c57c7e636728074b @greglandrum greglandrum committed Nov 24, 2016
Showing with 69 additions and 1 deletion.
  1. +1 −1 cairo_nox/meta.yaml
  2. +4 −0 pixman/Notes.md
  3. +23 −0 pixman/bld.bat
  4. +4 −0 pixman/build.sh
  5. +26 −0 pixman/meta.yaml
  6. +11 −0 pixman/no_test.patch
View
@@ -23,7 +23,7 @@ requirements:
- freetype 2.5.* [unix]
- fontconfig 2.11.* [linux]
- libpng 1.6.*
- - pixman 0.32.*
+ - pixman 0.32.*
- zlib 1.2.*
View
@@ -0,0 +1,4 @@
+To compile this package on Windows you need to install MSYS and add it to
+your PATH:
+
+http://www.mingw.org/wiki/msys
View
@@ -0,0 +1,23 @@
+:: SSSE3 is giving errors when compiling with MSVC 9
+if %PY_VER%==2.7 (
+ set SSSE3_FLAG=off
+) else (
+ set SSSE3_FLAG=on
+)
+
+:: MMX is giving errors when linking cairo in 64 bit systems
+if %ARCH%==64 (
+ set MMX_FLAG=off
+) else (
+ set MMX_FLAG=on
+)
+
+:: Comnpiling
+make -f Makefile.win32 SSSE3=%SSSE3_FLAG% MMX=%MMX_FLAG%
+
+:: Installing
+mkdir %LIBRARY_INC%\pixman
+move pixman\pixman.h %LIBRARY_INC%\pixman
+move pixman\pixman-version.h %LIBRARY_INC%\pixman
+
+move pixman\release\pixman-1.lib %LIBRARY_LIB%
View
@@ -0,0 +1,4 @@
+#!/bin/bash
+./configure --prefix=$PREFIX
+make -j
+make install
View
@@ -0,0 +1,26 @@
+package:
+ name: pixman
+ version: 0.32.6
+
+source:
+ url: http://cairographics.org/releases/pixman-0.32.6.tar.gz
+ md5: 3a30859719a41bd0f5cccffbfefdd4c2
+ patches:
+ - no_test.patch # [win]
+
+build:
+ features:
+ - vc9 # [win and py27]
+ - vc10 # [win and py34]
+ - vc14 # [win and py35]
+
+# requirements:
+# build:
+# - gcc # [not win]
+# run:
+# - libgcc # [not win]
+
+about:
+ home: http://cgit.freedesktop.org/pixman/
+ license: MIT
+ summary: A low-level software library for pixel manipulation
View
@@ -0,0 +1,11 @@
+--- Makefile.win32.old 2015-11-10 10:11:50 -0500
++++ Makefile.win32 2015-11-10 10:12:12 -0500
+@@ -3,7 +3,7 @@
+ top_srcdir = .
+ include $(top_srcdir)/Makefile.win32.common
+
+-all: pixman test
++all: pixman
+
+ pixman:
+ @$(MAKE) -C pixman -f Makefile.win32

0 comments on commit 5b34db6

Please sign in to comment.