https://bugs.winehq.org/show_bug.cgi?id=45277
Andy Holst andy.holst85@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |andy.holst85@gmail.com
--- Comment #78 from Andy Holst andy.holst85@gmail.com --- So I'm compiling Wine source and applying patches with Wine staging. I'm going to test out IronCAD 2019 by rendering graphics with Vulkan. Is there anything I need to know about what patch to apply?
Is it still patch https://bugs.winehq.org/attachment.cgi?id=70100 aka 'Patch with sync in vkAcquireNextImage2KHR' that needs to be applied as is by providing
'./patches/patchinstall.sh DESTDIR="`pwd`" --all -W Pipelight -W winex11-Vulkan_support' that just support v6.19?
Or will the following commands by literally applying the wine-staging v6.20 patches as is in a open container context?
For amd64 architecture:
ARG VERSION="6.20" ARG WINE_VERSION="${VERSION}~buster" ARG WINE_DEB_VERSION="${WINE_VERSION}-1"
RUN DEBIAN_FRONTEND=noninteractive apt build-dep -y wine="${WINE_DEB_VERSION}"
RUN git clone -b "wine-${VERSION}" git://source.winehq.org/git/wine.git /usr/src/wine-source
RUN git clone -b "v${VERSION}" https://github.com/wine-staging/wine-staging.git /usr/src/wine-staging
RUN mkdir -p /usr/src/wine64
WORKDIR /usr/src/wine-staging/patches
RUN exec /bin/bash -c './patchinstall.sh DESTDIR=/usr/src/wine-source --all --force-autoconf'
WORKDIR /usr/src/wine64
RUN exec /bin/bash -c 'PKG_CONFIG_PATH=/usr/lib/pkgconfig ../wine-source/configure --enable-win64 \ --prefix=/opt/wine-staging'
RUN exec /bin/bash -c 'make -j7'
For i386 architecture:
ARG VERSION="6.20" ARG WINE_VERSION="${VERSION}~buster" ARG WINE_DEB_VERSION="${WINE_VERSION}-1"
RUN DEBIAN_FRONTEND=noninteractive apt build-dep -y wine="${WINE_DEB_VERSION}"
RUN mkdir -p /usr/src/wine32 /usr/src/wine32-tools COPY --from=amd64 /usr/src/wine-source /usr/src/wine-source COPY --from=amd64 /usr/src/wine64 /usr/src/wine64
WORKDIR /usr/src/wine32-tools
RUN exec /bin/bash -c 'PKG_CONFIG_PATH=/usr/lib/pkgconfig ../wine-source/configure'
RUN exec /bin/bash -c 'make -j7'
WORKDIR /usr/src/wine32
RUN exec /bin/bash -c 'PKG_CONFIG_PATH=/usr/lib/pkgconfig ../wine-source/configure --with-wine64=../wine64 \ --with-wine-tools=../wine32-tools --prefix=/opt/wine-staging'
RUN exec /bin/bash -c 'make -j7'
RUN exec /bin/bash -c 'checkinstall -D --pkgname=wine-local --pkgversion="${VERSION}" --nodoc --install=yes'
From final amd64 architecture do following:
RUN cd /usr/bin && wget 'https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetrick...'
RUN chmod +x /usr/bin/winetricks
WORKDIR /home/ubuntu
COPY --from=amd64 /usr/src/wine-source /home/ubuntu/wine-source COPY --from=amd64 /usr/src/wine64 /home/ubuntu/wine64 COPY --from=i386 /opt/wine-staging /opt/wine-staging COPY --from=i386 /lib /lib
WORKDIR /home/ubuntu/wine64
RUN exec /bin/bash -c 'checkinstall -D --pkgname=wine-local --pkgversion="${VERSION}" --nodoc --install=yes'