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.
 
 
 
 
 
 
Andreas Butti ded109d449 Mac build 7 years ago
..
icon Mac Build 7 years ago
.gitignore Mac integration 7 years ago
Info.plist Mac build 7 years ago
README.md Mac Build manual 7 years ago
build-app.sh Mac menu shortcut 7 years ago
build-gtk3.sh Build manual 7 years ago
build-mac-integration.sh Mac integration 7 years ago
build-poppler.sh mac packaging 7 years ago
complete-build.sh Mac build 7 years ago
xournalpp.bundle mac packaging 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