|
From: | Darcy Shen |
Subject: | Re: [Texmacs-dev] CMake build with MacPorts on macOS |
Date: | Sat, 23 Mar 2019 14:17:29 +0800 |
User-agent: | Zoho Mail |
Hello,This mail shows how to make TeXmacs.app on macOS.(My macOS is El-Capitan)I have tried to compile a github version of TeXmacs with cmake.I'm using MacPorts, so all dependencies are installed with MacPorts.(MacPorts is a system for compiling, installing, and managing open source software)######################################### Build dependencysudo port install cmake# Library dependenciessudo port install guile18sudo port install qt4-mac# Runtime dependencysudo port install ghostscriptgit clone https://github.com/texmacs/texmacs.git texmacscd ./texmacsmkdir ./build && cd ./buildcmake -DGUILECONFIG_EXECUTABLE=/opt/local/bin/guile18-config -DQT_QMAKE_EXECUTABLE=/opt/local/libexec/qt4/bin/qmake -DCMAKE_INSTALL_PREFIX=./TeXmacs.app/Contents/Resources ..# Apply the next patch in order to avoid an error.#perl -pi -e 's|#endif // defined TM_CONFIGURE_H|#define GUILE_HEADER_18 1\n\nMAILDRAFTCONTENTamp;|' ./src/System/tm_configure.hppmake -j8make install# Execute the following commands in order to make an application-bundle.#cp -iRp ../src/Plugins/Cocoa/English.lproj ./TeXmacs.app/Contents/Resources/cp -ip ../packages/macos/TeXmacs.icns ./TeXmacs.app/Contents/Resources/cp -ip ../packages/macos/TeXmacs-document.icns ./TeXmacs.app/Contents/Resources/cp -ip ../packages/macos/PkgInfo ./TeXmacs.app/Contents/cp -fp ../packages/macos/Info.plist.in ./TeXmacs.app/Contents/Info.plistperl -pi -e 's/address@hidden@/1.99.9/g' ./TeXmacs.app/Contents/Info.plistperl -pi -e 's/address@hidden@//g' ./TeXmacs.app/Contents/Info.plist########################################I think this shell-script is useful for checking the current version of TeXmacs.Thanks,Tomio Arisaka_______________________________________________Texmacs-dev mailing list
[Prev in Thread] | Current Thread | [Next in Thread] |