diff --git a/ChangeLog b/ChangeLog index 12ff539eb7..891fb8663b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-01-11 Bennett Helm + + * INSTALL.MacOSX: update. + 2005-07-19 Jean-Marc Lasgouttes * NEWS: fix typo diff --git a/INSTALL.MacOSX b/INSTALL.MacOSX index 98f96e7f04..00a3c3596d 100644 --- a/INSTALL.MacOSX +++ b/INSTALL.MacOSX @@ -21,10 +21,15 @@ convenient directory, cd to the top of the Qt source hierarcy, and: export QTDIR=`pwd` sudo gcc_select 2 - ./configure -static -no-exceptions [for Panther, use "./configure -static -no-exceptions -lresolv"] + ./configure -static -no-exceptions [for 10.3 or higher, use "./configure -static -no-exceptions -lresolv"] make rm lib/libqt.la +[Note: LyX-1.3.x requires gcc-2.95 to compile (hence the 'sudo +gcc_select 2' line above). In Mac OS X 10.4, gcc-2.95 is not +installed by default, though it is included with the Xcode Tools +installer (under Cross-Development).] + 3. Configure LyX for compilation as follows. Using the same terminal session you used to build the Qt library, @@ -36,7 +41,8 @@ cd to the top of the LyX source hierarchy, and enter: [Note #1: Adjust the --prefix setting to point to where you have copied LyX.app from step (1), if necessary.] -[Note #2: to make a build that works with both 10.2 and 10.3, include +[Note #2: to make a build that works with Mac OS X 10.2 and higher, +include "am_cv_func_iconv=no ac_cv_func_tsearch=no ac_cv_working_alloca_h=no ac_cv_header_dlfcn_h=no ac_cv_func_feof_unlocked=no ac_cv_header_nl_types_h=no am_cv_langinfo_codeset=no ac_cv_func_stpcpy=no" in the configure line.] diff --git a/src/frontends/qt2/ChangeLog b/src/frontends/qt2/ChangeLog index 66acdf90e0..ea6d831dd0 100644 --- a/src/frontends/qt2/ChangeLog +++ b/src/frontends/qt2/ChangeLog @@ -1,3 +1,10 @@ +2006-01-11 Bennett Helm + + * QWorkArea.C: + * lyx_gui.C: + * qfont_loader.C: define __METADATA_METADATA__ under OSX to fix + compilation with gcc 2.95. + 2006-01-09 Jürgen Spitzmüller * Alert_pimpl.C: Make alert dialogs modular, thus preventing that diff --git a/src/frontends/qt2/QWorkArea.C b/src/frontends/qt2/QWorkArea.C index e3c26699c0..5287469906 100644 --- a/src/frontends/qt2/QWorkArea.C +++ b/src/frontends/qt2/QWorkArea.C @@ -35,6 +35,7 @@ #endif #ifdef Q_OS_MAC +#define __METADATA_METADATA__ 1 #include #endif diff --git a/src/frontends/qt2/lyx_gui.C b/src/frontends/qt2/lyx_gui.C index ee18d0a95f..b5b9db1b81 100644 --- a/src/frontends/qt2/lyx_gui.C +++ b/src/frontends/qt2/lyx_gui.C @@ -43,6 +43,7 @@ #include "io_callback.h" #ifdef Q_OS_MAC +#define __METADATA_METADATA__ 1 #include #endif diff --git a/src/frontends/qt2/qfont_loader.C b/src/frontends/qt2/qfont_loader.C index 87d3d87a6f..5a4064d9e5 100644 --- a/src/frontends/qt2/qfont_loader.C +++ b/src/frontends/qt2/qfont_loader.C @@ -40,6 +40,7 @@ using std::pair; using std::make_pair; #ifdef Q_WS_MACX +#define __METADATA_METADATA__ 1 #include #endif diff --git a/src/support/ChangeLog b/src/support/ChangeLog index a5e2bf11b9..902d502183 100644 --- a/src/support/ChangeLog +++ b/src/support/ChangeLog @@ -1,3 +1,8 @@ +2006-01-11 Bennett Helm + + * package.C: define __METADATA_METADATA__ under OSX to fix + compilation with gcc 2.95. + 2005-09-30 Angus Leeming * os_win32.h: new file, providing a public and portable interface diff --git a/src/support/package.C b/src/support/package.C index 807a3355d5..9d44835637 100644 --- a/src/support/package.C +++ b/src/support/package.C @@ -39,6 +39,7 @@ #if defined (USE_MACOSX_PACKAGING) +#define __METADATA_METADATA__ 1 # include // FSFindFolder, FSRefMakePath #endif diff --git a/status.13x b/status.13x index 6b69534bf9..5b4bf7627e 100644 --- a/status.13x +++ b/status.13x @@ -19,9 +19,9 @@ What's new ** Updates -- update lyx2lyx to handle properly the latest LyX 1.4 format (245). +- Update lyx2lyx to handle properly the latest LyX 1.4 format (245). -- New hungarian translation. +- New hungarian translation. Update Spanish translation. - Update German documentation. @@ -89,7 +89,10 @@ What's new - Compile without STL compatibility support, since some systems do that by default (Slackware, for ex.). [Qt only] -- fix compilation with Solaris/x86 (bug 992). +- Fix compilation with gcc 2.95 under OSX 10.4. This is useful because + LyX crashes on startup when compiled with gcc3. + +- Fix compilation with Solaris/x86 (bug 992). - Enable compilation of LyX on DragonFly BSD.