aboutsummaryrefslogtreecommitdiffstats
path: root/net/freerdp1
diff options
context:
space:
mode:
authorwoodsb02 <woodsb02@FreeBSD.org>2016-12-11 12:36:57 +0800
committerwoodsb02 <woodsb02@FreeBSD.org>2016-12-11 12:36:57 +0800
commitdac76f0fb5585dedb46f30b9d53af02a8fc41545 (patch)
tree3b8430d61957c595f3da0c8c31c214506f0917ca /net/freerdp1
parent09c2b17976992056875d211d9cf174c736d677f1 (diff)
downloadfreebsd-ports-gnome-dac76f0fb5585dedb46f30b9d53af02a8fc41545.tar.gz
freebsd-ports-gnome-dac76f0fb5585dedb46f30b9d53af02a8fc41545.tar.zst
freebsd-ports-gnome-dac76f0fb5585dedb46f30b9d53af02a8fc41545.zip
net/freerdp: Update to 2.0.0 pre-release (GitHub as of 2016.11.24)
- This update brings in the latest 2 years of FreeRDP project work, which has had a long time between tagging releases. - Remove DIRECTFB option, as it no longer compiles, and gets little upstream maintenance - Use NEON on aarch64, and optionally on armv6 - Mark as broken on armv6 on FreeBSD 11.0-RELEASE and early versions of 12.0-CURRENT - Fix issue with X11_USE=xorg= being truncated due to whitespace as it wrapped over multiple lines - Move installed *.cmake files to correct location for modules net/freerdp1: - create new port based on previous net/freerdp 1.2.0, as it is required by net/guacamole-server net/vinagre: - patch to work with the new version of net/freerdp 2.0.0 net/guacamole-server: - patch to work with net/freerdp1 PR: 212004 PR: 214956 Submitted by: Kyle Evans (maintainer) Reported by: John Hein <z7dr6ut7gs@snkmail.com> Reviewed by: Mikael Urankar <mikael.urankar@gmail.com> Reviewed by: Ting-Wei Lan <lantw44@gmail.com> Reviewed by: Antenore Gatta <antenore@simbiosi.org> Reviewed by: amdmi3 Approved by: adamw (mentor) Differential Revision: https://reviews.freebsd.org/D8712
Diffstat (limited to 'net/freerdp1')
-rw-r--r--net/freerdp1/Makefile97
-rw-r--r--net/freerdp1/distinfo3
-rw-r--r--net/freerdp1/files/patch-client_X11_CMakeLists.txt70
-rw-r--r--net/freerdp1/files/patch-client_X11_ModuleOptions.cmake8
-rw-r--r--net/freerdp1/files/patch-client_X11_cli_CMakeLists.txt23
-rw-r--r--net/freerdp1/files/patch-client_X11_xfreerdp.1.xml.in37
-rw-r--r--net/freerdp1/files/patch-client_common_CMakeLists.txt20
-rw-r--r--net/freerdp1/files/patch-cmake-FindOpenSSL.cmake11
-rw-r--r--net/freerdp1/files/patch-cmake_ConfigOptions.cmake11
-rw-r--r--net/freerdp1/files/patch-cmake_FindGStreamer_1_0.cmake16
-rw-r--r--net/freerdp1/files/patch-ffmpeg2977
-rw-r--r--net/freerdp1/files/patch-freerdp.pc.in12
-rw-r--r--net/freerdp1/files/patch-git_1b663cef57
-rw-r--r--net/freerdp1/files/patch-git_434436b774
-rw-r--r--net/freerdp1/files/patch-libfreerdp-locale-timezone.c42
-rw-r--r--net/freerdp1/files/patch-libfreerdp_CMakeLists.txt19
-rw-r--r--net/freerdp1/files/patch-winpr.pc.in12
-rw-r--r--net/freerdp1/files/patch-winpr_tools_hash_CMakeLists.txt11
-rw-r--r--net/freerdp1/files/patch-winpr_tools_makecert_CMakeLists.txt11
-rw-r--r--net/freerdp1/files/patch-z001-CMakeLists.txt13
-rw-r--r--net/freerdp1/pkg-descr6
-rw-r--r--net/freerdp1/pkg-plist248
22 files changed, 878 insertions, 0 deletions
diff --git a/net/freerdp1/Makefile b/net/freerdp1/Makefile
new file mode 100644
index 000000000000..6c87afdd8faf
--- /dev/null
+++ b/net/freerdp1/Makefile
@@ -0,0 +1,97 @@
+# Created by: Alexander Logvinov <avl@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= freerdp
+PORTVERSION= 1.2.0
+CATEGORIES= net comms ipv6
+PKGNAMESUFFIX= 1
+
+MAINTAINER= bsdports@kyle-evans.net
+COMMENT= Free implementation of Remote Desktop Protocol
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USE_LDCONFIG= yes
+USES= alias cmake:outsource cpe execinfo pathfix pkgconfig compiler:c++11-lib ssl
+USE_GITHUB= yes
+GH_ACCOUNT= FreeRDP
+GH_PROJECT= ${GH_ACCOUNT}
+GH_TAGNAME= f5ff6e1
+
+CPE_VENDOR= freerdp_project
+
+LDFLAGS+= -L${LOCALBASE}/lib
+CFLAGS+= -I${WRKSRC}/include -I${WRKSRC}/winpr/include -I${LOCALBASE}/include
+
+OPTIONS_DEFINE= ALSA CUPS DIRECTFB FFMPEG GSTREAMER PULSEAUDIO SSE X11
+OPTIONS_DEFAULT= CUPS GSTREAMER X11
+OPTIONS_SUB= yes
+
+ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib
+ALSA_CMAKE_ON= -DWITH_ALSA=ON
+ALSA_CMAKE_OFF= -DWITH_ALSA=OFF
+
+CUPS_LIB_DEPENDS= libcups.so:print/cups
+CUPS_CMAKE_ON= -DWITH_CUPS=ON
+CUPS_CMAKE_OFF= -DWITH_CUPS=OFF
+
+# outdated and unmaintained upstream
+DIRECTFB_DESC= Build FreeRDP DirectFB client (outdated)
+DIRECTFB_LIB_DEPENDS= libdirectfb.so:devel/directfb
+DIRECTFB_CMAKE_ON= -DWITH_DIRECTFB=ON
+DIRECTFB_CMAKE_OFF= -DWITH_DIRECTFB=OFF
+# currently DirectFB option fails with clang
+DIRECTFB_USE= gcc=yes
+
+FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \
+ libavutil.so:multimedia/ffmpeg
+FFMPEG_CMAKE_ON= -DWITH_FFMPEG=ON
+FFMPEG_CMAKE_OFF= -DWITH_FFMPEG=OFF
+
+GSTREAMER_CMAKE_ON= -DWITH_GSTREAMER_1_0=ON -DWITH_GSTREAMER_0_10=OFF
+GSTREAMER_CMAKE_OFF= -DWITH_GSTREAMER_1_0=OFF -DWITH_GSTREAMER_0_10=OFF
+GSTREAMER_USE= gstreamer1=yes xorg=x11,xextproto,xext,xrandr
+
+PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
+PULSEAUDIO_CMAKE_ON= -DWITH_PULSE=ON
+PULSEAUDIO_CMAKE_OFF= -DWITH_PULSE=OFF
+
+SSE_CMAKE_ON= -DWITH_SSE2=ON
+SSE_CMAKE_OFF= -DWITH_SSE2=OFF
+
+X11_DESC= Build FreeRDP X11 client
+X11_BUILD_DEPENDS= xmlto:textproc/xmlto
+X11_CMAKE_ON= -DWITH_X11=ON
+X11_CMAKE_OFF= -DWITH_X11=OFF -DWITH_XKBFILE=OFF
+X11_USE= xorg=x11,xkbfile,xcursor,xextproto,xv,xinerama,xext \
+ xcursor,xrandr,xi,xfixes,xrender
+
+.include <bsd.port.options.mk>
+
+post-patch:
+ @${FIND} ${WRKSRC} -name 'CMakeLists.txt' | ${XARGS} \
+ ${REINPLACE_CMD} \
+ -e 's|list(APPEND $${MODULE_PREFIX}_LIBS freerdp)|list(APPEND $${MODULE_PREFIX}_LIBS freerdp1)|' \
+ -e 's|list(APPEND $${MODULE_PREFIX}_LIBS winpr)|list(APPEND $${MODULE_PREFIX}_LIBS winpr1)|'
+ @${FIND} ${WRKSRC} -name 'CMakeLists.txt' | ${XARGS} \
+ ${REINPLACE_CMD} -E \
+ -e 's|freerdp winpr|freerdp1 winpr1|' \
+ -e 's|winpr freerdp|winpr1 freerdp1|' \
+ -e 's|-lwinpr|-lwinpr1|' \
+ -e 's|-lfreerdp|-lfreerdp1|' \
+ -e 's|^([[:blank:]]*)target_link_libraries\((.+) freerdp\)([[:blank:]]*)$$|\1target_link_libraries(\2 freerdp1)\3|' \
+ -e 's|^([[:blank:]]*)target_link_libraries\((.+) winpr\)([[:blank:]]*)$$|\1target_link_libraries(\2 winpr1)\3|' \
+ -e 's|^([[:blank:]]*)set\((.+) freerdp (.+) winpr\)([[:blank:]]*)$$|\1set(\2 freerdp1 \3 winpr1)\4|' \
+ -e 's|^([[:blank:]]*)set\((.+) winpr\)([[:blank:]]*)$$|\1set(\2 winpr1)\3|'
+ @${REINPLACE_CMD} -e 's|share/man/man1|man/man1|' \
+ ${WRKSRC}/client/X11/CMakeLists.txt
+ @${REINPLACE_CMD} -e 's/NetBSD__)/NetBSD__) || defined(__FreeBSD__)/' \
+ ${WRKSRC}/winpr/libwinpr/utils/trio/triodef.h
+ @${REINPLACE_CMD} -e 's|<malloc.h>|<stdlib.h>|' \
+ ${WRKSRC}/channels/drive/client/statvfs.c
+ @${REINPLACE_CMD} -e 's|$${CMAKE_INSTALL_LIBDIR}/cmake|$${CMAKE_INSTALL_PREFIX}/share/cmake/Modules|' \
+ ${WRKSRC}/winpr/CMakeLists.txt \
+ ${WRKSRC}/CMakeLists.txt
+
+.include <bsd.port.mk>
diff --git a/net/freerdp1/distinfo b/net/freerdp1/distinfo
new file mode 100644
index 000000000000..4fbc40f7106b
--- /dev/null
+++ b/net/freerdp1/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1470755086
+SHA256 (FreeRDP-FreeRDP-1.2.0-f5ff6e1_GH0.tar.gz) = f39c7eaa007a3aef580f364f8f5c0b9208c6c3c8f5f00a4c0ed020a81535eb32
+SIZE (FreeRDP-FreeRDP-1.2.0-f5ff6e1_GH0.tar.gz) = 6033856
diff --git a/net/freerdp1/files/patch-client_X11_CMakeLists.txt b/net/freerdp1/files/patch-client_X11_CMakeLists.txt
new file mode 100644
index 000000000000..bee5a38a474c
--- /dev/null
+++ b/net/freerdp1/files/patch-client_X11_CMakeLists.txt
@@ -0,0 +1,70 @@
+--- client/X11/CMakeLists.txt.orig 2016-12-04 14:35:40 UTC
++++ client/X11/CMakeLists.txt
+@@ -16,7 +16,7 @@
+ # See the License for the specific language governing permissions and
+ # limitations under the License.
+
+-set(MODULE_NAME "xfreerdp-client")
++set(MODULE_NAME "xfreerdp1-client")
+ set(MODULE_PREFIX "FREERDP_CLIENT_X11_CONTROL")
+
+ include(FindDocBookXSL)
+@@ -66,7 +66,7 @@ if(WITH_CLIENT_INTERFACE)
+ else()
+ set(${MODULE_PREFIX}_SRCS ${${MODULE_PREFIX}_SRCS} cli/xfreerdp.c cli/xfreerdp.h)
+ add_executable(${MODULE_NAME} ${${MODULE_PREFIX}_SRCS})
+- set_target_properties(${MODULE_NAME} PROPERTIES OUTPUT_NAME "xfreerdp")
++ set_target_properties(${MODULE_NAME} PROPERTIES OUTPUT_NAME "xfreerdp1")
+ endif()
+
+ set(${MODULE_PREFIX}_LIBS
+@@ -84,31 +84,31 @@ if(WITH_MANPAGES)
+
+ TODAY(MAN_TODAY)
+
+- configure_file(xfreerdp.1.xml.in xfreerdp.1.xml @ONLY IMMEDIATE)
++ configure_file(xfreerdp.1.xml.in xfreerdp1.1.xml @ONLY IMMEDIATE)
+
+ add_executable(generate_argument_docbook generate_argument_docbook.c)
+
+- set(GAD_LIBS freerdp-client)
+- target_link_libraries(generate_argument_docbook ${GAD_LIBS} freerdp winpr)
++ set(GAD_LIBS freerdp1-client)
++ target_link_libraries(generate_argument_docbook ${GAD_LIBS} freerdp1 winpr1)
+
+- add_custom_command(OUTPUT xfreerdp.1
++ add_custom_command(OUTPUT xfreerdp1.1
+ COMMAND generate_argument_docbook
+ COMMAND ${CMAKE_COMMAND} -E copy
+ ${CMAKE_CURRENT_SOURCE_DIR}/xfreerdp-channels.1.xml ${CMAKE_CURRENT_BINARY_DIR}
+ COMMAND ${CMAKE_COMMAND} -E copy
+ ${CMAKE_CURRENT_SOURCE_DIR}/xfreerdp-examples.1.xml ${CMAKE_CURRENT_BINARY_DIR}
+- COMMAND ${XSLTPROC_EXECUTABLE} ${DOCBOOKXSL_DIR}/manpages/docbook.xsl xfreerdp.1.xml
++ COMMAND ${XSLTPROC_EXECUTABLE} ${DOCBOOKXSL_DIR}/manpages/docbook.xsl xfreerdp1.1.xml
+ WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+ DEPENDS
+- ${CMAKE_CURRENT_BINARY_DIR}/xfreerdp.1.xml
++ ${CMAKE_CURRENT_BINARY_DIR}/xfreerdp1.1.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/xfreerdp-examples.1.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/xfreerdp-channels.1.xml
+ generate_argument_docbook)
+
+- add_custom_target(xfreerdp.manpage ALL
+- DEPENDS xfreerdp.1)
++ add_custom_target(xfreerdp1.manpage ALL
++ DEPENDS xfreerdp1.1)
+
+- install(FILES ${CMAKE_CURRENT_BINARY_DIR}/xfreerdp.1 DESTINATION share/man/man1)
++ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/xfreerdp1.1 DESTINATION man/man1)
+ else()
+ message(WARNING "WITH_MANPAGES was set, but xsltproc was not found. man-pages will not be installed")
+ endif()
+@@ -199,7 +199,7 @@ endif()
+
+ include_directories(${CMAKE_SOURCE_DIR}/resources)
+
+-set(${MODULE_PREFIX}_LIBS ${${MODULE_PREFIX}_LIBS} freerdp freerdp-client)
++set(${MODULE_PREFIX}_LIBS ${${MODULE_PREFIX}_LIBS} freerdp1 freerdp1-client)
+ target_link_libraries(${MODULE_NAME} ${${MODULE_PREFIX}_LIBS})
+
+ if(WITH_IPP)
diff --git a/net/freerdp1/files/patch-client_X11_ModuleOptions.cmake b/net/freerdp1/files/patch-client_X11_ModuleOptions.cmake
new file mode 100644
index 000000000000..0a49213fc2df
--- /dev/null
+++ b/net/freerdp1/files/patch-client_X11_ModuleOptions.cmake
@@ -0,0 +1,8 @@
+--- client/X11/ModuleOptions.cmake.orig 2014-09-11 22:46:32 UTC
++++ client/X11/ModuleOptions.cmake
+@@ -1,4 +1,4 @@
+
+-set(FREERDP_CLIENT_NAME "xfreerdp")
++set(FREERDP_CLIENT_NAME "xfreerdp1")
+ set(FREERDP_CLIENT_PLATFORM "X11")
+ set(FREERDP_CLIENT_VENDOR "FreeRDP")
diff --git a/net/freerdp1/files/patch-client_X11_cli_CMakeLists.txt b/net/freerdp1/files/patch-client_X11_cli_CMakeLists.txt
new file mode 100644
index 000000000000..5ee19c1a63b4
--- /dev/null
+++ b/net/freerdp1/files/patch-client_X11_cli_CMakeLists.txt
@@ -0,0 +1,23 @@
+--- client/X11/cli/CMakeLists.txt.orig 2016-12-04 14:35:40 UTC
++++ client/X11/cli/CMakeLists.txt
+@@ -15,7 +15,7 @@
+ # See the License for the specific language governing permissions and
+ # limitations under the License.
+
+-set(MODULE_NAME "xfreerdp-cli")
++set(MODULE_NAME "xfreerdp1-cli")
+ set(MODULE_PREFIX "FREERDP_CLIENT_X11")
+
+ include_directories(..)
+@@ -24,9 +24,9 @@ set(${MODULE_PREFIX}_SRCS
+ xfreerdp.c)
+
+ add_executable(${MODULE_NAME} ${${MODULE_PREFIX}_SRCS})
+-set_target_properties(${MODULE_NAME} PROPERTIES OUTPUT_NAME "xfreerdp" RUNTIME_OUTPUT_DIRECTORY "..")
++set_target_properties(${MODULE_NAME} PROPERTIES OUTPUT_NAME "xfreerdp1" RUNTIME_OUTPUT_DIRECTORY "..")
+
+-set(${MODULE_PREFIX}_LIBS ${${MODULE_PREFIX}_LIBS} xfreerdp-client)
++set(${MODULE_PREFIX}_LIBS ${${MODULE_PREFIX}_LIBS} xfreerdp1-client)
+
+ target_link_libraries(${MODULE_NAME} ${${MODULE_PREFIX}_LIBS})
+
diff --git a/net/freerdp1/files/patch-client_X11_xfreerdp.1.xml.in b/net/freerdp1/files/patch-client_X11_xfreerdp.1.xml.in
new file mode 100644
index 000000000000..0f219a987938
--- /dev/null
+++ b/net/freerdp1/files/patch-client_X11_xfreerdp.1.xml.in
@@ -0,0 +1,37 @@
+--- client/X11/xfreerdp.1.xml.in.orig 2014-09-11 22:46:32 UTC
++++ client/X11/xfreerdp.1.xml.in
+@@ -16,13 +16,13 @@ PUBLIC "-//OASIS//DTD DocBook XML V4.5//
+ </author>
+ </refentryinfo>
+ <refmeta>
+- <refentrytitle>xfreerdp</refentrytitle>
++ <refentrytitle>xfreerdp1</refentrytitle>
+ <manvolnum>1</manvolnum>
+ <refmiscinfo class="source">freerdp</refmiscinfo>
+- <refmiscinfo class="manual">xfreerdp</refmiscinfo>
++ <refmiscinfo class="manual">xfreerdp1</refmiscinfo>
+ </refmeta>
+ <refnamediv>
+- <refname><application>xfreerdp</application></refname>
++ <refname><application>xfreerdp1</application></refname>
+ <refpurpose>FreeRDP X11 client</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+@@ -30,7 +30,7 @@ PUBLIC "-//OASIS//DTD DocBook XML V4.5//
+ <date>@MAN_TODAY@</date>
+ </refsynopsisdivinfo>
+ <para>
+- <command>xfreerdp</command> [file] [options] [/v:server[:port]]
++ <command>xfreerdp1</command> [file] [options] [/v:server[:port]]
+ </para>
+ </refsynopsisdiv>
+ <refsect1>
+@@ -39,7 +39,7 @@ PUBLIC "-//OASIS//DTD DocBook XML V4.5//
+ </refsect1info>
+ <title>DESCRIPTION</title>
+ <para>
+- <command>xfreerdp</command> is an X11 Remote Desktop Protocol (RDP)
++ <command>xfreerdp1</command> is an X11 Remote Desktop Protocol (RDP)
+ client which is part of the FreeRDP project. An RDP server is built-in
+ to many editions of Windows. Alternative servers included xrdp and VRDP (VirtualBox).
+ </para>
diff --git a/net/freerdp1/files/patch-client_common_CMakeLists.txt b/net/freerdp1/files/patch-client_common_CMakeLists.txt
new file mode 100644
index 000000000000..8d33cbb4a7f4
--- /dev/null
+++ b/net/freerdp1/files/patch-client_common_CMakeLists.txt
@@ -0,0 +1,20 @@
+--- client/common/CMakeLists.txt.orig 2016-12-04 15:05:17 UTC
++++ client/common/CMakeLists.txt
+@@ -15,7 +15,7 @@
+ # See the License for the specific language governing permissions and
+ # limitations under the License.
+
+-set(MODULE_NAME "freerdp-client")
++set(MODULE_NAME "freerdp1-client")
+ set(MODULE_PREFIX "FREERDP_CLIENT")
+
+ # Policy CMP0022: INTERFACE_LINK_LIBRARIES defines the link
+@@ -58,7 +58,7 @@ set(${MODULE_PREFIX}_LIBS ${${MODULE_PRE
+ set(${MODULE_PREFIX}_LIBS ${${MODULE_PREFIX}_LIBS}
+ ${OPENSSL_LIBRARIES} ${ZLIB_LIBRARIES})
+
+-set(${MODULE_PREFIX}_LIBS ${${MODULE_PREFIX}_LIBS} winpr freerdp)
++set(${MODULE_PREFIX}_LIBS ${${MODULE_PREFIX}_LIBS} winpr1 freerdp1)
+
+ target_link_libraries(${MODULE_NAME} ${${MODULE_PREFIX}_LIBS})
+
diff --git a/net/freerdp1/files/patch-cmake-FindOpenSSL.cmake b/net/freerdp1/files/patch-cmake-FindOpenSSL.cmake
new file mode 100644
index 000000000000..ca2a8c0f075c
--- /dev/null
+++ b/net/freerdp1/files/patch-cmake-FindOpenSSL.cmake
@@ -0,0 +1,11 @@
+--- cmake/FindOpenSSL.cmake.orig 2013-07-10 04:00:21.000000000 -0400
++++ cmake/FindOpenSSL.cmake 2015-03-25 19:26:35.154024000 -0400
+@@ -270,7 +270,7 @@
+ set(OPENSSL_VERSION "${_OPENSSL_VERSION}")
+ elseif(OPENSSL_INCLUDE_DIR AND EXISTS "${OPENSSL_INCLUDE_DIR}/openssl/opensslv.h")
+ file(STRINGS "${OPENSSL_INCLUDE_DIR}/openssl/opensslv.h" openssl_version_str
+- REGEX "^#define[\t ]+OPENSSL_VERSION_NUMBER[\t ]+0x([0-9a-fA-F])+.*")
++ REGEX "^#[\t ]*define[\t ]+OPENSSL_VERSION_NUMBER[\t ]+0x([0-9a-fA-F])+.*")
+
+ # The version number is encoded as 0xMNNFFPPS: major minor fix patch status
+ # The status gives if this is a developer or prerelease and is ignored here.
diff --git a/net/freerdp1/files/patch-cmake_ConfigOptions.cmake b/net/freerdp1/files/patch-cmake_ConfigOptions.cmake
new file mode 100644
index 000000000000..f99ac8a71da8
--- /dev/null
+++ b/net/freerdp1/files/patch-cmake_ConfigOptions.cmake
@@ -0,0 +1,11 @@
+--- cmake/ConfigOptions.cmake.orig 2015-11-29 19:53:58 UTC
++++ cmake/ConfigOptions.cmake
+@@ -6,7 +6,7 @@ elseif((CMAKE_SYSTEM_PROCESSOR MATCHES "
+ elseif((CMAKE_SYSTEM_PROCESSOR MATCHES "i386") AND (CMAKE_SIZEOF_VOID_P EQUAL 8) AND (APPLE))
+ # Mac is weird like that.
+ set(TARGET_ARCH "x64")
+-elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "arm*")
++elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^arm*")
+ set(TARGET_ARCH "ARM")
+ endif()
+
diff --git a/net/freerdp1/files/patch-cmake_FindGStreamer_1_0.cmake b/net/freerdp1/files/patch-cmake_FindGStreamer_1_0.cmake
new file mode 100644
index 000000000000..ca21ee35ad8f
--- /dev/null
+++ b/net/freerdp1/files/patch-cmake_FindGStreamer_1_0.cmake
@@ -0,0 +1,16 @@
+Don't use custom code to find the include dirs for gstreamer 1.0 (core).
+Since 1.6.0 there are multiple include paths. So use pkg-config to find
+which. IMO the rest of this file should use pkg-config....
+
+--- cmake/FindGStreamer_1_0.cmake.orig 2015-06-26 15:30:00.000000000 +0200
++++ cmake/FindGStreamer_1_0.cmake 2015-09-27 10:43:55.754514000 +0200
+@@ -78,7 +78,8 @@
+ # 1.1. Find headers and libraries
+ set(GLIB_ROOT_DIR ${GSTREAMER_1_0_ROOT_DIR})
+ find_package(Glib REQUIRED)
+-FIND_GSTREAMER_COMPONENT(GSTREAMER_1_0 gstreamer-1.0 gst/gst.h gstreamer-1.0)
++pkg_check_modules (GSTREAMER_1_0 gstreamer-1.0)
++#FIND_GSTREAMER_COMPONENT(GSTREAMER_1_0 gstreamer-1.0 gst/gst.h gstreamer-1.0)
+ FIND_GSTREAMER_COMPONENT(GSTREAMER_1_0_BASE gstreamer-base-1.0 gst/gst.h gstbase-1.0)
+
+ # 1.2. Check Gstreamer version
diff --git a/net/freerdp1/files/patch-ffmpeg29 b/net/freerdp1/files/patch-ffmpeg29
new file mode 100644
index 000000000000..0d7e6de57ebd
--- /dev/null
+++ b/net/freerdp1/files/patch-ffmpeg29
@@ -0,0 +1,77 @@
+Description: Replace deprecated FFmpeg API
+Author: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
+Last-Update: <2015-11-02>
+
+--- channels/tsmf/client/ffmpeg/tsmf_ffmpeg.c.orig 2016-06-11 21:12:27.134896000 +0200
++++ channels/tsmf/client/ffmpeg/tsmf_ffmpeg.c 2016-06-11 21:14:05.282247000 +0200
+@@ -103,7 +103,7 @@
+ 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;
+- mdecoder->frame = avcodec_alloc_frame();
++ mdecoder->frame = av_frame_alloc();
+ return TRUE;
+ }
+
+@@ -322,14 +322,14 @@
+ mdecoder->codec_context->width, mdecoder->codec_context->height);
+ mdecoder->decoded_data = malloc(mdecoder->decoded_size);
+ ZeroMemory(mdecoder->decoded_data, mdecoder->decoded_size);
+- frame = avcodec_alloc_frame();
++ frame = av_frame_alloc();
+ avpicture_fill((AVPicture *) frame, mdecoder->decoded_data,
+ mdecoder->codec_context->pix_fmt,
+ mdecoder->codec_context->width, mdecoder->codec_context->height);
+ av_picture_copy((AVPicture *) frame, (AVPicture *) mdecoder->frame,
+ mdecoder->codec_context->pix_fmt,
+ mdecoder->codec_context->width, mdecoder->codec_context->height);
+- av_free(frame);
++ av_frame_free(&frame);
+ }
+ return ret;
+ }
+@@ -385,7 +385,7 @@
+ (int16_t *) dst, &frame_size, src, src_size);
+ #else
+ {
+- AVFrame *decoded_frame = avcodec_alloc_frame();
++ AVFrame *decoded_frame = av_frame_alloc();
+ int got_frame = 0;
+ AVPacket pkt;
+ av_init_packet(&pkt);
+@@ -398,7 +398,7 @@
+ decoded_frame->nb_samples, mdecoder->codec_context->sample_fmt, 1);
+ memcpy(dst, decoded_frame->data[0], frame_size);
+ }
+- av_free(decoded_frame);
++ av_frame_free(&decoded_frame);
+ }
+ #endif
+ if(len <= 0 || frame_size <= 0)
+@@ -464,7 +464,7 @@
+ TSMFFFmpegDecoder *mdecoder = (TSMFFFmpegDecoder *) decoder;
+ switch(mdecoder->codec_context->pix_fmt)
+ {
+- case PIX_FMT_YUV420P:
++ case AV_PIX_FMT_YUV420P:
+ return RDP_PIXFMT_I420;
+ default:
+ CLOG_ERR("unsupported pixel format %u",
+@@ -492,7 +492,7 @@
+ {
+ TSMFFFmpegDecoder *mdecoder = (TSMFFFmpegDecoder *) decoder;
+ if(mdecoder->frame)
+- av_free(mdecoder->frame);
++ av_frame_free(&mdecoder->frame);
+ if(mdecoder->decoded_data)
+ free(mdecoder->decoded_data);
+ if(mdecoder->codec_context)
+@@ -501,7 +501,7 @@
+ avcodec_close(mdecoder->codec_context);
+ if(mdecoder->codec_context->extradata)
+ free(mdecoder->codec_context->extradata);
+- av_free(mdecoder->codec_context);
++ av_frame_free(&mdecoder->codec_context);
+ }
+ free(decoder);
+ }
diff --git a/net/freerdp1/files/patch-freerdp.pc.in b/net/freerdp1/files/patch-freerdp.pc.in
new file mode 100644
index 000000000000..7220ebccef41
--- /dev/null
+++ b/net/freerdp1/files/patch-freerdp.pc.in
@@ -0,0 +1,12 @@
+Index: freerdp.pc.in
+--- freerdp.pc.in.orig 2014-09-11 22:46:32 UTC
++++ freerdp.pc.in
+@@ -9,7 +9,7 @@ Description: FreeRDP: A Remote Desktop P
+ URL: http://www.freerdp.com/
+ Version: @FREERDP_VERSION_FULL@
+ Requires:
+-Requires.private: winpr zlib libssl
++Requires.private: winpr1
+ Libs: -L${libdir} ${libs}
+ Libs.private: -ldl -lpthread
+ Cflags: -I${includedir}
diff --git a/net/freerdp1/files/patch-git_1b663cef b/net/freerdp1/files/patch-git_1b663cef
new file mode 100644
index 000000000000..5d697c226490
--- /dev/null
+++ b/net/freerdp1/files/patch-git_1b663cef
@@ -0,0 +1,57 @@
+The patch below comes from upstream and has been slightly adjusted to apply
+on the tarball we build.
+
+From 1b663ceffe51008af7ae9749e5b7999b2f7d6698 Mon Sep 17 00:00:00 2001
+From: Bernhard Miklautz <bernhard.miklautz@shacknet.at>
+Date: Fri, 12 Dec 2014 18:26:45 +0100
+Subject: [PATCH] build: cmake 3.1 compatibility
+
+* fix problem with REMOVE_DUPLICATES on undefined lists
+* since 3.1 file(GLOB FILEPATHS RELATIVE .. returns single / instead of // as
+ previously - necessary adoptions for regex and matches done. Should
+ work with all cmake versions.
+
+Tested with 3.1.0-rc3
+--- channels/CMakeLists.txt
++++ channels/CMakeLists.txt
+@@ -202,8 +202,8 @@ set(FILENAME "ChannelOptions.cmake")
+ file(GLOB FILEPATHS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*/${FILENAME}")
+
+ foreach(FILEPATH ${FILEPATHS})
+- if(${FILEPATH} MATCHES "^([^/]*)//${FILENAME}")
+- string(REGEX REPLACE "^([^/]*)//${FILENAME}" "\\1" DIR ${FILEPATH})
++ if(${FILEPATH} MATCHES "^([^/]*)/+${FILENAME}")
++ string(REGEX REPLACE "^([^/]*)/+${FILENAME}" "\\1" DIR ${FILEPATH})
+ set(CHANNEL_OPTION)
+ include(${FILEPATH})
+ if(${CHANNEL_OPTION})
+--- channels/client/CMakeLists.txt
++++ channels/client/CMakeLists.txt
+@@ -24,7 +24,9 @@ set(${MODULE_PREFIX}_SRCS
+ ${CMAKE_CURRENT_SOURCE_DIR}/addin.c
+ ${CMAKE_CURRENT_SOURCE_DIR}/addin.h)
+
++if(CHANNEL_STATIC_CLIENT_ENTRIES)
+ list(REMOVE_DUPLICATES CHANNEL_STATIC_CLIENT_ENTRIES)
++endif()
+
+ foreach(STATIC_ENTRY ${CHANNEL_STATIC_CLIENT_ENTRIES})
+ foreach(STATIC_MODULE ${CHANNEL_STATIC_CLIENT_MODULES})
+--- third-party/CMakeLists.txt
++++ third-party/CMakeLists.txt
+@@ -22,11 +22,11 @@
+ file(GLOB all_valid_subdirs RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*/CMakeLists.txt")
+
+ foreach(dir ${all_valid_subdirs})
+- if(${dir} MATCHES "^([^/]*)//CMakeLists.txt")
+- string(REGEX REPLACE "^([^/]*)//CMakeLists.txt" "\\1" dir_trimmed ${dir})
++ if(${dir} MATCHES "^([^/]*)/+CMakeLists.txt")
++ string(REGEX REPLACE "^([^/]*)/+CMakeLists.txt" "\\1" dir_trimmed ${dir})
+ message(STATUS "Adding third-party component ${dir_trimmed}")
+ add_subdirectory(${dir_trimmed})
+ endif()
+ endforeach(dir)
+
+-set(THIRD_PARTY_INCLUDES ${THIRD_PARTY_INCLUDES} PARENT_SCOPE)
+\ No newline at end of file
++set(THIRD_PARTY_INCLUDES ${THIRD_PARTY_INCLUDES} PARENT_SCOPE)
diff --git a/net/freerdp1/files/patch-git_434436b7 b/net/freerdp1/files/patch-git_434436b7
new file mode 100644
index 000000000000..6db84088dede
--- /dev/null
+++ b/net/freerdp1/files/patch-git_434436b7
@@ -0,0 +1,74 @@
+From 434436b75f00c5475f66ff0f4062e168aa409688 Mon Sep 17 00:00:00 2001
+From: ivan-83 <rozhuk.im@gmail.com>
+Date: Tue, 10 Mar 2015 01:21:28 +0300
+Subject: [PATCH] * BSD/FreeBSD build fix
+
+---
+ CMakeLists.txt | 14 ++++++++++++++
+ winpr/libwinpr/synch/wait.c | 2 +-
+ winpr/libwinpr/sysinfo/sysinfo.c | 1 +
+ winpr/libwinpr/utils/CMakeLists.txt | 4 ++++
+ 4 files changed, 20 insertions(+), 1 deletion(-)
+
+diff CMakeLists.txt CMakeLists.txt
+index 0a9144a..386ae67 100644
+--- CMakeLists.txt
++++ CMakeLists.txt
+@@ -358,6 +358,14 @@ if(APPLE)
+ endif()
+ endif(APPLE)
+
++# BSD
++if(${CMAKE_SYSTEM_NAME} MATCHES "BSD")
++ set(BSD TRUE)
++ if(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
++ set(FREEBSD TRUE)
++ endif()
++endif()
++
+ # Android
+ if(ANDROID)
+ set(WITH_LIBRARY_VERSIONING "OFF")
+@@ -618,6 +626,12 @@ set(FREERDP_EXTENSION_PATH "${CMAKE_INSTALL_FULL_LIBDIR}/freerdp/extensions")
+ include_directories(${CMAKE_CURRENT_BINARY_DIR})
+ include_directories(${CMAKE_CURRENT_BINARY_DIR}/include)
+ include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include)
++if(BSD)
++ if(IS_DIRECTORY /usr/local/include)
++ include_directories(/usr/local/include)
++ link_directories(/usr/local/lib)
++ endif()
++endif()
+
+ # Configure files
+ add_definitions("-DHAVE_CONFIG_H")
+diff winpr/libwinpr/sysinfo/sysinfo.c winpr/libwinpr/sysinfo/sysinfo.c
+index 1529d54..457ab9d 100644
+--- winpr/libwinpr/sysinfo/sysinfo.c
++++ winpr/libwinpr/sysinfo/sysinfo.c
+@@ -54,6 +54,7 @@
+ #ifndef _WIN32
+
+ #include <time.h>
++#include <sys/time.h>
+
+ #ifdef HAVE_UNISTD_H
+ #include <unistd.h>
+diff winpr/libwinpr/utils/CMakeLists.txt winpr/libwinpr/utils/CMakeLists.txt
+index e524bf9..501f605 100644
+--- winpr/libwinpr/utils/CMakeLists.txt
++++ winpr/libwinpr/utils/CMakeLists.txt
+@@ -113,6 +113,10 @@ if(UNIX)
+ winpr_library_add(m)
+ endif()
+
++if(BSD)
++ winpr_library_add(execinfo)
++endif()
++
+ if(BUILD_TESTING)
+ add_subdirectory(test)
+ endif()
+--
+2.4.1
+
diff --git a/net/freerdp1/files/patch-libfreerdp-locale-timezone.c b/net/freerdp1/files/patch-libfreerdp-locale-timezone.c
new file mode 100644
index 000000000000..ee8d2e4bb070
--- /dev/null
+++ b/net/freerdp1/files/patch-libfreerdp-locale-timezone.c
@@ -0,0 +1,42 @@
+From f5dbe2c9a5fe050c1d7e014d3c1529befb8eea3b Mon Sep 17 00:00:00 2001
+From: ivan-83 <rozhuk.im@gmail.com>
+Date: Tue, 10 Mar 2015 04:40:47 +0300
+Subject: [PATCH] * FreeBSD timezone detection patch
+
+---
+ libfreerdp/locale/timezone.c | 15 +++++++++++----
+ 1 file changed, 11 insertions(+), 4 deletions(-)
+
+diff libfreerdp/locale/timezone.c libfreerdp/locale/timezone.c
+index 92b74e8..0375f9c 100644
+--- libfreerdp/locale/timezone.c
++++ libfreerdp/locale/timezone.c
+@@ -1521,8 +1523,11 @@ char* freerdp_get_unix_timezone_identifier()
+ return tzid;
+ }
+
++#ifdef __FreeBSD__
++ fp = fopen("/var/db/zoneinfo", "r");
++#else
+ fp = fopen("/etc/timezone", "r");
+-
++#endif
+ if (fp != NULL)
+ {
+ fseek(fp, 0, SEEK_END);
+@@ -1678,8 +1683,10 @@ void freerdp_time_zone_detect(TIME_ZONE_INFO* clientTimeZone)
+
+ #ifdef HAVE_TM_GMTOFF
+ #if defined(__FreeBSD__)
+- /*not the best solution, but could not get the right tyepcast*/
+- clientTimeZone->bias = 0;
++ if (local_time->tm_gmtoff >= 0)
++ clientTimeZone->bias = (UINT32) (local_time->tm_gmtoff / 60);
++ else
++ clientTimeZone->bias = (UINT32) (1440 + (INT32) (local_time->tm_gmtoff / 60));
+ #else
+ clientTimeZone->bias = timezone / 60;
+ #endif
+--
+2.4.1
+
diff --git a/net/freerdp1/files/patch-libfreerdp_CMakeLists.txt b/net/freerdp1/files/patch-libfreerdp_CMakeLists.txt
new file mode 100644
index 000000000000..0a1c34df46af
--- /dev/null
+++ b/net/freerdp1/files/patch-libfreerdp_CMakeLists.txt
@@ -0,0 +1,19 @@
+--- libfreerdp/CMakeLists.txt.orig 2016-12-04 14:35:40 UTC
++++ libfreerdp/CMakeLists.txt
+@@ -15,7 +15,7 @@
+ # See the License for the specific language governing permissions and
+ # limitations under the License.
+
+-set(MODULE_NAME "freerdp")
++set(MODULE_NAME "freerdp1")
+ set(MODULE_PREFIX "FREERDP")
+
+ # Create imported targets for Intel IPP libraries
+@@ -284,6 +284,6 @@ if (WITH_LIBRARY_VERSIONING)
+ endif()
+ set_target_properties(${MODULE_NAME} PROPERTIES PREFIX "lib")
+
+-target_link_libraries(${MODULE_NAME} ${LIBFREERDP_LIBS} winpr)
++target_link_libraries(${MODULE_NAME} ${LIBFREERDP_LIBS} winpr1)
+ install(TARGETS ${MODULE_NAME} DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT libraries EXPORT FreeRDPTargets)
+ set_property(TARGET ${MODULE_NAME} PROPERTY FOLDER "FreeRDP/libfreerdp")
diff --git a/net/freerdp1/files/patch-winpr.pc.in b/net/freerdp1/files/patch-winpr.pc.in
new file mode 100644
index 000000000000..b3e01821f0eb
--- /dev/null
+++ b/net/freerdp1/files/patch-winpr.pc.in
@@ -0,0 +1,12 @@
+Index: winpr.pc.in
+diff -u winpr.pc.in.orig winpr.pc.in
+--- winpr.pc.in.orig 2014-09-12 07:46:32.000000000 +0900
++++ winpr.pc.in 2015-05-26 02:05:59.353925013 +0900
+@@ -9,7 +9,6 @@
+ URL: http://www.freerdp.com/
+ Version: @WINPR_VERSION_FULL@
+ Requires:
+-Requires.private: zlib libssl
+ Libs: -L${libdir} ${libs}
+ Libs.private: -ldl -lrt -lm -lpthread
+ Cflags: -I${includedir}
diff --git a/net/freerdp1/files/patch-winpr_tools_hash_CMakeLists.txt b/net/freerdp1/files/patch-winpr_tools_hash_CMakeLists.txt
new file mode 100644
index 000000000000..eab2a404c7e7
--- /dev/null
+++ b/net/freerdp1/files/patch-winpr_tools_hash_CMakeLists.txt
@@ -0,0 +1,11 @@
+--- winpr/tools/hash/CMakeLists.txt.orig 2016-12-04 14:51:44 UTC
++++ winpr/tools/hash/CMakeLists.txt
+@@ -29,7 +29,7 @@ add_executable(${MODULE_NAME} ${${MODULE
+ set(${MODULE_PREFIX}_LIBS
+ ${ZLIB_LIBRARIES}
+ ${OPENSSL_LIBRARIES}
+- winpr)
++ winpr1)
+
+ target_link_libraries(${MODULE_NAME} ${${MODULE_PREFIX}_LIBS})
+
diff --git a/net/freerdp1/files/patch-winpr_tools_makecert_CMakeLists.txt b/net/freerdp1/files/patch-winpr_tools_makecert_CMakeLists.txt
new file mode 100644
index 000000000000..358a324fe39e
--- /dev/null
+++ b/net/freerdp1/files/patch-winpr_tools_makecert_CMakeLists.txt
@@ -0,0 +1,11 @@
+--- winpr/tools/makecert/CMakeLists.txt.orig 2016-12-04 14:56:48 UTC
++++ winpr/tools/makecert/CMakeLists.txt
+@@ -28,7 +28,7 @@ add_library(${MODULE_NAME} STATIC ${${MO
+ set(${MODULE_PREFIX}_LIBS
+ ${ZLIB_LIBRARIES}
+ ${OPENSSL_LIBRARIES}
+- winpr)
++ winpr1)
+
+ target_link_libraries(${MODULE_NAME} ${${MODULE_PREFIX}_LIBS})
+
diff --git a/net/freerdp1/files/patch-z001-CMakeLists.txt b/net/freerdp1/files/patch-z001-CMakeLists.txt
new file mode 100644
index 000000000000..6c9c2194b421
--- /dev/null
+++ b/net/freerdp1/files/patch-z001-CMakeLists.txt
@@ -0,0 +1,13 @@
+--- CMakeLists.txt.intermediate 2015-06-06 13:17:20 UTC
++++ CMakeLists.txt
+@@ -322,6 +322,10 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "BSD")
+ set(FREEBSD TRUE)
+ endif()
+ endif()
++if(${CMAKE_SYSTEM_NAME} MATCHES "DragonFly")
++ set(BSD TRUE)
++ set(FREEBSD TRUE)
++endif()
+
+ # Android
+ if(ANDROID)
diff --git a/net/freerdp1/pkg-descr b/net/freerdp1/pkg-descr
new file mode 100644
index 000000000000..c40b0cc19a5c
--- /dev/null
+++ b/net/freerdp1/pkg-descr
@@ -0,0 +1,6 @@
+FreeRDP is a free implementation of the Remote Desktop Protocol (RDP),
+released under the Apache license. Enjoy the freedom of using your
+software wherever you want, the way you want it, in a world where
+interoperability can finally liberate your computing experience.
+
+WWW: http://www.freerdp.com/
diff --git a/net/freerdp1/pkg-plist b/net/freerdp1/pkg-plist
new file mode 100644
index 000000000000..8cc5fcec6e6c
--- /dev/null
+++ b/net/freerdp1/pkg-plist
@@ -0,0 +1,248 @@
+%%DIRECTFB%%bin/dfreerdp1
+%%X11%%bin/xfreerdp1
+include/freerdp/addin.h
+include/freerdp/altsec.h
+include/freerdp/api.h
+include/freerdp/assistance.h
+include/freerdp/cache/bitmap.h
+include/freerdp/cache/brush.h
+include/freerdp/cache/cache.h
+include/freerdp/cache/glyph.h
+include/freerdp/cache/nine_grid.h
+include/freerdp/cache/offscreen.h
+include/freerdp/cache/palette.h
+include/freerdp/cache/pointer.h
+include/freerdp/channels/audin.h
+include/freerdp/channels/channels.h
+include/freerdp/channels/cliprdr.h
+include/freerdp/channels/encomsp.h
+include/freerdp/channels/log.h
+include/freerdp/channels/rail.h
+include/freerdp/channels/rdpdr.h
+include/freerdp/channels/rdpgfx.h
+include/freerdp/channels/rdpsnd.h
+include/freerdp/channels/remdesk.h
+include/freerdp/channels/tsmf.h
+include/freerdp/channels/wtsvc.h
+include/freerdp/client.h
+include/freerdp/client/audin.h
+include/freerdp/client/channels.h
+include/freerdp/client/cliprdr.h
+include/freerdp/client/cmdline.h
+include/freerdp/client/disp.h
+include/freerdp/client/drdynvc.h
+include/freerdp/client/encomsp.h
+include/freerdp/client/file.h
+include/freerdp/client/rail.h
+include/freerdp/client/rdpei.h
+include/freerdp/client/rdpgfx.h
+include/freerdp/client/rdpsnd.h
+include/freerdp/client/remdesk.h
+include/freerdp/client/tsmf.h
+include/freerdp/codec/audio.h
+include/freerdp/codec/bitmap.h
+include/freerdp/codec/bulk.h
+include/freerdp/codec/clear.h
+include/freerdp/codec/color.h
+include/freerdp/codec/dsp.h
+include/freerdp/codec/h264.h
+include/freerdp/codec/interleaved.h
+include/freerdp/codec/jpeg.h
+include/freerdp/codec/mppc.h
+include/freerdp/codec/ncrush.h
+include/freerdp/codec/nsc.h
+include/freerdp/codec/planar.h
+include/freerdp/codec/progressive.h
+include/freerdp/codec/region.h
+include/freerdp/codec/rfx.h
+include/freerdp/codec/xcrush.h
+include/freerdp/codec/zgfx.h
+include/freerdp/codecs.h
+include/freerdp/constants.h
+include/freerdp/crypto/ber.h
+include/freerdp/crypto/certificate.h
+include/freerdp/crypto/crypto.h
+include/freerdp/crypto/der.h
+include/freerdp/crypto/er.h
+include/freerdp/crypto/per.h
+include/freerdp/crypto/tls.h
+include/freerdp/dvc.h
+include/freerdp/error.h
+include/freerdp/event.h
+include/freerdp/extension.h
+include/freerdp/freerdp.h
+include/freerdp/gdi/16bpp.h
+include/freerdp/gdi/32bpp.h
+include/freerdp/gdi/8bpp.h
+include/freerdp/gdi/bitmap.h
+include/freerdp/gdi/brush.h
+include/freerdp/gdi/clipping.h
+include/freerdp/gdi/dc.h
+include/freerdp/gdi/drawing.h
+include/freerdp/gdi/gdi.h
+include/freerdp/gdi/line.h
+include/freerdp/gdi/palette.h
+include/freerdp/gdi/pen.h
+include/freerdp/gdi/region.h
+include/freerdp/gdi/shape.h
+include/freerdp/graphics.h
+include/freerdp/input.h
+include/freerdp/listener.h
+include/freerdp/locale/keyboard.h
+include/freerdp/locale/locale.h
+include/freerdp/locale/timezone.h
+include/freerdp/log.h
+include/freerdp/message.h
+include/freerdp/metrics.h
+include/freerdp/peer.h
+include/freerdp/pointer.h
+include/freerdp/primary.h
+include/freerdp/primitives.h
+include/freerdp/rail.h
+include/freerdp/rail/icon.h
+include/freerdp/rail/rail.h
+include/freerdp/rail/window.h
+include/freerdp/rail/window_list.h
+include/freerdp/scancode.h
+include/freerdp/secondary.h
+include/freerdp/server/audin.h
+include/freerdp/server/channels.h
+include/freerdp/server/cliprdr.h
+include/freerdp/server/drdynvc.h
+include/freerdp/server/echo.h
+include/freerdp/server/encomsp.h
+include/freerdp/server/rdpdr.h
+include/freerdp/server/rdpsnd.h
+include/freerdp/server/remdesk.h
+include/freerdp/server/shadow.h
+include/freerdp/settings.h
+include/freerdp/svc.h
+include/freerdp/types.h
+include/freerdp/update.h
+include/freerdp/utils/debug.h
+include/freerdp/utils/event.h
+include/freerdp/utils/msusb.h
+include/freerdp/utils/passphrase.h
+include/freerdp/utils/pcap.h
+include/freerdp/utils/profiler.h
+include/freerdp/utils/rail.h
+include/freerdp/utils/ringbuffer.h
+include/freerdp/utils/signal.h
+include/freerdp/utils/stopwatch.h
+include/freerdp/utils/svc_plugin.h
+include/freerdp/utils/tcp.h
+include/freerdp/utils/time.h
+include/freerdp/utils/uds.h
+include/freerdp/version.h
+include/freerdp/window.h
+include/winpr/asn1.h
+include/winpr/bcrypt.h
+include/winpr/bitstream.h
+include/winpr/cmdline.h
+include/winpr/collections.h
+include/winpr/comm.h
+include/winpr/credentials.h
+include/winpr/credui.h
+include/winpr/crt.h
+include/winpr/crypto.h
+include/winpr/debug.h
+include/winpr/dsparse.h
+include/winpr/endian.h
+include/winpr/environment.h
+include/winpr/error.h
+include/winpr/file.h
+include/winpr/handle.h
+include/winpr/heap.h
+include/winpr/image.h
+include/winpr/ini.h
+include/winpr/input.h
+include/winpr/interlocked.h
+include/winpr/io.h
+include/winpr/library.h
+include/winpr/locale.h
+include/winpr/memory.h
+include/winpr/midl.h
+include/winpr/ndr.h
+include/winpr/nt.h
+include/winpr/ntlm.h
+include/winpr/path.h
+include/winpr/pipe.h
+include/winpr/platform.h
+include/winpr/pool.h
+include/winpr/print.h
+include/winpr/registry.h
+include/winpr/rpc.h
+include/winpr/sam.h
+include/winpr/schannel.h
+include/winpr/security.h
+include/winpr/smartcard.h
+include/winpr/spec.h
+include/winpr/ssl.h
+include/winpr/sspi.h
+include/winpr/sspicli.h
+include/winpr/stream.h
+include/winpr/string.h
+include/winpr/synch.h
+include/winpr/sysinfo.h
+include/winpr/tchar.h
+include/winpr/thread.h
+include/winpr/timezone.h
+include/winpr/tools/makecert.h
+include/winpr/windows.h
+include/winpr/winhttp.h
+include/winpr/winpr.h
+include/winpr/winsock.h
+include/winpr/wlog.h
+include/winpr/wnd.h
+include/winpr/wtsapi.h
+include/winpr/wtypes.h
+%%ALSA%%lib/freerdp/audin-client-alsa.a
+%%PULSEAUDIO%%lib/freerdp/audin-client-pulse.a
+lib/freerdp/audin-client.a
+lib/freerdp/cliprdr-client.a
+lib/freerdp/disp-client.a
+lib/freerdp/drdynvc-client.a
+lib/freerdp/drive-client.a
+lib/freerdp/echo-client.a
+lib/freerdp/encomsp-client.a
+lib/freerdp/parallel-client.a
+%%CUPS%%lib/freerdp/printer-client.a
+lib/freerdp/rail-client.a
+lib/freerdp/rdpdr-client.a
+lib/freerdp/rdpei-client.a
+lib/freerdp/rdpgfx-client.a
+%%ALSA%%lib/freerdp/rdpsnd-client-alsa.a
+%%PULSEAUDIO%%lib/freerdp/rdpsnd-client-pulse.a
+lib/freerdp/rdpsnd-client.a
+lib/freerdp/remdesk-client.a
+lib/freerdp/serial-client.a
+lib/freerdp/smartcard-client.a
+%%ALSA%%lib/freerdp/tsmf-client-alsa-audio.a
+%%FFMPEG%%lib/freerdp/tsmf-client-ffmpeg-decoder.a
+%%GSTREAMER%%lib/freerdp/tsmf-client-gstreamer-decoder.a
+%%PULSEAUDIO%%lib/freerdp/tsmf-client-pulse-audio.a
+lib/freerdp/tsmf-client.a
+lib/libfreerdp1.so
+lib/libfreerdp1.so.1.2
+lib/libfreerdp1.so.1.2.0
+lib/libfreerdp1-client.so
+lib/libfreerdp1-client.so.1.2
+lib/libfreerdp1-client.so.1.2.0
+lib/libwinpr1.so
+lib/libwinpr1.so.1.1
+lib/libwinpr1.so.1.1.0
+lib/libwinpr-makecert-tool.a
+%%X11%%lib/libxfreerdp1-client.so
+%%X11%%lib/libxfreerdp1-client.so.1.2
+%%X11%%lib/libxfreerdp1-client.so.1.2.0
+libdata/pkgconfig/freerdp.pc
+libdata/pkgconfig/winpr.pc
+%%X11%%man/man1/xfreerdp1.1.gz
+share/cmake/Modules/FreeRDP/FreeRDPConfig.cmake
+share/cmake/Modules/FreeRDP/FreeRDPConfigVersion.cmake
+share/cmake/Modules/FreeRDP/FreeRDPTargets-%%CMAKE_BUILD_TYPE%%.cmake
+share/cmake/Modules/FreeRDP/FreeRDPTargets.cmake
+share/cmake/Modules/WinPR/WinPRConfig.cmake
+share/cmake/Modules/WinPR/WinPRConfigVersion.cmake
+share/cmake/Modules/WinPR/WinPRTargets-%%CMAKE_BUILD_TYPE%%.cmake
+share/cmake/Modules/WinPR/WinPRTargets.cmake