From f3c28a1b6cd35571a5a87ea54faaa2442a816eed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?= Date: Fri, 8 Feb 2008 14:10:23 +0000 Subject: [PATCH] frontrow plugin: fix headers install script, add a README with simple building and installation instructions --- .../frontrow_plugin/BackRowHeaders/install.sh | 7 ++++++- projects/macosx/frontrow_plugin/README | 15 +++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 projects/macosx/frontrow_plugin/README diff --git a/projects/macosx/frontrow_plugin/BackRowHeaders/install.sh b/projects/macosx/frontrow_plugin/BackRowHeaders/install.sh index 6758bc5532..4c49e3e14e 100755 --- a/projects/macosx/frontrow_plugin/BackRowHeaders/install.sh +++ b/projects/macosx/frontrow_plugin/BackRowHeaders/install.sh @@ -1,3 +1,8 @@ #!/bin/sh -sudo ln -sf $PWD/`dirname $0`/Headers /System/Library/PrivateFrameworks/BackRow.framework/PrivateHeaders \ No newline at end of file +if ! test -e $PWD/Headers/BREvent.h; then + echo "Please run this script from BackRowHeaders directory" + exit 1 +else + sudo ln -sf $PWD/Headers /System/Library/PrivateFrameworks/BackRow.framework +fi diff --git a/projects/macosx/frontrow_plugin/README b/projects/macosx/frontrow_plugin/README new file mode 100644 index 0000000000..a64fa332b9 --- /dev/null +++ b/projects/macosx/frontrow_plugin/README @@ -0,0 +1,15 @@ +Compilation + --------- + +Run "BackRowHeaders; ./install.sh" to install the Headers needed for the +FrontRow plugin. BackRow is a private framework of MacOSX, and so the Headers +are not public. + +Then open the project in XCode to build it. + + + +Installation + ---------- + +Copy VLC.frappliance to /System/Library/CoreServices/Front\ Row.app/Contents/PlugIns . That's all folks !