summaryrefslogtreecommitdiffstats
path: root/o3d/installer/linux
diff options
context:
space:
mode:
authorbradnelson@google.com <bradnelson@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-28 20:23:26 +0000
committerbradnelson@google.com <bradnelson@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-28 20:23:26 +0000
commitd15f03f7d3aaa253d32c8bfc4f1543f5f9d6eeae (patch)
treee3ae9df25c03721d2889ca4aad346dc7c2d99363 /o3d/installer/linux
parente6111af1609505398801eed7619a2f7191fe3a2b (diff)
downloadchromium_src-d15f03f7d3aaa253d32c8bfc4f1543f5f9d6eeae.zip
chromium_src-d15f03f7d3aaa253d32c8bfc4f1543f5f9d6eeae.tar.gz
chromium_src-d15f03f7d3aaa253d32c8bfc4f1543f5f9d6eeae.tar.bz2
Moving o3d up a level, to get it out of chrome checkouts.
BUG=None TEST=None Too large for codereview. Manual review by thaloun and tschelcher. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79609 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/installer/linux')
-rw-r--r--o3d/installer/linux/debian.in/changelog.in6
-rw-r--r--o3d/installer/linux/debian.in/compat1
-rw-r--r--o3d/installer/linux/debian.in/control26
-rw-r--r--o3d/installer/linux/debian.in/copyright7
-rw-r--r--o3d/installer/linux/debian.in/debian.gyp100
-rw-r--r--o3d/installer/linux/debian.in/google-o3d.install3
-rw-r--r--o3d/installer/linux/debian.in/google-o3d.links8
-rw-r--r--o3d/installer/linux/debian.in/google-o3d.lintian-overrides21
-rw-r--r--o3d/installer/linux/debian.in/mk_changelog.py55
-rwxr-xr-xo3d/installer/linux/debian.in/rules13
-rwxr-xr-xo3d/installer/linux/generic/setup.sh160
-rwxr-xr-xo3d/installer/linux/generic/uninstall.sh111
-rw-r--r--o3d/installer/linux/installer.gyp21
13 files changed, 0 insertions, 532 deletions
diff --git a/o3d/installer/linux/debian.in/changelog.in b/o3d/installer/linux/debian.in/changelog.in
deleted file mode 100644
index 5f53aee..0000000
--- a/o3d/installer/linux/debian.in/changelog.in
+++ /dev/null
@@ -1,6 +0,0 @@
-google-o3d (VERSION) unstable; urgency=low
-
- * New upstream release. For historical releases, please see
- http://code.google.com/p/o3d/
-
- -- Jeff Bailey <jeffbailey@google.com> DATE
diff --git a/o3d/installer/linux/debian.in/compat b/o3d/installer/linux/debian.in/compat
deleted file mode 100644
index 1e8b314..0000000
--- a/o3d/installer/linux/debian.in/compat
+++ /dev/null
@@ -1 +0,0 @@
-6
diff --git a/o3d/installer/linux/debian.in/control b/o3d/installer/linux/debian.in/control
deleted file mode 100644
index 53c67a4..0000000
--- a/o3d/installer/linux/debian.in/control
+++ /dev/null
@@ -1,26 +0,0 @@
-Source: google-o3d
-Maintainer: Tristan Schmelcher <tschmelcher@google.com>
-Build-Depends-Indep: debhelper (>= 5), cdbs
-Priority: optional
-Section: web
-Standards-Version: 3.7.3
-
-Package: google-o3d
-Architecture: any
-Depends: ${shlibs:Depends}
-Conflicts: o3d-plugin
-Replaces: o3d-plugin
-Description: Google O3D Plugin
- O3D is an open-source web API for creating rich, interactive 3D applications in
- the browser.
- .
- This package provides the NPAPI browser plugin for running O3D-based web apps.
-
-Package: google-o3d-dbgsym
-Architecture: any
-Depends: google-o3d (= ${Source-Version})
-Description: Google O3D Plugin Debug Symbols
- O3D is an open-source web API for creating rich, interactive 3D applications in
- the browser.
- .
- This package contains symbol files for debugging.
diff --git a/o3d/installer/linux/debian.in/copyright b/o3d/installer/linux/debian.in/copyright
deleted file mode 100644
index 37e8e65..0000000
--- a/o3d/installer/linux/debian.in/copyright
+++ /dev/null
@@ -1,7 +0,0 @@
-This package was debianized by Jeff Bailey <jeffbailey@google.com> on
-Wed, 20 Jan 2010 14:19:30 -0500
-
-Copyright (C) 2010 Google, Inc. under the terms of the new BSD license.
-
-On Debian systems, the complete text of the BSD License can be found in the
-file /usr/share/common-licenses/BSD
diff --git a/o3d/installer/linux/debian.in/debian.gyp b/o3d/installer/linux/debian.in/debian.gyp
deleted file mode 100644
index 63846ac..0000000
--- a/o3d/installer/linux/debian.in/debian.gyp
+++ /dev/null
@@ -1,100 +0,0 @@
-# Copyright (c) 2009 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-{
- 'includes': [
- '../../../build/common.gypi',
- '../../../build/version.gypi',
- ],
- 'variables': {
- 'INSTALLER_DIR': '<(PRODUCT_DIR)/installer',
- 'DEBIAN_DIR': '<(INSTALLER_DIR)/debian',
- },
- 'conditions': [
- [ 'target_arch=="x64"',
- {
- 'variables': { 'ARCH': 'amd64' }
- },
- {
- 'variables': { 'ARCH': 'i386' }
- },
- ],
- ],
- 'targets': [
- {
- 'target_name': 'debian',
- 'dependencies': [
- '../../../build/libs.gyp:cg_libs',
- '../../../plugin/plugin.gyp:npo3dautoplugin',
- ],
- 'type': 'none',
- 'copies': [
- {
- 'destination': '<(DEBIAN_DIR)',
- 'files': [
- 'compat',
- 'control',
- 'copyright',
- 'google-o3d.install',
- 'google-o3d.links',
- 'google-o3d.lintian-overrides',
- 'rules',
- ],
- },
- ],
- 'actions': [
- {
- 'action_name': 'deb_mk_changelog',
- 'inputs': [
- 'changelog.in',
- 'mk_changelog.py',
- ],
- 'outputs': [
- '<(DEBIAN_DIR)/changelog',
- ],
- 'action': [
- 'python',
- 'mk_changelog.py',
- '--version=<(plugin_version)',
- '--out=<(DEBIAN_DIR)/changelog',
- '--in=changelog.in',
- ],
- },
- {
- 'action_name': 'make_deb',
- 'inputs': [
- '<(PRODUCT_DIR)/libnpo3dautoplugin.so',
- '<(PRODUCT_DIR)/libCg.so',
- '<(PRODUCT_DIR)/libCgGL.so',
- '<(DEBIAN_DIR)/changelog',
- '<(DEBIAN_DIR)/compat',
- '<(DEBIAN_DIR)/control',
- '<(DEBIAN_DIR)/copyright',
- '<(DEBIAN_DIR)/google-o3d.install',
- '<(DEBIAN_DIR)/google-o3d.links',
- '<(DEBIAN_DIR)/google-o3d.lintian-overrides',
- '<(DEBIAN_DIR)/rules',
- ],
- 'action': [
- 'sh',
- '-c',
- 'cd "<(INSTALLER_DIR)" && dpkg-buildpackage '
- '-uc ' # Don't sign the changes file
- '-tc ' # Clean the tree
- '-b ' # Don't produce a source build
- '-a<(ARCH) '
- '-D ' # -a suppresses build-dep checking, so turn it back on
- '-rfakeroot'
- ],
- 'outputs': [
- '<(PRODUCT_DIR)/google-o3d_<(plugin_version)_<(ARCH).changes',
- '<(PRODUCT_DIR)/google-o3d_<(plugin_version)_<(ARCH).deb',
- '<(PRODUCT_DIR)/' +
- 'google-o3d-dbgsym_<(plugin_version)_<(ARCH).deb',
- ],
- },
- ],
- },
- ],
-}
diff --git a/o3d/installer/linux/debian.in/google-o3d.install b/o3d/installer/linux/debian.in/google-o3d.install
deleted file mode 100644
index 5182bd3..0000000
--- a/o3d/installer/linux/debian.in/google-o3d.install
+++ /dev/null
@@ -1,3 +0,0 @@
-../libCgGL.so /opt/google/o3d/lib
-../libCg.so /opt/google/o3d/lib
-../libnpo3dautoplugin.so /opt/google/o3d
diff --git a/o3d/installer/linux/debian.in/google-o3d.links b/o3d/installer/linux/debian.in/google-o3d.links
deleted file mode 100644
index 229103d..0000000
--- a/o3d/installer/linux/debian.in/google-o3d.links
+++ /dev/null
@@ -1,8 +0,0 @@
-opt/google/o3d/libnpo3dautoplugin.so /usr/lib/mozilla/plugins/libnpo3dautoplugin.so
-opt/google/o3d/libnpo3dautoplugin.so /usr/lib/firefox/plugins/libnpo3dautoplugin.so
-opt/google/o3d/libnpo3dautoplugin.so /usr/lib/iceape/plugins/libnpo3dautoplugin.so
-opt/google/o3d/libnpo3dautoplugin.so /usr/lib/iceweasel/plugins/libnpo3dautoplugin.so
-opt/google/o3d/libnpo3dautoplugin.so /usr/lib/xulrunner/plugins/libnpo3dautoplugin.so
-opt/google/o3d/libnpo3dautoplugin.so /usr/lib/midbrowser/plugins/libnpo3dautoplugin.so
-opt/google/o3d/libnpo3dautoplugin.so /usr/lib/xulrunner-addons/plugins/libnpo3dautoplugin.so
-
diff --git a/o3d/installer/linux/debian.in/google-o3d.lintian-overrides b/o3d/installer/linux/debian.in/google-o3d.lintian-overrides
deleted file mode 100644
index 9c08475..0000000
--- a/o3d/installer/linux/debian.in/google-o3d.lintian-overrides
+++ /dev/null
@@ -1,21 +0,0 @@
-# We are not part of Debian/Ubuntu, so installing into /opt is correct.
-google-o3d: dir-or-file-in-opt opt/google/
-
-# We are not part of Debian/Ubuntu, so installing into /opt is correct.
-google-o3d: dir-or-file-in-opt opt/google/o3d/
-
-# We are not part of Debian/Ubuntu, so installing into /opt is correct.
-google-o3d: dir-or-file-in-opt opt/google/o3d/lib/
-
-# We are not part of Debian/Ubuntu, so installing into /opt is correct.
-google-o3d: dir-or-file-in-opt opt/google/o3d/lib/libCg.so
-
-# We are not part of Debian/Ubuntu, so installing into /opt is correct.
-google-o3d: dir-or-file-in-opt opt/google/o3d/lib/libCgGL.so
-
-# We are not part of Debian/Ubuntu, so installing into /opt is correct.
-google-o3d: dir-or-file-in-opt opt/google/o3d/lib/libnpo3dautoplugin.so
-
-# This is needed to find ourselves in /opt
-google-o3d: binary-or-shlib-defines-rpath ./opt/google/o3d/lib/libnpo3dautoplugin.so /opt/google/o3d/lib
-
diff --git a/o3d/installer/linux/debian.in/mk_changelog.py b/o3d/installer/linux/debian.in/mk_changelog.py
deleted file mode 100644
index abebade0..0000000
--- a/o3d/installer/linux/debian.in/mk_changelog.py
+++ /dev/null
@@ -1,55 +0,0 @@
-#!/usr/bin/python2.4
-#
-# Copyright 2010 Google Inc. All Rights Reserved.
-
-'''Makes a debian/changelog file from a template'''
-
-__author__ = 'jeffbailey@google.com (Jeff Bailey)'
-
-import optparse
-import os
-import subprocess
-import sys
-
-def GetOptionParser():
- '''Constructs and configures an option parser for this script.
-
- Returns:
- An initalised OptionParser instance.
- '''
- parser = optparse.OptionParser('usage: %prog [options]')
- parser.add_option('-v', '--version', dest='version',
- help='O3D version number')
- parser.add_option('-i', '--in', dest='infile',
- help='Input file')
- parser.add_option('-o', '--out', dest='outfile',
- help='Output file')
- return parser
-
-def Main():
- parser = GetOptionParser()
- (options, args) = parser.parse_args()
-
- version = options.version
- outfile = options.outfile
- infile = options.infile
-
- if not version:
- parser.error('Missing --version')
-
- if not outfile:
- parser.error('Missing --out')
-
- if not infile:
- parser.error('Missing --in')
-
- deb_date = os.popen('date -R').read().rstrip()
- sed_exp = "-e 's/VERSION/%s/' -e 's/DATE/%s/'" % (version, deb_date)
-
- sed_cmd = '/bin/sed %s %s >%s' % (sed_exp, infile, outfile)
-
- print sed_cmd
- os.system(sed_cmd)
-
-if __name__ == '__main__':
- sys.exit(Main())
diff --git a/o3d/installer/linux/debian.in/rules b/o3d/installer/linux/debian.in/rules
deleted file mode 100755
index c30869b..0000000
--- a/o3d/installer/linux/debian.in/rules
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/usr/bin/make -f
-
-
-include /usr/share/cdbs/1/rules/debhelper.mk
-
-DEB_DH_STRIP_ARGS=--dbg-package=google-o3d-dbgsym
-
-# Don't call ldconfig. We're in /opt, which isn't supported.
-DEB_DH_MAKESHLIBS_ARGS_google-o3d := -n
-
-# This is needed on Hardy. Lucid will remove this requirement.
-binary-install/google-o3d::
- -dh_lintian -pgoogle-o3d
diff --git a/o3d/installer/linux/generic/setup.sh b/o3d/installer/linux/generic/setup.sh
deleted file mode 100755
index d6e6467..0000000
--- a/o3d/installer/linux/generic/setup.sh
+++ /dev/null
@@ -1,160 +0,0 @@
-#!/bin/sh
-# Installs O3D plugin for Linux.
-#
-# Copyright 2009, Google Inc.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are
-# met:
-#
-# * Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-# * Redistributions in binary form must reproduce the above
-# copyright notice, this list of conditions and the following disclaimer
-# in the documentation and/or other materials provided with the
-# distribution.
-# * Neither the name of Google Inc. nor the names of its
-# contributors may be used to endorse or promote products derived from
-# this software without specific prior written permission.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PATH=$PATH:/sbin:/usr/bin/:/usr/local/bin
-
-CheckArch() {
- # Look for 32 or 64 bit arch from the kernel. If we can not get a read
- # on the arch, we'll go with "unknown".
- ARCH=$(uname -m)
- case $ARCH in
- i?86 | i86*)
- ARCH="32bit";;
- x86_64 | amd64)
- ARCH="64bit";;
- *)
- ARCH="unknown";;
- esac
-
- echo "System architecture mapped to: $ARCH"
-}
-
-
-SetRootUser() {
- # We need to be root (or run as sudo) in order to perform setup.
- USER=$(id -u)
- if [ "$USER" != "0" ]; then
- echo "You must be root (or sudo) to install this package."
- exit 1
- fi
-}
-
-
-UninstallO3d() {
- # Uninstall previous version(s) of O3D before running setup
- if [ -x "/opt/google/o3d/uninstall.sh" ]; then
- echo "Removing previous version(s) of O3D"
- /opt/google/o3d/uninstall.sh
- fi
-}
-
-
-SetupO3d() {
- # Create npapi plugin directories, copy and symlink libs.
- O3D_DIR="/opt/google/o3d"
- LIB_DIR=${O3D_DIR}/lib
-
- PLUGIN_DIRS="/usr/lib/firefox/plugins
- /usr/lib/iceape/plugins
- /usr/lib/iceweasel/plugins
- /usr/lib/midbrowser/plugins
- /usr/lib/mozilla/plugins
- /usr/lib/xulrunner/plugins
- /usr/lib/xulrunner-addons/plugins"
-
- LIBS="libCg.so
- libCgGL.so"
-
- LIBGLEW="libGLEW.so.1.5"
-
- LIB3D="libnpo3dautoplugin.so"
-
- # Check for libGLEW on local system.
- echo -n "Checking for libGLEW..."
- ldconfig -p | grep $LIBGLEW
- if [ $? -ne 0 ]; then
- echo "
- ERROR: The OpenGL Extension Wrangler ($LIBGLEW) was not found on your
- system. This tool is required for O3D. Please install libGLEW using your
- system's package manager."
- exit 1
- else
- echo "ok"
- fi
-
- echo -n "Creating plugin directories..."
- mkdir -p $PLUGIN_DIRS $O3D_DIR $LIB_DIR
- echo "ok"
-
- echo -n "Installing files to $O3D_DIR..."
- install --mode=0644 ${LIB3D} $O3D_DIR
- install --mode=0755 ./uninstall.sh $O3D_DIR
- install --mode=0644 ${LIBS} $LIB_DIR
- echo "ok"
-
- echo -n "Creating symlinks to plugin..."
- for dir in $PLUGIN_DIRS; do
- ln -sf ${O3D_DIR}/${LIB3D} ${dir}/
- done
- echo "ok"
-
- # 64bit only: Check for nspluginwrapper, wrap libnpo3dautoplugin.so if found.
- if [ "$ARCH" = "64bit" ]; then
- echo -n "Attempting to wrap $LIB3D via nspluginwrapper..."
- NSPW=$(which nspluginwrapper)
- if [ -z "$NSPW" ]; then
- echo "
- nspluginwrapper not found. Without nspluginwrapper you will be
- unable to use O3D in 64-bit browsers. Continue installation? (y/N)"
- read answer
- if [ "$answer" = "y" ]; then
- echo "Ok, Installation complete."
- exit 0
- else
- echo "Aborted install at user request."
- exit 1
- fi
- fi
- WRAPPED_PLUGIN_PATH="/usr/lib/mozilla/plugins/npwrapper.libnpo3dautoplugin.so"
- APPS="iceape iceweasel firefox xulrunner midbrowser xulrunner-addons"
- echo -n "Wrapping $LIB3D..."
- $NSPW -i ${O3D_DIR}/${LIB3D}
- echo "ok"
- echo -n "Creating symlinks to npwrapper.libnpo3dautoplugin.so..."
- for app in $APPS; do
- ln -sf $WRAPPED_PLUGIN_PATH /usr/lib/${app}/plugins/
- done
- echo "ok"
- fi
-
- if [ $? -ne 0 ]; then
- echo "Installation failed"
- exit 1
- else
- echo "Installation completed successfully!"
- fi
-}
-
-CheckArch
-SetRootUser
-UninstallO3d
-SetupO3d
diff --git a/o3d/installer/linux/generic/uninstall.sh b/o3d/installer/linux/generic/uninstall.sh
deleted file mode 100755
index d967111..0000000
--- a/o3d/installer/linux/generic/uninstall.sh
+++ /dev/null
@@ -1,111 +0,0 @@
-#!/bin/sh
-# Uninstalls O3D plugin for Linux
-#
-# Copyright 2009, Google Inc.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are
-# met:
-#
-# * Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-# * Redistributions in binary form must reproduce the above
-# copyright notice, this list of conditions and the following disclaimer
-# in the documentation and/or other materials provided with the
-# distribution.
-# * Neither the name of Google Inc. nor the names of its
-# contributors may be used to endorse or promote products derived from
-# this software without specific prior written permission.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PATH=$PATH:/usr/bin/:/usr/local/bin
-
-CheckArch() {
- # Look for 32 or 64 bit arch from the kernel. If we can not get a read
- # on the arch, we'll go with "unknown".
- ARCH=$(uname -m)
- case $ARCH in
- i?86 | i86*)
- ARCH="32bit";;
- x86_64 | amd64)
- ARCH="64bit";;
- *)
- ARCH="unknown";;
- esac
-
- echo "System architecture mapped to: $ARCH"
-}
-
-
-SetRootUser() {
- # We need to be root (or run as sudo) in order to perform uninstall.
- USER=$(id -u)
- if [ "$USER" != "0" ]; then
- echo "You must be root (or sudo) to remove this package."
- exit 1
- fi
-}
-
-
-Uninstall() {
- # Remove O3D plugin, dirs and symlinks.
- O3D_DIR="/opt/google/o3d"
- APPS="mozilla firefox iceape iceweasel xulrunner midbrowser xulrunner-addons"
- LIBS="libCg.so libCgGL.so"
- LIB3D="libnpo3dautoplugin.so"
- LIB3D_WRAPPED="npwrapper.libnpo3dautoplugin.so"
-
- # Prompt user for verification to remove files and directories.
- echo "
- Do you wish to completely remove all previous version(s) of
- the O3D plugin, directories and included libs? (y/N)"
- read answer
- if [ "$answer" = "y" ]; then
- echo -n "Removing O3D plugin and directories..."
- rm ${O3D_DIR}/libnpo3dautoplugin.so
- rm ${O3D_DIR}/lib/libCg.so
- rm ${O3D_DIR}/lib/libCgGL.so
- for app in $APPS; do
- if [ -L "/usr/lib/${app}/plugins/${LIB3D}" ]; then
- rm /usr/lib/${app}/plugins/${LIB3D}
- fi
- done
- rm ${O3D_DIR}/uninstall.sh
- rmdir $O3D_DIR
- echo "ok"
- else
- echo "Aborting at users request"
- exit 0
- fi
-
- # If 64bit, remove the wrapped plugin.
- if [ "$ARCH" = "64bit" ]; then
- echo -n "Removing $LIB3D_WRAPPED..."
- for app in $APPS; do
- if [ -L "/usr/lib/${app}/plugins/${LIB3D_WRAPPED}" ]; then
- rm /usr/lib/${app}/plugins/${LIB3D_WRAPPED}
- fi
- done
- echo "Done. Uninstall complete!"
- exit 0
- fi
-
- echo "Done. Uninstall complete!"
- exit 0
-}
-
-CheckArch
-SetRootUser
-Uninstall
diff --git a/o3d/installer/linux/installer.gyp b/o3d/installer/linux/installer.gyp
deleted file mode 100644
index 91f4898..0000000
--- a/o3d/installer/linux/installer.gyp
+++ /dev/null
@@ -1,21 +0,0 @@
-# Copyright (c) 2009 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-{
- 'targets': [
- {
- 'target_name': 'installer',
- 'type': 'none',
- 'conditions': [
- [ '"<!(whereis dpkg-buildpackage)" != "dpkg-buildpackage:"',
- {
- 'dependencies': [
- 'debian.in/debian.gyp:debian',
- ],
- },
- ],
- ],
- },
- ],
-}