[Xcb] [PATCH libxcb/libX11 0/3] Avoid excessive reads + automake fixes
Rami Ylimäki
rami.ylimaki at vincit.fi
Tue May 10 07:28:10 PDT 2011
On 04/13/2011 12:37 AM, Jamey Sharp wrote:
> [CC'ing Gaetan for autofoo expertise, and the xcb list for the usual
> reasons.]
>
> On Fri, Apr 8, 2011 at 6:22 AM, Rami Ylimäki<rami.ylimaki at vincit.fi> wrote:
>> I corrected the patches as you requested some time ago. However, these
>> haven't been pushed to the repository yet. Is it OK for you if I do a pull
>> request for these patches? I'm asking because in some email you said that
>> you'd like to integrate these patches along with the deadlock fixes, but now
>> it seems that the deadlock fixes still need to be reworked. However, these
>> patches should be independent of the deadlock fixes so I think these could
>> nevertheless be applied to the repositories.
> Right, right, sorry. I've pushed your libxcb patch, so at least that
> will be in the 1.8 release, whenever that happens.
>
> I'm perfectly happy with the corresponding libX11 patch too, except that
> I can't merge a patch that depends on new libxcb features until there's
> a libxcb release for it to depend on.
>
> In order to merge the reduced-syscall patch to libX11 ASAP, would you
> make one more revision to it? If you can add the right autoconf test to
> check whether libxcb provides xcb_poll_for_queued_event, and make libX11
> fall back to xcb_poll_for_event otherwise, I think that patch would be
> safe to merge immediately.
I'll send another version to the list soon.
> On the other hand, Josh and I aren't yet convinced by your last patch.
> Is it really correct to drop the dependency from libX11-xcb on libX11?
> The two libraries must agree on the structure definition in Xxcbint.h,
> or Bad Things happen. I'm not sure even the current dependency is saving
> us here, but removing it doesn't seem better.
Yeah, I think you are right. Current version ensures that libX11-xcb
uses a correct major version of libX11.
One could argue that in practice the libraries are always built at the
same time from the same source package and distributed together.
Distributions could then set exact dependencies on packaging level.
However, maybe it's safer to let the dependency remain in the libraries
themselves.
I guess the current dependency should be enough. If relevant changes are
introduced to Xxcbint.h, libX11 needs to be released with a new major
version.
-- Rami
More information about the Xcb
mailing list