4 Ronald Florence <ron@18james.com>
5 Modified by Bennett Helm <bennett.helm@fandm.edu>
7 LyX/Mac is built from the LyX source, the GPL-licensed Trolltech
8 Qt/Mac library, and a custom application bundle.
10 You will need the MacOSX development tools. The procedure
11 described here builds LyX linked with a static Qt library. If you
12 are using the tcsh shell, change the "export VAR=value" statements
13 to "setenv VAR value".
15 1. Download the GPL-licensed Qt/Mac library source code from
16 <http://www.trolltech.com/download/qt/mac.html>,
17 untar in a convenient directory, cd to the top of the Qt source
22 ./configure -static -no-exceptions [for Panther, use "./configure -static -no-exceptions -lresolv"]
27 2. Download the LyX/Mac skeleton from
28 <ftp://ftp.lyx.org/pub/lyx/stable/lyx-mac-1.3.4-skeleton.tar.gz>
29 and unpack it in /Applications. Change the references to
30 "1.3.4" in /Applications/LyX.app/Contents/Info.plist to
33 3. Using the same terminal session you used to build the Qt
34 library, cd to the top of the LyX source hierarchy, and:
36 export LDFLAGS="-framework Carbon -framework OpenGL -framework AGL -framework QuickTime -lz"
37 ./configure --with-frontend=qt --without-x --datadir=/Applications/LyX.app/Contents/Resources --bindir=/Applications/LyX.app/Contents/MacOS --mandir=/Applications/LyX.app/Contents/Resources/man --enable-maintainer-mode --with-included-gettext --enable-optimization=-Os
40 rm /Applications/LyX.app/Contents/Resources/LyX/images/lyx.xpm
43 The information on this page is believed to be accurate, has been
44 used successfully on many systems and sites, and has benefited from
45 the comments and suggestions of many users. Due to the variations
46 in individual systems, this information is conveyed as is with no