Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/x11
In directory vz-cvs-3.sog:/tmp/cvs-serv4056
Added Files:
wine-32bit.info
Log Message:
A 64-bit version of Wine isn't really useful without a 32-bit version of Wine.
So to start this off, here's a 32-bit version of Wine without 64-bit support. A
Wine with 64-bit support may come later. (Requires freetype219-32bit and
libpng15-32bit, committed earlier. This commit was OK'd by the normal
maintainer of the Wine package, Damian Dimmich.)
--- NEW FILE: wine-32bit.info ---
Package: wine-32bit
Version: 1.3.21
Revision: 3
Description: Microsoft Windows compatibility layer (x86)
License: LGPL
# Sjors is maintainer of the wine-32bit package, while Damian Dimmich
# is the maintainer of the normal wine package on Fink i386.
Maintainer: Sjors Gielen <[email protected]>
#Previous maintainer: Damian Dimmich <[email protected]>
#Previous^2 maintainer: Robert Cusick <[email protected]>
#Additions by Max Horn
# This version updated by Damian Dimmich
#Much love to costabel, jfmertens, and other finkers for rebooting this package.
#
# Does not compile on PowerPC.
# error: encode_type: VT_USERDEFINED - unhandled type 17
Architecture: x86_64
# Trevor writes:
# According to the Wine README, any GCC higher than 2.7.2 should work, but only
GCC 4.x has been tested.
# See Wine's documentation/PACKAGING file for more details about dependencies.
# I may have gone overboard on these dependencies, but better safe than sorry.
# Sjors writes:
# http://wiki.winehq.org/Wine64 describes that for building x86-64,
# gcc >= 4.5.1 is required.
BuildDepends: <<
bison, dbus1.3-dev, fontconfig2-dev, flex-devel (>= 2.5.33),
freetype219-32bit, giflib | libungif,
glib2-dev, lcms, lcms-bin, libgettext8-dev, libiconv-dev, libicu36-dev,
libjpeg8, libusb, libxml2 (>=2.6.21), libxml2-bin (>=2.6.21), libxslt,
libxslt-bin,
openldap24-dev, system-openssl-dev, sane-backends-dev, x11-dev, libgphoto2,
glib2-dev, xcode (>= 4.1-1), libpng15-32bit, libpng15
<<
Depends: <<
dbus1.3-shlibs, fontconfig2-shlibs,
freetype219-32bit-shlibs, giflib-shlibs | libungif-shlibs,
glib2-shlibs, lcms-shlibs, libgettext8-shlibs, libiconv,
libjpeg8-shlibs, libusb-shlibs, libxml2-shlibs, libxslt-shlibs,
openldap24-shlibs, sane-backends-shlibs, x11, libgphoto2-shlibs,
glib2-shlibs, libpng15-32bit-shlibs
<<
Recommends: <<
msttcorefonts
<<
BuildConflicts: <<
flex (<= 1:2.5.33-1)
<<
Conflicts: <<
wine-stable, libpng15-x86
<<
Replaces: <<
wine-stable, libpng15-x86
<<
Source: mirror:sourceforge:wine/wine-%v.tar.bz2
Source-MD5: dfcefe48a9aae82f7f1aa4d2c6617961
NoSetCPPFLAGS: true
NoSetLDFLAGS: true
SetLIBRARY_PATH: %p/lib
ConfigureParams: <<
--host=i686-apple-darwin11 \
--x-includes=/usr/X11/include \
--x-libraries=/usr/X11/lib \
--without-esd \
--without-gnutls \
--without-gstreamer \
--without-jack \
--without-mpg123 \
--without-openal \
--with-png
<<
# Was: --disable-win16
# A custom CompileScript is necessary for the extra "make depend" step
CompileScript: <<
#!/bin/sh -ev
export
CPATH=%p/include/dbus-1.0:%p/lib/dbus-1.0/include:%p/include:/usr/X11/include
export LDFLAGS="-L%p/lib32 -L/%p/lib/system-openssl/lib -Wl,-no_pie"
export LD_LIBRARY_PATH=%p/lib
export CPPFLAGS="-I/%p/lib/system-openssl/include -D_DARWIN_NO_64_BIT_INODE"
export CC="/Developer/usr/bin/i686-apple-darwin11-gcc-4.2.1"
export CXX="/Developer/usr/bin/i686-apple-darwin11-g++-4.2.1"
export ft_devel="%p/lib/freetype219-32bit/bin/freetype-config"
mkdir bin
ln -s /Developer/usr/bin/as bin/i686-apple-darwin11-as
ln -s /Developer/usr/bin/ld bin/i686-apple-darwin11-ld
ln -s /Developer/usr/bin/nm bin/i686-apple-darwin11-nm
ln -s $CC bin/i686-apple-darwin11-gcc
ln -s $CXX bin/i686-apple-darwin11-g++
export PATH="`pwd`/bin:$PATH"
echo $PATH
ls `pwd`/bin
# strip out all non ascii to something that sed and gcc script will eat
tr -cd '\11\12\40-\176' <AUTHORS >AUTHORS.tmp
mv AUTHORS.tmp AUTHORS
# change the library detection so that the full path name of the library is
retained
perl -pi.bak -e 's|\^\.\*\\\/\\\(lib|^[^\\/]*\\\(.*lib|g' configure
./configure %c
# small safety measure: preventing libSystem from coming up too early in the
link line (and hence also in load commands)
# (specifically for wineesd.drv.so winearts.drv.so sane.ds.so and
msxml3.dll.so).
# For further safety, we can then as well remove the remaining -L%p/lib and
-I%p/include flags ...
perl -pi.bak -e 's,\-L%p/lib ,,g; s:\-I%p/include( |,):\1:g;
s,\-l(m|dl|pthread)([^a-z]),\2,g' config.status
./config.status
make depend
make
<<
Shlibs: %p/lib/libwine.1.dylib 1.0.0 %n (>= 0.9.21-3)
DocFiles: ANNOUNCE AUTHORS COPYING.LIB LICENSE README VERSION
DescPort: <<
Didn't find "dbus/dbus.h" : added %p/include/dbus-1.0:%p/lib/dbus-1.0/include
to search path, and required CPPFLAGS
fontconfig.h : added /usr/X11/include
<<
DescDetail: <<
Wine is a translation layer (a program loader) capable of running Windows
applications on Linux and other POSIX compatible operating systems. Windows
programs running in Wine act as native programs would, running without the
performance or memory usage penalties of an emulator, with a similar look and
feel to other applications on your desktop.
<<
DescUsage: <<
The ~/.wine directory is supposed to be created and set up automatically the
first time you launch Wine. However, I have experienced "wineserver: could not
save registry branch" errors during the initial launch. To fix this problem,
run wineprefixcreate before launching Wine. This should create the ~/.wine
directory and populate it with the necessary files. You may still see error
messages, but the directory will be created. For example:
export LD_LIBRARY_PATH=%p/lib
%p/bin/wineprefixcreate
This only needs to be done once.
It will also warn that wine-gecko is missing during the first launch and ask
to download it. Click "Install" to continue.
For a quick test of Wine, run %p/bin/notepad
For best results install an update X server such as XQuartz from
http://xquartz.macosforge.org/trac/wiki
This is the development version of wine. For stable please install wine-stable.
<<
Homepage: http://www.winehq.org/
SplitOff: <<
Package: %N-dev
Depends: %N (= %v-%r)
BuildDependsOnly: true
Conflicts: wine-stable-dev
Files: include lib/libwine.dylib
<<
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs