Hello,
I need to deploy wine-devel packages on debian 12, with some small patches.
I tried to compile it debian-way (apt source, debuild -us -uc ) and it worked perfectly, generating wine-devel and wine-devel-amd64 packages.
But now I'm stuck with -i386 package. As i can't find how to compile it. I tried debuild -us -uc -ai386, but it complains with i386 libs and gcc not installable. Did i missed something ? There are no explanations about how to compile wine-*-i386 package.
I'm able to compile and install non-debianized version of wine on this system, including i386. But it is not my goal. I just need the recipe for building custom debian packages just like winhq's ones.
Thanks,
Denis
compiling debian 12 packages ?
Re: compiling debian 12 packages ?
Generally it is much more convenient to use sbuild rather than building directly on your system. After the basic setup described on the wiki, create an i386 image and pass the dsc file to it:
Code: Select all
mmdebstrap --architectures=i386 --include=ca-certificates --skip=output/dev --variant=buildd bookworm ~/.cache/sbuild/bookworm-i386.tar.zst http://deb.debian.org/debian
sbuild -d bookworm --arch i386 -c bookworm-i386 wine_10.8~bookworm-1myclassifier1.dsc
Note however that the `wine-devel` debianization from Winehq has some issues and in my experience these packages crash a lot. I supposed that this is mainly due to the fact that they are built using vanilla `gcc` instead of `mingw` variant and possibly also due to lack of some patches applied by the Debian team to their 10.0~repack3 packages.
You can have a look at my `wine-devel-10.6` packages with `ntsync` support for Trixie here: Apart from `ntsync` patch, these are mostly just Winehq packages built using `mingw` compiler with a few patches ported from Debian's 10.0~repack-3 packages.
As a side note: unless you have important reasons not do so, I'd recommend upgrading to Trixie.