Am Donnerstag, 4. Januar 2018 um 22:39:09, schrieb Joel Kulesza <jkule...@gmail.com> > On Thu, Jan 4, 2018 at 9:06 PM, Kornel Benko <kor...@lyx.org> wrote: > > > Am Donnerstag, 4. Januar 2018 um 20:04:28, schrieb Joel Kulesza < > > jkule...@gmail.com> > > > On Wed, Jan 3, 2018 at 11:04 PM, Kornel Benko <kor...@lyx.org> wrote: > > > > > > > > > > In addition, cmake gives me different default screen fonts than > > > > > > configure (with configure giving me those I'm accustomed to). > > > > > > > > > > > > I’d guess the screen fonts come from development/MacOSX/ > > lyxrc.dist.in > > > > - > > > > > > probably this file isn’t used by cmake... > > > > > > > > > > > > > > Cmake uses this file, but it doen't install it. (Missing for Apple in > > > > development/cmake/Install.cmake) > > > > There is also the file development/MacOSX/Info.plist.in. Don't know, > > what > > > > to do with it. > > > > > > > > > Gotcha, and good to know. Perhaps this is one of those instances > > where > > > > > cmake & configure can be brought into alignment (I'd argue that > > cmake is > > > > > incorrect in this case because my default screen font is sans > > serifs). > > > > > > > > I am committing now, please test. > > > > > > > > > > Kornel, > > > > > > I pulled at 03b6ee9f and built with cmake. I was able to build > > > successfully (magic.h was handled appropriately). However, when > > launched, > > > my screen fonts are still sans serifs. > > > > > > Mysteriously, through cleaning up the configure'd makes, and my > > > ~/Library/Application Support directories, my configure-made executable > > now > > > also shows sans serif fonts. Weird. > > > > No mystery. It was probably leftover from previous runs. The lyxrc.dist > > has only default values if nothing is set yet. > > > > Sorry, perhaps I wasn't clear. The default given in lyxrc.dist is Times (a > serifed font) but when I build and run, having deleted my > ~/Library/Application Support/LyX and ~/Library/Application Support/LyX2.4 > folders (containing any user preferences), I would expect to see Times as > the interface font (the default). However, I see Lucida Grande. Note that > I can set the Roman font to Times in the preferences and it displays > properly, it just isn't used as the default... >
Now I have to ask: Did you 'build and run' or 'build and install and run installed'? If only build and run, then the file lyxrc.dist may not be at the proper position. On linux it is *installed* in the system-directory. Using in-build-lyx, the system directory is is located in the source tree, but cmake does not pollute it. So there is no lyxrc.dist there. > > > Regardless, I briefly looked at development/MacOSX/lyxrc.dist and > > > lyxrc.dist.in. Diff'ing them points to how I was seeing the > > subdirectories > > > in ~/Library/Application Support as LyX (configure) and LyX2.4 (cmake). > > > Note that LyX2.4 differs from the convention I've seen for releases of > > > LyX-2.4. Does this dash need to be added somewhere that cmake is > > resolving > > > the version and appending it? Alternatively, and perhaps more > > > appropriately, should an optional cmake command line parameter be used to > > > specify the suffix and otherwise just use the directory ../LyX, like > > > configure? In this way a developer (or enthusiastic user) can avoid > > > polluting a "working" directory with development activity. > > > > Yes, it should. And in case of linux and Windows it already does. I for > > example am using > > -DLYX_PROGRAM_SUFFIX=ON -DLYX_LOCALVERSIONING=ON > > > > Excellent, I'll experiment with those, and if not functional, see if I can > make them so.. > > > > > I'm happy to build and test to bring configure and cmake into more > > > consistent post-build behavior. Please let me know if and how I can > > help. > > > If it is easier to directly mail .diff files back-and-forth to apply or > > to > > > use some other mechanism to avoid polluting master with commits to test > > > with, please let me know. > > > > You could go through the CMakeLists.txt and *.cmake file which mention > > 'APPLE'. > > Interesting should be the installation paths in > > development/cmake/modules/LyXDestinations.cmake > > development/cmake/Install.cmake > > development/cmake/LyxPackaging.cmake > > I know nearly nothing about APPLE. And cannot test either. But I > > appreciate very much > > your help. > > > > Sounds good, I'll explore those files. I've also again read through the > INSTALL.MacOSX file and may propose some updates for clarity and to > indicate Qt5 as an option. Wonderful. Kornel
signature.asc
Description: This is a digitally signed message part.