Bump buidlroot version to 2018.02.6
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
From 368989526c32cdf9d680a397fede3cb773fa2609 Mon Sep 17 00:00:00 2001
|
||||
From: Mike Gilbert <floppym@gentoo.org>
|
||||
Date: Fri, 28 Jul 2017 16:31:41 -0400
|
||||
Subject: [PATCH 1/1] Fix gstreamer-1.0 detection
|
||||
|
||||
[yann.morin.1998@free.fr: backport from upstream]
|
||||
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
|
||||
|
||||
---
|
||||
cmake/FindGStreamer_1_0.cmake | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/cmake/FindGStreamer_1_0.cmake b/cmake/FindGStreamer_1_0.cmake
|
||||
index 3aa8fc6dc..6fbc0ecc5 100644
|
||||
--- a/cmake/FindGStreamer_1_0.cmake
|
||||
+++ b/cmake/FindGStreamer_1_0.cmake
|
||||
@@ -59,7 +59,7 @@ macro(FIND_GSTREAMER_COMPONENT _component_prefix _pkgconfig_name _library)
|
||||
|
||||
string(REGEX MATCH "(.*)>=(.*)" _dummy "${_pkgconfig_name}")
|
||||
if ("${CMAKE_MATCH_2}" STREQUAL "")
|
||||
- pkg_check_modules(PC_${_component_prefix} "${_pkgconfig_name} >= ${GStreamer_FIND_VERSION}")
|
||||
+ pkg_check_modules(PC_${_component_prefix} "${_pkgconfig_name} >= ${GSTREAMER_1_0_MINIMUM_VERSION}")
|
||||
else ()
|
||||
pkg_check_modules(PC_${_component_prefix} ${_pkgconfig_name})
|
||||
endif ()
|
||||
--
|
||||
2.11.0
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
winpr/tools: fix building shared libs
|
||||
|
||||
libwinpr-makecert-tool.a is used to build libxfreerdp-server.so, so even
|
||||
if we are building a static libwinpr-makecert-tool.a library, we need to
|
||||
build it with -fPIC.
|
||||
|
||||
Patch and commit log suggested by Samuel MARTIN.
|
||||
|
||||
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
|
||||
Cc: Samuel Martin <s.martin49@gmail.com>
|
||||
|
||||
diff -durN freerdp-440916eae2e07463912d5fe507677e67096eb083.orig/winpr/tools/makecert/CMakeLists.txt freerdp-440916eae2e07463912d5fe507677e67096eb083/winpr/tools/makecert/CMakeLists.txt
|
||||
--- freerdp-440916eae2e07463912d5fe507677e67096eb083.orig/winpr/tools/makecert/CMakeLists.txt 2014-08-25 06:52:43.000000000 -0700
|
||||
+++ freerdp-440916eae2e07463912d5fe507677e67096eb083/winpr/tools/makecert/CMakeLists.txt 2014-10-24 15:39:39.600319523 -0700
|
||||
@@ -37,4 +37,11 @@
|
||||
add_subdirectory(cli)
|
||||
|
||||
set_property(TARGET ${MODULE_NAME} PROPERTY FOLDER "WinPR/Tools")
|
||||
+
|
||||
+if(BUILD_SHARED_LIBS)
|
||||
+ # build libwinpr-makecert-tool.a with PIC because it is used to build
|
||||
+ # the shared library libxfreerdp-server.so.
|
||||
+ set_property(TARGET ${MODULE_NAME} PROPERTY POSITION_INDEPENDENT_CODE TRUE)
|
||||
+endif()
|
||||
+
|
||||
export_complex_library(LIBNAME ${MODULE_NAME})
|
||||
@@ -1,30 +0,0 @@
|
||||
From 605d0a85183d2f9d5b0da5629cbadf01173bbb2f Mon Sep 17 00:00:00 2001
|
||||
From: Scott Fan <fancp2007@gmail.com>
|
||||
Date: Mon, 13 Jul 2015 15:01:17 +0800
|
||||
Subject: [PATCH] Add support for tz package
|
||||
|
||||
Fixes error message while freerdp connected the remote desktop:
|
||||
Unable to detect time zone
|
||||
|
||||
Signed-off-by: Scott Fan <fancp2007@gmail.com>
|
||||
---
|
||||
libfreerdp/locale/timezone.c | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/libfreerdp/locale/timezone.c b/libfreerdp/locale/timezone.c
|
||||
index 3070f1f..4a06786 100644
|
||||
--- a/libfreerdp/locale/timezone.c
|
||||
+++ b/libfreerdp/locale/timezone.c
|
||||
@@ -1539,7 +1539,8 @@ char* freerdp_get_unix_timezone_identifier()
|
||||
* America/Montreal for example.
|
||||
*/
|
||||
|
||||
- if ((len = readlink("/etc/localtime", buf, sizeof(buf) - 1)) != -1)
|
||||
+ if ((len = readlink("/etc/localtime", buf, sizeof(buf) - 1)) != -1 ||
|
||||
+ (len = readlink("/etc/TZ", buf, sizeof(buf) - 1)) != -1)
|
||||
{
|
||||
int num = 0;
|
||||
int pos = len;
|
||||
--
|
||||
2.4.5
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
libwinpr/comm_seria: fix missing define
|
||||
|
||||
FreeRDP uses CMSPAR, which is defined by glibc in bits/termios.h .
|
||||
|
||||
glibc has two flavours of bits/termios.h: a genmeric one and an
|
||||
architecture-specific one. When installing, glibc will install the
|
||||
architecture-specific file if it exists, otherwise it installs the
|
||||
generic file. Only Alpha, MIPS, PPC and Sparc have their own
|
||||
bits/termios.h.
|
||||
|
||||
The generic bits/termios.h, as well as the Alpha, PPC and Sparc flavours
|
||||
do define CMSPAR. However, the MIPS flavour does not define it.
|
||||
|
||||
Define CMSPAR to the value from the generic value, which is also the
|
||||
value known to the Linux kernel for MIPS.
|
||||
|
||||
Fixes:
|
||||
http://autobuild.buildroot.org/results/0b4/0b4793f0bf9f4c57933897f3480054a4e06528ad/
|
||||
http://autobuild.buildroot.org/results/7a2/7a2284d0a2987158fa2e78f789b07c8c6fcdb974/
|
||||
http://autobuild.buildroot.org/results/387/3874088c3ccd4bbf76ea0c911ca1ef64c7dc9d1c/
|
||||
...
|
||||
|
||||
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
|
||||
Cc: Peter Korsgaard <jacmet@uclibc.org>
|
||||
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
|
||||
diff -durN freerdp-17834af7bb378f85a3b3cc4dcadaa5125a337e16.orig/winpr/libwinpr/comm/comm_serial_sys.c freerdp-17834af7bb378f85a3b3cc4dcadaa5125a337e16/winpr/libwinpr/comm/comm_serial_sys.c
|
||||
--- freerdp-17834af7bb378f85a3b3cc4dcadaa5125a337e16.orig/winpr/libwinpr/comm/comm_serial_sys.c 2015-09-04 16:20:17.000000000 +0100
|
||||
+++ freerdp-17834af7bb378f85a3b3cc4dcadaa5125a337e16/winpr/libwinpr/comm/comm_serial_sys.c 2015-10-04 11:07:41.868513726 +0100
|
||||
@@ -27,6 +27,14 @@
|
||||
#include <fcntl.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <termios.h>
|
||||
+
|
||||
+/* glibc for MIPS has its own bits/termios.h which does not define
|
||||
+ * CMSPAR, so we vampirise the value from the generic bits/termios.h
|
||||
+ */
|
||||
+#ifndef CMSPAR
|
||||
+#define CMSPAR 010000000000
|
||||
+#endif
|
||||
+
|
||||
#include <unistd.h>
|
||||
|
||||
#include "comm_serial_sys.h"
|
||||
@@ -1,74 +0,0 @@
|
||||
From b7b66968f93f6ce75dd06d12638e14029bf3717b Mon Sep 17 00:00:00 2001
|
||||
From: Alexis Ballier <aballier@gentoo.org>
|
||||
Date: Thu, 17 Sep 2015 10:36:44 +0200
|
||||
Subject: [PATCH] channels/tsmf/client/ffmpeg: Fix build with ffmpeg git
|
||||
master.
|
||||
|
||||
Replace old, deprecated and now removed, APIs with their new equivalent while retaining backward compatibility with old ffmpeg versions.
|
||||
|
||||
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||||
[Downloaded from upstream commit:
|
||||
https://github.com/FreeRDP/FreeRDP/commit/f8ceb3f6061583c650bd4f6cddc10bc0471f2076]
|
||||
---
|
||||
channels/tsmf/client/ffmpeg/tsmf_ffmpeg.c | 17 ++++++++++++++++-
|
||||
1 file changed, 16 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/channels/tsmf/client/ffmpeg/tsmf_ffmpeg.c b/channels/tsmf/client/ffmpeg/tsmf_ffmpeg.c
|
||||
index d0880e7..e1b9f83 100644
|
||||
--- a/channels/tsmf/client/ffmpeg/tsmf_ffmpeg.c
|
||||
+++ b/channels/tsmf/client/ffmpeg/tsmf_ffmpeg.c
|
||||
@@ -61,6 +61,9 @@
|
||||
#define AV_CODEC_ID_AC3 CODEC_ID_AC3
|
||||
#endif
|
||||
|
||||
+#if LIBAVUTIL_VERSION_MAJOR < 52
|
||||
+#define AV_PIX_FMT_YUV420P PIX_FMT_YUV420P
|
||||
+#endif
|
||||
|
||||
typedef struct _TSMFFFmpegDecoder
|
||||
{
|
||||
@@ -102,7 +105,11 @@ static BOOL tsmf_ffmpeg_init_video_stream(ITSMFDecoder* decoder, const TS_AM_MED
|
||||
mdecoder->codec_context->bit_rate = media_type->BitRate;
|
||||
mdecoder->codec_context->time_base.den = media_type->SamplesPerSecond.Numerator;
|
||||
mdecoder->codec_context->time_base.num = media_type->SamplesPerSecond.Denominator;
|
||||
+#if LIBAVCODEC_VERSION_MAJOR < 55
|
||||
mdecoder->frame = avcodec_alloc_frame();
|
||||
+#else
|
||||
+ mdecoder->frame = av_frame_alloc();
|
||||
+#endif
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
@@ -328,7 +335,11 @@ static BOOL tsmf_ffmpeg_decode_video(ITSMFDecoder* decoder, const BYTE *data, UI
|
||||
if (!mdecoder->decoded_data)
|
||||
return FALSE;
|
||||
|
||||
+#if LIBAVCODEC_VERSION_MAJOR < 55
|
||||
frame = avcodec_alloc_frame();
|
||||
+#else
|
||||
+ frame = av_frame_alloc();
|
||||
+#endif
|
||||
avpicture_fill((AVPicture*) frame, mdecoder->decoded_data,
|
||||
mdecoder->codec_context->pix_fmt,
|
||||
mdecoder->codec_context->width, mdecoder->codec_context->height);
|
||||
@@ -400,7 +411,11 @@ static BOOL tsmf_ffmpeg_decode_audio(ITSMFDecoder* decoder, const BYTE *data, UI
|
||||
(int16_t *) dst, &frame_size, src, src_size);
|
||||
#else
|
||||
{
|
||||
+#if LIBAVCODEC_VERSION_MAJOR < 55
|
||||
AVFrame *decoded_frame = avcodec_alloc_frame();
|
||||
+#else
|
||||
+ AVFrame *decoded_frame = av_frame_alloc();
|
||||
+#endif
|
||||
int got_frame = 0;
|
||||
AVPacket pkt;
|
||||
av_init_packet(&pkt);
|
||||
@@ -480,7 +495,7 @@ static UINT32 tsmf_ffmpeg_get_decoded_format(ITSMFDecoder* decoder)
|
||||
|
||||
switch (mdecoder->codec_context->pix_fmt)
|
||||
{
|
||||
- case PIX_FMT_YUV420P:
|
||||
+ case AV_PIX_FMT_YUV420P:
|
||||
return RDP_PIXFMT_I420;
|
||||
default:
|
||||
WLog_ERR(TAG, "unsupported pixel format %u",
|
||||
@@ -81,6 +81,7 @@ config BR2_PACKAGE_FREERDP_CLIENT_WL
|
||||
bool "wayland client"
|
||||
default y
|
||||
depends on BR2_PACKAGE_WAYLAND
|
||||
select BR2_PACKAGE_LIBXKBCOMMON
|
||||
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 1db496cca391f76382ef284db2d0306d5c15bf515ee2c964319c22272d969a32 freerdp-17834af7bb378f85a3b3cc4dcadaa5125a337e16.tar.gz
|
||||
sha256 68e0e3db638a9cc00b978815d9eabedffc23f4410dcaa7a7548bb751766d5b3e freerdp-2.0.0-rc0.tar.gz
|
||||
sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE
|
||||
|
||||
@@ -4,8 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
# Changeset on the master branch
|
||||
FREERDP_VERSION = 17834af7bb378f85a3b3cc4dcadaa5125a337e16
|
||||
FREERDP_VERSION = 2.0.0-rc0
|
||||
FREERDP_SITE = $(call github,FreeRDP,FreeRDP,$(FREERDP_VERSION))
|
||||
FREERDP_DEPENDENCIES = libglib2 openssl zlib
|
||||
FREERDP_LICENSE = Apache-2.0
|
||||
@@ -17,7 +16,7 @@ FREERDP_CONF_OPTS = -DWITH_MANPAGES=OFF -Wno-dev
|
||||
|
||||
ifeq ($(BR2_PACKAGE_FREERDP_GSTREAMER),y)
|
||||
FREERDP_CONF_OPTS += -DWITH_GSTREAMER_0_10=ON
|
||||
FREERDP_DEPENDENCIES += gstreamer gst-plugins-base libxml2 host-pkgconf
|
||||
FREERDP_DEPENDENCIES += gstreamer gst-plugins-base libxml2
|
||||
else
|
||||
FREERDP_CONF_OPTS += -DWITH_GSTREAMER_0_10=OFF
|
||||
endif
|
||||
@@ -57,6 +56,14 @@ else
|
||||
FREERDP_CONF_OPTS += -DWITH_PULSEAUDIO=OFF
|
||||
endif
|
||||
|
||||
# For the systemd journal
|
||||
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
|
||||
FREERDP_CONF_OPTS += -DWITH_LIBSYSTEMD=ON
|
||||
FREERDP_DEPENDENCIES += systemd
|
||||
else
|
||||
FREERDP_CONF_OPTS += -DWITH_LIBSYSTEMD=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_ARM_CPU_HAS_NEON),y)
|
||||
FREERDP_CONF_OPTS += -DWITH_NEON=ON
|
||||
else
|
||||
@@ -191,9 +198,11 @@ else
|
||||
FREERDP_CONF_OPTS += -DWITH_XV=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_WAYLAND),y)
|
||||
FREERDP_DEPENDENCIES += wayland
|
||||
FREERDP_CONF_OPTS += -DWITH_WAYLAND=ON
|
||||
ifeq ($(BR2_PACKAGE_FREERDP_CLIENT_WL),y)
|
||||
FREERDP_DEPENDENCIES += wayland libxkbcommon
|
||||
FREERDP_CONF_OPTS += \
|
||||
-DWITH_WAYLAND=ON \
|
||||
-DWAYLAND_SCANNER=$(HOST_DIR)/bin/wayland-scanner
|
||||
else
|
||||
FREERDP_CONF_OPTS += -DWITH_WAYLAND=OFF
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user