]> git.lyx.org Git - lyx.git/blob - README.MacOSX
Remove unused nopos_ mamber variable.
[lyx.git] / README.MacOSX
1
2                            Building LyX/Mac-1.4.0
3
4                   Ronald Florence <ron@18james.com>
5
6    LyX/Mac is built from the LyX source, the GPL-licensed Trolltech
7    Qt/Mac library, and a custom application bundle. 
8
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".
13
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
17        hierarcy, and:
18
19      export QTDIR=`pwd` 
20      patch -p0 < LYX-SOURCE-DIRECTORY/development/MacOSX/qt.patch
21      sudo gcc_select 3.3 
22      ./configure -static   [for Panther, use "./configure -static -lresolv"]
23      make 
24      rm lib/libqt.la
25
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
30        "1.4.0".
31  
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:
34
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
37      make
38      make install
39      rm /Applications/LyX.app/Contents/Resources/LyX/images/lyx.xpm
40
41
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
46    warranty of any kind.