Comment 8 for bug 889778

Revision history for this message
Michal Suchanek (hramrach) wrote :

For turning Wine multiarch I don't see a maintainable option.

The best I could think of is

1) build on i386

While building run a script that lists all build dependencies of wine (eg mk-build-deps), lists all library symlinks those contain, picks the ones in multiarch directories (as determined by the dirname containing the multiarch path component), and builds a multiarch foreign package like wine-build that contains the symlinks and depends on the packages these symlinks point to.

Here either transitive dependencies should be handled or wine should explicitly depend on anything it links to, even indirectly by pulling dependecies through pgkconfig or so.

2) build on amd64 and depend on the wine-build package built on i386

Separate all 32bit libraries into a package of its own like wine32 and make that package 32bit so that it can depend on 32bit libraries. make wine depend on wine32 and the othe way around on 64bit because the split does likely not produce working parts.

I tried to make a wine-build package by hand but the problem is that without splitting the 32bit parts of wine into a separate package the shlib dependencies won't work.