Skip to content

Commit

Permalink
Edited compiling instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
N-Holzschuch committed Dec 9, 2017
1 parent 3474d86 commit d7a74e3
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,23 @@ Bugs should be reported here on GitHub. Crash reports will be automatically repo
We can't wait to receive your valuable feedback. Enjoy!

## Build
We made a ton easier to build and install Blink yourself on your iOS devices through XCode. We provide a precompiled package with all the libraries for the master branch. Just extract this package in your Framework folder and build Blink.
To download the source code and some of the Frameworks required, type:

```bash
git clone --recursive [email protected]:blinksh/blink.git && \
git clone --recursive [email protected]:holzschu/blink.git && \
cd blink && ./get_frameworks.sh
```

Although this is the quickest method to get you up and running, if you would like to compile all libraries and resources yourself, refer to [BUILD](https://github.com/blinksh/blink/blob/master/BUILD). Please let us know if you find any issues. Blink is a complex project with multiple low level dependencies and we are still looking for ways to simplify and automate the full compilation process.
This will download Blink and the associated frameworks (OpenSSH, libssl2), but also the projects for `ios_system`, `python_ios` and `lua_ios`. To compile:
- If you don't need Python, delete the `python_grp` folder in `blink.xcodeproj`, comment out the `FEAT_PYTHON`line in `ios_system.m`, and press "Build".
- If you *do* need Python:
- open `python_ios/libffi-3.2.1/libffi.xcodeproj/`, and press "Build".
- go to "Products", control-click on `libffi.a`, "Show in Finder", and move it to the `python_ios` directory.
- open `blink.xcodeproj` and press "Build".
- you'll need to install the Python packages yourself, see https://github.com/holzschu/python_ios
- If you want TeX, follow the instructions at https://github.com/holzschu/lib-tex, uncomment the `TEX_COMMANDS` line in `ios_system.m`, and add the TeX libraries to the project.

I am working on a simpler method, with precompiled libraries. This is the best I could do so far. You can also recompile the other libraries yourself (refer to [BUILD](https://github.com/blinksh/blink/blob/master/BUILD). .

# Using Blink
Our UI is very straightforward and optimizes the experience on touch devices for the really important part, the terminal. You will jump right into a very simple shell, so you will know what to do. Here are a few more tricks:
Expand Down

0 comments on commit d7a74e3

Please sign in to comment.