Am Montag, 22. März 2010 schrieb BH: > On Mon, Mar 22, 2010 at 9:17 AM, Kornel Benko <kor...@lyx.org> wrote: > >> The problem is installing it. When XCode builds, it should > >> create the application bundle, but it doesn't. When I use unix > >> makefiles, doing "make install" indeed puts most everything inside the > >> LyX.app bundle, but not in the right places. (The directory structure > >> should be something like: > >> > > ... > > Not having anyone used to handle cmake on macosx it will be somewhat > > difficult. > > I looked into another project, and it seems that macosx needs more > > polishing than I were able to do without > > immediately seeing the outcome and interpreting the error-messages. > > Also for Peter, although used to handle cmake on windows, it will not be > > easy. (I think). > > This worries me. I'm finding it increasingly difficult to compile LyX > on Mac and am currently unable to generate universal binaries of 2.0. > (There will be no Mac binary for 2.0alpha1.) I cannot use autotools at > all; cmake compiles, but only intel (not ppc) and even then not for > OSX 10.4. Going forward, I cannot compile recent versions of Qt > myself, and if I use Nokia's precompiled versions I will not be able > to use autotools at all, but will be forced to use cmake, which only > has incomplete support for Mac. LyX on Mac needs some serious help. > > To be clear: none of this is intended as criticism or blame. I know > there's only limited time people have to devote to LyX in general, and > I appreciate everyone's willingness to help out on Mac when possible. > Would that I had time and energy to step forward and (learn enough to) > fix some of these problems....
We need someone having OSX. You already have some experience there. It is not soo difficult to start with cmake. Maybe you could step in here? Code specific for OSX in e.g. CMakeLists.txt would look like this: if(APPLE) if(NOT MAC_SELF_CONTAINED_BUNDLE) if(CMAKE_INSTALL_PREFIX STREQUAL "/opt/local") set(MAC_SELF_CONTAINED_BUNDLE /Applications/MacPorts CACHE DOCSTRING "Install directory LyX application bundle") else(CMAKE_INSTALL_PREFIX STREQUAL "/opt/local") SET(INSTALL_OSX_BUNDLE_DIR ${CMAKE_INSTALL_PREFIX}/Application CACHE DOCSTRING "Install directory LyX application bundle") endif(CMAKE_INSTALL_PREFIX STREQUAL "/opt/local") message("*** Will install application bundles in ${INSTALL_OSX_BUNDLE_DIR}, set INSTALL_OSX_BUNDLE_DIR to change the location") endif(NOT MAC_SELF_CONTAINED_BUNDLE) endif(APPLE) but of course this will be not the only chunk. > BH > Kornel
signature.asc
Description: This is a digitally signed message part.