Commit Graph

12 Commits

Author SHA1 Message Date
Jon Turney
a9537cfdd1 appveyor: Drop building Xorg server
(Temporarily) drop building Xorg server (since this doesn't work after
a530b6e8) until we come up with a better solution. (See #692)
2019-07-21 14:44:34 +01:00
Jon Turney
401ff618cf appveyor: Workaround a Cygwin setup bug
Run Cygwin's setup a second time to workaround for it's defective
handling of obsolete packages.

(Specifically, python3-lxml is currently obsoleted by python36-lxml, but
that doesn't get installed on the first run)
2019-07-21 14:44:28 +01:00
Jon Turney
ebcea16e71 hw/xwin: A simpleminded attempt at composition
Rather than drawing the window contents from the shadow framebuffer, use
Composite extension redirection to cause the server to maintain a bitmap
image of each top-level X window, and draw the window contents from
that, so that window contents which are occluded in the framebuffer show
correctly in the task bar and task switcher previews.

v2:
Fix incorrect use of memset() found by gcc5

hw/xwin/winshadgdi.c: In function ‘winBltExposedWindowRegionShadowGDI’:
hw/xwin/winshadgdi.c:861:9: warning: ‘memset’ used with constant zero length parameter; this could be due to transposed parameters [-Wmemset-transposed-args]

v3:
Turn on -compositewm by default

v4:
Ignore -swcursor if -compositewm

-swcursor is not compatible with -compositewm (because the window
contents are drawn from an off-screen pixmap, not from the screen
pixmap, where the software cursor will be drawn).

v5:
Update meson.build also
Add -compositewm option to help output
Update CI to install prerequisites
2019-06-17 21:56:35 +00:00
Jon Turney
9c7ebf259f appveyor: Use ccache
Reduces i686 cygwin no-change build time from ~7 minutes to ~2.5 minutes
2019-04-18 13:58:11 +01:00
Jon Turney
16d8513759 appveyor: Drop cleaning of packaged libtool .la files
Not needed as meson doesn't use libtool.  I think they've all been
rebuilt now, in any case...
2019-04-18 13:27:50 +01:00
Jon Turney
f3e6002d79 appveyor: Drop trying to preserve build artefacts
We stopped staging them in 1519475a, so this did nothing.
2019-04-18 13:04:22 +01:00
Jon Turney
883530835d appveyor: Drop installing unnecessary packages
Drop installing packages which were used by the autotools build (or
maybe even monolithic build!) but are no longer required by the meson
build

Also, alphabetically sort within tools, protocol headers, devel
libraries, miscellaneous groups to match [1]

[1] https://x.cygwin.com/docs/cg/prog-build-prerequisites.html

Also, update to require xkbcomp-devel, split from xkbcomp
2019-04-18 12:24:36 +01:00
Jon Turney
6370cf026a appveyor: Reformat an absurdly long line in .appveyor.yml
Using YAML line-folding doesn't seem possible, as setup doesn't tolerate
spaces between package names, so instead drop some unneeded double quotes,
double quote the whole thing and escape newlines
2019-04-18 12:22:29 +01:00
Adam Jackson
1519475a43 appveyor: use meson
i686 cygwin build time with autotools:  16:22
i686 cygwin build time with meson:       6:56

Signed-off-by: Adam Jackson <ajax@redhat.com>
2018-03-21 10:16:44 -04:00
Adam Jackson
8718d46157 ci: Ignore builds for branches aimed at other CI services
Make appveyor ignore builds for /travis.*/ and vice versa. If you're
only testing a Windows change, building for OSX and Linux too is a bit
rude.

Signed-off-by: Adam Jackson <ajax@redhat.com>
2018-03-21 09:35:38 -04:00
Adam Jackson
edf08bd654 appveyor: Switch to xorgproto
Also build with -j2, the builder VM has two cores.

Signed-off-by: Adam Jackson <ajax@redhat.com>
2018-03-14 15:19:26 -04:00
Jon Turney
de3b618691 Add an .appveyor.yml for AppVeyor CI
This currently does an autotools build using Cygwin.

Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
Reviewed-by: Adam Jackson <ajax@redhat.com>
2017-09-18 13:00:59 -04:00