Initial Commit
- initial default booting image
This commit is contained in:
38
package/rdesktop/0001-Allow-8-bit-colors.patch
Normal file
38
package/rdesktop/0001-Allow-8-bit-colors.patch
Normal file
@@ -0,0 +1,38 @@
|
||||
From 2159684f1287b6bca2bd74c129b752a636ee807f Mon Sep 17 00:00:00 2001
|
||||
From: Peter Korsgaard <peter@korsgaard.com>
|
||||
Date: Wed, 17 Jan 2007 13:58:01 +0000
|
||||
Subject: [PATCH] Allow 8-bit colors
|
||||
|
||||
Upstream: Reported as unmaintained on homepage http://www.rdesktop.org/
|
||||
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
|
||||
[Julien: refreshed the patch to be applied with fuzz factor 0]
|
||||
Signed-off-by: Julien Olivain <ju.o@free.fr>
|
||||
---
|
||||
xwin.c | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/xwin.c b/xwin.c
|
||||
index d96d0f4..d11f4a6 100644
|
||||
--- a/xwin.c
|
||||
+++ b/xwin.c
|
||||
@@ -1801,7 +1801,7 @@ select_visual(int screen_num)
|
||||
}
|
||||
|
||||
/* we use a colourmap, so the default visual should do */
|
||||
- g_owncolmap = True;
|
||||
+// g_owncolmap = True;
|
||||
g_visual = vmatches[0].visual;
|
||||
g_depth = vmatches[0].depth;
|
||||
}
|
||||
@@ -2010,7 +2010,7 @@ ui_init(void)
|
||||
{
|
||||
g_xcolmap =
|
||||
XCreateColormap(g_display, RootWindowOfScreen(g_screen), g_visual,
|
||||
- AllocNone);
|
||||
+ (g_depth <= 8) ? AllocAll : AllocNone);
|
||||
if (g_depth <= 8)
|
||||
logger(GUI, Warning,
|
||||
"Display colour depth is %d bit: you may want to use -C for a private colourmap",
|
||||
--
|
||||
2.45.2
|
||||
|
||||
29
package/rdesktop/0002-use-correct-modulus-and-exponent.patch
Normal file
29
package/rdesktop/0002-use-correct-modulus-and-exponent.patch
Normal file
@@ -0,0 +1,29 @@
|
||||
From 53ba87dc174175e98332e22355ad8662c02880d6 Mon Sep 17 00:00:00 2001
|
||||
From: Markus Beth <markus.beth@zkrd.de>
|
||||
Date: Mon, 2 Dec 2019 11:22:13 +0100
|
||||
Subject: [PATCH] use correct modulus and exponent in rdssl_rkey_get_exp_mod
|
||||
|
||||
Upstream: https://github.com/rdesktop/rdesktop/commit/53ba87dc174175e98332e22355ad8662c02880d6
|
||||
|
||||
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
||||
---
|
||||
ssl.c | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/ssl.c b/ssl.c
|
||||
index 930c7f94..0681a890 100644
|
||||
--- a/ssl.c
|
||||
+++ b/ssl.c
|
||||
@@ -307,10 +307,10 @@ rdssl_rkey_get_exp_mod(RDSSL_RKEY * rkey, uint8 * exponent, uint32 max_exp_len,
|
||||
{
|
||||
size_t outlen;
|
||||
|
||||
- outlen = (mpz_sizeinbase(modulus, 2) + 7) / 8;
|
||||
+ outlen = (mpz_sizeinbase(rkey->n, 2) + 7) / 8;
|
||||
if (outlen > max_mod_len)
|
||||
return 1;
|
||||
- outlen = (mpz_sizeinbase(exponent, 2) + 7) / 8;
|
||||
+ outlen = (mpz_sizeinbase(rkey->e, 2) + 7) / 8;
|
||||
if (outlen > max_exp_len)
|
||||
return 1;
|
||||
|
||||
24
package/rdesktop/Config.in
Normal file
24
package/rdesktop/Config.in
Normal file
@@ -0,0 +1,24 @@
|
||||
config BR2_PACKAGE_RDESKTOP
|
||||
bool "rdesktop"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
depends on !BR2_STATIC_LIBS # gnutls
|
||||
depends on BR2_USE_WCHAR # gnutls
|
||||
depends on BR2_PACKAGE_XORG7
|
||||
select BR2_PACKAGE_GNUTLS
|
||||
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
|
||||
select BR2_PACKAGE_LIBTASN1
|
||||
select BR2_PACKAGE_NETTLE
|
||||
select BR2_PACKAGE_XLIB_LIBX11
|
||||
select BR2_PACKAGE_XLIB_LIBXCURSOR
|
||||
select BR2_PACKAGE_XLIB_LIBXT
|
||||
help
|
||||
rdesktop is an open source client for Windows NT Terminal
|
||||
Server and Windows 2000/2003 Terminal Services, capable of
|
||||
natively speaking Remote Desktop Protocol (RDP) in order to
|
||||
present the user's NT desktop.
|
||||
|
||||
http://rdesktop.sf.net/
|
||||
|
||||
comment "rdesktop needs a toolchain w/ wchar, dynamic library"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS
|
||||
3
package/rdesktop/rdesktop.hash
Normal file
3
package/rdesktop/rdesktop.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 473c2f312391379960efe41caad37852c59312bc8f100f9b5f26609ab5704288 rdesktop-1.9.0.tar.gz
|
||||
sha256 fc82ca8b6fdb18d4e3e85cfd8ab58d1bcd3f1b29abe782895abd91d64763f8e7 COPYING
|
||||
35
package/rdesktop/rdesktop.mk
Normal file
35
package/rdesktop/rdesktop.mk
Normal file
@@ -0,0 +1,35 @@
|
||||
################################################################################
|
||||
#
|
||||
# rdesktop
|
||||
#
|
||||
################################################################################
|
||||
|
||||
RDESKTOP_VERSION = 1.9.0
|
||||
RDESKTOP_SITE = \
|
||||
https://github.com/rdesktop/rdesktop/releases/download/v$(RDESKTOP_VERSION)
|
||||
RDESKTOP_DEPENDENCIES = \
|
||||
host-pkgconf \
|
||||
gnutls \
|
||||
libtasn1 \
|
||||
nettle \
|
||||
xlib_libX11 \
|
||||
xlib_libXcursor \
|
||||
xlib_libXt \
|
||||
$(if $(BR2_PACKAGE_ALSA_LIB_PCM),alsa-lib) \
|
||||
$(if $(BR2_PACKAGE_LIBAO),libao) \
|
||||
$(if $(BR2_PACKAGE_LIBICONV),libiconv) \
|
||||
$(if $(BR2_PACKAGE_LIBSAMPLERATE),libsamplerate) \
|
||||
$(if $(BR2_PACKAGE_PULSEAUDIO),pulseaudio) \
|
||||
$(if $(BR2_PACKAGE_XLIB_LIBXRANDR),xlib_libXrandr)
|
||||
RDESKTOP_CONF_OPTS = --disable-credssp
|
||||
RDESKTOP_LICENSE = GPL-3.0+
|
||||
RDESKTOP_LICENSE_FILES = COPYING
|
||||
RDESKTOP_CPE_ID_VENDOR = rdesktop
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PCSC_LITE),y)
|
||||
RDESKTOP_DEPENDENCIES += pcsc-lite
|
||||
else
|
||||
RDESKTOP_CONF_OPTS += --disable-smartcard
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user