summaryrefslogtreecommitdiffstats
path: root/extra/source
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2020-02-09 23:04:46 +0000
committer Eric Hameleers <alien@slackware.com>2020-02-10 08:59:37 +0100
commit0582d0c1740d0bce4f06ec9f682d87a766b50b57 (patch)
tree2016fd71ac3376e1135a8189ebd088eb5959701f /extra/source
parent83ec0a78cbc3542992d00ec84a7fa9bd649d7ef5 (diff)
downloadcurrent-0582d0c1740d0bce4f06ec9f682d87a766b50b57.tar.gz
current-0582d0c1740d0bce4f06ec9f682d87a766b50b57.tar.xz
Sun Feb 9 23:04:46 UTC 202020200209230446
ap/man-pages-5.05-noarch-1.txz: Upgraded. d/vala-0.46.6-x86_64-1.txz: Upgraded. extra/tigervnc/tigervnc-1.10.1-x86_64-2.txz: Rebuilt. Removed redundant .desktop file. Thanks to upnort. Patched for latest xorg-server.
Diffstat (limited to 'extra/source')
-rw-r--r--extra/source/tigervnc/patches/tigervnc.xorg-server-1.20.7.diff18
-rwxr-xr-xextra/source/tigervnc/tigervnc.SlackBuild26
2 files changed, 24 insertions, 20 deletions
diff --git a/extra/source/tigervnc/patches/tigervnc.xorg-server-1.20.7.diff b/extra/source/tigervnc/patches/tigervnc.xorg-server-1.20.7.diff
new file mode 100644
index 000000000..4eff6b66b
--- /dev/null
+++ b/extra/source/tigervnc/patches/tigervnc.xorg-server-1.20.7.diff
@@ -0,0 +1,18 @@
+--- ./unix/xserver/hw/vnc/xvnc.c.orig 2019-12-20 01:02:02.000000000 -0600
++++ ./unix/xserver/hw/vnc/xvnc.c 2020-02-09 16:48:59.587362042 -0600
+@@ -295,6 +295,15 @@
+ }
+ #endif
+
++#if INPUTTHREAD
++/** This function is called in Xserver/os/inputthread.c when starting
++ the input thread. */
++void
++ddxInputThreadInit(void)
++{
++}
++#endif
++
+ void ddxUseMsg(void)
+ {
+ vncPrintBanner();
diff --git a/extra/source/tigervnc/tigervnc.SlackBuild b/extra/source/tigervnc/tigervnc.SlackBuild
index e8fa4942a..71d6939db 100755
--- a/extra/source/tigervnc/tigervnc.SlackBuild
+++ b/extra/source/tigervnc/tigervnc.SlackBuild
@@ -77,13 +77,16 @@
# 1.10.0-2: 18/nov/2019 by Patrick Volkerding <volkerdi@slackware.com>
# Rebuilt for new xorg-server.
# 1.10.1-1: 20/dec/2019 by Patrick Volkerding <volkerdi@slackware.com>
+# 1.10.1-2: 09/feb/2020 by Patrick Volkerding <volkerdi@slackware.com>
+# Removed redundant .desktop file. Thanks to upnort.
+# Patched for latest xorg-server.
#
# -----------------------------------------------------------------------------
PKGNAM=tigervnc
VERSION=${VERSION:-1.10.1}
PVER=$(echo $VERSION | cut -f 1,2 -d . | tr -d .)
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
TAG=${TAG:-}
@@ -202,8 +205,8 @@ cd $PKGNAM-$VERSION || exit 1
# HACK! Force protocol 3.3 for UVNCSC
zcat $CWD/patches/force_protocol_3.3_for_UVNCSC.patch.gz | patch -p1 || exit 1
-## Patch to support x.org 1.20 (already included in tigervnc-1.9.0):
-#zcat $CWD/patches/tigervnc-support-xorg120.patch.gz | patch -p1 --verbose || exit 1
+# Patch to support xorg-server 1.20.7:
+zcat $CWD/patches/tigervnc.xorg-server-1.20.7.diff.gz | patch -p1 --verbose || exit 1
# Explicitly link against libpng to prevent linking errors:
zcat $CWD/patches/tigervnc13_link_png.patch.gz | patch -p1 --verbose || exit 1
@@ -309,23 +312,6 @@ for PSIZE in 16 24 32 48; do
install -m644 media/icons/tigervnc_${PSIZE}.png \
$PKG/usr/share/icons/hicolor/${PSIZE}x${PSIZE}/apps/tigervnc.png
done
-cat <<EOT > $PKG/usr/share/applications/tigervnc.desktop
-[Desktop Entry]
-Encoding=UTF-8
-Name=TigerVNC Viewer
-GenericName=VNCViewer (RFB Client)
-Comment=Connect to remote desktop
-SwallowExec=
-Exec=vncviewer
-MimeType=
-Icon=tigervnc
-Path=
-TerminalOptions=
-Terminal=false
-Type=Application
-Categories=Network;
-StartupWMClass=VNC Viewer: Connection Details
-EOT
# Add this to the doinst.sh:
! [ -d $PKG/install ] && mkdir -p $PKG/install