HarveyHunt / howm

A lightweight, X11 tiling window manager that behaves like vim
GNU General Public License v2.0
649 stars 24 forks source link

TravisCI build is failing #53

Closed HarveyHunt closed 8 years ago

HarveyHunt commented 9 years ago

This might be because of changes I have made to the code, or perhaps the required packages have changed.

Can someone on ubuntu please try to compile howm, after installing the packages in the .travis.yml

HarveyHunt commented 9 years ago

@neo1691 @anshulk

anubhavcodes commented 9 years ago

I will give it a look, but I have a tight schedule at office (Where I have my ubuntu box) this week. I should be able to update you next week. I hope someone does this sooner.

HarveyHunt commented 9 years ago

Thanks mate, I've been too busy to work on howm recently - just fixing some old bugs now. :+1:

loreb commented 9 years ago

On Debian Sid I get the same failure... The weird thing is that it looks to me like it shouldn't work anywhere! xproto.h includes (very close to the beginning) xcb.h, which declares const xcb_query_extension_reply_t *xcb_get_extension_data(xcb_connection_t *c, xcb_extension_t *ext);, which uses xcb_query_extension_reply_t, which is defined later in xproto.h!

TLDR: xcb.h should predeclare the types it's using!

Proof: adding

typedef struct xcb_query_extension_reply_t xcb_query_extension_reply_t;
typedef struct xcb_setup_t xcb_setup_t;

got scratchpad.c to compile, but then src/op.c failed for the same reason, and so on.

loreb commented 9 years ago

Just looked at http://xcb.freedesktop.org/manual/xcb_8h_source.html, it looks like upstream fixed the problem in a different way (const struct xcb_query_extension_reply_t *xcb_get_extension_data(xcb_connection_t *c, xcb_extension_t *ext) - notice struct) => ubuntu&debian should update their packages.

HarveyHunt commented 9 years ago

Thanks for taking a look into this, I have been stupidly busy recently.

We'll just have to sit and wait then. :-(

HarveyHunt commented 8 years ago

This has been fixed in 834a1798281eeaa8ed3ca38bc487589a01fbdede by simply including xcb.h before xproto.h. :-)