Компиляция wine-staging под Ubuntu

Компиляция wine-staging под Ubuntu

Компиляция wine-staging под Ubuntu


В статье со временем будут появляться описания каждой команды. Но для тех кто смотрят стримы нашего проекта, она полезна и в таком виде.


Скачиваем исходники и патчи

https://dl.winehq.org/wine/source/

https://github.com/wine-staging/wine-staging/releases

https://github.com/Firerat/wine-pba

Применяем патчи staging

./patches/patchinstall.sh DESTDIR="./" --all

 

Применяем патчи отдельно

patch -p1 < ./patches/0001-blablabla.patch


Компиляция x86 версии wine из под ubuntu x86_64

sudo apt-get install lxc lxctl lxc-templates

sudo lxc-create -t ubuntu -n my32bitbox -- --bindhome $LOGNAME -a i386

sudo cp -R /etc/apt /var/lib/lxc/my32bitbox/rootfs/etc

sudo lxc-start -n my32bitbox

sudo lxc-attach -n my32bitbox

sudo apt-get update

sudo apt-get build-dep winehq-staging

sudo apt-get install opencl-headers schroot debootstrap vim openssh-server ocl-icd-opencl-dev libkrb5-dev libsdl2-dev libvulkan-dev checkinstall libavcodec-dev libva-dev libgtk3.0-cil-dev build-essential libgtk-3-dev

mkdir wine32-tools && cd wine32-tools && make clean


../configure --prefix=/opt/wine/portwine --with-alsa --with-capi --with-cms --with-coreaudio --with-cups --with-curses --with-dbus --with-fontconfig --with-freetype --with-gettext --with-glu --with-gnutls --with-gphoto --with-gsm --with-gstreamer --with-gtk3 --without-hal --with-jpeg --with-ldap --with-mpg123 --with-netapi --with-openal --with-opencl --with-opengl --with-osmesa --without-oss --with-pcap --with-png --with-pthread --with-pulse --with-sane --with-tiff --with-udev --with-v4l --with-va --with-xattr --with-xcomposite --with-xcursor --with-xinerama --with-xinput --with-xinput2 --with-xml --with-xrandr --with-xrender --with-xshape --with-xshm --with-xslt --with-xxf86vm --with-zlib --with-krb5

make depend

make -j4

checkinstall -D --install=no

exit

Компиляция x64 версии wine из под ubuntu x86_64

mkdir wine64-build && cd wine64-build && make clean

../configure --prefix=/opt/wine/portwine --enable-win64 --with-alsa --with-capi --with-cms --with-coreaudio --with-cups --with-curses --with-dbus --with-fontconfig --with-freetype --with-gettext --with-glu --with-gnutls --with-gphoto --with-gsm --with-gstreamer --with-gtk3 --without-hal --with-jpeg --with-ldap --with-mpg123 --with-netapi --with-openal --with-opencl --with-opengl --with-osmesa --without-oss --with-pcap --with-png --with-pthread --with-pulse --with-sane --with-tiff --with-udev --with-v4l --with-va --with-xattr --with-xcomposite --with-xcursor --with-xinerama --with-xinput --with-xinput2 --with-xml --with-xrandr --with-xrender --with-xshape --with-krb5

make depend

make -j4

sudo checkinstall -D --install=no

Компиляция x86_64 версии wine из под ubuntu x86_64

sudo lxc-start -n my32bitbox

sudo lxc-attach -n my32bitbox

mkdir wine32-build && cd wine32-build && make clean

../configure --prefix=/opt/wine/portwine --with-wine64=../wine64-build/ --with-wine-tools=../wine32-tools/ --with-alsa --with-capi --with-cms --with-coreaudio --with-cups --with-curses --with-dbus --with-fontconfig --with-freetype --with-gettext --with-glu --with-gnutls --with-gphoto --with-gsm --with-gstreamer --with-gtk3 --without-hal --with-jpeg --with-ldap --with-mpg123 --with-netapi --with-openal --with-opencl --with-opengl --with-osmesa --without-oss --with-pcap --with-png --with-pthread --with-pulse --with-sane --with-tiff --with-udev --with-v4l --with-va --with-xattr --with-xcomposite --with-xcursor --with-xinerama --with-xinput --with-xinput2 --with-xml --with-xrandr --with-xrender --with-xshape --with-xshm --with-xslt --with-xxf86vm --with-zlib --with-krb5

make depend

make -j4

checkinstall -D --install=no

exit

1
Отправить ответ

Войти с помощью: 
avatar
5000
1 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
1 Comment authors
Tuxnotes Recent comment authors
новые старые лучшие
Tuxnotes
Гость
Tuxnotes

Вот с этим wine-vulkan сейчас творят чудеса (правда еще добавляют DXVK), но поднимают даже GTA V без падений и с… Читать дальше »