Package Details: mingw-w64-cairo 1.17.2-1

Git Clone URL: (read-only, click to copy)
Package Base: mingw-w64-cairo
Description: 2D graphics library with support for multiple output devices (mingw-w64)
Upstream URL:
Keywords: cairo mingw mingw-w64
Licenses: MPL, LGPL
Conflicts: mingw-w64-cairo-bootstrap
Replaces: mingw-w64-cairo-bootstrap
Submitter: Schala
Maintainer: pingplug
Last Packager: pingplug
Votes: 15
Popularity: 0.000001
First Submitted: 2012-09-05 18:20
Last Updated: 2019-05-21 06:26

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

Schala commented on 2015-10-11 15:31

I know. I'm doing my best to match up to native cairo. Luckily ant32 has prebuilts if you need to bootstrap:

lantw44 commented on 2015-10-11 07:00

Circular dependency:

mingw-w64-cairo -> mingw-w64-librsvg -> mingw-w64-pango -> mingw-w64-cairo
mingw-w64-cairo -> mingw-w64-poppler -> mingw-w64-cairo

Schala commented on 2015-10-10 16:55


lantw44 commented on 2015-10-09 20:48

mingw-w64-cairo 1.14.2 is too old for mingw-w64-gtk3 3.18.1:

checking for CAIRO_BACKEND... yes
checking for CAIRO... yes
checking for cairo_win32_surface_create_with_format in -lcairo... no
configure: error: cairo_win32_surface_create_with_format is not found in cairo library
You need cairo version newer than 2015-04-14

Can you backport patches required by gtk3 or add a git snapshot package?

xantares commented on 2014-06-10 15:27


the build issue mentionned earlier was when it tried to build sphinx:

/tmp/yaourt-tmp-root/aur-mingw-w64-cairo/src/cairo-1.12.16/util/cairo-sphinx/sphinx.c:8:22: fatal error: sys/mman.h: No such file or directory

fedora had this patch:

can you include it ?

chenxiaolong commented on 2014-06-05 17:38

Fixed the gcc-4.9 build issue :)

Schala commented on 2013-10-20 04:44

It doesn't define it for me.

xantares commented on 2013-10-16 07:44

Hi, seems it does not build:

/tmp/yaourt-tmp-root/aur-mingw-w64-cairo/src/cairo-1.12.16/util/cairo-sphinx/sphinx.c:8:22: fatal error: sys/mman.h: No such file or directory
#include <sys/mman.h>
compilation terminated.

There is no guard from including sys/mman.h:
/tmp/yaourt-tmp-root/aur-mingw-w64-cairo/src/cairo-1.12.16/ HAVE_SYS_MMAN_H


Schala commented on 2012-10-13 05:53

Thanks for the help. I do want packages that actually work, so I'll be looking into it.

entidi commented on 2012-10-12 13:48

The fact is without setting any pkg-config environment variable the package will link against the system libraries (and this would also explain why xcb was working), resulting (if successfull) in unusable libraries. I didn't think it was ever possible to link libraries from different platforms so it took me a while to discover this issue.

All your mingw-w64 PKGBUILDs suffer from this problem, so I really don't understand how the whole mingw-w64 GTK+2 toolchain can work. Anyway or I am missing something really huge or there is a problem. In the latter case, I suggest to add the PKG_CONFIG_... settings to all your packages that rely on pkg-config or add mingw-w64-pkg-config ( to makedepends (it does the same thing with wrapper scripts).

I'm building my own toolchain based on Fedora so don't consider yourself pushed to make a decision.