mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
21
package/rdesktop/0001-8bit-colors.patch
Normal file
21
package/rdesktop/0001-8bit-colors.patch
Normal file
@@ -0,0 +1,21 @@
|
||||
diff -urpN rdesktop-1.5.0-orig/xwin.c rdesktop-1.5.0/xwin.c
|
||||
--- rdesktop-1.5.0-orig/xwin.c 2007-01-17 12:01:18.000000000 +0100
|
||||
+++ rdesktop-1.5.0/xwin.c 2007-01-17 12:05:02.000000000 +0100
|
||||
@@ -1461,7 +1461,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;
|
||||
}
|
||||
@@ -1568,7 +1568,7 @@ ui_init(void)
|
||||
{
|
||||
g_xcolmap =
|
||||
XCreateColormap(g_display, RootWindowOfScreen(g_screen), g_visual,
|
||||
- AllocNone);
|
||||
+ (g_depth <= 8) ? AllocAll : AllocNone);
|
||||
if (g_depth <= 8)
|
||||
warning("Display colour depth is %d bit: you may want to use -C for a private colourmap.\n", g_depth);
|
||||
}
|
||||
14
package/rdesktop/Config.in
Normal file
14
package/rdesktop/Config.in
Normal file
@@ -0,0 +1,14 @@
|
||||
config BR2_PACKAGE_RDESKTOP
|
||||
bool "rdesktop"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
depends on BR2_PACKAGE_XORG7
|
||||
select BR2_PACKAGE_OPENSSL
|
||||
select BR2_PACKAGE_XLIB_LIBX11
|
||||
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/
|
||||
3
package/rdesktop/rdesktop.hash
Normal file
3
package/rdesktop/rdesktop.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 516f04df92f16eba04c96bbf9aeb05b9da686689c2bb5c107e0941583e09f933 rdesktop-1.8.4.tar.gz
|
||||
sha256 fc82ca8b6fdb18d4e3e85cfd8ab58d1bcd3f1b29abe782895abd91d64763f8e7 COPYING
|
||||
25
package/rdesktop/rdesktop.mk
Normal file
25
package/rdesktop/rdesktop.mk
Normal file
@@ -0,0 +1,25 @@
|
||||
################################################################################
|
||||
#
|
||||
# rdesktop
|
||||
#
|
||||
################################################################################
|
||||
|
||||
RDESKTOP_VERSION = 1.8.4
|
||||
RDESKTOP_SITE = $(call github,rdesktop,rdesktop,v$(RDESKTOP_VERSION))
|
||||
RDESKTOP_DEPENDENCIES = host-pkgconf openssl xlib_libX11 xlib_libXt \
|
||||
$(if $(BR2_PACKAGE_ALSA_LIB_PCM),alsa-lib) \
|
||||
$(if $(BR2_PACKAGE_LIBAO),libao) \
|
||||
$(if $(BR2_PACKAGE_LIBSAMPLERATE),libsamplerate)
|
||||
RDESKTOP_CONF_OPTS = --with-openssl=$(STAGING_DIR)/usr --disable-credssp
|
||||
RDESKTOP_LICENSE = GPL-3.0+
|
||||
RDESKTOP_LICENSE_FILES = COPYING
|
||||
# From git
|
||||
RDESKTOP_AUTORECONF = YES
|
||||
|
||||
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