Le blog de Jean David TECHER, un Réunionnais à Saint-Priest/Lyon

Aller au contenu | Aller au menu | Aller à la recherche


vendredi 9 mars 2018

Wine and Linux, Tips to know [Documentation]

Some personal documentation available at http://www.davidgis.fr/documentation/Wine_Tips_To_Know/

I will try to refresh its content as much as I can.

mercredi 7 mars 2018

Wine-Staging 3.3 and Gallium-Nine on Linux 32 Bits

Below are my own instructions to build Wine-Staging 3.3 + Gallium-Nine + Some other patches on my PC Linux 32 Bits

mkdir -p /opt/Builds/Wine-Staging-3.3_Gallium-Nine
cd /opt/Builds/Wine-Staging-3.3_Gallium-Nine

wget http://mirrors.ibiblio.org/wine/source/3.x/wine-3.3.tar.xz 
wget https://github.com/wine-staging/wine-staging/archive/v3.3.tar.gz
wget https://github.com/sarnex/wine-d3d9-patches/archive/wine-d3d9-3.3.tar.gz
git clone https://aur.archlinux.org/wine-gaming-nine.git/

tar xJf wine-3.3.tar.xz 
tar xzf v3.3.tar.gz --strip-component 1 -C wine-3.3/
tar xzf wine-d3d9-3.3.tar.gz 

cd wine-3.3

# Apply Wine-Staging patches
./patches/patchinstall.sh DESTDIR="$(pwd)" --all

# Apply Wine-Gaming-Nine patches
patch -p1 -i ../wine-gaming-nine/harmony-fix.patch 
patch -R -p1 -i ../wine-gaming-nine/keybindings.patch 
patch -p1 -i ../wine-gaming-nine/steam.patch 
patch -p1 -i ../wine-gaming-nine/wbemprox_query_v2.patch 
patch -p1 -i ../wine-gaming-nine/wine-list.h-linked-list-cache-line-prefetching.patch 

# Apply Gallium-Nine patches
patch -p1 -i ../wine-d3d9-patches-wine-d3d9-3.3/staging-helper.patch
patch -p1 -i ../wine-d3d9-patches-wine-d3d9-3.3/wine-d3d9.patch 

autoreconf -fvi

./configure --prefix=/opt/wine/apps/MinGW32_Environment/ --with-alsa --with-capi --with-cms --with-coreaudio \
--with-cups --with-curses --with-d3d9-nine --with-d3d9-nine-module=auto --with-d3d9-nine-headers-path=auto \
--with-dbus --with-float-abi=abi --with-fontconfig --with-freetype --with-gettext --with-gettextpo --with-glu --with-gnutls \
--with-gphoto --with-gsm --with-gssapi --with-gstreamer --with-gtk3 --with-jpeg --with-krb5 --with-ldap --with-mpg123 \
--with-netapi --with-openal --with-opencl --with-opengl --with-osmesa --with-oss --without-hal --with-pcap --with-png \
--with-pthread --with-pulse --with-sane --with-sdl --with-tiff --with-udev --with-v4l --with-va --with-vulkan --with-x --with-xattr \
--with-xcomposite --with-xcursor --with-xfixes --with-xinerama --with-xinput --with-xinput2 --with-xml --with-xrandr --with-xrender \
--with-xshape --with-xshm --with-xslt --with-xxf86vm --with-zlib LDFLAGS="-L/opt/wine/apps/koku-xinput/lib/ -L/opt/vulkan-sdk/lib/"

mardi 27 février 2018

Build WineASIO for i686 (Linux 32 Bits)

Below are my own instructions to build WineASIO for Linux 32 Bits

cd /tmp/
# Downlaod ASIO SDK and decompress it
wget http://www.steinberg.net/sdk_downloads/asiosdk2.3.zip
unzip asiosdk2.3.zip 
# Download WineAsio and decompress it
wget http://downloads.sourceforge.net/project/wineasio/wineasio-0.9.2.tar.gz
tar xzf wineasio-0.9.2.tar.gz 
cd wineasio/
# Copy 'asio.h' in the current folder
cp ../ASIOSDK2.3/common/asio.h .
#
# If wine is not installed in '/usr' by default but available in your PATH environment then
export PREFIX=$(dirname $(dirname $(which wine))) # Double dirname to remove 'bin' subfolder
#
make PREFIX=$PREFIX
sudo make PREFIX=$PREFIX install
regsvr32 wineasio.dll

samedi 3 février 2018

Useful links for Wine and Co

Some links to keep in my notes