summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2019-10-14 15:54:33 +0200
committerLars Wendler <polynomial-c@gentoo.org>2019-10-14 15:59:44 +0200
commita4b7ca362995ebc610c403eeb0be4f67726b3d6f (patch)
treedaf813b9088353a58ad17cd6e8e1ba92c4263ddb /games-util
parentgames-util/joystick: Bump to version 1.7.0 (diff)
downloadgentoo-a4b7ca362995ebc610c403eeb0be4f67726b3d6f.tar.gz
gentoo-a4b7ca362995ebc610c403eeb0be4f67726b3d6f.tar.bz2
gentoo-a4b7ca362995ebc610c403eeb0be4f67726b3d6f.zip
games-util/joystick: Removed old
Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'games-util')
-rw-r--r--games-util/joystick/Manifest1
-rw-r--r--games-util/joystick/files/joystick-1.4.8-udev.patch52
-rw-r--r--games-util/joystick/joystick-1.6.0.ebuild42
3 files changed, 0 insertions, 95 deletions
diff --git a/games-util/joystick/Manifest b/games-util/joystick/Manifest
index 667ee1757f1b..b149747af8aa 100644
--- a/games-util/joystick/Manifest
+++ b/games-util/joystick/Manifest
@@ -1,3 +1,2 @@
-DIST linuxconsoletools-1.6.0.tar.bz2 50563 BLAKE2B 26f68f4a9a4af5b875bc7efcc70edd80978a560f62c415b4957ee851260a2f6e6227c5a3001fb009777eac7e19d0449a8335486290ae0aaa9467ad8e1e9a89fb SHA512 35ca923cceca729bcbab95dff18682abd0d87a297e70aa8707fbabccde018fef0775a99195af4bf9111ba33210a14c10d1a766f83112cd535930a1ae430c7c75
DIST linuxconsoletools-1.6.1.tar.bz2 50854 BLAKE2B 0614e72226c575499ae5976011a0fca146a1981e2d355f7554f105b184bdd4f1090bf5374377e89f3881c5476e3c3a362b70f86cfd83440264066ea50a8c6a4b SHA512 b520c0a2d55986204619e3a5a00fb8b1e26453ac6df4f51c8c87495661a68bb6fe5a1947a3e079a53a537bf06d23c73c404a4d7e4d4dd18c0f7f69c1985a77be
DIST linuxconsoletools-1.7.0.tar.bz2 52960 BLAKE2B 438e69e7aa220ea3fc92a9a72bda081c7877663c451f3101bc30e344a7a0f0f20b1c2f4ecd78c0db501b6442e2cd20e9f288c9c331118e8c666a61c3ac4b6851 SHA512 260667e167281dd6f4de0904c2852a5bf3d9d0fe9d603135d4849c5a6610997306c9b476f64e4015d17a4dc8e4a8d36e96e01b9b63664fc7b493201fe12b4f56
diff --git a/games-util/joystick/files/joystick-1.4.8-udev.patch b/games-util/joystick/files/joystick-1.4.8-udev.patch
deleted file mode 100644
index c0032493ebf7..000000000000
--- a/games-util/joystick/files/joystick-1.4.8-udev.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-diff -ru linuxconsoletools-1.4.8.orig/utils/jscal-restore.in linuxconsoletools-1.4.8/utils/jscal-restore.in
---- linuxconsoletools-1.4.8.orig/utils/jscal-restore.in 2011-12-15 10:49:01.000000000 -0500
-+++ linuxconsoletools-1.4.8/utils/jscal-restore.in 2015-05-16 01:54:00.799168225 -0400
-@@ -6,8 +6,13 @@
- exit 1
- fi
-
--if [ ! -x /sbin/udevadm ]; then
-- echo Restoring joystick configuration requires udev! >&2
-+for f in /sbin/udevadm /bin/udevadm ;
-+do
-+ [ -x $f ] && UDEVADM=$f
-+done
-+
-+if [ -z "$UDEVADM" ] ; then
-+ echo Storing joystick configuration requires udev! >&2
- exit 1
- fi
-
-@@ -30,7 +35,7 @@
- # in the NAME value
- IFS=$'\x0A'
-
--for ATTRIBUTE in $( /sbin/udevadm info -a -n $1 | @@PREFIX@@/share/joystick/ident ); do
-+for ATTRIBUTE in $( ${UDEVADM} info -a -n $1 | @@PREFIX@@/share/joystick/ident ); do
- ID=$( echo "$ATTRIBUTE" | cut -f 1 -d = )
- VALUE=$( echo "$ATTRIBUTE" | cut -f 2 -d \" )
- case $ID in
-diff -ru linuxconsoletools-1.4.8.orig/utils/jscal-store.in linuxconsoletools-1.4.8/utils/jscal-store.in
---- linuxconsoletools-1.4.8.orig/utils/jscal-store.in 2011-12-15 10:49:01.000000000 -0500
-+++ linuxconsoletools-1.4.8/utils/jscal-store.in 2015-05-16 01:53:18.725607838 -0400
-@@ -11,14 +11,18 @@
- echo "Stores the device's calibration for future use."
- exit 1
- fi
-+for f in /sbin/udevadm /bin/udevadm ;
-+do
-+ [ -x $f ] && UDEVADM=$f
-+done
-
--if [ ! -x /sbin/udevadm ]; then
-+if [ -z "$UDEVADM" ] ; then
- echo Storing joystick configuration requires udev! >&2
- exit 1
- fi
-
- ident=$(mktemp)
--/sbin/udevadm info -a -n $1 | @@PREFIX@@/share/joystick/ident > $ident
-+${UDEVADM} info -a -n $1 | @@PREFIX@@/share/joystick/ident > $ident
- . $ident
- rm $ident
-
diff --git a/games-util/joystick/joystick-1.6.0.ebuild b/games-util/joystick/joystick-1.6.0.ebuild
deleted file mode 100644
index ce8acc0a4ad6..000000000000
--- a/games-util/joystick/joystick-1.6.0.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit eutils toolchain-funcs
-
-MY_P="linuxconsoletools-${PV}"
-DESCRIPTION="joystick testing utilities"
-HOMEPAGE="https://sourceforge.net/projects/linuxconsole/ http://atrey.karlin.mff.cuni.cz/~vojtech/input/"
-SRC_URI="mirror://sourceforge/linuxconsole/files/${MY_P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="sdl udev"
-
-DEPEND="sdl? ( media-libs/libsdl:0[video] )
- !<x11-libs/tslib-1.0-r2"
-RDEPEND="${DEPEND}
- udev? ( virtual/udev )"
-
-S=${WORKDIR}/${MY_P}
-
-PATCHES=(
- "${FILESDIR}"/${PN}-1.6.0-build.patch
- "${FILESDIR}"/${PN}-1.4.8-udev.patch
-)
-
-src_prepare() {
- default
-
- export PREFIX=/usr
- tc-export CC PKG_CONFIG
- export USE_SDL=$(usex sdl)
-}
-
-src_install() {
- default
- if use !udev ; then
- rm "${D}"/usr/bin/jscal-{re,}store || die
- fi
-}