Build prerequisities ==================== #{{{ fontforge lint icotool AudioUnit/AudioUnit.h Carbon/Carbon.h CoreAudio/CoreAudio.h DiskArbitration/DiskArbitration.h IOKit/IOKitLib.h asm/types.h capi20.h direct.h io.h jack/jack.h lcms.h lcms/lcms.h ???? libaudioio.h SUNWaudh mach/mach.h mach/machine.h machine/cpu.h machine/limits.h machine/soundcard.h mntent.h sys/mntent.h ???? ncurses.h scsi/scsi.h scsi/scsi_ioctl.h scsi/sg.h soundcard.h sys/elf32.h sys/epoll.h sys/event.h sys/exec_elf.h sys/limits.h sys/modem.h sys/prctl.h sys/ptrace.h sys/scsiio.h sys/sysctl.h sys/vm86.h syscall.h valgrind/memcheck.h valgrind/valgrind.h configure: WARNING: gphoto2-camera.h: present but cannot be compiled configure: WARNING: lcms/lcms.h: present but cannot be compiled #}}} pfexec pkg install SUNWgcc SUNWhea SUNWsfwhea FSWxorg-headers SUNWxorg-headers SUNWbison pfexec pkg install SUNWgmake SUNWflexlex SUNWgnome-common-devel pfexec pkg install SUNWaudh SUNWlcms SUNWlibm cd /usr/include/sys/ pfexec ln -s audioio.h libaudioio.h wget -c http://www.4front-tech.com/release/oss-solaris-v4.1-1051-i386.pkg echo "y" | pfexec pkgadd -Gd oss-solaris-v4.1-1051-i386.pkg oss Build ===== VERSION=1.1.5 IPSREPO="http://localhost:10000/" wget -c http://heanet.dl.sourceforge.net/sourceforge/wine/wine-$VERSION.tar.bz2 gtar xjvf wine-$VERSION.tar.bz2 cd wine-$VERSION export DESTDIR=~/wine rm -rf $DESTDIR # PKG_CONFIG_PATH="/usr/lib/pkgconfig:/usr/share/pkgconfig" ./configure -C --prefix=$DESTDIR --with-oss --with-hal --with-extra-includes=/usr/sfw/include --with-extra-libs=/usr/sfw/lib --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib CFLAGS="-I/usr/sfw/include -I/usr/include -I/usr/include/sys -I/opt/sfw/cups/include" CPPFLAGS="-I/usr/sfw/include -I/opt/sfw/cups/include -I/usr/include -I/usr/include/sys" LDFLAGS="-L/usr/sfw/lib -L/usr/lib -L/opt/sfw/cups/lib -R/usr/lib -R/usr/sfw/lib -R/opt/sfw/cups/lib -R/usr/X11/lib -R/usr/openwin/lib" PKG_CONFIG_PATH="/usr/lib/pkgconfig:/usr/share/pkgconfig" ./configure -C --prefix=$DESTDIR --with-oss --with-hal --with-extra-includes=/usr/sfw/include --with-extra-libs=/usr/sfw/lib --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib CFLAGS="-I/usr/sfw/include -I/usr/include -I/usr/include -I/opt/sfw/cups/include" CPPFLAGS="-I/usr/sfw/include -I/opt/sfw/cups/include -I/usr/include -I/usr/include" LDFLAGS="-L/usr/sfw/lib -L/usr/lib -L/opt/sfw/cups/lib -R/usr/lib -R/usr/sfw/lib -R/opt/sfw/cups/lib -R/usr/X11/lib -R/usr/openwin/lib" # wine 1.1.5 fix vim dlls/cryptnet/cryptnet_main.c 27: 28: #include + #include 29: time (make depend && make && make install) cp COPYING.LIB ~/ cp LICENSE ~/ cd ~/ Package ======= cat <wine.include.$VERSION set name=pkg.name value="Wine - Open Source implementation of the Windows API on top of X, OpenGL, and Unix." set name=pkg.description value="Wine - Open Source implementation of the Windows API on top of X, OpenGL, and Unix." set name=pkg.detailed_url value=http://en.wikipedia.org/wiki/Wine_(software) set name=maintainer value="Vit Hrachovy " set name=upstream value=wine-devel@winehq.org set name=upstream_url value=http://winehq.org set name=source_url value=http://heanet.dl.sourceforge.net/sourceforge/wine/wine-$VERSION.tar.bz2 set name=repository_url value=git://source.winehq.org/git/wine.git set name=gui.classification value="Utility" depend fmri=pkg:/SUNWlcms@1.17,5.11-0.105 type=require depend fmri=pkg:/SUNWgnome-audio@0.5.11,5.11-0.105 type=require depend fmri=pkg:/SUNWzlib@1.2.3,5.11-0.105 type=require depend fmri=pkg:/SUNWgccruntime@3.4.3,5.11-0.105 type=require depend fmri=pkg:/SUNWcsl@0.5.11,5.11-0.105 type=require depend fmri=pkg:/SUNWxorg-mesa@6.5.2,5.11-0.105 type=require depend fmri=pkg:/SUNWlxsl@1.1.15,5.11-0.105 type=require depend fmri=pkg:/SUNWxwrtl@0.5.11,5.11-0.105 type=require depend fmri=pkg:/SUNWgnome-camera@0.5.11,5.11-0.105 type=require depend fmri=pkg:/SUNWlxml@2.6.31,5.11-0.105 type=require depend fmri=pkg:/SUNWlibms@0.5.11,5.11-0.105 type=require license $HOME/COPYING.LIB license="LGPLv2.1" license $HOME/LICENSE license="WineLicense" EOF wget http://opensolaris.org/os/community/sw-porters/contributing/indiana-ips/pkgflistgen.pl # you may go to ~/dosbox and re-make the directory structure so ~/dosbox serves as prefix # or fix the resulting include file later, see the ed command below perl pkgflistgen.pl wine/ >>wine.include.$VERSION # fix destination paths in include file echo '1,$s/path=/path=\/usr/ w q '|ed wine.include.$VERSION eval `pkgsend -s $IPSREPO open IPSwine@$VERSION-1` if [ $? == 0 ]; then pkgsend -s $IPSREPO include wine.include.$VERSION pkgsend -s $IPSREPO close else echo "sorry, pkgsend open returned error '$?'" fi # vim:ts=4:sw=4:foldmethod=marker