]> git.lyx.org Git - lyx.git/blob - README.MacOSX
Fix UI to branch activation
[lyx.git] / README.MacOSX
1
2                            Building LyX/Mac
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.  Qt-3.2.3 and
8    later versions align the button labels in the Math Panel better
9    under MacOS-10.3, but present other problems.  Qt-3.1.2 as patched
10    here is fully functional.
11
12    You will need the MacOSX development tools.  The procedure
13    described here builds LyX linked with a static Qt library.  If you
14    are using the tcsh shell, change the "export VAR=value" statements
15    to "setenv VAR value".
16
17    1.  Download the GPL-licensed Qt/Mac library source code from
18    <ftp://ftp.lyx.org/pub/lyx/contrib/qt-mac-free-3.1.2.sit>, untar in
19    a convenient directory, cd to the top of the Qt source hierarcy,
20    and:
21
22      export QTDIR=`pwd` 
23      patch -p0 < LYX-SOURCE-DIRECTORY/development/MacOSX/qt.patch
24      sudo gcc_select 3.3 
25      ./configure -static   [for Panther, use "./configure -static -lresolv"]
26      make 
27  
28    2.  Using the same terminal session, cd to the top of the LyX
29    source hierarchy, and:
30
31      export LDFLAGS="-framework Carbon -framework OpenGL -framework AGL -framework QuickTime -lz"
32      ./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
33      make
34      cp -R development/MacOSX/LyX.app /Applications
35      make install
36      rm /Applications/LyX.app/Contents/Resources/LyX/images/lyx.xpm
37
38
39    For information on configuring LyX/Mac, please see the howto at
40    <http://www.18james.com/lyx_on_aqua.html>. The binary installation
41    of LyX/Mac installs LaTeX fonts and packages, and provides
42    additional functionality including inverse DVI search with some
43    DVI-previewers.
44
45    The information on this page is believed to be accurate, has been
46    used successfully on many systems and sites, and has benefited from
47    the comments and suggestions of many users. Due to the variations
48    in individual systems, this information is conveyed as is with no
49    warranty of any kind.