-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include Highlight in the bundle #73
Conversation
Can't try it out as I get Perhaps it means I need a gitlab account? |
I switched the module URIs to be https which allows anonymous cloning. Should fix the issue. |
Unfortunately the xcodebuild step failed:
I already have boost 1.74.0 installed via homebrew. |
Can you tell me the path to Boost include? I assume it's under /usr/local/Cellar or something but I don't know the full path. I use MacPorts and You can try modifiying |
That particular include file is at /usr/local/include/boost/unordered_map.hpp |
OK, edited the makefile to replace /opt/local... with /usr/local... and QLColorCode built successfully, and seems to run OK. |
I can make the patch script add the Boost path dynamically but maybe it's better to include Boost as a submodule. |
Could you post a screenshot similar to mine? With About Mac open. |
I gave up on trying to add Boost as a submodule. I tried to only add the submodules necessary but this has become a crazy headache. If I add the main project it will add a huge number of submodules and then the set up for making the highlight source see these headers takes forever. I added the Please try the commands in the first post again and see if it works out of the box. |
Yes, builds without modification now. I did note this, I don't know if it's harmless:
|
Harmless for this but it needs to be looked at. |
* Should build on systems with either MacPorts or Homebrew * colorize.sh: specify resource directory as data path to highlight * Common: only use highlight in the bundle * Add highlight and lua submodules * Apply patches target (runs before building Lua) * Add note about building * Fix CI * Remove check for BUILD_STYLE * readme: add note about installation from MacPorts
I had to run |
Yes this is required for building but not runtime. The readme has been updated to state this. |
Great job 👍 build succeeded after |
Also worked for me after installing boost via homebrew 👍 |
Thanks for the fix and hope this change can be released in Homebrew later so I can update with ease. Thanks a lot. |
THANKS A LOT TO EVERYBODY!!! |
This will fix #72.
I don't know if you want to keep your own forks of Lua and highlight because their build systems are not so fun. Especially Lua because it wants users to modify
makefile
as they need to. They do not want to use something more configurable like autoconf or CMake (or Xcode).This should work like so:
Then preview a supported file in Finder.