tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: cairo

On Thu, Sep 13, 2012 at 03:40:18PM +0000, David Holland wrote:
> Between PR 46926 and build failures on other platforms (both Solaris
> and OS X, iirc) I'm wondering if it might not be a good idea to revert
> the recent cairo update, at least until after 2012Q3.
> anyone have thoughts on this?

The Mac OS x problem is a build problem that happens only under
Mac OS X Snow Leopard and older. It can be fixed by this change
to the "cairo" package:

RCS file: /cvsroot/pkgsrc/graphics/cairo/,v
retrieving revision 1.42
diff -u -r1.42
---       8 Sep 2012 08:53:03 -0000       1.42
+++       1 Oct 2012 12:50:38 -0000
@@ -18,6 +18,7 @@
 .include "../../mk/"
 .if !empty(PKG_BUILD_OPTIONS.cairo:Mxcb)
+BUILDLINK_API_DEPENDS.libxcb+= libxcb>=1.6
 .include "../../x11/libxcb/"
RCS file: /cvsroot/pkgsrc/graphics/cairo/,v
retrieving revision 1.7
diff -u -r1.7
---  7 Sep 2012 15:24:03 -0000       1.7
+++  1 Oct 2012 12:50:38 -0000
@@ -27,6 +27,7 @@
 .  if !empty(PKG_OPTIONS:Mxcb)
 CONFIGURE_ARGS+=       --enable-xcb
 PLIST.xcb=             yes
+BUILDLINK_API_DEPENDS.libxcb+= libxcb>=1.6
 .  include "../../x11/libxcb/"
 .  endif
I'm however worried about the side effect of this change. It might result
in some applications using the builtin "libxcb" and the one from "pkgsrc".
This could be fixed by bumping the minimum version followed by a recursive
bump of packages using "libxcb". But I'm reasonably sure that we don't
want to backport such a change.

        Kind regards

Matthias Scheler                        

Home | Main Index | Thread Index | Old Index