Difference between revisions of "Wine"

From CBLFS
Jump to navigationJump to search
(I added the package description.)
(Added contents.)
Line 101: Line 101:
 
Simple config
 
Simple config
 
  /opt/wine/bin/winecfg
 
  /opt/wine/bin/winecfg
 +
 +
== Contents ==
 +
 +
{|style="text-align: left"
 +
|-valign="top"
 +
!Installed Directories:
 +
|/opt/wine-0.9.33
 +
|-valign="top"
 +
!Installed Programs:
 +
|wine, wine-kthread, wine-pthread, wine-preloader, wineshelllink, wineapploader, winelauncher, wineserver, wineprefixcreate, widl, winebuild, winedump, function_grep.pl, winegcc, wmc, wrc, winemaker
 +
|-valign="top"
 +
!Installed Libraries:
 +
|libdinput.def.a, libdxerr8.a, libdxerr9.a, libdxguid.a, libstrmiids.a, libuuid.a, libwinecrt0.a, libwine.so,
 +
|-valign="top"
 +
!Symlinks:
 +
|/opt/wine-0.9.33/lib/libwine.so.1  -->  /opt/wine-0.9.33/lib/libwine.so.1.0, /opt/wine-0.9.33/lib/libwine.so  -->  /opt/wine-0.9.33/lib/libwine.so.1.0, /opt/wine-0.9.33/bin/wineg++  -->  /opt/wine-0.9.33/bin/winegcc, /opt/wine-0.9.33/bin/winecpp  -->  /opt/wine-0.9.33/bin/winegcc, /opt/wine-0.9.33/share/man/man1/wineg++.1  -->  /opt/wine-0.9.33/share/man/man1/winegcc.1
 +
|}

Revision as of 20:55, 5 April 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.

Introduction to Wine

Wine is an Open Source implementation of the Windows API on top of X and Unix.

Think of Wine as a compatibility layer for running Windows programs. Wine does not require Microsoft Windows, as it is a completely free alternative implementation of the Windows API consisting of 100% non-Microsoft code, however Wine can optionally use native Windows DLLs if they are available. Wine provides both a development toolkit for porting Windows source code to Unix as well as a program loader, allowing many unmodified Windows programs to run on x86-based Unixes, including Linux, FreeBSD, Mac OS X, and Solaris.

Project Home Page: http://www.winehq.org

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

Contents

Installed Directories: /opt/wine-0.9.33
Installed Programs: wine, wine-kthread, wine-pthread, wine-preloader, wineshelllink, wineapploader, winelauncher, wineserver, wineprefixcreate, widl, winebuild, winedump, function_grep.pl, winegcc, wmc, wrc, winemaker
Installed Libraries: libdinput.def.a, libdxerr8.a, libdxerr9.a, libdxguid.a, libstrmiids.a, libuuid.a, libwinecrt0.a, libwine.so,
Symlinks: /opt/wine-0.9.33/lib/libwine.so.1 --> /opt/wine-0.9.33/lib/libwine.so.1.0, /opt/wine-0.9.33/lib/libwine.so --> /opt/wine-0.9.33/lib/libwine.so.1.0, /opt/wine-0.9.33/bin/wineg++ --> /opt/wine-0.9.33/bin/winegcc, /opt/wine-0.9.33/bin/winecpp --> /opt/wine-0.9.33/bin/winegcc, /opt/wine-0.9.33/share/man/man1/wineg++.1 --> /opt/wine-0.9.33/share/man/man1/winegcc.1