Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Ladislav Hagara (1c7c6454841811b6814accf805e13f0ac0eef6ae)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ladislav Hagara <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Ladislav Hagara (1c7c6454841811b6814accf805e13f0ac0eef6ae)
  • Date: Fri, 30 Dec 2011 22:13:38 -0600

GIT changes to master grimoire by Ladislav Hagara <hgr AT vabo.cz>:

libs/libfreenect/BUILD | 20 +++++++++++++++++++-
libs/libfreenect/HISTORY | 4 ++++
libs/libfreenect/INSTALL | 7 ++++++-
3 files changed, 29 insertions(+), 2 deletions(-)

New commits:
commit 1c7c6454841811b6814accf805e13f0ac0eef6ae
Author: Ladislav Hagara <hgr AT vabo.cz>
Commit: Ladislav Hagara <hgr AT vabo.cz>

libfreenect: 51-kinect.rules installed if spell_ok udev

commit 0a17e55f7e464db3c04de13735870827d5af0bea
Author: Ladislav Hagara <hgr AT vabo.cz>
Commit: Ladislav Hagara <hgr AT vabo.cz>

libfreenect: audios.bin backup and restore added

diff --git a/libs/libfreenect/BUILD b/libs/libfreenect/BUILD
index 0d50ffa..ee24abf 100755
--- a/libs/libfreenect/BUILD
+++ b/libs/libfreenect/BUILD
@@ -2,7 +2,25 @@ if [[ "$LIBFREENECT_AUDIO" == "y" ]]; then
OPTS="-DBUILD_AUDIO=YES $OPTS"
fi &&

-cmake_build &&
+cd $SOURCE_DIRECTORY &&
+mkdir -p build &&
+cd build &&
+prepare_cmake_flags &&
+
+# do not download and extract audios.bin if already in $SOURCE_CACHE
+if [ -f $SOURCE_CACHE/audios.bin ]; then
+ message "${MESSAGE_COLOR}audios.bin restore: $SOURCE_CACHE/audios.bin ->
audios.bin${DEFAULT_COLOR}" &&
+ cp $SOURCE_CACHE/audios.bin audios.bin
+fi &&
+
+cmake -DCMAKE_INSTALL_PREFIX=$INSTALL_ROOT/usr
-DSYSCONFDIR=$INSTALL_ROOT/etc $OPTS ../ &&
+make &&
+
+# audios.bin backup
+if [ -f audios.bin ] && ! [ -f $SOURCE_CACHE/audios.bin ]; then
+ message "${MESSAGE_COLOR}audios.bin backup: audios.bin ->
$SOURCE_CACHE/audios.bin${DEFAULT_COLOR}" &&
+ cp audios.bin $SOURCE_CACHE/audios.bin
+fi &&

if [[ "$LIBFREENECT_PYTHON_WRAPPER" == "y" ]]; then
message "${MESSAGE_COLOR}python wrapper${DEFAULT_COLOR}" &&
diff --git a/libs/libfreenect/HISTORY b/libs/libfreenect/HISTORY
index 254e836..cafecc5 100644
--- a/libs/libfreenect/HISTORY
+++ b/libs/libfreenect/HISTORY
@@ -1,3 +1,7 @@
+2011-12-31 Ladislav Hagara <hgr AT vabo.cz>
+ * BUILD: audios.bin backup and restore added
+ * INSTALL: 51-kinect.rules installed if spell_ok udev
+
2011-12-30 Ladislav Hagara <hgr AT vabo.cz>
* PREPARE, BUILD: option to enable audio added

diff --git a/libs/libfreenect/INSTALL b/libs/libfreenect/INSTALL
index b6bb4d0..bf9b970 100755
--- a/libs/libfreenect/INSTALL
+++ b/libs/libfreenect/INSTALL
@@ -5,5 +5,10 @@ if [[ "$LIBFREENECT_PYTHON_WRAPPER" == "y" ]]; then
message "${MESSAGE_COLOR}python wrapper${DEFAULT_COLOR}" &&
cd $SOURCE_DIRECTORY/wrappers/python &&
default_install_python
-fi
+fi &&

+cd $SOURCE_DIRECTORY &&
+if spell_ok udev; then
+install_config_file platform/linux/udev/51-kinect.rules \
+ $INSTALL_ROOT/etc/udev/rules.d/51-kinect.rules
+fi



  • [SM-Commit] GIT changes to master grimoire by Ladislav Hagara (1c7c6454841811b6814accf805e13f0ac0eef6ae), Ladislav Hagara, 12/30/2011

Archive powered by MHonArc 2.6.24.

Top of Page