4 Ronald Florence <ron@18james.com>
6 LyX/Mac is built from the LyX source, the GPL-licensed Trolltech
7 Qt/Mac library, and a custom application bundle.
9 You will need the MacOSX development tools. The procedure
10 described here builds LyX linked with a static Qt library. If you
11 are using the tcsh shell, change the "export VAR=value" statements
12 to "setenv VAR value".
14 1. Download the GPL-licensed Qt/Mac library source code from
15 <ftp://ftp.lyx.org/pub/lyx/contrib/qt-mac-free-3.1.2.sit>,
16 untar in a convenient directory, cd to the top of the Qt source
20 patch -p0 < LYX-SOURCE-DIRECTORY/development/MacOSX/qt.patch
22 ./configure -static [for Panther, use "./configure -static -lresolv"]
26 2. Download the LyX/Mac skeleton from
27 <ftp://ftp.lyx.org/pub/lyx/stable/lyx-mac-1.3.4-skeleton.tar.gz>
28 and unpack it in /Applications. Change the references to
29 "1.3.4" in /Applications/LyX.app/Contents/Info.plist to
32 3. Using the same terminal session you used to build the Qt
33 library, cd to the top of the LyX source hierarchy, and:
35 export LDFLAGS="-framework Carbon -framework OpenGL -framework AGL -framework QuickTime -lz"
36 ./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
39 rm /Applications/LyX.app/Contents/Resources/LyX/images/lyx.xpm
42 The information on this page is believed to be accurate, has been
43 used successfully on many systems and sites, and has benefited from
44 the comments and suggestions of many users. Due to the variations
45 in individual systems, this information is conveyed as is with no