[arch-commits] Commit in rdesktop/repos/community-x86_64 (4 files)

Jelle van der Waa jelle at archlinux.org
Tue May 28 12:31:52 UTC 2019


    Date: Tuesday, May 28, 2019 @ 12:31:51
  Author: jelle
Revision: 472742

archrelease: copy trunk to community-x86_64

Added:
  rdesktop/repos/community-x86_64/PKGBUILD
    (from rev 472741, rdesktop/trunk/PKGBUILD)
  rdesktop/repos/community-x86_64/rdesktop-send_physical_buttons.diff
    (from rev 472741, rdesktop/trunk/rdesktop-send_physical_buttons.diff)
Deleted:
  rdesktop/repos/community-x86_64/PKGBUILD
  rdesktop/repos/community-x86_64/rdesktop-send_physical_buttons.diff

-------------------------------------+
 PKGBUILD                            |   72 ++++++++---------
 rdesktop-send_physical_buttons.diff |  140 +++++++++++++++++-----------------
 2 files changed, 106 insertions(+), 106 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-28 12:31:40 UTC (rev 472741)
+++ PKGBUILD	2019-05-28 12:31:51 UTC (rev 472742)
@@ -1,36 +0,0 @@
-# Maintainer:
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Dan McGee <dan at archlinux.org>
-
-pkgname=rdesktop
-pkgver=1.8.4
-pkgrel=1
-pkgdesc="An open source client for Windows Remote Desktop Services"
-arch=('x86_64')
-url="http://www.rdesktop.org/"
-license=('GPL3')
-depends=('libao' 'libsamplerate' 'xorg-xrandr' 'pcsclite' 'libgssglue')
-source=(https://github.com/rdesktop/rdesktop/archive/v${pkgver}.tar.gz rdesktop-send_physical_buttons.diff)
-sha512sums=('31f2418bf12164e64bf3fa44089ab49d3ea18ed5b02b09b12b98f0e4f9f331d57c17eed8912df76209bc10c34671aa082f39f18b9e87b5bcc23b1aa90a5d103e'
-            'a51d3d8a048cc5b67d872e9bfee91bfecd055c4bbf202cca3e768eb51dfd12e30e55ccee5431cec6ba20de818e1f0b94d4fe953f43828ee8b84f1fb7e4ffccec')
-
-prepare() {
-  cd ${pkgname}-${pkgver}
-  # FS#15113
-  patch -i "${srcdir}/rdesktop-send_physical_buttons.diff"
-  
-  ./bootstrap
-}
-
-build() {
-  cd ${pkgname}-${pkgver}
-  ./configure --prefix=/usr \
-    --enable-smartcard \
-    --with-ipv6
-  make
-}
-
-package() {
-  cd ${pkgname}-${pkgver}
-  make DESTDIR="${pkgdir}" install
-}

Copied: rdesktop/repos/community-x86_64/PKGBUILD (from rev 472741, rdesktop/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-05-28 12:31:51 UTC (rev 472742)
@@ -0,0 +1,36 @@
+# Maintainer:
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Dan McGee <dan at archlinux.org>
+
+pkgname=rdesktop
+pkgver=1.8.5
+pkgrel=1
+pkgdesc="An open source client for Windows Remote Desktop Services"
+arch=('x86_64')
+url="https://www.rdesktop.org/"
+license=('GPL3')
+depends=('libao' 'libsamplerate' 'xorg-xrandr' 'pcsclite' 'libgssglue')
+source=(https://github.com/rdesktop/rdesktop/archive/v${pkgver}.tar.gz rdesktop-send_physical_buttons.diff)
+sha512sums=('303f61f47d258ae30a481f80dff3074c96b1eff48dbaf2dec22824822755e61b59459282aa22bf83e7f1933f5baa267894170d9956475b7a6248ec228e3b1349'
+            'a51d3d8a048cc5b67d872e9bfee91bfecd055c4bbf202cca3e768eb51dfd12e30e55ccee5431cec6ba20de818e1f0b94d4fe953f43828ee8b84f1fb7e4ffccec')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  # FS#15113
+  patch -i "${srcdir}/rdesktop-send_physical_buttons.diff"
+  
+  ./bootstrap
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  ./configure --prefix=/usr \
+    --enable-smartcard \
+    --with-ipv6
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+}

Deleted: rdesktop-send_physical_buttons.diff
===================================================================
--- rdesktop-send_physical_buttons.diff	2019-05-28 12:31:40 UTC (rev 472741)
+++ rdesktop-send_physical_buttons.diff	2019-05-28 12:31:51 UTC (rev 472742)
@@ -1,70 +0,0 @@
-? aclocal.m4
-Index: rdesktop.c
-===================================================================
-RCS file: /cvsroot/rdesktop/rdesktop/rdesktop.c,v
-retrieving revision 1.163
-diff -u -r1.163 rdesktop.c
---- rdesktop.c	5 Apr 2008 06:15:45 -0000	1.163
-+++ rdesktop.c	5 Aug 2008 11:46:04 -0000
-@@ -73,6 +73,7 @@
- int g_win_button_size = 0;	/* If zero, disable single app mode */
- RD_BOOL g_bitmap_compression = True;
- RD_BOOL g_sendmotion = True;
-+RD_BOOL g_send_physical_buttons = True;
- RD_BOOL g_bitmap_cache = True;
- RD_BOOL g_bitmap_cache_persist_enable = False;
- RD_BOOL g_bitmap_cache_precache = True;
-@@ -152,6 +153,7 @@
- 	fprintf(stderr, "   -B: use BackingStore of X-server (if available)\n");
- 	fprintf(stderr, "   -e: disable encryption (French TS)\n");
- 	fprintf(stderr, "   -E: disable encryption from client to server\n");
-+	fprintf(stderr, "   -M: do not map logical mouse buttons to physical\n");
- 	fprintf(stderr, "   -m: do not send motion events\n");
- 	fprintf(stderr, "   -C: use private colour map\n");
- 	fprintf(stderr, "   -D: hide window manager decorations\n");
-@@ -450,7 +452,7 @@
- #endif
- 
- 	while ((c = getopt(argc, argv,
--			   VNCOPT "A:u:L:d:s:c:p:n:k:g:o:fbBeEitmzCDKS:T:NX:a:x:Pr:045h?")) != -1)
-+			   VNCOPT "A:u:L:d:s:c:p:n:k:g:o:fbBeEitMmzCDKS:T:NX:a:x:Pr:045h?")) != -1)
- 	{
- 		switch (c)
- 		{
-@@ -584,6 +586,9 @@
- 			case 'E':
- 				g_packet_encryption = False;
- 				break;
-+			case 'M':
-+				g_send_physical_buttons = False;
-+				break;
- 			case 'm':
- 				g_sendmotion = False;
- 				break;
-Index: xwin.c
-===================================================================
-RCS file: /cvsroot/rdesktop/rdesktop/xwin.c,v
-retrieving revision 1.235
-diff -u -r1.235 xwin.c
---- xwin.c	11 Jul 2008 03:51:23 -0000	1.235
-+++ xwin.c	5 Aug 2008 11:46:06 -0000
-@@ -36,6 +36,7 @@
- extern int g_ypos;
- extern int g_pos;
- extern RD_BOOL g_sendmotion;
-+extern RD_BOOL g_send_physical_buttons;
- extern RD_BOOL g_fullscreen;
- extern RD_BOOL g_grab_keyboard;
- extern RD_BOOL g_hide_decorations;
-@@ -2190,7 +2191,8 @@
- 	   receive physical buttons (true in mstsc as well) and
- 	   logical button behavior depends on the remote desktop's own
- 	   mouse settings */
--	xevent.xbutton.button = g_pointer_log_to_phys_map[xevent.xbutton.button - 1];
-+	if (g_send_physical_buttons)
-+		xevent.xbutton.button = g_pointer_log_to_phys_map[xevent.xbutton.button - 1];
- 	button = xkeymap_translate_button(xevent.xbutton.button);
- 	if (button == 0)
- 		return;
-
- 	  	 

Copied: rdesktop/repos/community-x86_64/rdesktop-send_physical_buttons.diff (from rev 472741, rdesktop/trunk/rdesktop-send_physical_buttons.diff)
===================================================================
--- rdesktop-send_physical_buttons.diff	                        (rev 0)
+++ rdesktop-send_physical_buttons.diff	2019-05-28 12:31:51 UTC (rev 472742)
@@ -0,0 +1,70 @@
+? aclocal.m4
+Index: rdesktop.c
+===================================================================
+RCS file: /cvsroot/rdesktop/rdesktop/rdesktop.c,v
+retrieving revision 1.163
+diff -u -r1.163 rdesktop.c
+--- rdesktop.c	5 Apr 2008 06:15:45 -0000	1.163
++++ rdesktop.c	5 Aug 2008 11:46:04 -0000
+@@ -73,6 +73,7 @@
+ int g_win_button_size = 0;	/* If zero, disable single app mode */
+ RD_BOOL g_bitmap_compression = True;
+ RD_BOOL g_sendmotion = True;
++RD_BOOL g_send_physical_buttons = True;
+ RD_BOOL g_bitmap_cache = True;
+ RD_BOOL g_bitmap_cache_persist_enable = False;
+ RD_BOOL g_bitmap_cache_precache = True;
+@@ -152,6 +153,7 @@
+ 	fprintf(stderr, "   -B: use BackingStore of X-server (if available)\n");
+ 	fprintf(stderr, "   -e: disable encryption (French TS)\n");
+ 	fprintf(stderr, "   -E: disable encryption from client to server\n");
++	fprintf(stderr, "   -M: do not map logical mouse buttons to physical\n");
+ 	fprintf(stderr, "   -m: do not send motion events\n");
+ 	fprintf(stderr, "   -C: use private colour map\n");
+ 	fprintf(stderr, "   -D: hide window manager decorations\n");
+@@ -450,7 +452,7 @@
+ #endif
+ 
+ 	while ((c = getopt(argc, argv,
+-			   VNCOPT "A:u:L:d:s:c:p:n:k:g:o:fbBeEitmzCDKS:T:NX:a:x:Pr:045h?")) != -1)
++			   VNCOPT "A:u:L:d:s:c:p:n:k:g:o:fbBeEitMmzCDKS:T:NX:a:x:Pr:045h?")) != -1)
+ 	{
+ 		switch (c)
+ 		{
+@@ -584,6 +586,9 @@
+ 			case 'E':
+ 				g_packet_encryption = False;
+ 				break;
++			case 'M':
++				g_send_physical_buttons = False;
++				break;
+ 			case 'm':
+ 				g_sendmotion = False;
+ 				break;
+Index: xwin.c
+===================================================================
+RCS file: /cvsroot/rdesktop/rdesktop/xwin.c,v
+retrieving revision 1.235
+diff -u -r1.235 xwin.c
+--- xwin.c	11 Jul 2008 03:51:23 -0000	1.235
++++ xwin.c	5 Aug 2008 11:46:06 -0000
+@@ -36,6 +36,7 @@
+ extern int g_ypos;
+ extern int g_pos;
+ extern RD_BOOL g_sendmotion;
++extern RD_BOOL g_send_physical_buttons;
+ extern RD_BOOL g_fullscreen;
+ extern RD_BOOL g_grab_keyboard;
+ extern RD_BOOL g_hide_decorations;
+@@ -2190,7 +2191,8 @@
+ 	   receive physical buttons (true in mstsc as well) and
+ 	   logical button behavior depends on the remote desktop's own
+ 	   mouse settings */
+-	xevent.xbutton.button = g_pointer_log_to_phys_map[xevent.xbutton.button - 1];
++	if (g_send_physical_buttons)
++		xevent.xbutton.button = g_pointer_log_to_phys_map[xevent.xbutton.button - 1];
+ 	button = xkeymap_translate_button(xevent.xbutton.button);
+ 	if (button == 0)
+ 		return;
+
+ 	  	 


More information about the arch-commits mailing list