commit | 3615a1000dd2e606e2af456b191979cd29e5f7e7 | [log] [tgz] |
---|---|---|
author | Qi Zhao <qi.zhao@cs.ucla.edu> | Thu Feb 02 20:38:34 2017 -0800 |
committer | Qi Zhao <qi.zhao@cs.ucla.edu> | Sat Feb 04 20:06:42 2017 -0800 |
tree | b21cfade9174904c7aaf29efca6ecb5b8ba847d7 | |
parent | ae9c431a1c8bd7b7d1dc48f406f1b928f2d30211 [diff] |
Add version generation and display The control center version includes versions of the bundled ndn-cxx, NFD, and ndn-tools. The implementation is a bit hacky and most of the the logic should be moved to the build script eventually. Change-Id: Ie5f33c62f5e35a6a727c038ca0a3e03385dbd7db
NFD Control Center is a helper application to manager local instance of NFD. In addition to that, on macOS NFD Control Center also bundles an internal version of NFD.
As of November 14, 2016, to successfully build the macOS app bundle with HomeBrew version of QT libraries, it is necessary to apply the following patch to HomeBrew formula and build qt5 from source (brew install qt5 --build-from-source
):
diff --git a/Formula/qt5.rb b/Formula/qt5.rb index 8f2a408..302f4fa 100644 --- a/Formula/qt5.rb +++ b/Formula/qt5.rb @@ -115,6 +115,11 @@ class Qt5 < Formula sha256 "48ff18be2f4050de7288bddbae7f47e949512ac4bcd126c2f504be2ac701158b" end + patch do + url "https://gist.githubusercontent.com/cawka/3025baecf3b05e14311b82210a15320f/raw/7ac6a2696f19630df5d02ccc0e48aec733da1364/qt5-patch" + sha256 "b18e4715fcef2992f051790d3784a54900508c93350c25b0f2228cb058567142" + end + def install args = %W[ -verbose
For more information, see https://github.com/Homebrew/homebrew-core/issues/3219 and https://bugreports.qt.io/browse/QTBUG-56814
The code cannot be compiled with the official version of QT libraries, as they are currently missing .pc file for pkg-config detection of libraries. This relates to the upstream QT commit that disabled generation of .pc file. HomeBrew partially reverts this commit in a patch.