How To Build Your Own Wine Release for OpenSolaris Indiana

The last Wine Release source code 1.1.4 is available for download at http://downloads.sourceforge.net/wine/wine-1.1.4.tar.bz2. Before to build your own Wine Solaris Package Form OpenSolaris Indiana You first need to add some packages which are not installed by default.


Check if pkg.opensolaris.org is available
# host pkg.opensolaris.org
pkg.opensolaris.org has address 72.5.123.21
# ping pkg.opensolaris.org
pkg.opensolaris.org is alive


Add the following packages
# pkg install SUNWGlib
# pkg install SUNWgcc
# pkg install gcc-dev
# pkg install SUNWxorg-headers
# pkg install SUNWgnome-common-devel
# pkg install SUNWxwinc
# pkg install SUNWaudh


Build Wine (The make take more than 1 hour on my Tecra LabTop):
# bzcat wine-1.1.4.tar.bz2 |tar xvf -
# ./configure --prefix=/usr/local/wine
# make
# make install


Make a Solaris package file (Wine-1.1.4-solaris-5.11-i86pc.pkg) :
# cd /usr/local/wine
# find ./ -print -depth | cpio -dump /tmp/wine
# cd /tmp/Wine
# echo "i pkginfo=./pkginfo" > prototype
# echo "i postinstall=./postinstall" >> prototype
# find . -print | pkgproto >> prototype
# cat > ./pkginfo << EOF
PKG=Wine
NAME=WINE
ARCH=i86pc
VERSION=1.1.4
CATEGORY=application
BASEDIR=/usr/local/wine
VENDOR=The Wine Project www.winehq.com
DESC=Run Windows Application on Solaris
EMAIL=Jerome.Blanchet-AT-Sun-DOT-COM
PSTAMP=11420080909
CLASSES=none
EOF
# cat > ./postinstall << EOF
exit 0
EOF
# pkgmk -d /var/spool/pkg -r /tmp/Wine
# cd /var/spool/pkg
# pkgtrans -s . /tmp/Wine-1.1.4-solaris-5.11-i86pc.pkg Wine
# bzip2 /tmp/Wine-1.1.4-solaris-5.11-i86pc.pkg.bz2

Wine 1.1.4 package /tmp/Wine-1.1.4-solaris-5.11-i86pc.pkg.bz2 file  is ready to install.

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

Jerome Blanchet

Search

Categories
Archives
« avril 2014
lun.mar.mer.jeu.ven.sam.dim.
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
    
       
Today