diff --git a/.packaging/debian12/fexpe/Dockerfile b/.packaging/debian12/fexpe/Dockerfile index 8b639b70..d553a3f7 100644 --- a/.packaging/debian12/fexpe/Dockerfile +++ b/.packaging/debian12/fexpe/Dockerfile @@ -6,7 +6,8 @@ RUN ls -la /opt/fex/ ENV PATH="/opt/llvm-mingw-20231017-ucrt-ubuntu-20.04-x86_64/bin:$PATH" RUN cd /opt/fex; mkdir build; cd build; cmake -DCMAKE_TOOLCHAIN_FILE=../toolchain_mingw.cmake -DENABLE_JEMALLOC=0 -DENABLE_JEMALLOC_GLIBC_ALLOC=0 -DMINGW_TRIPLE=aarch64-w64-mingw32 -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_TESTS=False -DENABLE_ASSERTIONS=False ..; make -j `nproc` wow64fex RUN ls -la /opt/fex/build/Bin -RUN echo -n "Wine builtin DLL" > /tmp/builtin.template.1; dd if=/dev/zero of=/tmp/builtin.template.2 bs=16 count=1; cat /tmp/builtin.template.1 /tmp/builtin.template.2 > /tmp/builtin.template; dd if=/tmp/builtin.template of=/opt/fex/build/Bin/libwow64fex.dll bs=32 count=1 seek=2 conv=notrunc # patch dll to be picked up by wineboot +RUN aarch64-w64-mingw32-strip --strip-unneeded /opt/fex/build/Bin/libwow64fex.dll +RUN printf "Wine builtin DLL\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" > /tmp/builtin.template; dd if=/tmp/builtin.template of=/opt/fex/build/Bin/libwow64fex.dll bs=32 count=1 seek=2 conv=notrunc # patch dll to be picked up by wineboot RUN mkdir -p /opt/deb/hangover-libwow64fex/DEBIAN /opt/deb/hangover-libwow64fex/usr/lib/wine/aarch64-windows /opt/deb/hangover-libwow64fex/usr/share/doc/hangover-libwow64fex COPY DEBIAN /opt/deb/hangover-libwow64fex/DEBIAN/ RUN cp /opt/deb/hangover-libwow64fex/DEBIAN/copyright /opt/deb/hangover-libwow64fex/usr/share/doc/hangover-libwow64fex/; \