Code: Select all
dlls/winex11.drv/mouse.c: In function 'grab_clipping_window':
dlls/winex11.drv/mouse.c:501:13: error: 'struct x11drv_thread_data' has no member named 'xi2_state'
501 | if (data->xi2_state != xi_enabled)
| ^~
dlls/winex11.drv/mouse.c:501:28: error: 'xi_enabled' undeclared (first use in this function)
501 | if (data->xi2_state != xi_enabled)
| ^~~~~~~~~~
dlls/winex11.drv/mouse.c:501:28: note: each undeclared identifier is reported only once for each function it appears in
dlls/winex11.drv/mouse.c: In function 'create_xcursor_system_cursor':
Here is a dockerfile where I am trying to do that, hope it will help.
Code: Select all
FROM ubuntu:20.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt update
# install build dependencies.
RUN apt install -y build-essential autoconf wget \
flex libbison-dev libx11-dev libfreetype6-dev libdbus-1-dev libfontconfig1-dev libgnutls28-dev \
libjpeg-dev libgl-dev libosmesa6-dev libunwind-dev libx11-dev libxml2-dev libxslt1-dev gettext libxrender-dev
# download staging source.
RUN wget https://dl.winehq.org/wine-builds/ubuntu/dists/focal/main/source/wine-staging_6.0~rc4~focal.orig.tar.gz -O wine-staging.tar.gz
RUN mkdir wine-staging
RUN tar xvf wine-staging.tar.gz -C wine-staging --strip-components 1
WORKDIR wine-staging
# Cmake can not tresolve freetype lib automatically.
ENV CPPFLAGS='-I//usr/include/freetype2'
RUN ./configure --enable-win64
RUN make -j 7