Hi All,

I went ahead and made an info file for wine 0.9.52 - pulled it and it seems to work very well - better than the .44 version as that one had something busted with the fonts it was using (at least on my system). This has been tested on Leopard.

Cheers,
Damian
Package: wine
Version: 0.9.52
Revision: 1
Description: Microsoft Windows compatibility layer
License: LGPL
Maintainer: Robert Cusick <[EMAIL PROTECTED]>

#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: i386

# 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.
BuildDepends: <<
 arts-dev, audiofile, bison, dbus-dev, esound, fontconfig2-dev, flex (>= 2.5),
 fontforge, freetype2-hinting-dev | freetype2-dev, gcc4.0, giflib | libungif,
 glib2-dev, jack-dev, lcms, lcms-bin, libgettext3-dev, libiconv-dev, 
libicu32-dev | libicu36-dev,
 libjpeg, libusb, libxml2, libxml2-bin, libxslt, libxslt-bin, mesa (>= 6.5.2-1),
 openldap23-dev, openssl097-dev, sane-backends-dev, x11-dev, libgphoto2
<<
Depends: <<
 arts-shlibs, audiofile-shlibs, dbus-shlibs, esound-shlibs, fontconfig2-shlibs,
 freetype2-hinting-shlibs | freetype2-shlibs, giflib-shlibs | libungif-shlibs,
 glib2-shlibs, jack-shlibs, lcms-shlibs, libgettext3-shlibs, libiconv, 
libjpeg-shlibs,
 libusb-shlibs, libxml2-shlibs, libxslt-shlibs, mesa-shlibs (>= 6.5.2-1),
 openldap23-shlibs, openssl097-shlibs, sane-backends-shlibs, x11, 
libgphoto2-shlibs
<<
Recommends: <<
 msttcorefonts
<<
Source: mirror:sourceforge:%n/%n-%v.tar.bz2
Source-MD5: c3b14ac84f049a2db28cd41c3f71998b

NoSetCPPFLAGS: true
SetCPPFLAGS: -DDBUS_API_SUBJECT_TO_CHANGE
NoSetLDFLAGS: true
SetLIBRARY_PATH: %p/lib/mesa:%p/lib
# 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/mesa:%p/include:/usr/X11R6/include
 export X_CFLAGS=-I%p/include/mesa X_LIBS=-L%p/lib/mesa
# export LDFLAGS="-L%p/lib/freetype219/lib -L%p/lib/fontconfig2/lib"
 export LD_LIBRARY_PATH=%p/lib
 export PATH=%p/lib/freetype2/bin:$PATH
# export CPPFLAGS="-I%p/lib/freetype219/include -I%p/lib/fontconfig2/include"
 # 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 ChangeLog 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/X11R6/include
Use mesa because GL/gl.h in some versions of Apple's X11 is too old. But then 
to be safe mesa has also
to substitute for the glut or freeglut dep; thus put mesa in every path before 
%p and before /usr/X11R6.
<<

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: <<
Wine uses X Windows for its backend, so you need to start your X Server
(e.g. X11) before running Wine. In addition, Wine needs a valid DISPLAY
variable in order to find the X server. For example:

  export DISPLAY=:0.0

#Also, Wine is unable to find the FreeType libraries unless you add Fink's lib
#directory to the library path. For example:
#
#  export LD_LIBRARY_PATH=%p/lib

Another note: 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.

For a quick test of Wine, run %p/bin/notepad
<<

Homepage: http://www.winehq.org/

SplitOff: <<
  Package: %N-dev
  Depends: %N (= %v-%r)
  BuildDependsOnly: true
  Files: include lib/libwine.dylib share/aclocal
<<
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel

Reply via email to