From 133cfd33680790e4d88bc9905e648197a3f347fd Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Sun, 15 Jun 2014 02:58:29 +0000 Subject: [PATCH] Add tigervnc-1.3.1 git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@13242 af4574ff-66df-0310-9fd7-8a98e5e911e0 --- general.ent | 1 + introduction/welcome/changelog.xml | 10 + xsoft/other/other.xml | 1 + xsoft/other/tigervnc.xml | 295 +++++++++++++++++++++++++++++ 4 files changed, 307 insertions(+) create mode 100644 xsoft/other/tigervnc.xml diff --git a/general.ent b/general.ent index aa57064fc0..4e8beb63d0 100644 --- a/general.ent +++ b/general.ent @@ -749,6 +749,7 @@ export -f as_root + diff --git a/introduction/welcome/changelog.xml b/introduction/welcome/changelog.xml index a8658274b2..6543c4baf3 100644 --- a/introduction/welcome/changelog.xml +++ b/introduction/welcome/changelog.xml @@ -44,6 +44,16 @@ --> + + June 14th, 2014 + + + [bdubbs] - Add tigervnc-1.3.1. Fixes + #3903. + + + + June 13th, 2014 diff --git a/xsoft/other/other.xml b/xsoft/other/other.xml index cf4847cde4..e4eeb709e7 100644 --- a/xsoft/other/other.xml +++ b/xsoft/other/other.xml @@ -29,6 +29,7 @@ $Date$ + diff --git a/xsoft/other/tigervnc.xml b/xsoft/other/tigervnc.xml new file mode 100644 index 0000000000..a7e302ed1b --- /dev/null +++ b/xsoft/other/tigervnc.xml @@ -0,0 +1,295 @@ + + + %general-entities; + + + + + + + +]> + + + + + + $LastChangedBy: bdubbs $ + $Date: 2014-03-01 00:00:12 -0600 (Sat, 01 Mar 2014) $ + + + Tigervnc-&tigervnc-version; + + + tigervnc + + + + Introduction to Tigervnc + + Tigervnc is an advanced VNC (Virtual + Network Computing) implementation. It allows creation of an Xorg server + not tied to a physical console and also provides a client for + viewing of the remote graphical desktop. + + + &lfs75_checked; + + Package Information + + + Download (HTTP): + + + Download (FTP): + + + Download MD5 sum: &tigervnc-md5sum; + + + Download size: &tigervnc-size; + + + Estimated disk space required: &tigervnc-buildsize; + + + Estimated build time: &tigervnc-time; + + + + Additional Downloads + + + + Required file: + + + + + + Required patch: + + + + + + Required patch: + + + + + + Required patch: + + + + + + Tigervnc Dependencies + + Required + + , + , + , + , + , + , + , and + + + + Recommended + + and + + + + User Notes: + + + + + + Installation of Tigervnc + + Install tigervnc by running the following + commands: + +tar -xf ../xorg-server-1.15.0.tar.bz2 -C unix/xserver --strip-components=1 && + +patch -Np1 -i ../tigervnc-&tigervnc-version;-gethomedir-1.patch && +patch -Np1 -i ../tigervnc-&tigervnc-version;-getmaster-1.patch && +patch -Np1 -i ../tigervnc-&tigervnc-version;-xorg115-1.patch && + +cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/usr && +make && + +pushd unix/xserver && + patch -Np1 -i ../xserver114.patch && + autoreconf -fiv && + + ./configure $XORG_CONFIG \ + --disable-present --disable-dri3 --disable-dmx \ + --disable-static --disable-xinerama --disable-dri \ + --disable-xorg --disable-xnest --disable-xvfb \ + --disable-xwin --disable-xephyr --disable-kdrive \ + --disable-config-dbus --disable-config-hal --disable-config-udev \ + --disable-unit-tests --disable-selective-werror \ + --without-dtrace --enable-dri2 --enable-glx \ + --enable-glx-tls --with-pic && + make && +popd + + This package does not come with a test suite. + + Now, as the root user: + +make install && + +cd unix/xserver/hw/vnc && +make install && +sed -i 's/iconic/nowin/' /usr/bin/vncserver && +[ -e /usr/bin/Xvnc ] || ln -svf $XORG_PREFIX/bin/Xvnc /usr/bin/Xvnc + + Finally, create a menu entry. As the + root user: + +cat > /usr/share/applications/vncviewer.desktop << "EOF" +[Desktop Entry] +Type=Application +Name=TigerVNC Viewer +Comment=VNC client +Exec=/usr/bin/vncviewer +Icon=tigervnc +Terminal=false +StartupNotify=false +Categories=Network;RemoteAccess; +EOF + + + + + Command Explanations + + tar .. xorg-server...: This command extracts the + standard Xorg packages into the tree in a location needed for modification. + + patch ...: This set of patches modifies the standard + Xorg server so that the Xvnc command can be built. + + : Most options that are usually needed for + the standard Xorg server are not needed fror the Xvnc instance being built. + + [ -e /usr/bin/Xvnc ] || ln ... Xvnc: If the Xvnc server + is not installed in the /usr/bin + directory, then create a link so the vncserver script + can find it. + + + + + Configuring Tigervnc + + The user specific configuration files of vncserver resides + in the .vnc directory in the user's + home directory. The xstartup file in that + directory is a script specifying what commands to be run + when a VNC desktop is started. If no xstartup file + exists, vncserver will try to start an xterm in a twm + session. An example xstartup would be: + +#!/bin/sh + +[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup +[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources +startlxde & + + + + + Contents + + + Installed Programs + Installed Libraries + Installed Directories + + + Xvnc, + vncconfig, + vncpasswd, + vncserver, + vncviewer, and + x0vncserver + + libvnc.so + None + + + + + Short Descriptions + + + + + Xvnc + + is a X VNC (Virtual Network Computing) server. + It is based on a standard X server, but it has a + "virtual" screen rather than a physical one. + + Xvnc + + + + + + vncconfig + + is a program to configure and control a VNC server. + + vncconfig + + + + + + vncserver + + is a perl script used to start or stop a VNC server. + + vncserver + + + + + + vncviewer + + is a client used to access VNC desktops. + + vncviewer + + + + + + x0vncserver + + is a program to make an X display onm a physical + terminal accessible via TigerVNC or compatible viewers. + + x0vncserver + + + + + + + + +