Build script adjustments

Based on Apple's documentation (https://developer.apple.com/library/content/
documentation/Security/Conceptual/CodeSigningGuide/Procedures/Procedures.html)
custom paths must not be used for binaries, as they are left unsigned by
codesign app.

Change-Id: I628a3a9da15dfdbbf515b4c16a3d38590ae433f5
5 files changed
tree: 0e071608049e28c3db5f448adf1c2821e5dad11a
  1. .waf-tools/
  2. docs/
  3. osx/
  4. res/
  5. src/
  6. .gitignore
  7. AUTHORS.md
  8. auto-release.sh
  9. COPYING.md
  10. make-deps.sh
  11. make-osx-bundle.py
  12. ndn-control-center.desktop.in
  13. ndn-control-center.xml
  14. nfd.conf
  15. qt.conf
  16. README.md
  17. RELEASE_NOTES.md
  18. waf
  19. waf.bat
  20. wscript
README.md

NDN Control Center

NDN Control Center is a helper application to manager local instance of NFD. In addition to that, on macOS NDN Control Center also bundles an internal version of NFD.

Notes

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.