winegstreamer: Avoid Fedora and openSUSE?

Francois Gouget fgouget at free.fr
Sat May 30 13:42:50 CDT 2020


On Sat, 30 May 2020, Marcus Meissner wrote:
[...]
> Btw, in the Emulators:Wine I have a special sub-package "wine-32bit-build-deps"
> that pulls all the build deps in.
> 
> I have not checked it lately though, and it might need updates.

Interestingly it has some of the same extra packages as the wiki's 
openSUSE page: freeglut-devel-32bit libglvnd-devel-32bit

It's also missing some of the lesser dependencies: libnetapi, ODBC, 
libusb but also libunwind which seems important for 64-bit.

It also does not seem to work around the missing dependencies in the 
-devel-32bit packages, though it looks like that will soon be a thing 
of the past.

More importantly it's missing MinGW and vkd3d which makes sense since 
they are not present in the mainline packages or on the Emulators:Wine 
project.

So there are three options for openSUSE Wine developers:
* Manually add Emulators:Wine and install wine-32bit-build-deps.
  Provides most dependencies.

  zypper addrepo https://download.opensuse.org/repositories/Emulators:Wine/<you-distro-name-here>/Emulators:Wine.repo
  zypper refresh
  zypper install wine-32bit-build-deps

* The wiki's openSUSE page instructions.
  https://wiki.winehq.org/OpenSUSE#Building_32_bit_Wine
  Lots of manual work and also provides most dependencies.

* wt-install-dev
  My favorite obviously ;-), requires essentially no manual work and 
  provides all the dependencies... at least today and on openSUSE Leap 
  15.1. May not work on Tumbleweed.

  When I say simple I really mean it. This one liner should be all you 
  need:
  wget https://raw.githubusercontent.com/fgouget/wt-daily/master/wt-install-dev && sh wt-install-dev --yes

For reference, here are the commands it runs on openSUSE Leap 15.1. 
Maybe that would be a good basis to update the wiki instructions?
(or maybe they should be simplified to leverage Emulators:Wine or 
wt-install-dev more?)

zypper addrepo https://download.opensuse.org/repositories/Emulators:Wine/openSUSE_Leap_15.1/Emulators:Wine.repo
zypper addrepo https://download.opensuse.org/repositories/windows:mingw:win32/openSUSE_Leap_15.1/windows:mingw:win32.repo
zypper addrepo https://download.opensuse.org/repositories/windows:mingw:win64/openSUSE_Leap_15.1/windows:mingw:win64.repo
zypper addrepo https://download.opensuse.org/repositories/home:dimesio/openSUSE_Leap_15.1/home:dimesio.repo
zypper refresh
zypper install FAudio-devel FAudio-devel-32bit Mesa-libGL-devel \
  Mesa-libGL1 Mesa-libGL1-32bit alsa-devel alsa-devel-32bit autoconf \
  bison capi4linux-devel capi4linux-devel-32bit cups-devel \
  cups-devel-32bit dbus-1-devel dbus-1-devel-32bit flex fontconfig 
  fontconfig-32bit fontconfig-devel fontconfig-devel-32bit \
  freetype2-devel freetype2-devel-32bit gcc gcc-32bit git glib2-devel 
  glib2-devel-32bit glibc-devel glibc-devel-32bit glu-devel \
  glu-devel-32bit gstreamer-devel gstreamer-plugins-base-devel \
  gstreamer-plugins-base-devel-32bit krb5-devel krb5-devel-32bit \
  libFAudio0 libFAudio0-32bit libOSMesa-devel libOSMesa-devel-32bit \
  libOpenCL1 libSDL2-devel libSDL2-devel-32bit libX11-devel \
  libX11-devel-32bit libXcomposite-devel libXcomposite-devel-32bit \
  libXcursor-devel libXcursor-devel-32bit libXext-devel \
  libXext-devel-32bit libXfixes-devel libXfixes-devel-32bit libXi-devel \
  libXi-devel-32bit libXinerama-devel libXinerama-devel-32bit \
  libXrandr-devel libXrandr-devel-32bit libXrender-devel \
  libXrender-devel-32bit libXxf86vm-devel libXxf86vm-devel-32bit \
  libcom_err-devel libcom_err-devel-32bit libexif-devel \
  libexif-devel-32bit libgnutls-devel libgnutls-devel-32bit libgphoto2-6 \
  libgphoto2-6-32bit libgphoto2-devel libgphoto2-devel-32bit \
  libgsm-devel libgsm-devel-32bit libjpeg8-devel libjpeg8-devel-32bit \
  liblcms2-devel liblcms2-devel-32bit libnetapi-devel libnetapi0 \
  libnetapi0-32bit libopenal1 libopenal1-32bit libpcap-devel \
  libpcap-devel-32bit libpng16-compat-devel libpng16-compat-devel-32bit \
  libpulse-devel libpulse-devel-32bit libpulse0 libpulse0-32bit \
  libtiff-devel libtiff-devel-32bit libudev-devel libudev-devel-32bit \
  libunwind-devel libusb-1_0-devel libusb-1_0-devel-32bit libv4l-devel \
  libv4l-devel-32bit libv4l2-0 libv4l2-0-32bit libvkd3d1 libvkd3d1-32bit \
  libvulkan1 libvulkan1-32bit libxml2-devel libxml2-devel-32bit libxslt-devel \
  libxslt-devel-32bit make mingw32-cross-gcc mingw64-cross-gcc \
  mpg123-devel mpg123-devel-32bit ncurses-devel ncurses-devel-32bit \
  ocl-icd-devel openal-soft-devel openal-soft-devel-32bit opencl-headers \
  openldap2-devel openldap2-devel-32bit python3 sane-backends \
  sane-backends-32bit sane-backends-devel sane-backends-devel-32bit \
  unixODBC unixODBC-32bit unixODBC-devel unzip vkd3d-devel \
  vkd3d-devel-32bit vulkan-devel vulkan-devel-32bit wget zlib-devel \
  zlib-devel-32bit
ln -s -f libgstbase-1.0.so.0 /usr/lib/libgstbase-1.0.so
ln -s -f libgstreamer-1.0.so.0 /usr/lib/libgstreamer-1.0.so
ln -s -f libnetapi.so.0 /usr/lib/libnetapi.so
ln -s -f libGL.so.1 /usr/lib/libGL.so


> I am working on your 15.1 bugs too.

Yep. Saw that. That's great. And the good news is I think I'm done 
finding more things for you to fix ;-)


-- 
Francois Gouget <fgouget at free.fr>              http://fgouget.free.fr/
               RFC 2549: ftp://ftp.isi.edu/in-notes/rfc2549.txt
                IP over Avian Carriers with Quality of Service



More information about the wine-devel mailing list