Skip to content
This repository was archived by the owner on Jul 23, 2021. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions DigitalNote.pro
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ isEmpty(BOOST_THREAD_LIB_SUFFIX) {
}

isEmpty(BDB_LIB_PATH) {
macx:BDB_LIB_PATH = /usr/local/Cellar/berkeley-db4/4.8.30/lib
macx:BDB_LIB_PATH = /usr/local/Cellar/berkeley-db@4/4.8.30/lib
windows:BDB_LIB_PATH=C:/dev/coindeps32/bdb-4.8/lib
}

Expand All @@ -539,17 +539,17 @@ isEmpty(BDB_LIB_SUFFIX) {
}

isEmpty(BDB_INCLUDE_PATH) {
macx:BDB_INCLUDE_PATH = /usr/local/Cellar/berkeley-db4/4.8.30/include
macx:BDB_INCLUDE_PATH = /usr/local/Cellar/berkeley-db@4/4.8.30/include
windows:BDB_INCLUDE_PATH=C:/dev/coindeps32/bdb-4.8/include
}

isEmpty(BOOST_LIB_PATH) {
macx:BOOST_LIB_PATH = /usr/local/Cellar/boost/1.59.0/lib
macx:BOOST_LIB_PATH = /usr/local/Cellar/boost@1.59/1.59.0/lib
windows:BOOST_LIB_PATH=C:/dev/coindeps32/boost_1_57_0/lib
}

isEmpty(BOOST_INCLUDE_PATH) {
macx:BOOST_INCLUDE_PATH = /usr/local/Cellar/boost/1.59.0/include
macx:BOOST_INCLUDE_PATH = /usr/local/Cellar/boost@1.59/1.59.0/include
windows:BOOST_INCLUDE_PATH=C:/dev/coindeps32/boost_1_57_0/include
}

Expand All @@ -568,22 +568,22 @@ isEmpty(MINIUPNPC_LIB_SUFFIX) {
}

isEmpty(MINIUPNPC_INCLUDE_PATH) {
macx:MINIUPNPC_INCLUDE_PATH=/usr/local/Cellar/miniupnpc/1.9.20151008/include
macx:MINIUPNPC_INCLUDE_PATH= /usr/local/Cellar/miniupnpc/2.1/include
windows:MINIUPNPC_INCLUDE_PATH=C:/dev/coindeps32/miniupnpc-1.9
}

isEmpty(MINIUPNPC_LIB_PATH) {
macx:MINIUPNPC_LIB_PATH=/usr/local/Cellar/miniupnpc/1.9.20151008/lib
macx:MINIUPNPC_LIB_PATH= /usr/local/Cellar/miniupnpc/2.1/lib
windows:MINIUPNPC_LIB_PATH=C:/dev/coindeps32/miniupnpc-1.9
}

isEmpty(OPENSSL_INCLUDE_PATH) {
macx:OPENSSL_INCLUDE_PATH = /usr/local/openssl-1.0.1p/include
macx:OPENSSL_INCLUDE_PATH = /usr/local/Cellar/openssl/1.0.2t/include
windows:OPENSSL_INCLUDE_PATH=C:/dev/coindeps32/openssl-1.0.1p/include
}

isEmpty(OPENSSL_LIB_PATH) {
macx:OPENSSL_LIB_PATH = /usr/local/openssl-1.0.1p/lib
macx:OPENSSL_LIB_PATH = /usr/local/Cellar/openssl/1.0.2t/lib
windows:OPENSSL_LIB_PATH=C:/dev/coindeps32/openssl-1.0.1p/lib
}

Expand All @@ -605,7 +605,7 @@ macx:HEADERS += src/qt/macdockiconhandler.h src/qt/macnotificationhandler.h
macx:OBJECTIVE_SOURCES += src/qt/macdockiconhandler.mm src/qt/macnotificationhandler.mm
macx:LIBS += -framework Foundation -framework ApplicationServices -framework AppKit -framework CoreServices
macx:DEFINES += MAC_OSX MSG_NOSIGNAL=0
macx:ICON = src/qt/res/icons/bitcoin.icns
macx:ICON = src/qt/res/icons/digitalnote.icns
macx:TARGET = "DigitalNote-Qt"
macx:QMAKE_CFLAGS_THREAD += -pthread
macx:QMAKE_LFLAGS_THREAD += -pthread
Expand Down
28 changes: 26 additions & 2 deletions doc/build-osx.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ You can get the current version from http://developer.apple.com
1. Install dependencies:
```
brew install boost@1.59
brew install berkeley-db4
brew install miniupnpc@2.1
brew install berkeley-db4
brew install miniupnpc
brew install https://github.com/tebelorg/Tump/releases/download/v1.0.0/openssl.rb
brew install automake
brew install autoconf
Expand Down Expand Up @@ -74,3 +74,27 @@ to start the DigitalNote daemon.
Run
`./DigitalNoted help`
When the daemon is running, to get a list of RPC commands


DigitalNote-qt: Qt5 GUI Release for DigitalNote
-----------------------------------------

1. Install dependencies:
```
brew install qrencode
brew install qt5
brew install protobuf
brew install python2.7
sudo easy_install appscript
```
2. Link qt5:
```
brew link qt5 --force
```
3. Run in the ./DigitalNote
```
qmake RELEASE=1 USE_UPNP=1 USE_QRCODE=1 DigitalNote.pro
make
python2.7 contrib/macdeploy/macdeployqtplus DigitalNote-Qt.app -add-qt-tr da,de,es,hu,ru,uk,zh_CN,zh_TW -dmg -fancy contrib/macdeploy/fancy.plist
```

1 change: 1 addition & 0 deletions src/makefile.osx
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ LIBS += \
-l boost_thread-mt \
-l ssl \
-l crypto \
-lsecp256k1 -lgmp \
-l z
endif

Expand Down
1 change: 1 addition & 0 deletions src/qt/trafficgraphwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#include "clientmodel.h"

#include <QPainter>
#include <QPainterPath>
#include <QColor>
#include <QTimer>

Expand Down