From 25c4322ff8a252eebac44f56dd17406b0cacda5d Mon Sep 17 00:00:00 2001 From: Nico Date: Sun, 15 Nov 2015 10:32:33 +0100 Subject: [PATCH 1/2] Typos in Compile Instructions + clone only latest git Former-commit-id: a259a1ee1de4b535e254a21721bffd582380b6b2 --- CompileHowto.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/CompileHowto.txt b/CompileHowto.txt index df85dc5f..5154aabb 100644 --- a/CompileHowto.txt +++ b/CompileHowto.txt @@ -2,14 +2,15 @@ sudo apt-get update sudo apt-get install git cmake build-essential libQt4-dev libusb-1.0-0-dev python-dev -# RPI ONLY: when you build on the rapberry pi and inlcude the dispmanx grabber (which is the default) +# RPI ONLY: when you build on the rapberry pi and include the dispmanx grabber (which is the default) # you also need the firmware including headers installed. This downloads the firmware from the raspberrypi github # and copies the required files to the correct place. The firmware directory can be deleted afterwards if desired. export FIRMWARE_DIR="raspberrypi-firmware" -git clone https://github.com/raspberrypi/firmware.git "$FIRMWARE_DIR" -sudo cp -R "$FIRMWARE_DIR/hardfp/opt/*" /opt +git clone --depth 1 https://github.com/raspberrypi/firmware.git "$FIRMWARE_DIR" +sudo cp -R "$FIRMWARE_DIR/hardfp/opt/" /opt # create hyperion directory and checkout the code from github +# You might want to add "--depth 1" if you only want to recompile the current source or dont want to use git any further export HYPERION_DIR="hyperion" git clone --recursive https://github.com/tvdzwan/hyperion.git "$HYPERION_DIR" @@ -22,7 +23,7 @@ git submodule update mkdir "$HYPERION_DIR/build" cd "$HYPERION_DIR/build" -# run cmake to generate make files on the rsapberry pi +# run cmake to generate make files on the raspberry pi cmake .. # or if you are not compiling on the raspberry pi and need to disable the Dispmanx grabber and support for spi devices cmake -DENABLE_DISPMANX=OFF -DENABLE_SPIDEV=OFF -DENABLE_X11=ON .. From 9b1b4d2aea970e13d3e0fb6688eddbf7743675bd Mon Sep 17 00:00:00 2001 From: Nico Date: Sun, 15 Nov 2015 11:14:44 +0100 Subject: [PATCH 2/2] Copy effects to /opt/hyperion/ on a manual compilation Former-commit-id: 49893ea8d35ee78f52fe8f95d841ed29dacc94ee --- CompileHowto.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CompileHowto.txt b/CompileHowto.txt index 5154aabb..621cf8fd 100644 --- a/CompileHowto.txt +++ b/CompileHowto.txt @@ -40,3 +40,6 @@ make # The binaries are build in "$HYPERION_DIR/build/bin". You could copy those to /usr/bin sudo cp ./bin/hyperion-remote /usr/bin/ sudo cp ./bin/hyperiond /usr/bin/ + +# Copy the effect folder (if you did not use the normal installation methode before) +sudo mkdir -p /opt/hyperion/effects && sudo cp -R ../effects/ /opt/hyperion/