PhoenicisOrg / phoenicis

Phoenicis PlayOnLinux and PlayOnMac 5 repository
https://phoenicis.org/
GNU Lesser General Public License v3.0
686 stars 73 forks source link

32 bits and 64 bits wine dependencies #1734

Open ImperatorS79 opened 5 years ago

ImperatorS79 commented 5 years ago

When you install phoenicis on a fresh ubuntu 64 bits system, you end up generally with :

and to install them you must do:

sudo dpkg --add-architecture i386
sudo apt upate
sudo apt install (now you can install the 32 bits deps)

It is completely non-sense to add them inside each wine package because all those deps are 500-600 Mo ^^ . So it should be a dependency in the .deb, .rpm, ... of phoenicis (and then here you need to check that dependencies exist on each distribution... Another problem.)

Some users could think that phoenicis is not working because of that.

qparis commented 5 years ago

We can also use the commands ldd/otool to automate the detection of dependencies at runtime

plata commented 5 years ago

Superseded by https://github.com/PhoenicisOrg/phoenicis-winebuild/issues/62?

ImperatorS79 commented 5 years ago

I am not sure. This was more related to .deb creation. So that you will not install twice 32 bits dependencies for example (once with .deb and one from phoenicis)

plata commented 5 years ago

If it's part of the runtime, it should not be required as deb dependency, right?

ImperatorS79 commented 5 years ago

But if people already have the 32 bits dependencies installed, or if there are available on the system, no need to install them in the runtime (what happens if there is multiple time the same lib in the path?).

plata commented 5 years ago

I don't think the runtime can consider this. Multiple should not be a problem. It will just use the first found.

plata commented 5 years ago

@ImperatorS79 is this still valid?

ImperatorS79 commented 5 years ago

Everything is in the runtime and so there should not be anymore dependencies problems. I am still in favour of finding a way to not install dependencies available through system, but this is quite low priority.

plata commented 5 years ago

To close or not to close - that is the question ;)

Kreyren commented 5 years ago

sudo apt upate

it's sudo apt update

Kreyren commented 5 years ago

Assuming it beeing ubuntu i think it's sane to make phoenicis .dep depend on all kinds of dependencies. i woudn't really do this for debian, arch, gentoo and exherbo..