From owner-svn-ports-head@freebsd.org Sun Dec 11 04:37:00 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3518EC70BD4; Sun, 11 Dec 2016 04:37:00 +0000 (UTC) (envelope-from woodsb02@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C034CE0; Sun, 11 Dec 2016 04:36:59 +0000 (UTC) (envelope-from woodsb02@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uBB4axw3033213; Sun, 11 Dec 2016 04:36:59 GMT (envelope-from woodsb02@FreeBSD.org) Received: (from woodsb02@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uBB4avro033198; Sun, 11 Dec 2016 04:36:57 GMT (envelope-from woodsb02@FreeBSD.org) Message-Id: <201612110436.uBB4avro033198@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: woodsb02 set sender to woodsb02@FreeBSD.org using -f From: Ben Woods Date: Sun, 11 Dec 2016 04:36:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r428330 - in head/net: . freerdp freerdp/files freerdp1 freerdp1/files guacamole-server guacamole-server/files vinagre vinagre/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Dec 2016 04:37:00 -0000 Author: woodsb02 Date: Sun Dec 11 04:36:57 2016 New Revision: 428330 URL: https://svnweb.freebsd.org/changeset/ports/428330 Log: 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 Reviewed by: Mikael Urankar Reviewed by: Ting-Wei Lan Reviewed by: Antenore Gatta Reviewed by: amdmi3 Approved by: adamw (mentor) Differential Revision: https://reviews.freebsd.org/D8712 Added: head/net/freerdp/files/patch-CMakeLists.txt - copied, changed from r428329, head/net/freerdp/files/patch-z001-CMakeLists.txt head/net/freerdp/files/patch-cmake_FindGStreamer__1__0.cmake - copied, changed from r428329, head/net/freerdp/files/patch-cmake_FindGStreamer_1_0.cmake head/net/freerdp/files/patch-libfreerdp_freerdp.pc.in - copied, changed from r428329, head/net/freerdp/files/patch-freerdp.pc.in head/net/freerdp/files/patch-winpr_winpr.pc.in - copied, changed from r428329, head/net/freerdp/files/patch-winpr.pc.in head/net/freerdp1/ - copied from r419907, head/net/freerdp/ head/net/freerdp1/files/patch-client_X11_CMakeLists.txt (contents, props changed) head/net/freerdp1/files/patch-client_X11_ModuleOptions.cmake (contents, props changed) head/net/freerdp1/files/patch-client_X11_cli_CMakeLists.txt (contents, props changed) head/net/freerdp1/files/patch-client_X11_xfreerdp.1.xml.in (contents, props changed) head/net/freerdp1/files/patch-client_common_CMakeLists.txt (contents, props changed) head/net/freerdp1/files/patch-libfreerdp_CMakeLists.txt (contents, props changed) head/net/freerdp1/files/patch-winpr_tools_hash_CMakeLists.txt (contents, props changed) head/net/freerdp1/files/patch-winpr_tools_makecert_CMakeLists.txt (contents, props changed) head/net/guacamole-server/files/patch-configure.ac (contents, props changed) head/net/vinagre/files/patch-configure.ac (contents, props changed) head/net/vinagre/files/patch-plugins_rdp_vinagre-rdp-tab.c (contents, props changed) Deleted: head/net/freerdp/files/patch-cmake-FindOpenSSL.cmake head/net/freerdp/files/patch-cmake_ConfigOptions.cmake head/net/freerdp/files/patch-cmake_FindGStreamer_1_0.cmake head/net/freerdp/files/patch-freerdp.pc.in head/net/freerdp/files/patch-git_1b663cef head/net/freerdp/files/patch-git_434436b7 head/net/freerdp/files/patch-libfreerdp-locale-timezone.c head/net/freerdp/files/patch-winpr.pc.in head/net/freerdp/files/patch-z001-CMakeLists.txt Modified: head/net/Makefile head/net/freerdp/Makefile head/net/freerdp/distinfo head/net/freerdp/files/patch-ffmpeg29 head/net/freerdp/pkg-plist head/net/freerdp1/Makefile head/net/freerdp1/files/patch-freerdp.pc.in head/net/freerdp1/pkg-plist head/net/guacamole-server/Makefile head/net/vinagre/Makefile Modified: head/net/Makefile ============================================================================== --- head/net/Makefile Sun Dec 11 02:27:50 2016 (r428329) +++ head/net/Makefile Sun Dec 11 04:36:57 2016 (r428330) @@ -146,6 +146,7 @@ SUBDIR += freeradius2 SUBDIR += freeradius3 SUBDIR += freerdp + SUBDIR += freerdp1 SUBDIR += freeswitch SUBDIR += freevrrpd SUBDIR += fspclient Modified: head/net/freerdp/Makefile ============================================================================== --- head/net/freerdp/Makefile Sun Dec 11 02:27:50 2016 (r428329) +++ head/net/freerdp/Makefile Sun Dec 11 04:36:57 2016 (r428330) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= freerdp -PORTVERSION= 1.2.0 -PORTREVISION= 7 +PORTVERSION= 2.0.0.g2016.11.24 CATEGORIES= net comms ipv6 MAINTAINER= bsdports@kyle-evans.net @@ -12,71 +11,87 @@ COMMENT= Free implementation of Remote D LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -USE_LDCONFIG= yes -USES= alias cmake:outsource cpe execinfo pkgconfig compiler:c++11-lib ssl USE_GITHUB= yes GH_ACCOUNT= FreeRDP GH_PROJECT= ${GH_ACCOUNT} -GH_TAGNAME= f5ff6e1 +GH_TAGNAME= 2a6dbab +USES= alias cmake:outsource compiler:c++11-lib cpe execinfo gettext localbase pathfix pkgconfig ssl +USE_LDCONFIG= yes CPE_VENDOR= freerdp_project -LDFLAGS+= -L${LOCALBASE}/lib -CFLAGS+= -I${WRKSRC}/include -I${WRKSRC}/winpr/include -I${LOCALBASE}/include +CMAKE_ARGS+= -DWITH_LIBSYSTEMD=OFF -DWITH_WAYLAND=OFF -DWITH_GSTREAMER_0_10=OFF ${CMAKE_ARGS_${ARCH}} -OPTIONS_DEFINE= ALSA CUPS DIRECTFB FFMPEG GSTREAMER PULSEAUDIO SSE X11 +CMAKE_ARGS_aarch64= -DWITH_NEON=ON +CFLAGS_aarch64= -D__ARM_NEON__=__ARM_NEON # clang + +OPTIONS_DEFINE= ALSA CUPS FFMPEG GSTREAMER PULSEAUDIO SSE X11 OPTIONS_DEFAULT= CUPS GSTREAMER X11 OPTIONS_SUB= yes +OPTIONS_DEFINE_armv6= NEON +OPTIONS_EXCLUDE_armv6= SSE + ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib -ALSA_CMAKE_ON= -DWITH_ALSA=ON -ALSA_CMAKE_OFF= -DWITH_ALSA=OFF +ALSA_CMAKE_BOOL= WITH_ALSA 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 +CUPS_CMAKE_BOOL= WITH_CUPS FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ libavutil.so:multimedia/ffmpeg -FFMPEG_CMAKE_ON= -DWITH_FFMPEG=ON -FFMPEG_CMAKE_OFF= -DWITH_FFMPEG=OFF +FFMPEG_CMAKE_BOOL= WITH_FFMPEG -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 +GSTREAMER_CMAKE_BOOL= WITH_GSTREAMER_1_0 +GSTREAMER_USE= gnome=glib20 gstreamer1=yes xorg=x11,xextproto,xext,xrandr +GSTREAMER_LIB_DEPENDS= libgstbase-1.0.so:multimedia/gstreamer1 + +NEON_DESC= Enable Media Processing Engine instructions +NEON_CMAKE_BOOL= WITH_NEON +.if ! ${CFLAGS:M-march*} +NEON_CFLAGS= -march=armv7-a +.endif PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio -PULSEAUDIO_CMAKE_ON= -DWITH_PULSE=ON -PULSEAUDIO_CMAKE_OFF= -DWITH_PULSE=OFF +PULSEAUDIO_CMAKE_BOOL= WITH_PULSE -SSE_CMAKE_ON= -DWITH_SSE2=ON -SSE_CMAKE_OFF= -DWITH_SSE2=OFF +SSE_CMAKE_BOOL= WITH_SSE2 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 - -post-extract: - ${REINPLACE_CMD} -e 's|$${CMAKE_INSTALL_LIBDIR}/pkgconfig|libdata/pkgconfig|' \ - -e '/CMAKE_INSTALL_RPATH /d' \ +X11_CMAKE_ON= -DWITH_XKBDFILE=OFF +X11_CMAKE_BOOL= WITH_X11 +X11_USE= xorg=x11,xkbfile,xcursor,xextproto,xv,xinerama,xext,xrandr,xi,xfixes,xrender + +.include + +.if ${OPSYS} == "FreeBSD" && ${ARCH} == "armv6" +.if ${OSVERSION} < 1100500 || \ + (${OSVERSION} >= 1100500 && ${OSVERSION} < 1100504) || \ + (${OSVERSION} >= 1200000 && ${OSVERSION} < 1200008) +BROKEN= Fails to build on ARMv6 (libm bug). See: r305380 (HEAD), r305971 (stable/11) [\#199422, \#211965] \ + Please update to a later (fixed) version. +.endif +.endif + +post-patch: + @${REINPLACE_CMD} -e '/CMAKE_INSTALL_RPATH /d' \ ${WRKSRC}/CMakeLists.txt - ${REINPLACE_CMD} -e 's|share/man/man1|man/man1|' \ + @${REINPLACE_CMD} -e 's/OPENBSD/BSD/' \ + ${WRKSRC}/winpr/CMakeLists.txt \ ${WRKSRC}/client/X11/CMakeLists.txt - ${REINPLACE_CMD} -e 's/NetBSD__)/NetBSD__) || defined(__FreeBSD__)/' \ + @${REINPLACE_CMD} -e 's/NetBSD__)/NetBSD__) || defined(__FreeBSD__)/' \ ${WRKSRC}/winpr/libwinpr/utils/trio/triodef.h - ${REINPLACE_CMD} -e 's|||' \ + @${REINPLACE_CMD} -e 's|||' \ ${WRKSRC}/channels/drive/client/statvfs.c -.include + @${RM} ${WRKSRC}/cmake/FindOpenSSL.cmake + @${REINPLACE_CMD} -e 's|$${CMAKE_INSTALL_LIBDIR}/cmake|$${CMAKE_INSTALL_PREFIX}/share/cmake/Modules|' \ + ${WRKSRC}/client/CMakeLists.txt \ + ${WRKSRC}/winpr/CMakeLists.txt \ + ${WRKSRC}/uwac/CMakeLists.txt \ + ${WRKSRC}/server/CMakeLists.txt \ + ${WRKSRC}/server/shadow/CMakeLists.txt \ + ${WRKSRC}/libfreerdp/CMakeLists.txt + + +.include Modified: head/net/freerdp/distinfo ============================================================================== --- head/net/freerdp/distinfo Sun Dec 11 02:27:50 2016 (r428329) +++ head/net/freerdp/distinfo Sun Dec 11 04:36:57 2016 (r428330) @@ -1,3 +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 +TIMESTAMP = 1480005507 +SHA256 (FreeRDP-FreeRDP-2.0.0.g2016.11.24-2a6dbab_GH0.tar.gz) = 2a8550c3b067f49353614c4dc13fff4b2c0cf7653dd765c8e44eccaf8c79f20b +SIZE (FreeRDP-FreeRDP-2.0.0.g2016.11.24-2a6dbab_GH0.tar.gz) = 6417326 Copied and modified: head/net/freerdp/files/patch-CMakeLists.txt (from r428329, head/net/freerdp/files/patch-z001-CMakeLists.txt) ============================================================================== --- head/net/freerdp/files/patch-z001-CMakeLists.txt Sun Dec 11 02:27:50 2016 (r428329, copy source) +++ head/net/freerdp/files/patch-CMakeLists.txt Sun Dec 11 04:36:57 2016 (r428330) @@ -1,13 +1,14 @@ ---- CMakeLists.txt.intermediate 2015-06-06 13:17:20 UTC +--- CMakeLists.txt.orig 2016-11-24 13:19:47 UTC +++ CMakeLists.txt -@@ -322,6 +322,10 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "BSD") - set(FREEBSD TRUE) +@@ -156,6 +156,11 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "BSD") endif() endif() + +if(${CMAKE_SYSTEM_NAME} MATCHES "DragonFly") + set(BSD TRUE) + set(FREEBSD TRUE) +endif() - - # Android - if(ANDROID) ++ + # Configure MSVC Runtime + if(MSVC) + include(MSVCRuntime) Copied and modified: head/net/freerdp/files/patch-cmake_FindGStreamer__1__0.cmake (from r428329, head/net/freerdp/files/patch-cmake_FindGStreamer_1_0.cmake) ============================================================================== --- head/net/freerdp/files/patch-cmake_FindGStreamer_1_0.cmake Sun Dec 11 02:27:50 2016 (r428329, copy source) +++ head/net/freerdp/files/patch-cmake_FindGStreamer__1__0.cmake Sun Dec 11 04:36:57 2016 (r428330) @@ -2,15 +2,15 @@ Don't use custom code to find the includ 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 @@ +--- cmake/FindGStreamer_1_0.cmake.orig 2016-10-21 07:29:51 UTC ++++ cmake/FindGStreamer_1_0.cmake +@@ -78,7 +78,8 @@ endmacro() # 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) +-FIND_GSTREAMER_COMPONENT(GSTREAMER_1_0 gstreamer-1.0 gstreamer-1.0) ++#FIND_GSTREAMER_COMPONENT(GSTREAMER_1_0 gstreamer-1.0 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) + FIND_GSTREAMER_COMPONENT(GSTREAMER_1_0_BASE gstreamer-base-1.0 gstbase-1.0) # 1.2. Check Gstreamer version Modified: head/net/freerdp/files/patch-ffmpeg29 ============================================================================== --- head/net/freerdp/files/patch-ffmpeg29 Sun Dec 11 02:27:50 2016 (r428329) +++ head/net/freerdp/files/patch-ffmpeg29 Sun Dec 11 04:36:57 2016 (r428330) @@ -1,45 +1,15 @@ -Description: Replace deprecated FFmpeg API -Author: Andreas Cadhalpun -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; - } +--- channels/tsmf/client/ffmpeg/tsmf_ffmpeg.c.orig 2016-10-21 07:29:51 UTC ++++ channels/tsmf/client/ffmpeg/tsmf_ffmpeg.c +@@ -346,7 +346,7 @@ static BOOL tsmf_ffmpeg_decode_video(ITS + 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); + } -@@ -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 @@ +@@ -428,7 +428,7 @@ static BOOL tsmf_ffmpeg_decode_audio(ITS decoded_frame->nb_samples, mdecoder->codec_context->sample_fmt, 1); memcpy(dst, decoded_frame->data[0], frame_size); } @@ -47,29 +17,20 @@ Last-Update: <2015-11-02> + 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 @@ + if (len <= 0 || frame_size <= 0) +@@ -524,7 +524,7 @@ static void tsmf_ffmpeg_free(ITSMFDecode { - TSMFFFmpegDecoder *mdecoder = (TSMFFFmpegDecoder *) decoder; - if(mdecoder->frame) + 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 @@ + + free(mdecoder->decoded_data); + +@@ -534,7 +534,7 @@ static void tsmf_ffmpeg_free(ITSMFDecode avcodec_close(mdecoder->codec_context); - if(mdecoder->codec_context->extradata) - free(mdecoder->codec_context->extradata); + + free(mdecoder->codec_context->extradata); - av_free(mdecoder->codec_context); + av_frame_free(&mdecoder->codec_context); } Copied and modified: head/net/freerdp/files/patch-libfreerdp_freerdp.pc.in (from r428329, head/net/freerdp/files/patch-freerdp.pc.in) ============================================================================== --- head/net/freerdp/files/patch-freerdp.pc.in Sun Dec 11 02:27:50 2016 (r428329, copy source) +++ head/net/freerdp/files/patch-libfreerdp_freerdp.pc.in Sun Dec 11 04:36:57 2016 (r428330) @@ -1,13 +1,11 @@ -Index: freerdp.pc.in -diff -u freerdp.pc.in.orig freerdp.pc.in ---- freerdp.pc.in.orig 2014-09-12 07:46:32.000000000 +0900 -+++ freerdp.pc.in 2015-05-26 02:05:37.874925433 +0900 -@@ -9,7 +9,7 @@ +--- libfreerdp/freerdp.pc.in.orig 2016-10-21 07:29:51 UTC ++++ libfreerdp/freerdp.pc.in +@@ -9,7 +9,7 @@ Description: FreeRDP: A Remote Desktop P URL: http://www.freerdp.com/ - Version: @FREERDP_VERSION_FULL@ + Version: @FREERDP_VERSION@ Requires: --Requires.private: winpr zlib libssl -+Requires.private: winpr +-Requires.private: @WINPR_PKG_CONFIG_FILENAME@ libssl ++Requires.private: @WINPR_PKG_CONFIG_FILENAME@ Libs: -L${libdir} ${libs} Libs.private: -ldl -lpthread Cflags: -I${includedir} Copied and modified: head/net/freerdp/files/patch-winpr_winpr.pc.in (from r428329, head/net/freerdp/files/patch-winpr.pc.in) ============================================================================== --- head/net/freerdp/files/patch-winpr.pc.in Sun Dec 11 02:27:50 2016 (r428329, copy source) +++ head/net/freerdp/files/patch-winpr_winpr.pc.in Sun Dec 11 04:36:57 2016 (r428330) @@ -1,12 +1,10 @@ -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 @@ +--- winpr/winpr.pc.in.orig 2016-10-21 07:29:51 UTC ++++ winpr/winpr.pc.in +@@ -9,7 +9,6 @@ Description: WinPR: Windows Portable Run URL: http://www.freerdp.com/ - Version: @WINPR_VERSION_FULL@ - Requires: --Requires.private: zlib libssl + Version: @WINPR_VERSION@ + Requires: +-Requires.private: libssl Libs: -L${libdir} ${libs} Libs.private: -ldl -lrt -lm -lpthread Cflags: -I${includedir} Modified: head/net/freerdp/pkg-plist ============================================================================== --- head/net/freerdp/pkg-plist Sun Dec 11 02:27:50 2016 (r428329) +++ head/net/freerdp/pkg-plist Sun Dec 11 04:36:57 2016 (r428330) @@ -1,248 +1,222 @@ -%%DIRECTFB%%bin/dfreerdp +bin/winpr-hash +bin/winpr-makecert %%X11%%bin/xfreerdp -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 -lib/cmake/FreeRDP/FreeRDPConfig.cmake -lib/cmake/FreeRDP/FreeRDPConfigVersion.cmake -lib/cmake/FreeRDP/FreeRDPTargets-%%CMAKE_BUILD_TYPE%%.cmake -lib/cmake/FreeRDP/FreeRDPTargets.cmake -lib/cmake/WinPR/WinPRConfig.cmake -lib/cmake/WinPR/WinPRConfigVersion.cmake -lib/cmake/WinPR/WinPRTargets-%%CMAKE_BUILD_TYPE%%.cmake -lib/cmake/WinPR/WinPRTargets.cmake -%%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/libfreerdp.so -lib/libfreerdp.so.1.2 -lib/libfreerdp.so.1.2.0 +include/freerdp2/freerdp/addin.h +include/freerdp2/freerdp/altsec.h +include/freerdp2/freerdp/api.h +include/freerdp2/freerdp/assistance.h +include/freerdp2/freerdp/autodetect.h +include/freerdp2/freerdp/build-config.h +include/freerdp2/freerdp/cache/bitmap.h +include/freerdp2/freerdp/cache/brush.h +include/freerdp2/freerdp/cache/cache.h +include/freerdp2/freerdp/cache/glyph.h +include/freerdp2/freerdp/cache/nine_grid.h +include/freerdp2/freerdp/cache/offscreen.h +include/freerdp2/freerdp/cache/palette.h +include/freerdp2/freerdp/cache/pointer.h +include/freerdp2/freerdp/channels/audin.h +include/freerdp2/freerdp/channels/channels.h +include/freerdp2/freerdp/channels/cliprdr.h +include/freerdp2/freerdp/channels/encomsp.h +include/freerdp2/freerdp/channels/log.h +include/freerdp2/freerdp/channels/rail.h +include/freerdp2/freerdp/channels/rdpdr.h +include/freerdp2/freerdp/channels/rdpei.h +include/freerdp2/freerdp/channels/rdpgfx.h +include/freerdp2/freerdp/channels/rdpsnd.h +include/freerdp2/freerdp/channels/remdesk.h +include/freerdp2/freerdp/channels/tsmf.h +include/freerdp2/freerdp/channels/wtsvc.h +include/freerdp2/freerdp/client.h +include/freerdp2/freerdp/client/audin.h +include/freerdp2/freerdp/client/channels.h +include/freerdp2/freerdp/client/cliprdr.h +include/freerdp2/freerdp/client/cmdline.h +include/freerdp2/freerdp/client/disp.h +include/freerdp2/freerdp/client/drdynvc.h +include/freerdp2/freerdp/client/encomsp.h +include/freerdp2/freerdp/client/file.h +include/freerdp2/freerdp/client/rail.h +include/freerdp2/freerdp/client/rdpei.h +include/freerdp2/freerdp/client/rdpgfx.h +include/freerdp2/freerdp/client/rdpsnd.h +include/freerdp2/freerdp/client/remdesk.h +include/freerdp2/freerdp/client/tsmf.h +include/freerdp2/freerdp/codec/audio.h +include/freerdp2/freerdp/codec/bitmap.h +include/freerdp2/freerdp/codec/bulk.h +include/freerdp2/freerdp/codec/clear.h +include/freerdp2/freerdp/codec/color.h +include/freerdp2/freerdp/codec/dsp.h +include/freerdp2/freerdp/codec/h264.h +include/freerdp2/freerdp/codec/interleaved.h +include/freerdp2/freerdp/codec/jpeg.h +include/freerdp2/freerdp/codec/mppc.h +include/freerdp2/freerdp/codec/ncrush.h +include/freerdp2/freerdp/codec/nsc.h +include/freerdp2/freerdp/codec/planar.h +include/freerdp2/freerdp/codec/progressive.h +include/freerdp2/freerdp/codec/region.h +include/freerdp2/freerdp/codec/rfx.h +include/freerdp2/freerdp/codec/xcrush.h +include/freerdp2/freerdp/codec/zgfx.h +include/freerdp2/freerdp/codecs.h +include/freerdp2/freerdp/constants.h +include/freerdp2/freerdp/crypto/ber.h +include/freerdp2/freerdp/crypto/certificate.h +include/freerdp2/freerdp/crypto/crypto.h +include/freerdp2/freerdp/crypto/der.h +include/freerdp2/freerdp/crypto/er.h +include/freerdp2/freerdp/crypto/per.h +include/freerdp2/freerdp/crypto/tls.h +include/freerdp2/freerdp/dvc.h +include/freerdp2/freerdp/error.h +include/freerdp2/freerdp/event.h +include/freerdp2/freerdp/extension.h +include/freerdp2/freerdp/freerdp.h +include/freerdp2/freerdp/gdi/bitmap.h +include/freerdp2/freerdp/gdi/dc.h +include/freerdp2/freerdp/gdi/gdi.h +include/freerdp2/freerdp/gdi/gfx.h +include/freerdp2/freerdp/gdi/pen.h +include/freerdp2/freerdp/gdi/region.h +include/freerdp2/freerdp/gdi/shape.h +include/freerdp2/freerdp/graphics.h +include/freerdp2/freerdp/input.h +include/freerdp2/freerdp/listener.h +include/freerdp2/freerdp/locale/keyboard.h +include/freerdp2/freerdp/locale/locale.h +include/freerdp2/freerdp/log.h +include/freerdp2/freerdp/message.h +include/freerdp2/freerdp/metrics.h +include/freerdp2/freerdp/peer.h +include/freerdp2/freerdp/pointer.h +include/freerdp2/freerdp/primary.h +include/freerdp2/freerdp/primitives.h +include/freerdp2/freerdp/rail.h +include/freerdp2/freerdp/scancode.h +include/freerdp2/freerdp/secondary.h +include/freerdp2/freerdp/server/audin.h +include/freerdp2/freerdp/server/channels.h +include/freerdp2/freerdp/server/cliprdr.h +include/freerdp2/freerdp/server/drdynvc.h +include/freerdp2/freerdp/server/echo.h +include/freerdp2/freerdp/server/encomsp.h +include/freerdp2/freerdp/server/rdpdr.h +include/freerdp2/freerdp/server/rdpei.h +include/freerdp2/freerdp/server/rdpgfx.h +include/freerdp2/freerdp/server/rdpsnd.h +include/freerdp2/freerdp/server/remdesk.h +include/freerdp2/freerdp/server/shadow.h +include/freerdp2/freerdp/session.h +include/freerdp2/freerdp/settings.h +include/freerdp2/freerdp/svc.h +include/freerdp2/freerdp/types.h +include/freerdp2/freerdp/update.h +include/freerdp2/freerdp/utils/msusb.h +include/freerdp2/freerdp/utils/passphrase.h +include/freerdp2/freerdp/utils/pcap.h +include/freerdp2/freerdp/utils/profiler.h +include/freerdp2/freerdp/utils/ringbuffer.h +include/freerdp2/freerdp/utils/signal.h +include/freerdp2/freerdp/utils/stopwatch.h +include/freerdp2/freerdp/version.h +include/freerdp2/freerdp/window.h +include/winpr2/winpr/asn1.h +include/winpr2/winpr/bcrypt.h +include/winpr2/winpr/bitstream.h +include/winpr2/winpr/clipboard.h +include/winpr2/winpr/cmdline.h +include/winpr2/winpr/collections.h +include/winpr2/winpr/comm.h +include/winpr2/winpr/credentials.h +include/winpr2/winpr/credui.h +include/winpr2/winpr/crt.h +include/winpr2/winpr/crypto.h +include/winpr2/winpr/debug.h +include/winpr2/winpr/dsparse.h +include/winpr2/winpr/endian.h +include/winpr2/winpr/environment.h +include/winpr2/winpr/error.h +include/winpr2/winpr/file.h +include/winpr2/winpr/handle.h +include/winpr2/winpr/heap.h +include/winpr2/winpr/image.h +include/winpr2/winpr/ini.h +include/winpr2/winpr/input.h +include/winpr2/winpr/interlocked.h +include/winpr2/winpr/intrin.h +include/winpr2/winpr/io.h +include/winpr2/winpr/library.h +include/winpr2/winpr/locale.h +include/winpr2/winpr/memory.h +include/winpr2/winpr/midl.h +include/winpr2/winpr/ndr.h +include/winpr2/winpr/nt.h +include/winpr2/winpr/ntlm.h +include/winpr2/winpr/pack.h +include/winpr2/winpr/path.h +include/winpr2/winpr/pipe.h +include/winpr2/winpr/platform.h +include/winpr2/winpr/pool.h +include/winpr2/winpr/print.h +include/winpr2/winpr/registry.h +include/winpr2/winpr/rpc.h +include/winpr2/winpr/sam.h +include/winpr2/winpr/schannel.h +include/winpr2/winpr/security.h +include/winpr2/winpr/shell.h +include/winpr2/winpr/smartcard.h +include/winpr2/winpr/spec.h +include/winpr2/winpr/ssl.h +include/winpr2/winpr/sspi.h +include/winpr2/winpr/sspicli.h +include/winpr2/winpr/stream.h +include/winpr2/winpr/string.h +include/winpr2/winpr/synch.h +include/winpr2/winpr/sysinfo.h +include/winpr2/winpr/tchar.h +include/winpr2/winpr/thread.h +include/winpr2/winpr/timezone.h +include/winpr2/winpr/tools/makecert.h +include/winpr2/winpr/user.h +include/winpr2/winpr/version.h +include/winpr2/winpr/windows.h +include/winpr2/winpr/winhttp.h +include/winpr2/winpr/winpr.h +include/winpr2/winpr/winsock.h +include/winpr2/winpr/wlog.h +include/winpr2/winpr/wnd.h +include/winpr2/winpr/wtsapi.h +include/winpr2/winpr/wtypes.h lib/libfreerdp-client.so -lib/libfreerdp-client.so.1.2 -lib/libfreerdp-client.so.1.2.0 -lib/libwinpr.so -lib/libwinpr.so.1.1 -lib/libwinpr.so.1.1.0 -lib/libwinpr-makecert-tool.a -%%X11%%lib/libxfreerdp-client.so -%%X11%%lib/libxfreerdp-client.so.1.2 -%%X11%%lib/libxfreerdp-client.so.1.2.0 -libdata/pkgconfig/freerdp.pc -libdata/pkgconfig/winpr.pc +lib/libfreerdp-client.so.2 +lib/libfreerdp-client.so.2.0.0 +lib/libfreerdp.so +lib/libfreerdp.so.2 +lib/libfreerdp.so.2.0.0 +lib/libwinpr-tools.so +lib/libwinpr-tools.so.2 +lib/libwinpr-tools.so.2.0.0 +lib/libwinpr.so +lib/libwinpr.so.2 +lib/libwinpr.so.2.0.0 +libdata/pkgconfig/freerdp-client2.pc +libdata/pkgconfig/freerdp2.pc +libdata/pkgconfig/winpr-tools2.pc +libdata/pkgconfig/winpr2.pc +man/man1/wlog.1.gz %%X11%%man/man1/xfreerdp.1.gz +share/cmake/Modules/FreeRDP-Client2/FreeRDP-ClientConfig.cmake +share/cmake/Modules/FreeRDP-Client2/FreeRDP-ClientConfigVersion.cmake +share/cmake/Modules/FreeRDP-Client2/FreeRDP-ClientTargets-%%CMAKE_BUILD_TYPE%%.cmake +share/cmake/Modules/FreeRDP-Client2/FreeRDP-ClientTargets.cmake +share/cmake/Modules/FreeRDP2/FreeRDPConfig.cmake +share/cmake/Modules/FreeRDP2/FreeRDPConfigVersion.cmake +share/cmake/Modules/FreeRDP2/FreeRDPTargets-%%CMAKE_BUILD_TYPE%%.cmake +share/cmake/Modules/FreeRDP2/FreeRDPTargets.cmake +share/cmake/Modules/WinPR2/WinPRConfig.cmake +share/cmake/Modules/WinPR2/WinPRConfigVersion.cmake +share/cmake/Modules/WinPR2/WinPRTargets-%%CMAKE_BUILD_TYPE%%.cmake +share/cmake/Modules/WinPR2/WinPRTargets.cmake Modified: head/net/freerdp1/Makefile ============================================================================== --- head/net/freerdp/Makefile Tue Aug 9 07:51:50 2016 (r419907) +++ head/net/freerdp1/Makefile Sun Dec 11 04:36:57 2016 (r428330) @@ -3,8 +3,8 @@ PORTNAME= freerdp PORTVERSION= 1.2.0 -PORTREVISION= 7 CATEGORIES= net comms ipv6 +PKGNAMESUFFIX= 1 MAINTAINER= bsdports@kyle-evans.net COMMENT= Free implementation of Remote Desktop Protocol @@ -13,7 +13,7 @@ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE USE_LDCONFIG= yes -USES= alias cmake:outsource cpe execinfo pkgconfig compiler:c++11-lib ssl +USES= alias cmake:outsource cpe execinfo pathfix pkgconfig compiler:c++11-lib ssl USE_GITHUB= yes GH_ACCOUNT= FreeRDP GH_PROJECT= ${GH_ACCOUNT} @@ -69,14 +69,29 @@ X11_USE= xorg=x11,xkbfile,xcursor,xextp .include -post-extract: - ${REINPLACE_CMD} -e 's|$${CMAKE_INSTALL_LIBDIR}/pkgconfig|libdata/pkgconfig|' \ - -e '/CMAKE_INSTALL_RPATH /d' \ - ${WRKSRC}/CMakeLists.txt - ${REINPLACE_CMD} -e 's|share/man/man1|man/man1|' \ +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__)/' \ + @${REINPLACE_CMD} -e 's/NetBSD__)/NetBSD__) || defined(__FreeBSD__)/' \ ${WRKSRC}/winpr/libwinpr/utils/trio/triodef.h - ${REINPLACE_CMD} -e 's|||' \ + @${REINPLACE_CMD} -e 's|||' \ ${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 Added: head/net/freerdp1/files/patch-client_X11_CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/freerdp1/files/patch-client_X11_CMakeLists.txt Sun Dec 11 04:36:57 2016 (r428330) @@ -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) Added: head/net/freerdp1/files/patch-client_X11_ModuleOptions.cmake ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/freerdp1/files/patch-client_X11_ModuleOptions.cmake Sun Dec 11 04:36:57 2016 (r428330) @@ -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") Added: head/net/freerdp1/files/patch-client_X11_cli_CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/freerdp1/files/patch-client_X11_cli_CMakeLists.txt Sun Dec 11 04:36:57 2016 (r428330) @@ -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}) + Added: head/net/freerdp1/files/patch-client_X11_xfreerdp.1.xml.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/freerdp1/files/patch-client_X11_xfreerdp.1.xml.in Sun Dec 11 04:36:57 2016 (r428330) @@ -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// + + + +- xfreerdp ++ xfreerdp1 + 1 + freerdp +- xfreerdp *** DIFF OUTPUT TRUNCATED AT 1000 LINES ***