mirror of
https://github.com/KeithDHedger/LFSPkgBuilds.git
synced 2025-08-20 13:14:52 +00:00
added x11vnc LibVNCServer
This commit is contained in:
@ -753,6 +753,7 @@
|
||||
./xorg/libva-intel-driver/libva-intel-driver.LFSBuild
|
||||
./xorg/libva/libva.LFSBuild
|
||||
./xorg/libvdpau/libvdpau.LFSBuild
|
||||
./xorg/LibVNCServer/LibVNCServer.LFSBuild
|
||||
./xorg/libXau/libXau.LFSBuild
|
||||
./xorg/libxcb/libxcb.LFSBuild
|
||||
./xorg/libXdmcp/libXdmcp.LFSBuild
|
||||
@ -766,6 +767,7 @@
|
||||
./xorg/proto/proto.LFSBuild
|
||||
./xorg/twm/twm.LFSBuild
|
||||
./xorg/util-macros/util-macros.LFSBuild
|
||||
./xorg/x11vnc/x11vnc.LFSBuild
|
||||
./xorg/x-apps/x-apps.LFSBuild
|
||||
./xorg/xbindkeys/xbindkeys.LFSBuild
|
||||
./xorg/xbitmaps/xbitmaps.LFSBuild
|
||||
|
59
LFSPkgBuildScripts/xorg/LibVNCServer/LibVNCServer.LFSBuild
Executable file
59
LFSPkgBuildScripts/xorg/LibVNCServer/LibVNCServer.LFSBuild
Executable file
@ -0,0 +1,59 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
. /usr/share/LFSPkg/LFSFunctions
|
||||
|
||||
DEPENDS="xorg-libs-9.0 xorg-server-1.20.5"
|
||||
if ! lfspkg -B "$DEPENDS";then
|
||||
exit 100
|
||||
fi
|
||||
|
||||
PKGNAME="LibVNCServer"
|
||||
TARNAME="$PKGNAME"
|
||||
VERSION="0.9.13"
|
||||
BUILD=1
|
||||
SECTION="XORG"
|
||||
SUFFIX="LFSPKG"
|
||||
TARBALL="${TARNAME}-${VERSION}.tar.gz"
|
||||
PKG="${OUTPUT}/${PKGNAME}"
|
||||
DOWHAT=${1:-"build"}
|
||||
CWD=$(pwd)
|
||||
|
||||
scriptLog "${PKGNAME}-${VERSION}"
|
||||
gettar "https://github.com/LibVNC/libvncserver/archive/${TARBALL}" $SECTION
|
||||
rm -rf "$PKG" || true
|
||||
mkdir -p "$PKG"
|
||||
|
||||
pushd $COMPILEAT 2>/dev/null||true
|
||||
extractarchive "${SOURCEARCHIVES}/${SECTION}/${TARBALL}"
|
||||
pushd "${PKGNAME,,}-${TARNAME}-${VERSION}"
|
||||
mkdir build || true
|
||||
cd build
|
||||
cmake $CMAKEINSTALLPREFIX $CMAKELIBDIRSUFFIX $CMAKEUSEQT5 $CMAKEPREFIXPATH $CMAKEBUILDTYPE -Wno-dev ..
|
||||
make $MAKEFLAGS||make|| exit 100
|
||||
make install DESTDIR=$PKG || exit 100
|
||||
popd
|
||||
|
||||
checketc "$PKG"
|
||||
packageclean "$PKG" "$CWD"
|
||||
|
||||
pushd "$PKG"
|
||||
lfspkg -n "$PKGNAME" -p "$VERSION" -d $SECTION -b $BUILD -s $SUFFIX -m
|
||||
popd
|
||||
|
||||
case $DOWHAT in
|
||||
up*)
|
||||
lfspkg "^${PKGNAME}-[0-9][0-9]*" "${PKGARCHIVES}/${SECTION}/${PKGNAME}-${VERSION}-${BUILD}_${SECTION}_${SUFFIX}.tar.gz" -u
|
||||
;;
|
||||
"install")
|
||||
lfspkg "${PKGARCHIVES}/${SECTION}/${PKGNAME}-${VERSION}-${BUILD}_${SECTION}_${SUFFIX}.tar.gz" -i
|
||||
;;
|
||||
"build")
|
||||
echo "Just built"
|
||||
;;
|
||||
*)
|
||||
echo "*** Unknown command ***"
|
||||
exit 1
|
||||
esac
|
||||
|
||||
rm -r "$PKG" "${PKGNAME,,}-${TARNAME}-${VERSION}"
|
||||
popd 2>/dev/null||true
|
2
LFSPkgBuildScripts/xorg/LibVNCServer/info
Normal file
2
LFSPkgBuildScripts/xorg/LibVNCServer/info
Normal file
@ -0,0 +1,2 @@
|
||||
https://github.com/LibVNC/x11vnc/
|
||||
VNC is a set of programs using the RFB (Remote Frame Buffer) protocol. They are designed to "export" a frame buffer via net: you set up a server and can connect to it via VNC viewers. If the server supports WebSockets (which LibVNCServer does), you can also connect using an in-browser VNC viewer like noVNC.
|
7
LFSPkgBuildScripts/xorg/x11vnc/info
Normal file
7
LFSPkgBuildScripts/xorg/x11vnc/info
Normal file
@ -0,0 +1,7 @@
|
||||
x11vnc (VNC server for real X displays)
|
||||
x11vnc allows one to view remotely and interact with real X
|
||||
displays (i.e. a display corresponding to a physical monitor,
|
||||
keyboard, and mouse) with any VNC viewer.
|
||||
It has built-in SSL encryption and authentication, UNIX account
|
||||
and password support, server-side scaling, single port HTTPS and VNC,
|
||||
mDNS service advertising, and TightVNC and UltraVNC file-transfer.
|
58
LFSPkgBuildScripts/xorg/x11vnc/x11vnc.LFSBuild
Executable file
58
LFSPkgBuildScripts/xorg/x11vnc/x11vnc.LFSBuild
Executable file
@ -0,0 +1,58 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
. /usr/share/LFSPkg/LFSFunctions
|
||||
|
||||
DEPENDS="LibVNCServer-0.9.13"
|
||||
if ! lfspkg -B "$DEPENDS";then
|
||||
exit 100
|
||||
fi
|
||||
|
||||
PKGNAME="x11vnc"
|
||||
TARNAME="$PKGNAME"
|
||||
VERSION="0.9.16"
|
||||
BUILD=1
|
||||
SECTION="XORG"
|
||||
SUFFIX="LFSPKG"
|
||||
TARBALL="${TARNAME}-${VERSION}.tar.gz"
|
||||
PKG="${OUTPUT}/${PKGNAME}"
|
||||
DOWHAT=${1:-"build"}
|
||||
CWD=$(pwd)
|
||||
|
||||
scriptLog "${PKGNAME}-${VERSION}"
|
||||
gettar "https://github.com/LibVNC/x11vnc/archive/${VERSION}/${TARBALL}" $SECTION
|
||||
rm -rf "$PKG" || true
|
||||
mkdir -p "$PKG"
|
||||
|
||||
pushd $COMPILEAT 2>/dev/null||true
|
||||
extractarchive "${SOURCEARCHIVES}/${SECTION}/${TARBALL}"
|
||||
pushd "${TARNAME}-${VERSION}"
|
||||
autoreconf -i
|
||||
CFLAGS="$LFSFLAGS" CXXFLAGS="$LFSFLAGS" ./configure ${CONFIGOPTIONS}
|
||||
make $MAKEFLAGS||make|| exit 100
|
||||
make install DESTDIR=$PKG || exit 100
|
||||
popd
|
||||
|
||||
checketc "$PKG"
|
||||
packageclean "$PKG" "$CWD"
|
||||
|
||||
pushd "$PKG"
|
||||
lfspkg -n "$PKGNAME" -p "$VERSION" -d $SECTION -b $BUILD -s $SUFFIX -m
|
||||
popd
|
||||
|
||||
case $DOWHAT in
|
||||
up*)
|
||||
lfspkg "^${PKGNAME}-[0-9][0-9]*" "${PKGARCHIVES}/${SECTION}/${PKGNAME}-${VERSION}-${BUILD}_${SECTION}_${SUFFIX}.tar.gz" -u
|
||||
;;
|
||||
"install")
|
||||
lfspkg "${PKGARCHIVES}/${SECTION}/${PKGNAME}-${VERSION}-${BUILD}_${SECTION}_${SUFFIX}.tar.gz" -i
|
||||
;;
|
||||
"build")
|
||||
echo "Just built"
|
||||
;;
|
||||
*)
|
||||
echo "*** Unknown command ***"
|
||||
exit 1
|
||||
esac
|
||||
|
||||
rm -r "$PKG" "${TARNAME}-${VERSION}"
|
||||
popd 2>/dev/null||true
|
Reference in New Issue
Block a user