From 140a9243afbb91516d13ed9cfde9d142bd689663 Mon Sep 17 00:00:00 2001 From: Stefan Saraev Date: Wed, 16 Oct 2013 19:17:49 +0300 Subject: [PATCH] remove package: intel-gpu-tools not needed anymore. implemented in xbmc gotham --- .../x11/driver/xf86-video-intel/package.mk | 2 +- packages/x11/other/intel-gpu-tools/build | 33 ------------- packages/x11/other/intel-gpu-tools/install | 27 ----------- packages/x11/other/intel-gpu-tools/meta | 37 -------------- .../intel-gpu-tools-1.2-disable-cairo.patch | 25 ---------- .../scripts/set-intel-color-space | 48 ------------------- 6 files changed, 1 insertion(+), 171 deletions(-) delete mode 100755 packages/x11/other/intel-gpu-tools/build delete mode 100755 packages/x11/other/intel-gpu-tools/install delete mode 100644 packages/x11/other/intel-gpu-tools/meta delete mode 100644 packages/x11/other/intel-gpu-tools/patches/intel-gpu-tools-1.2-disable-cairo.patch delete mode 100755 packages/x11/other/intel-gpu-tools/scripts/set-intel-color-space diff --git a/packages/x11/driver/xf86-video-intel/package.mk b/packages/x11/driver/xf86-video-intel/package.mk index dc8076af68..2ac5a34ed1 100644 --- a/packages/x11/driver/xf86-video-intel/package.mk +++ b/packages/x11/driver/xf86-video-intel/package.mk @@ -25,7 +25,7 @@ PKG_ARCH="i386 x86_64" PKG_LICENSE="OSS" PKG_SITE="http://intellinuxgraphics.org/" PKG_URL="http://xorg.freedesktop.org/archive/individual/driver/$PKG_NAME-$PKG_VERSION.tar.bz2" -PKG_DEPENDS="libXcomposite systemd intel-gpu-tools" +PKG_DEPENDS="libXcomposite systemd" PKG_BUILD_DEPENDS_TARGET="toolchain libXcomposite util-macros fontsproto systemd xorg-server" PKG_PRIORITY="optional" PKG_SECTION="x11/driver" diff --git a/packages/x11/other/intel-gpu-tools/build b/packages/x11/other/intel-gpu-tools/build deleted file mode 100755 index db6860a4ff..0000000000 --- a/packages/x11/other/intel-gpu-tools/build +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/sh - -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv) -# -# This Program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# This Program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with OpenELEC.tv; see the file COPYING. If not, write to -# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. -# http://www.gnu.org/copyleft/gpl.html -################################################################################ - -. config/options $1 - -cd $PKG_BUILD -mkdir -p m4 && do_autoreconf - -./configure --host=$TARGET_NAME \ - --build=$HOST_NAME \ - --prefix=/usr \ - --disable-nouveau \ - -make diff --git a/packages/x11/other/intel-gpu-tools/install b/packages/x11/other/intel-gpu-tools/install deleted file mode 100755 index 21f521f3bd..0000000000 --- a/packages/x11/other/intel-gpu-tools/install +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/sh - -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv) -# -# This Program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# This Program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with OpenELEC.tv; see the file COPYING. If not, write to -# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. -# http://www.gnu.org/copyleft/gpl.html -################################################################################ - -. config/options $1 - -mkdir -p $INSTALL/usr/bin - cp -R $PKG_BUILD/tools/intel_reg_write $INSTALL/usr/bin - cp -P $PKG_DIR/scripts/set-intel-color-space $INSTALL/usr/bin diff --git a/packages/x11/other/intel-gpu-tools/meta b/packages/x11/other/intel-gpu-tools/meta deleted file mode 100644 index e4c11845a8..0000000000 --- a/packages/x11/other/intel-gpu-tools/meta +++ /dev/null @@ -1,37 +0,0 @@ -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv) -# -# This Program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# This Program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with OpenELEC.tv; see the file COPYING. If not, write to -# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. -# http://www.gnu.org/copyleft/gpl.html -################################################################################ - -PKG_NAME="intel-gpu-tools" -PKG_VERSION="1.2" -PKG_REV="1" -PKG_ARCH="i386 x86_64" -PKG_LICENSE="OSS" -PKG_SITE="http://xorg.freedesktop.org" -#PKG_URL="http://xorg.freedesktop.org/archive/individual/app/$PKG_NAME-$PKG_VERSION.tar.gz" -PKG_URL="http://cgit.freedesktop.org/xorg/app/intel-gpu-tools/snapshot/$PKG_NAME-$PKG_VERSION.tar.gz" -PKG_DEPENDS="libdrm" -PKG_BUILD_DEPENDS="toolchain libdrm" -PKG_PRIORITY="optional" -PKG_SECTION="x11/other" -PKG_SHORTDESC="tools for debugging the Intel graphics driver" -PKG_LONGDESC="tools for debugging the Intel graphics driver" -PKG_IS_ADDON="no" - -PKG_AUTORECONF="no" diff --git a/packages/x11/other/intel-gpu-tools/patches/intel-gpu-tools-1.2-disable-cairo.patch b/packages/x11/other/intel-gpu-tools/patches/intel-gpu-tools-1.2-disable-cairo.patch deleted file mode 100644 index fe85571c64..0000000000 --- a/packages/x11/other/intel-gpu-tools/patches/intel-gpu-tools-1.2-disable-cairo.patch +++ /dev/null @@ -1,25 +0,0 @@ -diff --git a/Makefile.am b/Makefile.am -index 6cd724c..9e77183 100644 ---- a/Makefile.am -+++ b/Makefile.am -@@ -19,7 +19,7 @@ - # IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - --SUBDIRS = lib man tools scripts tests benchmarks demos -+SUBDIRS = lib man tools scripts benchmarks demos - - if BUILD_SHADER_DEBUGGER - SUBDIRS += debugger -diff --git a/configure.ac b/configure.ac -index 94d54a6..236904a 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -57,7 +57,6 @@ PKG_CHECK_MODULES(DRM, [libdrm_intel >= 2.4.31 libdrm]) - PKG_CHECK_MODULES(PCIACCESS, [pciaccess >= 0.10]) - - # for testdisplay --PKG_CHECK_MODULES(CAIRO, cairo) - PKG_CHECK_MODULES(LIBUDEV, [libudev], [udev=yes], [udev=no]) - if test x"$udev" = xyes; then - AC_DEFINE(HAVE_UDEV,1,[Enable udev-based monitor hotplug detection]) diff --git a/packages/x11/other/intel-gpu-tools/scripts/set-intel-color-space b/packages/x11/other/intel-gpu-tools/scripts/set-intel-color-space deleted file mode 100755 index c09fac667a..0000000000 --- a/packages/x11/other/intel-gpu-tools/scripts/set-intel-color-space +++ /dev/null @@ -1,48 +0,0 @@ -#!/bin/sh - -################################################################################ -# Copyright (C) 2009-2010 OpenELEC.tv -# http://www.openelec.tv -# -# This Program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# This Program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with OpenELEC.tv; see the file COPYING. If not, write to -# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. -# http://www.gnu.org/copyleft/gpl.html -################################################################################ -# Enable Limited or RGB full on intel Computers -# Usage: -# Set Limited mode: -# ./set-intel-color-space limited -# Set Full mode: -# ./set-intel-color-space full -################################################################################ - -if [ $# -gt 0 ] ; then - OUTPUT=`xrandr -display :0 -q | sed '/ connected/!d;s/ .*//;q'` - if [ "$1" = "limited" ] ; then - # limited modes - intel_reg_write 0x70008 0xC0000000 - intel_reg_write 0x70180 0xD8004400 - xrandr --output $OUTPUT --set "Broadcast RGB" "Limited 16:235" - elif [ "$1" == "full" ] ; then - # reset old mode - xrandr --output $OUTPUT --set "Broadcast RGB" "Limited 16:235" - intel_reg_write 0x70008 0xC4002000 - intel_reg_write 0x70180 0xDA004400 - # set new mode - xrandr --output $OUTPUT --set "Broadcast RGB" "Full" - intel_reg_write 0x70180 0xDA004400 - fi -else - echo "Usage: $0 limited | full" -fi