diff options
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/synergy-plus/README | 19 | ||||
-rw-r--r-- | desktop/synergy-plus/doinst.sh | 23 | ||||
-rw-r--r-- | desktop/synergy-plus/rc.synergys | 70 | ||||
-rw-r--r-- | desktop/synergy-plus/slack-desc | 19 | ||||
-rw-r--r-- | desktop/synergy-plus/synergy-plus.SlackBuild | 121 | ||||
-rw-r--r-- | desktop/synergy-plus/synergy-plus.info | 10 | ||||
-rw-r--r-- | desktop/synergy-plus/synergyc.man | 47 | ||||
-rw-r--r-- | desktop/synergy-plus/synergys.man | 57 |
8 files changed, 0 insertions, 366 deletions
diff --git a/desktop/synergy-plus/README b/desktop/synergy-plus/README deleted file mode 100644 index 937ffe5722..0000000000 --- a/desktop/synergy-plus/README +++ /dev/null @@ -1,19 +0,0 @@ -Synergy+ (synergy-plus) lets you easily share a single mouse and keyboard -between multiple computers with different operating systems, without -special hardware. All you need is a LAN connection. It's intended -for users with multiple computers, where each system uses its own -display. It's a little like having a 2nd or a 3rd desktop. - -This build can co-exist with an existing synergy installation if -SYNERGYOLD is set to yes. This is set to no by default as synergy has -not been updated in some three years. - -If SYNERGYOLD is set to yes, the two binaries synergyc (client) -and synergys (server) are suffixed with -plus to synergyc-plus and -synergys-plus. - -The configuration file is /etc/synergy.conf. You will need to edit this -to suit your needs before synergy will work at all with the rc.synergys -script. Alternatively, you can choose to run synergys as a normal user, -making your configuration file $HOME/.synergy.conf. - diff --git a/desktop/synergy-plus/doinst.sh b/desktop/synergy-plus/doinst.sh deleted file mode 100644 index 12625c065e..0000000000 --- a/desktop/synergy-plus/doinst.sh +++ /dev/null @@ -1,23 +0,0 @@ -config() { - NEW="$1" - OLD="$(dirname $NEW)/$(basename $NEW .new)" - # If there's no config file by that name, mv it over: - if [ ! -r $OLD ]; then - mv $NEW $OLD - elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then - # toss the redundant copy - rm $NEW - fi - # Otherwise, we leave the .new copy for the admin to consider... -} - -# Keep same perms on rc.synergys.new: -if [ -e etc/rc.d/rc.synergys ]; then - cp -a etc/rc.d/rc.synergys etc/rc.d/rc.synergys.new.incoming - cat etc/rc.d/rc.synergys.new > etc/rc.d/rc.synergys.new.incoming - mv etc/rc.d/rc.synergys.new.incoming etc/rc.d/rc.synergys.new -fi - -config etc/rc.d/rc.synergys.new -config etc/synergy.conf.new - diff --git a/desktop/synergy-plus/rc.synergys b/desktop/synergy-plus/rc.synergys deleted file mode 100644 index 61f72afcf0..0000000000 --- a/desktop/synergy-plus/rc.synergys +++ /dev/null @@ -1,70 +0,0 @@ -#!/bin/bash -# -# By Steven King 11/3/2010 -# kingrst@gmail.com -# -# Modified by Pierre Cazenave 3rd November 2010 -# pwcazenave <at> gmail {dot} com -# -# Starts the Synergy-Plus Server -# - -synergy_start() { - - if [ -f /var/run/synergys.pid ]; then - echo "Synergy Server is already running" - exit 1 - elif [ -x /usr/bin/synergys ]; then - /usr/bin/synergys || exit $? - - pidof synergys > /var/run/synergys.pid - echo "Synergy Server Started" - fi - -} - -synergy_stop() { - - if [ -f /var/run/synergys.pid ]; then - kill $(cat /var/run/synergys.pid) || echo "Unable to stop Synergy Server" - - rm -f /var/run/synergys.pid - echo "Synergy Server Stopped" - else - echo "Synergy Server is not started" - fi - -} - -synergy_status() { - - if [ -f /var/run/synergys.pid ]; then - echo "Synergy Server Running" - echo "PID: $(cat /var/run/synergys.pid)" - else - echo "Synergy Server is not started" - fi - -} - - -case "$1" in - "start") - synergy_start - ;; - "stop") - synergy_stop - ;; - "status") - synergy_status - ;; - "restart") - synergy_stop - sleep 1 - synergy_start - ;; - *) - echo "$0 Usage: [start|stop|restart|status]" - ;; -esac - diff --git a/desktop/synergy-plus/slack-desc b/desktop/synergy-plus/slack-desc deleted file mode 100644 index 67669e3820..0000000000 --- a/desktop/synergy-plus/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' on -# the right side marks the last column you can put a character in. You must make -# exactly 11 lines for the formatting to be correct. It's also customary to -# leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -synergy-plus: synergy-plus (share mouse/keyboard between multiple computers) -synergy-plus: -synergy-plus: Synergy+ (synergy-plus) lets you easily share a single mouse and -synergy-plus: keyboard between multiple computers with different operating -synergy-plus: systems, without special hardware. All you need is a LAN -synergy-plus: connection. It's intended for users with multiple computers, where -synergy-plus: each system uses its own display. It's a little like having a 2nd -synergy-plus: or a 3rd desktop... -synergy-plus: -synergy-plus: -synergy-plus: diff --git a/desktop/synergy-plus/synergy-plus.SlackBuild b/desktop/synergy-plus/synergy-plus.SlackBuild deleted file mode 100644 index acaa195000..0000000000 --- a/desktop/synergy-plus/synergy-plus.SlackBuild +++ /dev/null @@ -1,121 +0,0 @@ -#!/bin/bash - -# Slackware build script for synergy-plus. -# -# Copyright 2009,2010 Pierre Cazenave <pwcazenave {at} gmail [dot] com> -# All rights reserved. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# Thanks to Steven King for the rc.synergys script. -# - -PRGNAM=synergy-plus -VERSION=${VERSION:-1.3.4} -BUILD=${BUILD:-2} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -# This program will conflict with an existing installation of -# synergy. Therefore, if SYNERGYOLD is set to yes, -plus will be -# appended to the two binaries synergyc and synergys as follows: -# synergyc-plus and synergys-plus. -SYNERGYOLD=${SYNERGYOLD:-no} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION -chown -R root:root . -chmod -R u+w,go+r-w,a-s . - -if [ $SYNERGYOLD = "yes" ]; then - BINSUFFIX="--program-suffix=-plus" -fi - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --build=$ARCH-slackware-linux \ - $BINSUFFIX - -make -make install DESTDIR=$PKG - -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -# Move the rc.synergys file to the package etc directory -mkdir -p $PKG/etc/rc.d/ -cat $CWD/rc.synergys > $PKG/etc/rc.d/rc.synergys.new - -# Copy the sample configuration file to the package etc directory -cat examples/synergy.conf > $PKG/etc/synergy.conf.new - -# Add man pages from upstream -mkdir -p $PKG/usr/man/man1 -cp $CWD/synergy{s,c}.man $PKG/usr/man/man1 - -find $PKG/usr/man -type f -exec gzip -9 {} \; - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - AUTHORS COPYING ChangeLog INSTALL NEWS README examples/synergy.conf \ - $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README$TAG - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh > $PKG/install/doinst.sh - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/desktop/synergy-plus/synergy-plus.info b/desktop/synergy-plus/synergy-plus.info deleted file mode 100644 index b8cdd0581d..0000000000 --- a/desktop/synergy-plus/synergy-plus.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="synergy-plus" -VERSION="1.3.4" -HOMEPAGE="http://synergy-foss.org/" -DOWNLOAD="http://synergy-plus.googlecode.com/files/synergy-plus-1.3.4.tar.gz" -MD5SUM="2c565afe5f920d363eef38dd97449b73" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Pierre Cazenave" -EMAIL="pwcazenave <at> gmail {dot} com" diff --git a/desktop/synergy-plus/synergyc.man b/desktop/synergy-plus/synergyc.man deleted file mode 100644 index 58a99d68f5..0000000000 --- a/desktop/synergy-plus/synergyc.man +++ /dev/null @@ -1,47 +0,0 @@ -.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.38.2. -.TH SYNERGYC "1" "June 2010" "synergyc 1.5.0, protocol version 1.3" "User Commands" -.SH NAME -synergyc \- manual page for synergyc 1.5.0, protocol version 1.3 -.SH SYNOPSIS -.B synergyc -[\fI--yscroll <delta>\fR] [\fI--daemon|--no-daemon\fR] [\fI--name <screen-name>\fR] [\fI--restart|--no-restart\fR] [\fI--debug <level>\fR] \fI<server-address>\fR -.SH DESCRIPTION -Connect to a synergy mouse/keyboard sharing server. -.TP -\fB\-d\fR, \fB\-\-debug\fR <level> -filter out log messages with priority below level. -level may be: FATAL, ERROR, WARNING, NOTE, INFO, -DEBUG, DEBUGn (1\-5). -.TP -\fB\-n\fR, \fB\-\-name\fR <screen\-name> use screen\-name instead the hostname to identify -this screen in the configuration. -.TP -\fB\-1\fR, \fB\-\-no\-restart\fR -do not try to restart on failure. -.PP -* \fB\-\-restart\fR restart the server automatically if it fails. -.TP -\fB\-l\fR \fB\-\-log\fR <file> -write log messages to file. -.TP -\fB\-f\fR, \fB\-\-no\-daemon\fR -run in the foreground. -.PP -* \fB\-\-daemon\fR run as a daemon. -.TP -\fB\-\-yscroll\fR <delta> -defines the vertical scrolling delta, which is -.TP -\fB\-h\fR, \fB\-\-help\fR -display this help and exit. -.TP -\fB\-\-version\fR -display version information and exit. -.PP -* marks defaults. -.PP -The server address is of the form: [<hostname>][:<port>]. The hostname -must be the address or hostname of the server. The port overrides the -default port, 24800. -.SH COPYRIGHT -Copyright \(co 2010 The Synergy+ Project diff --git a/desktop/synergy-plus/synergys.man b/desktop/synergy-plus/synergys.man deleted file mode 100644 index b3f0f1f9fb..0000000000 --- a/desktop/synergy-plus/synergys.man +++ /dev/null @@ -1,57 +0,0 @@ -.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.38.2. -.TH SYNERGYS "1" "June 2010" "synergys 1.5.0, protocol version 1.3" "User Commands" -.SH NAME -synergys \- manual page for synergys 1.5.0, protocol version 1.3 -.SH SYNOPSIS -.B synergys -[\fI--address <address>\fR] [\fI--config <pathname>\fR] [\fI--daemon|--no-daemon\fR] [\fI--name <screen-name>\fR] [\fI--restart|--no-restart\fR] [\fI--debug <level>\fR] -.SH DESCRIPTION -Start the synergy mouse/keyboard sharing server. -.TP -\fB\-a\fR, \fB\-\-address\fR <address> -listen for clients on the given address. -.TP -\fB\-c\fR, \fB\-\-config\fR <pathname> -use the named configuration file instead. -.TP -\fB\-d\fR, \fB\-\-debug\fR <level> -filter out log messages with priority below level. -level may be: FATAL, ERROR, WARNING, NOTE, INFO, -DEBUG, DEBUGn (1\-5). -.TP -\fB\-n\fR, \fB\-\-name\fR <screen\-name> use screen\-name instead the hostname to identify -this screen in the configuration. -.TP -\fB\-1\fR, \fB\-\-no\-restart\fR -do not try to restart on failure. -.PP -* \fB\-\-restart\fR restart the server automatically if it fails. -.TP -\fB\-l\fR \fB\-\-log\fR <file> -write log messages to file. -.TP -\fB\-f\fR, \fB\-\-no\-daemon\fR -run in the foreground. -.PP -* \fB\-\-daemon\fR run as a daemon. -.TP -\fB\-h\fR, \fB\-\-help\fR -display this help and exit. -.TP -\fB\-\-version\fR -display version information and exit. -.PP -* marks defaults. -.PP -The argument for \fB\-\-address\fR is of the form: [<hostname>][:<port>]. The -hostname must be the address or hostname of an interface on the system. -The default is to listen on all interfaces. The port overrides the -default port, 24800. -.PP -If no configuration file pathname is provided then the first of the -following to load successfully sets the configuration: -.IP -$HOME/.synergy.conf -/etc/synergy.conf -.SH COPYRIGHT -Copyright \(co 2010 The Synergy+ Project |