summaryrefslogtreecommitdiffstats
path: root/x11vnc/misc/turbovnc/apply_turbovnc
diff options
context:
space:
mode:
Diffstat (limited to 'x11vnc/misc/turbovnc/apply_turbovnc')
-rwxr-xr-xx11vnc/misc/turbovnc/apply_turbovnc46
1 files changed, 0 insertions, 46 deletions
diff --git a/x11vnc/misc/turbovnc/apply_turbovnc b/x11vnc/misc/turbovnc/apply_turbovnc
deleted file mode 100755
index 45e4700..0000000
--- a/x11vnc/misc/turbovnc/apply_turbovnc
+++ /dev/null
@@ -1,46 +0,0 @@
-#!/bin/sh
-#
-# This script has been (or is hereby) released into the public domain by
-# its author, Karl J. Runge <runge@karlrunge.com>. This applies worldwide.
-#
-# In case this is not legally possible: Karl J. Runge grants anyone the
-# right to use this work for any purpose, without any conditions, unless
-# such conditions are required by law.
-
-ldir="../../../libvncserver"
-
-fail=""
-if [ ! -f "./tight.c" ]; then
- fail=1
-fi
-if [ ! -f "./turbojpeg.h" ]; then
- fail=1
-fi
-if [ ! -f "./convert" ]; then
- fail=1
-fi
-if [ ! -f "$ldir/tight.c" ]; then
- ls -l "$ldir/tight.c"
- fail=1
-fi
-if [ ! -f "$ldir/rfbserver.c" ]; then
- ls -l "$ldir/rfbserver.c"
- fail=1
-fi
-if [ "X$fail" = "X1" ]; then
- echo "Must be run from inside the directory containing 'apply_turbovnc'"
- exit 1
-fi
-
-set -x
-if [ ! -f "$ldir/tight.c.ORIG" ]; then
- cp -p "$ldir/tight.c" "$ldir/tight.c.ORIG"
-fi
-if [ ! -f "$ldir/rfbserver.c.ORIG" ]; then
- cp -p "$ldir/rfbserver.c" "$ldir/rfbserver.c.ORIG"
-fi
-
-perl ./convert ./tight.c > "$ldir/tight.c"
-perl ./convert_rfbserver $ldir/rfbserver.c.ORIG > "$ldir/rfbserver.c"
-cp -p ./turbojpeg.h "$ldir"
-ls -l $ldir/tight.c* $ldir/rfbserver.c* $ldir/turbojpeg.h
OpenPOWER on IntegriCloud