You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
7 years ago | |
|---|---|---|
| .. | ||
| icon | 7 years ago | |
| .gitignore | 7 years ago | |
| Info.plist | 7 years ago | |
| README.md | 7 years ago | |
| build-app.sh | 7 years ago | |
| build-gtk3.sh | 7 years ago | |
| build-mac-integration.sh | 7 years ago | |
| build-poppler.sh | 7 years ago | |
| complete-build.sh | 7 years ago | |
| xournalpp.bundle | 7 years ago | |
README.md
Build Xournal++ .app
Do not install macports or homebrew. If you have installed it, you need to create a new user, and use this for the whole process. jhbuild does not work, if there is such an environment installed.
Make sure the Development environment is installed
Open a Terminal, and type in git, confirm popup from Appstore with "Install" to install development tools.
Build Libraries, needs to be once
1. Build GTK
Execute in this folder.
./build-gtk3.sh
The build will fail on expat:
configure: error: C compiler cannot create executables
- Press 4 to start a shell
- Copy the command from above: ./configure --prefix /Users/..../gtk/inst
- Execute configure, it will work now
- Execute make install
- exit
Press 2 to ignore the error, as the build was manually successfully executed
The build will fail again. (missing python module six) Download from here: https://pypi.org/project/six/ Execute
$HOME/gtk/inst/bin/python setup.py install
Build again. It should now build
./build-gtk3.sh
2. Build Poppler
Execute in this folder.
./build-poppler.sh
3. Build Mac integration
Execute in this folder.
./build-mac-integration.sh
Build Xournal++
export PATH="$HOME/.local/bin:$HOME/gtk/inst/bin:$PATH"
cmake -DCMAKE_INSTALL_PREFIX:PATH=$HOME/gtk/inst ..
make -j 4
make install
Build App
./build-app.sh