[arch-commits] Commit in tigervnc/repos/community-x86_64 (7 files)

Sergej Pupykin spupykin at archlinux.org
Fri Sep 11 12:56:29 UTC 2020


    Date: Friday, September 11, 2020 @ 12:56:29
  Author: spupykin
Revision: 702793

archrelease: copy trunk to community-x86_64

Added:
  tigervnc/repos/community-x86_64/PKGBUILD
    (from rev 702792, tigervnc/trunk/PKGBUILD)
  tigervnc/repos/community-x86_64/more-xsessions.patch
    (from rev 702792, tigervnc/trunk/more-xsessions.patch)
  tigervnc/repos/community-x86_64/vncserver.service
    (from rev 702792, tigervnc/trunk/vncserver.service)
  tigervnc/repos/community-x86_64/vncviewer.desktop
    (from rev 702792, tigervnc/trunk/vncviewer.desktop)
Deleted:
  tigervnc/repos/community-x86_64/PKGBUILD
  tigervnc/repos/community-x86_64/vncserver.service
  tigervnc/repos/community-x86_64/vncviewer.desktop

----------------------+
 PKGBUILD             |  140 +++++++++++++++++++++++++------------------------
 more-xsessions.patch |   17 +++++
 vncserver.service    |   58 ++++++++++----------
 vncviewer.desktop    |   18 +++---
 4 files changed, 127 insertions(+), 106 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-11 12:56:15 UTC (rev 702792)
+++ PKGBUILD	2020-09-11 12:56:29 UTC (rev 702793)
@@ -1,68 +0,0 @@
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Maintainer: Uroš Vampl <mobile.leecher at gmail dot com>
-
-pkgname=tigervnc
-pkgver=1.11.0
-pkgrel=2
-_xorgver=1.20.8
-pkgdesc="Suite of VNC servers and clients. Based on the VNC 4 branch of TightVNC."
-arch=('x86_64')
-url="http://www.tigervnc.org"
-license=('GPL')
-depends=('fltk' 'pam' 'gnutls' 'libjpeg-turbo' 'libxtst' 'pixman'
-	 'xorg-xauth' 'xorg-xsetroot' 'xkeyboard-config' 'xorg-xkbcomp'
-	 'libgl' 'libgcrypt' 'perl' 'libxdamage' 'libxfont2' 'libdrm')
-makedepends=('cmake' 'nasm' 'xorg-font-util' 'xorg-util-macros'
-	     'xtrans' 'xorgproto'
-	     'mesa' 'imagemagick' 'java-environment=8')
-optdepends=('mesa: for OpenGL functionality in Xvnc')
-conflicts=('tightvnc')
-source=($pkgname-$pkgver.tar.gz::https://github.com/TigerVNC/tigervnc/archive/v${pkgver}.tar.gz
-	ftp://ftp.freedesktop.org/pub/xorg/individual/xserver/xorg-server-${_xorgver}.tar.bz2
-	vncserver.service
-	vncviewer.desktop)
-sha256sums=('3648eca472a92a4e8fe55b27cd397b1bf16bad0b24a3a1988661f44553f5e2c3'
-            'd17b646bee4ba0fb7850c1cc55b18e3e8513ed5c02bdf38da7e107f84e2d0146'
-            '80f8fc7598d05e645ae73bc3371bbdededf07136a9f024ce6ebbfe469335b16e'
-            '2ada7da1a926d78f11d2dd8ec376ac5877d2ce2bbb57a99526c13d8fcae6ddd7')
-
-prepare() {
-  cd "$srcdir"/${pkgname}-${pkgver}
-  cd unix/xserver
-  cp -r "$srcdir"/xorg-server-${_xorgver}/* .
-  patch -Np1 -i ../xserver120.patch
-}
-
-build() {
-  cd "$srcdir"/${pkgname}-${pkgver}
-
-  cmake -G "Unix Makefiles" \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_INSTALL_SBINDIR=/usr/bin \
-    -DCMAKE_INSTALL_LIBEXECDIR=/usr/bin \
-    -DBUILD_JAVA=TRUE
-  make
-
-  cd unix/xserver
-  autoreconf -fiv
-  CFLAGS="$CFLAGS -I/usr/include/libdrm" ./configure --prefix=/usr \
-	--disable-static --without-dtrace \
-	--disable-xorg --disable-xnest --disable-xvfb --disable-dmx \
-	--disable-xwin --disable-xephyr --disable-kdrive --disable-xwayland \
-	--disable-config-hal --disable-config-udev --with-pic \
-	--disable-unit-tests --disable-devel-docs --disable-selective-werror \
-	--disable-dri --enable-dri2 --enable-dri3 --enable-glx
-  make
-}
-
-package() {
-  cd "$srcdir"/${pkgname}-${pkgver}
-  make DESTDIR="$pkgdir" install
-  install -Dm0644 java/VncViewer.jar "${pkgdir}"/usr/share/vnc/classes/VncViewer.jar
-  cd unix/xserver/hw/vnc
-  make DESTDIR="$pkgdir" install
-  install -Dm0644 "$srcdir"/${pkgname}-${pkgver}/unix/vncserver/vncserver at .service \
-    "$pkgdir"/usr/lib/systemd/user/vncserver at .service
-  install -Dm0644 "$srcdir"/vncserver.service "$pkgdir"/usr/lib/systemd/system/vncserver.service
-  install -Dm0644 "$srcdir"/vncviewer.desktop "$pkgdir"/usr/share/applications/vncviewer.desktop
-}

Copied: tigervnc/repos/community-x86_64/PKGBUILD (from rev 702792, tigervnc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-09-11 12:56:29 UTC (rev 702793)
@@ -0,0 +1,72 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Uroš Vampl <mobile.leecher at gmail dot com>
+
+pkgname=tigervnc
+pkgver=1.11.0
+pkgrel=3
+_xorgver=1.20.8
+pkgdesc="Suite of VNC servers and clients. Based on the VNC 4 branch of TightVNC."
+arch=('x86_64')
+url="http://www.tigervnc.org"
+license=('GPL')
+depends=('fltk' 'pam' 'gnutls' 'libjpeg-turbo' 'libxtst' 'pixman'
+	 'xorg-xauth' 'xorg-xsetroot' 'xkeyboard-config' 'xorg-xkbcomp'
+	 'libgl' 'libgcrypt' 'perl' 'libxdamage' 'libxfont2' 'libdrm')
+makedepends=('cmake' 'nasm' 'xorg-font-util' 'xorg-util-macros'
+	     'xtrans' 'xorgproto'
+	     'mesa' 'imagemagick' 'java-environment=8')
+optdepends=('mesa: for OpenGL functionality in Xvnc')
+conflicts=('tightvnc')
+source=($pkgname-$pkgver.tar.gz::https://github.com/TigerVNC/tigervnc/archive/v${pkgver}.tar.gz
+	ftp://ftp.freedesktop.org/pub/xorg/individual/xserver/xorg-server-${_xorgver}.tar.bz2
+	vncserver.service
+	vncviewer.desktop
+	more-xsessions.patch)
+sha256sums=('3648eca472a92a4e8fe55b27cd397b1bf16bad0b24a3a1988661f44553f5e2c3'
+            'd17b646bee4ba0fb7850c1cc55b18e3e8513ed5c02bdf38da7e107f84e2d0146'
+            '80f8fc7598d05e645ae73bc3371bbdededf07136a9f024ce6ebbfe469335b16e'
+            '2ada7da1a926d78f11d2dd8ec376ac5877d2ce2bbb57a99526c13d8fcae6ddd7'
+            '5606c12553b9891e295bacede6c58f726527ec3eb916efa0c436bb156067ff41')
+
+prepare() {
+  cd "$srcdir"/${pkgname}-${pkgver}
+  patch -p1 -i "$srcdir"/more-xsessions.patch
+
+  cd unix/xserver
+  cp -r "$srcdir"/xorg-server-${_xorgver}/* .
+  patch -Np1 -i ../xserver120.patch
+}
+
+build() {
+  cd "$srcdir"/${pkgname}-${pkgver}
+
+  cmake -G "Unix Makefiles" \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_SBINDIR=/usr/bin \
+    -DCMAKE_INSTALL_LIBEXECDIR=/usr/bin \
+    -DBUILD_JAVA=TRUE
+  make
+
+  cd unix/xserver
+  autoreconf -fiv
+  CFLAGS="$CFLAGS -I/usr/include/libdrm" ./configure --prefix=/usr \
+	--disable-static --without-dtrace \
+	--disable-xorg --disable-xnest --disable-xvfb --disable-dmx \
+	--disable-xwin --disable-xephyr --disable-kdrive --disable-xwayland \
+	--disable-config-hal --disable-config-udev --with-pic \
+	--disable-unit-tests --disable-devel-docs --disable-selective-werror \
+	--disable-dri --enable-dri2 --enable-dri3 --enable-glx
+  make
+}
+
+package() {
+  cd "$srcdir"/${pkgname}-${pkgver}
+  make DESTDIR="$pkgdir" install
+  install -Dm0644 java/VncViewer.jar "${pkgdir}"/usr/share/vnc/classes/VncViewer.jar
+  cd unix/xserver/hw/vnc
+  make DESTDIR="$pkgdir" install
+  install -Dm0644 "$srcdir"/${pkgname}-${pkgver}/unix/vncserver/vncserver at .service \
+    "$pkgdir"/usr/lib/systemd/user/vncserver at .service
+  install -Dm0644 "$srcdir"/vncserver.service "$pkgdir"/usr/lib/systemd/system/vncserver.service
+  install -Dm0644 "$srcdir"/vncviewer.desktop "$pkgdir"/usr/share/applications/vncviewer.desktop
+}

Copied: tigervnc/repos/community-x86_64/more-xsessions.patch (from rev 702792, tigervnc/trunk/more-xsessions.patch)
===================================================================
--- more-xsessions.patch	                        (rev 0)
+++ more-xsessions.patch	2020-09-11 12:56:29 UTC (rev 702793)
@@ -0,0 +1,17 @@
+diff -wbBur tigervnc-1.11.0/unix/vncserver/vncserver.in tigervnc-1.11.0.my/unix/vncserver/vncserver.in
+--- tigervnc-1.11.0/unix/vncserver/vncserver.in	2020-09-08 15:16:08.000000000 +0300
++++ tigervnc-1.11.0.my/unix/vncserver/vncserver.in	2020-09-11 15:39:59.980775388 +0300
+@@ -438,7 +438,12 @@
+ 	die "$prog: couldn't find \"$cmd\" on your PATH.\n";
+     }
+ 
+-    foreach $cmd ("/etc/X11/xinit/Xsession", "/etc/X11/Xsession") {
++    foreach $cmd ("/etc/X11/xinit/Xsession", "/etc/X11/Xsession",
++        "/etc/X11/xdm/Xsession",
++        "/usr/share/sddm/scripts/Xsession",
++        "/etc/gdm/Xsession",
++        "/etc/lightdm/Xsession",
++        "/etc/lxdm/Xsession") {
+         if (-x "$cmd") {
+             $Xsession = $cmd;
+             last;

Deleted: vncserver.service
===================================================================
--- vncserver.service	2020-09-11 12:56:15 UTC (rev 702792)
+++ vncserver.service	2020-09-11 12:56:29 UTC (rev 702793)
@@ -1,29 +0,0 @@
-# The vncserver service unit file
-#
-# 1. Copy this file to /etc/systemd/system/vncserver@:<display>.service
-# 2. Edit User=
-#   ("User=foo")
-# 3. Edit  and vncserver parameters appropriately
-#   ("/usr/bin/vncserver %i -arg1 -arg2 -argn")
-# 4. Run `systemctl --system daemon-reload`
-# 5. Run `systemctl enable vncserver@:<display>.service`
-#
-# DO NOT RUN THIS SERVICE if your local area network is untrusted! 
-#
-# See the wiki page for more on security
-# https://wiki.archlinux.org/index.php/Vncserver
-
-[Unit]
-Description=Remote desktop service (VNC)
-After=syslog.target network.target
-
-[Service]
-Type=simple
-User=
-
-ExecStartPre=/bin/sh -c '/usr/bin/vncserver -kill %i >/dev/null 2>&1 || true'
-ExecStart=/usr/bin/vncserver -fg %i
-ExecStop=/usr/bin/vncserver -kill %i
-
-[Install]
-WantedBy=multi-user.target

Copied: tigervnc/repos/community-x86_64/vncserver.service (from rev 702792, tigervnc/trunk/vncserver.service)
===================================================================
--- vncserver.service	                        (rev 0)
+++ vncserver.service	2020-09-11 12:56:29 UTC (rev 702793)
@@ -0,0 +1,29 @@
+# The vncserver service unit file
+#
+# 1. Copy this file to /etc/systemd/system/vncserver@:<display>.service
+# 2. Edit User=
+#   ("User=foo")
+# 3. Edit  and vncserver parameters appropriately
+#   ("/usr/bin/vncserver %i -arg1 -arg2 -argn")
+# 4. Run `systemctl --system daemon-reload`
+# 5. Run `systemctl enable vncserver@:<display>.service`
+#
+# DO NOT RUN THIS SERVICE if your local area network is untrusted! 
+#
+# See the wiki page for more on security
+# https://wiki.archlinux.org/index.php/Vncserver
+
+[Unit]
+Description=Remote desktop service (VNC)
+After=syslog.target network.target
+
+[Service]
+Type=simple
+User=
+
+ExecStartPre=/bin/sh -c '/usr/bin/vncserver -kill %i >/dev/null 2>&1 || true'
+ExecStart=/usr/bin/vncserver -fg %i
+ExecStop=/usr/bin/vncserver -kill %i
+
+[Install]
+WantedBy=multi-user.target

Deleted: vncviewer.desktop
===================================================================
--- vncviewer.desktop	2020-09-11 12:56:15 UTC (rev 702792)
+++ vncviewer.desktop	2020-09-11 12:56:29 UTC (rev 702793)
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Type=Application
-Name=TigerVNC Viewer
-Comment=VNC client
-Exec=/usr/bin/vncviewer
-Icon=tigervnc
-Terminal=false
-StartupNotify=false
-Categories=Network;RemoteAccess;

Copied: tigervnc/repos/community-x86_64/vncviewer.desktop (from rev 702792, tigervnc/trunk/vncviewer.desktop)
===================================================================
--- vncviewer.desktop	                        (rev 0)
+++ vncviewer.desktop	2020-09-11 12:56:29 UTC (rev 702793)
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Name=TigerVNC Viewer
+Comment=VNC client
+Exec=/usr/bin/vncviewer
+Icon=tigervnc
+Terminal=false
+StartupNotify=false
+Categories=Network;RemoteAccess;


More information about the arch-commits mailing list