diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-misc/mouseremote | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-misc/mouseremote')
-rw-r--r-- | app-misc/mouseremote/Manifest | 1 | ||||
-rw-r--r-- | app-misc/mouseremote/files/mouseremote-0.90-makefile.diff | 20 | ||||
-rw-r--r-- | app-misc/mouseremote/files/mouseremote-gentoo-0.90-r1.diff | 66 | ||||
-rw-r--r-- | app-misc/mouseremote/files/mouseremote-gentoo.diff | 82 | ||||
-rw-r--r-- | app-misc/mouseremote/files/mouseremote.conf | 14 | ||||
-rw-r--r-- | app-misc/mouseremote/files/mouseremote.start | 29 | ||||
-rw-r--r-- | app-misc/mouseremote/metadata.xml | 7 | ||||
-rw-r--r-- | app-misc/mouseremote/mouseremote-0.90-r1.ebuild | 69 |
8 files changed, 288 insertions, 0 deletions
diff --git a/app-misc/mouseremote/Manifest b/app-misc/mouseremote/Manifest new file mode 100644 index 000000000000..f14c2450ca99 --- /dev/null +++ b/app-misc/mouseremote/Manifest @@ -0,0 +1 @@ +DIST MouseRemote.tar.gz 41752 SHA256 cde90093c11d7d5b398d2ff9448a7c67bfc3bfa26d71802dff2de715f179b50f SHA512 d92ec4a1efda7e63cc02283b2aabcd6b42bedba17539371856e6ca3b6b5feaf9c306604db9a781836375afb6da226c16b8031f5f749d367857c2cde28e097483 WHIRLPOOL 43f66bad05a2e8f64cc384e7e4d9fcc9eb53bbc19b215713fd0ff5b8f71095d933e80dafd02393c1f5a99f688edab5f2051355246e2d5a938200fe2c49c30d6b diff --git a/app-misc/mouseremote/files/mouseremote-0.90-makefile.diff b/app-misc/mouseremote/files/mouseremote-0.90-makefile.diff new file mode 100644 index 000000000000..6f0354903011 --- /dev/null +++ b/app-misc/mouseremote/files/mouseremote-0.90-makefile.diff @@ -0,0 +1,20 @@ +--- MultiMouse/Makefile 1997-08-21 08:52:56.000000000 -0400 ++++ MultiMouse/Makefile.new 2010-08-13 00:05:47.000000000 -0400 +@@ -20,14 +20,13 @@ + -DMOUSE_FIFO=\"$(FIFO)\"\ + -DLOCKDIR=\"$(LOCKDIR)\"\ + -DMAX_MICE=$(MICE) +-CFLAGS= $(OPTS)\ +- -O2 # -DDEBUG +-LDLAGS= -O2 ++ ++OUTPUT_OPTION= $(OPTS) -o $@ + + all: $(TARGET) + + multimoused: $(OBJS) +- $(CC) -o $@ $(OBJS) ++ $(CC) $(LDFLAGS) -o $@ $(OBJS) + + multimouse.1 multimoused.8 multimouse: Makefile + sed -e 's|%LOCKDIR%|$(LOCKDIR)|' -e 's|%BINDIR%|$(BINDIR)|'\ diff --git a/app-misc/mouseremote/files/mouseremote-gentoo-0.90-r1.diff b/app-misc/mouseremote/files/mouseremote-gentoo-0.90-r1.diff new file mode 100644 index 000000000000..d86902e37ed5 --- /dev/null +++ b/app-misc/mouseremote/files/mouseremote-gentoo-0.90-r1.diff @@ -0,0 +1,66 @@ +diff -Naur MouseRemote.ORG/client/MouseRemote.conf MouseRemote/client/MouseRemote.conf +--- MouseRemote.ORG/client/MouseRemote.conf Sat Oct 9 21:03:42 1999 ++++ MouseRemote/client/MouseRemote.conf Sat May 4 16:04:43 2002 +@@ -61,3 +61,35 @@ + + # Definitions for the DVD device + [DVD] ++Power ++ChUp ++ChDown ++Mute ++VolUp ++VolDown ++Play ++Stop ++TxtRes ++Rew ++FF ++0 ++1 ++2 ++3 ++4 ++5 ++6 ++7 ++8 ++9 ++Ent ++Pause ++Last ++Disp ++AB ++Shift ++Guide ++Select ++TxtOff ++TxtTrns ++Rec +diff -Naur MouseRemote.ORG/client/MouseRemoteKeys.pl MouseRemote/client/MouseRemoteKeys.pl +--- MouseRemote.ORG/client/MouseRemoteKeys.pl Sun Oct 10 00:09:42 1999 ++++ MouseRemote/client/MouseRemoteKeys.pl Sat May 4 15:58:58 2002 +@@ -11,6 +11,7 @@ + play => 0x0d, + stop => 0x0e, + power => 0x0f, ++ txtres => 0x1b, + rew => 0x1c, + ff => 0x1d, + 0 => 0x40, +@@ -31,11 +32,13 @@ + 'shift' => 0x6b, + guide => 0x6d, + 'select' => 0x93, ++ txtoff => 0x9b, ++ txttrns => 0xeb, + rec => 0xff, + + pc => 0x2b, +- phone => 0x4b, ++ phone => 0x4b, # Marked as F2 on my model + web => 0x8b, + cd => 0xab, +- dvd => 0xcb, ++ dvd => 0xcb, # Marked as F1 on my model + ); diff --git a/app-misc/mouseremote/files/mouseremote-gentoo.diff b/app-misc/mouseremote/files/mouseremote-gentoo.diff new file mode 100644 index 000000000000..5c0963859078 --- /dev/null +++ b/app-misc/mouseremote/files/mouseremote-gentoo.diff @@ -0,0 +1,82 @@ +diff -Naur MouseRemote.ORG/MultiMouse/Makefile MouseRemote/MultiMouse/Makefile +--- MouseRemote.ORG/MultiMouse/Makefile Thu Aug 21 14:52:56 1997 ++++ MouseRemote/MultiMouse/Makefile Sat May 4 15:49:16 2002 +@@ -20,10 +20,10 @@ + -DMOUSE_FIFO=\"$(FIFO)\"\ + -DLOCKDIR=\"$(LOCKDIR)\"\ + -DMAX_MICE=$(MICE) +-CFLAGS= $(OPTS)\ +- -O2 # -DDEBUG + LDLAGS= -O2 + ++OUTPUT_OPTION= $(OPTS) -o $@ ++ + all: $(TARGET) + + multimoused: $(OBJS) +diff -Naur MouseRemote.ORG/client/MouseRemote.conf MouseRemote/client/MouseRemote.conf +--- MouseRemote.ORG/client/MouseRemote.conf Sat Oct 9 21:03:42 1999 ++++ MouseRemote/client/MouseRemote.conf Sat May 4 16:04:43 2002 +@@ -61,3 +61,35 @@ + + # Definitions for the DVD device + [DVD] ++Power ++ChUp ++ChDown ++Mute ++VolUp ++VolDown ++Play ++Stop ++TxtRes ++Rew ++FF ++0 ++1 ++2 ++3 ++4 ++5 ++6 ++7 ++8 ++9 ++Ent ++Pause ++Last ++Disp ++AB ++Shift ++Guide ++Select ++TxtOff ++TxtTrns ++Rec +diff -Naur MouseRemote.ORG/client/MouseRemoteKeys.pl MouseRemote/client/MouseRemoteKeys.pl +--- MouseRemote.ORG/client/MouseRemoteKeys.pl Sun Oct 10 00:09:42 1999 ++++ MouseRemote/client/MouseRemoteKeys.pl Sat May 4 15:58:58 2002 +@@ -11,6 +11,7 @@ + play => 0x0d, + stop => 0x0e, + power => 0x0f, ++ txtres => 0x1b, + rew => 0x1c, + ff => 0x1d, + 0 => 0x40, +@@ -31,11 +32,13 @@ + 'shift' => 0x6b, + guide => 0x6d, + 'select' => 0x93, ++ txtoff => 0x9b, ++ txttrns => 0xeb, + rec => 0xff, + + pc => 0x2b, +- phone => 0x4b, ++ phone => 0x4b, # Marked as F2 on my model + web => 0x8b, + cd => 0xab, +- dvd => 0xcb, ++ dvd => 0xcb, # Marked as F1 on my model + ); diff --git a/app-misc/mouseremote/files/mouseremote.conf b/app-misc/mouseremote/files/mouseremote.conf new file mode 100644 index 000000000000..60057c9ef75a --- /dev/null +++ b/app-misc/mouseremote/files/mouseremote.conf @@ -0,0 +1,14 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Config file for /etc/init.d/mouseremote + +# Configure the type of mouseremote you have and the device it is connected to + +# If your device is attached to the regular psaux port then set DRV to X10 +# If your device is attached to a serial port then set DRV to SX10 +#DRV=SX10 + +# Set this to the port on which your mouseremote is attached +#DEV=/dev/ttyS1 diff --git a/app-misc/mouseremote/files/mouseremote.start b/app-misc/mouseremote/files/mouseremote.start new file mode 100644 index 000000000000..e804e750cc56 --- /dev/null +++ b/app-misc/mouseremote/files/mouseremote.start @@ -0,0 +1,29 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +depend() { + use modules logger + before xdm +} + +checkconfig() { + [ -z "$DEV" ] || [ -z "$DRV" ] || return 0 + eerror "You need to setup DEV and DRV in /etc/conf.d/mouseremote first" + return 1 +} + +start() { + checkconfig || return 1 + + ebegin "Starting X10 MouseRemote Server" + /usr/sbin/multimoused -${DRV} ${DEV} 2> /dev/null + eend $? +} + +stop() { + ebegin "Stopping X10 MouseRemote Server" + kill $(cat /var/lock/MultiMouse.pid) + eend ${?} "Failed to stop MouseRemote Server" +} diff --git a/app-misc/mouseremote/metadata.xml b/app-misc/mouseremote/metadata.xml new file mode 100644 index 000000000000..a40624fba8f0 --- /dev/null +++ b/app-misc/mouseremote/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> + <email>maintainer-needed@gentoo.org</email> +</maintainer> +</pkgmetadata> diff --git a/app-misc/mouseremote/mouseremote-0.90-r1.ebuild b/app-misc/mouseremote/mouseremote-0.90-r1.ebuild new file mode 100644 index 000000000000..7f96710f6294 --- /dev/null +++ b/app-misc/mouseremote/mouseremote-0.90-r1.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils + +S="${WORKDIR}/MouseRemote" +DESCRIPTION="X10 MouseRemote" +HOMEPAGE="http://www4.pair.com/gribnif/ha/" +SRC_URI="http://www4.pair.com/gribnif/ha/MouseRemote.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="amd64 ~ppc x86" +IUSE="" + +DEPEND="virtual/perl-Time-HiRes" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/${P}-makefile.diff + epatch "${FILESDIR}"/${PN}-gentoo-${PVR}.diff +} + +src_compile() { + cd MultiMouse && emake \ + CC=$(tc-getCC) \ + PREFIX=/usr \ + LOCKDIR=/var/lock \ + JMANDIR=/usr/share/man/ja_JP.ujis || die +} + +src_install() { + dobin MultiMouse/multimouse || die + dosbin MultiMouse/multimoused || die + + dodoc README MultiMouse/README.jis MultiMouse/README.newstuff || die + newdoc MultiMouse/README README.MultiMouse || die + newdoc client/MouseRemote.conf MouseRemote.conf.dist || die + newdoc client/MouseRemote.pl MouseRemote.pl.dist || die + newdoc client/MouseRemoteKeys.pl MouseRemoteKeys.pl.dist || die + + newinitd "${FILESDIR}"/mouseremote.start mouseremote || die + newconfd "${FILESDIR}"/mouseremote.conf mouseremote || die +} + +pkg_postinst() { + [ -e /dev/mumse ] || mkfifo "${ROOT}"/dev/mumse + [ -e /dev/x10fifo ] || mkfifo "${ROOT}"/dev/x10fifo + + elog "To use the mouse function in X, add the following to your XF86Config" + elog "Section \"InputDevice\"" + elog " Identifier \"MouseREM\"" + elog " Driver \"mouse\"" + elog " Option \"Protocol\" \"MouseSystems\"" + elog " Option \"Device\" \"/dev/mumse\"" + elog "EndSection" + elog + elog "Don't forget to add the new device to the section \"ServerLayout\"" + elog "like: InputDevice \"MouseREM\" \"SendCoreEvents\"" + elog + elog "Enable the daemon with \"rc-update add mouseremote default\"." + elog + elog "Configure the daemon is run in /etc/conf.d/mouseremote." + elog + elog "See /usr/share/doc/${PF} on how to configure the buttons." +} |