Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/x11
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv4102/main/finkinfo/x11

Added Files:
        wine.info 
Log Message:
New vintage of wine
https://sourceforge.net/tracker/?func=detail&aid=2690184&group_id=17203&atid=414256
Now uses the system's OpenSSL, so we can pull it out of crypto
(unless I missed something else)

--- NEW FILE: wine.info ---
Package: wine
Version: 1.1.17
Revision: 100
Description: Microsoft Windows compatibility layer
License: LGPL
Maintainer: Damian Dimmich <dam...@tauri-tec.com>
#Previous maintainer: Robert Cusick <bobn...@gmail.com>
# 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: 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, freetype219-shlibs, freetype219, 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,  system-openssl-dev, sane-backends-dev, x11-dev, libgphoto2
<<
Depends: <<
 arts-shlibs, audiofile-shlibs, dbus-shlibs, esound-shlibs, fontconfig2-shlibs,
 freetype219-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,  sane-backends-shlibs, x11, libgphoto2-shlibs
<<
Recommends: <<
 msttcorefonts
<<
Source: mirror:sourceforge:%n/%n-%v.tar.bz2
Source-MD5: ad73833f304e6c6e4d827989ff75db3d

NoSetCPPFLAGS: true
SetCPPFLAGS: -DDBUS_API_SUBJECT_TO_CHANGE
NoSetLDFLAGS: true
SetLIBRARY_PATH: %p/lib/mesa:%p/lib
ConfigureParams: --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/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 
-L/%p/lib/system-openssl/lib"
 export LD_LIBRARY_PATH=%p/lib
 export PATH=%p/lib/freetype219/bin:$PATH
 export CPPFLAGS="-I%p/lib/freetype219/include -I%p/lib/fontconfig2/include 
-I/%p/lib/system-openssl/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 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
#
# Adding export DYLD_LIBRARY_PATH=%p/lib/freetype219/lib seemed to give better
# results - Damian

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
<<

                 


------------------------------------------------------------------------------
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to