Difference between revisions of "Wine"

From CBLFS
Jump to navigationJump to search
Line 3: Line 3:
 
!Download Source:
 
!Download Source:
 
| http://downloads.sourceforge.net/wine/wine-{{Wine-Version}}.tar.bz2
 
| http://downloads.sourceforge.net/wine/wine-{{Wine-Version}}.tar.bz2
|-
 
!Alternative Source:
 
| http://ibiblio.org/pub/linux/system/emulators/wine/wine-{{Wine-Version}}.tar.bz2
 
 
|}
 
|}
  

Revision as of 20:25, 4 March 2007

Download Source: http://downloads.sourceforge.net/wine/wine-1.1.38.tar.bz2

Remember that Wine is not an emulator therefore it will only work on x86 or x86_64 Multilib systems.

Dependencies

Required

Recomended

Optional

Non-Multilib x86

Compile the package:

./configure --prefix=/opt/wine-1.1.38 --disable-debug &&
make depend &&
make

Install the package

make install &&
ln -sfvn wine-1.1.38 /opt/wine

Multilib x86_64

For running 32bit apps

Compile the package:

PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" USE_ARCH=32 \
./configure --prefix=/opt/wine-1.1.38 --disable-debug &&
make depend &&
make

Install the package

make install &&
ln -sfvn wine-1.1.38 /opt/wine

For running 64bit apps (Not Worth It)

See http://www.winehq.com/pipermail/wine-devel/2006-June/048758.html for more information. If you would like to build it anyway don't let this warning stop you.

Compile the package:

PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" USE_ARCH=64 \
./configure --prefix=/opt/wine-1.1.38 --enable-win64 --disable-debug &&
make depend &&
make

Install the package

make install &&
ln -sfvn wine-1.1.38 /opt/wine

Configuration

50-wine.sh

If you're using the Bash Startup Files create an addition for them with the following command:

cat > /etc/profile.d/50-wine.sh << "EOF"
# Begin /etc/profile.d/50-wine.sh

export PATH="${PATH}:/opt/wine/bin"
export XDG_DATA_DIRS="${XDG_DATA_DIRS}${XDG_DATA_DIRS+:}/opt/wine/share"

# End /etc/profile.d/50-wine.sh
EOF

Simple config

/opt/wine/bin/winecfg