From 96aa6ae7c8837cfd8aed4e40cec8f277c558f949 Mon Sep 17 00:00:00 2001 From: Brandon Philips Date: Tue, 5 Feb 2013 15:53:07 -0800 Subject: [PATCH] remove chromeos stuff --- .../eclass/synaptics-touchpad.eclass | 85 ------------------- .../coreos-overlay/profiles/updates/1Q-2012 | 3 - .../coreos-overlay/profiles/updates/2Q-2012 | 1 - .../coreos-overlay/profiles/updates/4Q-2011 | 7 -- 4 files changed, 96 deletions(-) delete mode 100644 sdk_container/src/third_party/coreos-overlay/eclass/synaptics-touchpad.eclass delete mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/updates/1Q-2012 delete mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/updates/2Q-2012 delete mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/updates/4Q-2011 diff --git a/sdk_container/src/third_party/coreos-overlay/eclass/synaptics-touchpad.eclass b/sdk_container/src/third_party/coreos-overlay/eclass/synaptics-touchpad.eclass deleted file mode 100644 index 43fd332ba5..0000000000 --- a/sdk_container/src/third_party/coreos-overlay/eclass/synaptics-touchpad.eclass +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright (c) 2010 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -EAPI="2" -inherit eutils cros-binary - -# Synaptics touchpad generic eclass. -IUSE="is_touchpad ps_touchpad" - -RDEPEND="x11-base/xorg-server" -DEPEND="${RDEPEND}" - -# @ECLASS-VARIABLE: SYNAPTICS_TOUCHPAD_PN -# @DESCRIPTION: The packagename used as part of the binary tarball filename. -: ${SYNAPTICS_TOUCHPAD_PN:=${PN}} - -export_uri() { - local XORG_VERSION_STRING - local XORG_VERSION - local X_VERSION - - XORG_VERSION_STRING=$(grep "XORG_VERSION_CURRENT" "$ROOT/usr/include/xorg/xorg-server.h") - XORG_VERSION_STRING=${XORG_VERSION_STRING/#\#define*XORG_VERSION_CURRENT} - XORG_VERSION=$(($XORG_VERSION_STRING)) - - if [ $XORG_VERSION -ge 11100000 ]; then - X_VERSION=1.11 - elif [ $XORG_VERSION -ge 11000000 ]; then - X_VERSION=1.10 - elif [ $XORG_VERSION -ge 10903000 ]; then - X_VERSION=1.9 - else - X_VERSION=1.7 - fi - CROS_BINARY_URI="http://commondatastorage.googleapis.com/synaptics/${SYNAPTICS_TOUCHPAD_PN}-xorg-${X_VERSION}-${PV}-${PR}.tar.gz" -} - -function synaptics-touchpad_src_unpack() { - export_uri - cros-binary_src_unpack -} - -function synaptics-touchpad_src_install() { - # Currently you must have files/* in each ebuild that inherits - # from here. These files will go away soon after they are pushed - # into the synaptics tarball. - export_uri - cros-binary_src_install - if [ $(ls "${D}" | wc -l) -eq 1 ]; then - local extra_dir="$(ls "${D}")" - mv "${D}/${extra_dir}/"* "${D}/" - rmdir "${D}/${extra_dir}/" - fi - - exeinto /opt/Synaptics/bin - doexe "${FILESDIR}/tpcontrol_syncontrol" || die - - # If it exists, install synlogger to log calls to the Synaptics binaries. - # The original binaries themselves are appended with _bin, and symlinks are - # created with their original names that point at synlogger. - if [ -f "${FILESDIR}/synlogger" ]; then - doexe "${FILESDIR}/synlogger" || die - local f - for f in syn{control,detect,reflash} ; do - mv "${D}"/opt/Synaptics/bin/${f}{,_bin} || die - dosym synlogger /opt/Synaptics/bin/${f} || die - done - fi - - # link the appropriate config files for the type of trackpad - if use is_touchpad && use ps_touchpad; then - die "Specify only one type of touchpad" - elif use is_touchpad; then - dosym HKLM_Kernel_IS /opt/Synaptics/HKLM_Kernel || die - dosym HKLM_User_IS /opt/Synaptics/HKLM_User || die - elif use ps_touchpad; then - dosym HKLM_Kernel_PS /opt/Synaptics/HKLM_Kernel || die - dosym HKLM_User_PS /opt/Synaptics/HKLM_User || die - else - die "Type of touchpad not specified" - fi - -} - diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/updates/1Q-2012 b/sdk_container/src/third_party/coreos-overlay/profiles/updates/1Q-2012 deleted file mode 100644 index d2c877d9ab..0000000000 --- a/sdk_container/src/third_party/coreos-overlay/profiles/updates/1Q-2012 +++ /dev/null @@ -1,3 +0,0 @@ -move virtual/kernel virtual/linux-sources -slotmove =media-libs/jpeg-6b-r9 62 0 -slotmove