Permalink
Browse files

fixed Mac building

  • Loading branch information...
1 parent 60bcbed commit a68a8fcea52727ac2d37ae2bae9eff71ee8c8942 @royshil royshil committed Mar 7, 2012
@@ -15,7 +15,7 @@
"permissions": ["tabs", "http://*/*", "https://*/*","notifications"],
"plugins": [
- { "path": "plugin/npdepthjsplugin.dll" }
+ { "path": "plugin/depthjsplugin.plugin" }
],
"browser_action": {
@@ -42,4 +42,3 @@
"run_at": "document_end" }
]
}
-
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>English</string>
+ <key>CFBundleExecutable</key>
+ <string>depthjsplugin</string>
+ <key>CFBundleGetInfoString</key>
+ <string>depthjsplugin 1.0.0.0, Copyright 2012 MIT Media Lab</string>
+ <key>CFBundleIdentifier</key>
+ <string>com.depthjspluginLib.DepthJS Plugin</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundlePackageType</key>
+ <string>BRPL</string>
+ <key>CFBundleShortVersionString</key>
+ <string>depthjsplugin 1.0.0.0</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleVersion</key>
+ <string>1.0.0.0</string>
+ <key>CFPlugInDynamicRegisterFunction</key>
+ <string></string>
+ <key>CFPlugInDynamicRegistration</key>
+ <string>NO</string>
+ <key>CFPlugInFactories</key>
+ <dict>
+ <key>00000000-0000-0000-0000-000000000000</key>
+ <string>MyFactoryFunction</string>
+ </dict>
+ <key>CFPlugInTypes</key>
+ <dict>
+ <key>00000000-0000-0000-0000-000000000000</key>
+ <array>
+ <string>00000000-0000-0000-0000-000000000000</string>
+ </array>
+ </dict>
+ <key>CFPlugInUnloadFunction</key>
+ <string></string>
+ <key>WebPluginDescription</key>
+ <string>The native plugin part of the DepthJS project</string>
+ <key>WebPluginMIMETypes</key>
+ <dict>
+ <key>application/x-depthjsplugin</key>
+ <dict>
+ <key>WebPluginExtensions</key>
+ <array>
+ <string></string>
+ </array>
+ <key>WebPluginTypeDescription</key>
+ <string>The native plugin part of the DepthJS project</string>
+ </dict>
+ </dict>
+ <key>WebPluginName</key>
+ <string>DepthJS Plugin</string>
+</dict>
+</plist>
@@ -0,0 +1,4 @@
+/* Localized versions of Info.plist keys */
+
+CFBundleName = "depthjsplugin.plugin";
+NSHumanReadableCopyright = "Copyright 2012 MIT Media Lab";
@@ -0,0 +1,23 @@
+<OpenNI>
+ <Licenses>
+ <License vendor="PrimeSense" key="insert key here"/>
+ </Licenses>
+ <Log writeToConsole="true" writeToFile="false">
+ <!-- 0 - Verbose, 1 - Info, 2 - Warning, 3 - Error (default) -->
+ <LogLevel value="3"/>
+ <Masks>
+ <Mask name="ALL" on="false"/>
+ </Masks>
+ <Dumps>
+ </Dumps>
+ </Log>
+ <ProductionNodes>
+ <Node type="Depth">
+ <Configuration>
+ <Mirror on="true"/>
+ </Configuration>
+ </Node>
+ <Node type="Gesture" />
+ <Node type="Hands" />
+ </ProductionNodes>
+</OpenNI>
@@ -49,7 +49,7 @@ add_mac_plugin(${PROJECT_NAME} ${PLIST} ${STRINGS} ${LOCALIZED} SOURCES)
add_custom_command(TARGET ${PROJECT_NAME}
POST_BUILD
COMMAND cp ../chrome-extension/manifest.json.MACOSX ../chrome-extension/manifest.json
- cp ${CMAKE_CURRENT_BINARY_DIR}/depthjsplugin.plugin ../chrome-extension/plugin/
+ COMMAND cp -R ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/depthjsplugin.plugin ../chrome-extension/plugin/
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
)

0 comments on commit a68a8fc

Please sign in to comment.