gui: Enable console line edit on setClientModel
[novacoin.git] / doc / build-osx.txt
index a13f8d3..337fff9 100644 (file)
@@ -1,53 +1,56 @@
-Copyright (c) 2011 Bitcoin Developers
-Distributed under the MIT/X11 software license, see the accompanying file
-license.txt or http://www.opensource.org/licenses/mit-license.php.  This
-product includes software developed by the OpenSSL Project for use in the
-OpenSSL Toolkit (http://www.openssl.org/).  This product includes cryptographic
-software written by Eric Young (eay@cryptsoft.com) and UPnP software written by
-Thomas Bernard.
+Copyright (c) 2017-2019 42 Developers
+Copyright (c) 2019 NovaCoin Developers
 
+Mac OS X Build Instructions and Notes
+=====================================
 
-Mac OS X bitcoind build instructions
-Laszlo Hanyecz <solar@heliacal.net>
-Douglas Huff <dhuff@jrbobdobbs.org>
+MacOS 10.11.6 - El Capitan was used in this manual. All of the commands should be executed in a Terminal application. The built-in one is located in /Applications/Utilities. 
 
+1. Install Xcode (7.3.1 for El Capitan), run it and accept the license agreement:
 
-See readme-qt.rst for instructions on building Bitcoin QT, the
-graphical user interface.
+https://developer.apple.com/xcode/
 
-Tested on 10.5 and 10.6 intel.  PPC is not supported because it's big-endian.
+Install Xcode command line tools:
 
-All of the commands should be executed in Terminal.app.. it's in
-/Applications/Utilities
+xcode-select --install
 
-You need to install XCode with all the options checked so that the compiler and
-everything is available in /usr not just /Developer I think it comes on the DVD
-but you can get the current version from http://developer.apple.com
+2. Install MacPorts with main dependencies:
 
+https://distfiles.macports.org/MacPorts/MacPorts-2.3.5-10.11-ElCapitan.pkg
 
-1.  Clone the github tree to get the source code:
+sudo port install autoconf automake libtool pkgconfig db60 openssl qrencode qt5
 
-git clone git@github.com:bitcoin/bitcoin.git bitcoin
+sudo ln -s /opt/local/libexec/qt5/bin/qmake /opt/local/bin/qmake
 
-2.  Download and install MacPorts from http://www.macports.org/
+3. Install Homebrew(http://brew.sh) with dependencies:
 
-3.  Install dependencies from MacPorts
+/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
 
-sudo port install boost db48 openssl
+brew install python2 boost@1.60
 
-Install the right version of miniupnpc:
-pushd bitcoin/contrib/minipupnpc; sudo port install; popd
-(this will be unnecessary soon, you will just port install miniupnpc
-along with the rest of the dependencies).
+brew link --force boost@1.60
 
-4.  Now you should be able to build bitcoind:
+4. Add to PATH:
 
-cd bitcoin/src
-make -f makefile.osx
+nano ~/.profile
 
-Run:
-  ./bitcoind --help  # for a list of command-line options.
-Run
-  ./bitcoind -daemon # to start the bitcoin daemon.
-Run
-  ./bitcoind help # When the daemon is running, to get a list of RPC commands
+export PATH=$PATH:~/opt/local/lib/db6.0
+export PATH=$PATH:~/opt/local/lib/db60/include
+export PATH=$PATH:~/usr/local/Cellar/boost@1.60/1.60.0/include/boost/thread.hpp
+
+Ctrl+O, Enter, Ctrl+X
+
+5. Clone the github tree:
+
+git clone https://github.com/novacoin-project/novacoin.git
+
+6. Build novacoin-Qt application:
+
+cd novacoin
+qmake
+make
+
+7. Create the .dmg disk image:
+
+sudo easy_install appscript
+./contrib/macdeploy/macdeployqtplus novacoin-Qt.app -dmg -fancy ./contrib/macdeploy/fancy.plist
\ No newline at end of file