From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- games-util/joystick/Manifest | 13 ++++++ .../joystick/files/joystick-1.4.8-build.patch | 39 ++++++++++++++++ .../joystick/files/joystick-1.4.8-udev.patch | 52 ++++++++++++++++++++++ .../joystick/files/joystick-1.5.1-build.patch | 34 ++++++++++++++ .../joystick/files/joystick-1.6.0-build.patch | 34 ++++++++++++++ games-util/joystick/joystick-1.4.8.ebuild | 28 ++++++++++++ games-util/joystick/joystick-1.5.1.ebuild | 42 +++++++++++++++++ games-util/joystick/joystick-1.6.0.ebuild | 42 +++++++++++++++++ games-util/joystick/metadata.xml | 11 +++++ 9 files changed, 295 insertions(+) create mode 100644 games-util/joystick/Manifest create mode 100644 games-util/joystick/files/joystick-1.4.8-build.patch create mode 100644 games-util/joystick/files/joystick-1.4.8-udev.patch create mode 100644 games-util/joystick/files/joystick-1.5.1-build.patch create mode 100644 games-util/joystick/files/joystick-1.6.0-build.patch create mode 100644 games-util/joystick/joystick-1.4.8.ebuild create mode 100644 games-util/joystick/joystick-1.5.1.ebuild create mode 100644 games-util/joystick/joystick-1.6.0.ebuild create mode 100644 games-util/joystick/metadata.xml (limited to 'games-util/joystick') diff --git a/games-util/joystick/Manifest b/games-util/joystick/Manifest new file mode 100644 index 000000000000..5a0e2ff6d38b --- /dev/null +++ b/games-util/joystick/Manifest @@ -0,0 +1,13 @@ +AUX joystick-1.4.8-build.patch 998 SHA256 6674638a044d87f47d0f677658c0bf6d4818888e3d1848bde205cdb080732a95 SHA512 0ce8ad1cb863dc1a69283b48e7795beec98919ca4bfa063896531a3a5eda5b9a670ff960b993cf90478e6abadbacb6c1cda8b28b2584fad8b8f1c192ae4e9d33 WHIRLPOOL a447f8063763889e0b3d315a17fa81cbbeca9ce479120735d36f9216ee872032d4ae231528ecdfcc25e8271970708724bf8e87f999be09356f27ba2fc6bbf9cf +AUX joystick-1.4.8-udev.patch 1724 SHA256 985c13000897b18e977cf20dffad3f09d42e12949ba1885b9b9a3b67159c1c80 SHA512 8a00825c9fb293e174eace79b1ce08af9eb2c6e18450daa62ae67b7c6a49ebe6b2490de4ccc7c1177edb300ed361a0920773b14d90c1aae4a34062ca16ad76de WHIRLPOOL 42db48e8e9209266148ad18937aad9d9053e53a6820d2db095d48f6f35e387dfb3ce4856ef56bded2116b3dcf4613c6b3ef7d7f7480f6fd36e478571106ba5c9 +AUX joystick-1.5.1-build.patch 814 SHA256 fa12fb46289b8d52b7765ce7f2289a3f8f6b4a6d110a4f0d386b9226fb7c4bcc SHA512 2537c23a24ead009075cd3bc224a1264ccc300ca4771415d3c20e4ea758c29573765af4ca15cf8cfd599120313a4bcdf4141717b54276eefe08acccbf112a5cf WHIRLPOOL 57135e76e3d78658170a4391bcd17579424d6ee3a6babb9f7344f39e5ac85a5e159863ece11c892a16ada137c501b9a92e56fb4144baea46b3307a4676c591c3 +AUX joystick-1.6.0-build.patch 831 SHA256 617c94606c980506a9ca4fbcdf53d6ff517624b1fa0d963c1d06ef38fe9d5962 SHA512 071b15e16a1688e2d743dbf0bc44c784184ee93698b660394c83bed719d579952c9d73680e3e24754a41d5de69a65559b61255b0366c3437a193fc526c3d6064 WHIRLPOOL c5af99d967cd5b568a9527909593ebce35aee32490f285bc6dd9c8558e7136ea45fda1b42e90c28c7bcfd19e2d89fe49c12c566010424754a64868a593d687ce +DIST linuxconsoletools-1.4.8.tar.bz2 43964 SHA256 23c4ac595f608e25f472d947c4193233f763f37ae0cf6b48141d33443a4cee6a SHA512 ea3a0baa3f163e10a4c76f58977a96d91d91bddb1a75cea5195b0a631c11ca55e40730aaa0d1965404837595c4a7fd8b75c3dd7785fe0e47ee2c90021341f262 WHIRLPOOL c02960d5e171efef3739f440a903ae9b14bec8b6ab4de2181ea691aa78c870f81b291ac98e313d234778fb59c4be8e53242cb46db019f3dffdbd8f26ddcbb113 +DIST linuxconsoletools-1.5.1.tar.bz2 50015 SHA256 0bd07aacea251d63d3d8a458728c7f965f41ae45891d906cefedc3fde0753b1e SHA512 41e306ab8a09c3cf05da683c48628b3ffa73f077375391024b5d2bdc53d3baddcc650fe366dc7a3ec605459440a181013b2eff0921854895ba74cb644d70b5eb WHIRLPOOL ffc06f85125e3f478fa3ded3bbac262fac791314e2548f8ad9dce97167ac0865acf6c4eb5292184eb7725b6145e1438731d5dddb30affcc3cfb4f39de1badd56 +DIST linuxconsoletools-1.6.0.tar.bz2 50563 SHA256 ced2efed00b67b45f82eddc69be07385835d558f658016315ac621fe2eaa8146 SHA512 35ca923cceca729bcbab95dff18682abd0d87a297e70aa8707fbabccde018fef0775a99195af4bf9111ba33210a14c10d1a766f83112cd535930a1ae430c7c75 WHIRLPOOL d7f658e3edc2936cb68df59bf479519bd631606ec93c2d679690aa901b0279812d0ad316d524e4a866360a5c3f7eb10da1bccbd05693b10072b5a18ea4ee273f +EBUILD joystick-1.4.8.ebuild 697 SHA256 afe489e19eb289f5c4a11b1b22a9974a90827a0435a83661845dec5c2d6de6ca SHA512 3559efa79e3049f9d67df41fc3bb312e8970fad29ab75b7c9fb06c90e5c2599988d91475d6c56f1c8f14e9a7ac8010c92f0367b9bde5f633182b31c3c0cde47c WHIRLPOOL 0b293b7db55b9c723a668b157f12e6b352c06d21a4efdc5fcc34c152479e164898b6788570651ce9aecca869da63de770a4c854dba889f4a78f9cccd157ebbad +EBUILD joystick-1.5.1.ebuild 885 SHA256 be95fb8b8a6f063ddcc717c3348e692017ff34f97d2901b3856b43c05ffaf31c SHA512 dc5ae43ab90688dd3b138526fff7ea5a88adc5989f9dc3c7acfe312ab5ac03b8375a0973503e10bdd6dbd71b678dbde6793b11bc6ce8bf503d397db5969bd3f2 WHIRLPOOL a46a5272aa5b3a18efecd1564f83aa8dffab2c088561c41d25e59c24877966306447003ae76c628cccfd8b7199d6afe711767c3d3f9054bc2a9bcdef48b1acc4 +EBUILD joystick-1.6.0.ebuild 887 SHA256 62077800e703fd523f2235dfc507610fe0fad452809dcd622f2a0a378e321eed SHA512 53c67ffa860135221e573741ca2352fefed4b8284022b906383bf63775ea62b751792218c3f9dd36448c20346683d6ee657d9a91dc7f748506c2827b2db0c3f5 WHIRLPOOL 399ca88b1760c87f7cc8c73d8009b1223c32ab4ea2064070234f1fb2d8b9546401d2c29a8dbd2c81f2c835454e21ee95de8abf058ad2d1791f74098d00e9e481 +MISC ChangeLog 4329 SHA256 aa9776e237ba64cb69484fad997090cebf50f45f07126bead39364e607ba0551 SHA512 45c67398437bcae087f7a51d3c4403be6e6752fd6cfe281ce296115071d37f15a264b1bb5881e62b332564caebc29475a01409d0d59fa8254a0ec44ec8b2880e WHIRLPOOL debec1447c35cbc3df26d9df46854c0efff5929b5376e112f7a5a389bb33728cde062ece443eae2e0f47adf9f9c5dd5e2d1ad9c0ca5ff279cce5d95c4e553125 +MISC ChangeLog-2015 5153 SHA256 aaee982e5bb648d1d0f34a8b990f50cd6dd7af8725a902290fb48671ce6422f5 SHA512 7ad582658eb84ac948544a625b6f5f2291ad31eafa31b697541f39b2208be88b663122132d807d45623b2bada1a352919b6804c91fb4e311a7798557b745d1e4 WHIRLPOOL faf7f8d3e96837abfa7be083cd08cfcbaa8e0835386270173a0e5cc2df529faa01dbb215fddff91724f1bb7e859a91e06154e3134cb23c8df2911f5c709404ef +MISC metadata.xml 335 SHA256 d1cb1b97b4d2a7cf996116061030a43ecfa788d4028eb1ee7ef9e78ac52ffd0b SHA512 6440a6652a98c7439b22df51f22089ddd867be3e07e6c04001aa15b1fc01fd84dc8d3244f106abe4ae89caf7561aa45fe2526f2f9e8e8844a5e44f9f8a51df41 WHIRLPOOL 1735fa31fb423ed0cd9d690aefd6a0ff7f367e963a8bc9a346960f6562391684b281fef698858d003a06cef3d1a56d4c3a73744c88793f3b6ca95402431f53ec diff --git a/games-util/joystick/files/joystick-1.4.8-build.patch b/games-util/joystick/files/joystick-1.4.8-build.patch new file mode 100644 index 000000000000..f888ccd18812 --- /dev/null +++ b/games-util/joystick/files/joystick-1.4.8-build.patch @@ -0,0 +1,39 @@ +--- linuxconsoletools-1.4.4.orig/docs/Makefile ++++ linuxconsoletools-1.4.4/docs/Makefile +@@ -20,13 +20,17 @@ + # 02110-1301 USA. + + MANPAGES = inputattach.1 jstest.1 jscal.1 fftest.1 \ +- ffmvforce.1 ffset.1 ffcfstress.1 jscal-store.1 \ ++ ffset.1 ffcfstress.1 jscal-store.1 \ + jscal-restore.1 + ++ifneq ($(USE_SDL),no) ++MANPAGES += ffmvforce.1 ++endif ++ + PREFIX ?= /usr/local + + install: + install -d $(DESTDIR)$(PREFIX)/share/man/man1 +- install $(MANPAGES) $(DESTDIR)$(PREFIX)/share/man/man1 ++ install -m 644 $(MANPAGES) $(DESTDIR)$(PREFIX)/share/man/man1 + + .PHONY: install +--- linuxconsoletools-1.4.4.orig/utils/Makefile ++++ linuxconsoletools-1.4.4/utils/Makefile +@@ -27,9 +27,13 @@ + + CFLAGS ?= -g -O2 -Wall + +-PROGRAMS = inputattach jstest jscal fftest ffmvforce ffset \ ++PROGRAMS = inputattach jstest jscal fftest ffset \ + ffcfstress jscal-restore jscal-store + ++ifneq ($(USE_SDL),no) ++PROGRAMS += ffmvforce ++endif ++ + PREFIX ?= /usr/local + + compile: $(PROGRAMS) diff --git a/games-util/joystick/files/joystick-1.4.8-udev.patch b/games-util/joystick/files/joystick-1.4.8-udev.patch new file mode 100644 index 000000000000..c0032493ebf7 --- /dev/null +++ b/games-util/joystick/files/joystick-1.4.8-udev.patch @@ -0,0 +1,52 @@ +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/files/joystick-1.5.1-build.patch b/games-util/joystick/files/joystick-1.5.1-build.patch new file mode 100644 index 000000000000..a9dee205b04f --- /dev/null +++ b/games-util/joystick/files/joystick-1.5.1-build.patch @@ -0,0 +1,34 @@ +--- linuxconsoletools-1.5.1/docs/Makefile ++++ linuxconsoletools-1.5.1/docs/Makefile +@@ -20,9 +20,13 @@ + # 02110-1301 USA. + + MANPAGES = inputattach.1 jstest.1 jscal.1 fftest.1 \ +- ffmvforce.1 ffset.1 ffcfstress.1 jscal-store.1 \ ++ ffset.1 ffcfstress.1 jscal-store.1 \ + jscal-restore.1 + ++ifneq ($(USE_SDL),no) ++MANPAGES += ffmvforce.1 ++endif ++ + PREFIX ?= /usr/local + + install: +--- linuxconsoletools-1.5.1/utils/Makefile ++++ linuxconsoletools-1.5.1/utils/Makefile +@@ -27,9 +27,13 @@ + + CFLAGS ?= -g -O2 -Wall + +-PROGRAMS = inputattach jstest jscal fftest ffmvforce ffset \ ++PROGRAMS = inputattach jstest jscal fftest ffset \ + ffcfstress jscal-restore jscal-store evdev-joystick + ++ifneq ($(USE_SDL),no) ++PROGRAMS += ffmvforce ++endif ++ + PREFIX ?= /usr/local + + compile: $(PROGRAMS) diff --git a/games-util/joystick/files/joystick-1.6.0-build.patch b/games-util/joystick/files/joystick-1.6.0-build.patch new file mode 100644 index 000000000000..fa60ec719917 --- /dev/null +++ b/games-util/joystick/files/joystick-1.6.0-build.patch @@ -0,0 +1,34 @@ +--- linuxconsoletools-1.6.0/docs/Makefile ++++ linuxconsoletools-1.6.0/docs/Makefile +@@ -20,9 +20,13 @@ + # 02110-1301 USA. + + MANPAGES = inputattach.1 jstest.1 jscal.1 fftest.1 \ +- ffmvforce.1 ffset.1 ffcfstress.1 jscal-store.1 \ ++ ffset.1 ffcfstress.1 jscal-store.1 \ + jscal-restore.1 evdev-joystick.1 + ++ifneq ($(USE_SDL),no) ++MANPAGES += ffmvforce.1 ++endif ++ + PREFIX ?= /usr/local + + install: +--- linuxconsoletools-1.6.0/utils/Makefile ++++ linuxconsoletools-1.6.0/utils/Makefile +@@ -27,9 +27,13 @@ + + CFLAGS ?= -g -O2 -Wall + +-PROGRAMS = inputattach jstest jscal fftest ffmvforce ffset \ ++PROGRAMS = inputattach jstest jscal fftest ffset \ + ffcfstress jscal-restore jscal-store evdev-joystick + ++ifneq ($(USE_SDL),no) ++PROGRAMS += ffmvforce ++endif ++ + PREFIX ?= /usr/local + + compile: $(PROGRAMS) diff --git a/games-util/joystick/joystick-1.4.8.ebuild b/games-util/joystick/joystick-1.4.8.ebuild new file mode 100644 index 000000000000..2532b6e24de0 --- /dev/null +++ b/games-util/joystick/joystick-1.4.8.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +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" + +DEPEND="sdl? ( media-libs/libsdl:0[video] ) + ! + + + + games@gentoo.org + Gentoo Games Project + + + linuxconsole + + -- cgit v1.2.3