pkgsrc-Bugs archive

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

Re: pkg/43969: graphics/cairo does not build on netbsd-4



On 10 December 2010 14:55, Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost> 
wrote:
> The following reply was made to PR pkg/43969; it has been noted by GNATS.
>
> From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
> To: gnats-bugs%NetBSD.org@localhost
> Cc: tsutsui%ceres.dti.ne.jp@localhost
> Subject: Re: pkg/43969: graphics/cairo does not build on netbsd-4
> Date: Fri, 10 Dec 2010 23:50:39 +0900
>
> Â> Xrender and renderproto in pkgsrc look inconsistent,
>
> ÂIt looks x11/libXrender and x11/renderproto have been updated
> Âbut not x11/Xrender.
>
> ÂProbably we need x11/renderproto9 as x11/fixesproto4 for XFree86 4.x.
> Â(libXrender-0.9.6 requires x11.pc which doesn't exist on XFree86)

I've been having a play with this and have built cairo on OS X against
native (XFree86) X11.
I suspect the same change will work for netbds-4 and similar.

It involves tweaking the x11/renderproto buildlink3.mk to include a
new x11/renderproto9,
and specifically patching renderproto9's render.h to report
RENDER_MINOR of 9 rather than 10.

This is fine for Xfree86 based native X11, but I suspect may not be
right for more modern xorg
native x11, which should probably continue to use x11/renderproto (for now).

What do people think - what would the best way way to tell Xfree from
xorg native X11 apart?

URL for sample renderproto9 plus change to renderproto buildlink3.mk

http://iffy.absd.org/renderproto9.tbz


Home | Main Index | Thread Index | Old Index