freerdp3: update to 3.9.0
This commit is contained in:
parent
c2265ff6bf
commit
eb7aa8f78d
|
@ -1,27 +1,27 @@
|
||||||
help cmake run executables when cross-compiling
|
diff --git a/client/common/man/CMakeLists.txt b/client/common/man/CMakeLists.txt
|
||||||
diff --git a/client/SDL/common/res/CMakeLists.txt b/client/SDL/common/res/CMakeLists.txt
|
index 798957c78..c14d22319 100644
|
||||||
index fdb80b79b..08f922968 100644
|
--- a/client/common/man/CMakeLists.txt
|
||||||
--- a/client/SDL/common/res/CMakeLists.txt
|
+++ b/client/common/man/CMakeLists.txt
|
||||||
+++ b/client/SDL/common/res/CMakeLists.txt
|
@@ -1,6 +1,3 @@
|
||||||
@@ -51,7 +51,7 @@ list(APPEND FACTORY_CLASSES
|
-if(CMAKE_CROSSCOMPILING)
|
||||||
add_custom_command(
|
- find_package(GenerateArgumentManpage)
|
||||||
OUTPUT ${FILE_BYPRODUCTS}
|
-else()
|
||||||
COMMAND ${CMAKE_COMMAND} -E make_directory ${FILE_BIN_DIR}
|
include_directories(${CMAKE_BINARY_DIR}/include/)
|
||||||
- COMMAND $<TARGET_FILE:sdl-common-res2bin> ${FILE} ${FILE_TYPE} ${TARGET_NAME} ${FILE_BIN_DIR}
|
|
||||||
+ COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} $<TARGET_FILE:sdl-common-res2bin> ${FILE} ${FILE_TYPE} ${TARGET_NAME} ${FILE_BIN_DIR}
|
add_executable(generate_argument_manpage
|
||||||
COMMENT "create image resources"
|
@@ -9,14 +6,13 @@ else()
|
||||||
DEPENDS sdl-common-res2bin
|
)
|
||||||
DEPENDS ${FILE}
|
export(TARGETS generate_argument_manpage FILE
|
||||||
diff --git a/cmake/InstallFreeRDPMan.cmake b/cmake/InstallFreeRDPMan.cmake
|
"${CMAKE_BINARY_DIR}/GenerateArgumentManpageConfig.cmake")
|
||||||
index 758d673d6..a00cdf5eb 100644
|
-endif()
|
||||||
--- a/cmake/InstallFreeRDPMan.cmake
|
|
||||||
+++ b/cmake/InstallFreeRDPMan.cmake
|
set(MAN_OPTIONS_FILE "${CMAKE_CURRENT_BINARY_DIR}/freerdp-global-options.1")
|
||||||
@@ -54,7 +54,7 @@ function(generate_and_install_freerdp_man_from_xml target section dependencies)
|
set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS ${MAN_OPTIONS_FILE})
|
||||||
|
|
||||||
add_custom_command(
|
add_custom_command(
|
||||||
OUTPUT "${manpage}"
|
OUTPUT ${MAN_OPTIONS_FILE}
|
||||||
- COMMAND ${CMAKE_BINARY_DIR}/client/common/man/generate_argument_docbook
|
- COMMAND ${CMAKE_BINARY_DIR}/client/common/man/generate_argument_manpage "${MAN_OPTIONS_FILE}"
|
||||||
+ COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} ${CMAKE_BINARY_DIR}/client/common/man/generate_argument_docbook
|
+ COMMAND generate_argument_manpage "${MAN_OPTIONS_FILE}"
|
||||||
COMMAND ${XSLTPROC_EXECUTABLE} --path "${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}" ${DOCBOOKXSL_DIR}/manpages/docbook.xsl ${manpage}.xml
|
|
||||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||||
DEPENDS
|
DEPENDS
|
||||||
|
generate_argument_manpage
|
||||||
|
|
|
@ -1,43 +0,0 @@
|
||||||
undo commit '[cmake] fix cross compilation' because it requires native tools
|
|
||||||
https://github.com/FreeRDP/FreeRDP/commit/46bced61fb2f76d71b737349c851b8f9924278d5
|
|
||||||
diff --git a/client/SDL/common/res/CMakeLists.txt b/client/SDL/common/res/CMakeLists.txt
|
|
||||||
index fdb80b79b..44edf0553 100644
|
|
||||||
--- a/client/SDL/common/res/CMakeLists.txt
|
|
||||||
+++ b/client/SDL/common/res/CMakeLists.txt
|
|
||||||
@@ -15,16 +15,9 @@
|
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# See the License for the specific language governing permissions and
|
|
||||||
# limitations under the License.
|
|
||||||
-if(CMAKE_CROSSCOMPILING)
|
|
||||||
- find_package(SdlCommonRes2bin)
|
|
||||||
-else()
|
|
||||||
- add_executable(sdl-common-res2bin
|
|
||||||
- convert_res_to_c.cpp
|
|
||||||
- )
|
|
||||||
- export(TARGETS sdl-common-res2bin FILE
|
|
||||||
- "${CMAKE_BINARY_DIR}/SdlCommonRes2binConfig.cmake")
|
|
||||||
-endif()
|
|
||||||
-
|
|
||||||
+add_executable(sdl-common-res2bin
|
|
||||||
+ convert_res_to_c.cpp
|
|
||||||
+)
|
|
||||||
|
|
||||||
set(FACTORY_SRCS "")
|
|
||||||
set(FACTORY_HDR "")
|
|
||||||
diff --git a/client/common/man/CMakeLists.txt b/client/common/man/CMakeLists.txt
|
|
||||||
index a611cc22e..b601f1dfd 100644
|
|
||||||
--- a/client/common/man/CMakeLists.txt
|
|
||||||
+++ b/client/common/man/CMakeLists.txt
|
|
||||||
@@ -1,9 +1,3 @@
|
|
||||||
-if(CMAKE_CROSSCOMPILING)
|
|
||||||
- find_package(GenerateArgumentDocbook)
|
|
||||||
-else()
|
|
||||||
- add_executable(generate_argument_docbook
|
|
||||||
- generate_argument_docbook.c
|
|
||||||
- )
|
|
||||||
- export(TARGETS generate_argument_docbook FILE
|
|
||||||
- "${CMAKE_BINARY_DIR}/GenerateArgumentDocbookConfig.cmake")
|
|
||||||
-endif()
|
|
||||||
+add_executable(generate_argument_docbook
|
|
||||||
+ generate_argument_docbook.c
|
|
||||||
+)
|
|
|
@ -1,13 +1,13 @@
|
||||||
# Template file for 'freerdp3'
|
# Template file for 'freerdp3'
|
||||||
pkgname=freerdp3
|
pkgname=freerdp3
|
||||||
version=3.8.0
|
version=3.9.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
build_helper=qemu
|
build_helper=qemu
|
||||||
configure_args="-DCHANNEL_URBDRC_CLIENT=ON -DDOCBOOKXSL_DIR=/usr/share/xsl/docbook
|
configure_args="-DCHANNEL_URBDRC_CLIENT=ON
|
||||||
-DPKG_CONFIG_RELOCATABLE=OFF -DPROXY_PLUGINDIR=/usr/lib/${pkgname}/server/proxy/plugins
|
-DPKG_CONFIG_RELOCATABLE=OFF -DPROXY_PLUGINDIR=/usr/lib/${pkgname}/server/proxy/plugins
|
||||||
-DRDTK_FORCE_STATIC_BUILD=ON -DWAYLAND_SCANNER=/usr/bin/wayland-scanner
|
-DRDTK_FORCE_STATIC_BUILD=ON -DWAYLAND_SCANNER=/usr/bin/wayland-scanner
|
||||||
-DWITH_BINARY_VERSIONING=ON -DXSLTPROC_EXECUTABLE=/usr/bin/xsltproc
|
-DWITH_BINARY_VERSIONING=ON
|
||||||
-DWITH_ALSA=ON -DWITH_CHANNELS=ON -DWITH_CLIENT_CHANNELS=ON -DWITH_CUPS=ON
|
-DWITH_ALSA=ON -DWITH_CHANNELS=ON -DWITH_CLIENT_CHANNELS=ON -DWITH_CUPS=ON
|
||||||
-DWITH_FREERDP_DEPRECATED_COMMANDLINE=ON -DWITH_FUSE=ON -DWITH_GSTREAMER_1_0=OFF
|
-DWITH_FREERDP_DEPRECATED_COMMANDLINE=ON -DWITH_FUSE=ON -DWITH_GSTREAMER_1_0=OFF
|
||||||
-DWITH_ICU=ON -DWITH_JPEG=ON -DWITH_LIBSYSTEMD=OFF -DWITH_PULSE=ON -DWITH_SAMPLE=OFF
|
-DWITH_ICU=ON -DWITH_JPEG=ON -DWITH_LIBSYSTEMD=OFF -DWITH_PULSE=ON -DWITH_SAMPLE=OFF
|
||||||
|
@ -20,7 +20,7 @@ configure_args="-DCHANNEL_URBDRC_CLIENT=ON -DDOCBOOKXSL_DIR=/usr/share/xsl/docbo
|
||||||
-DWITH_PKCS11=$(vopt_if smartcard ON OFF) -DWITH_SWSCALE=$(vopt_if ffmpeg ON OFF)
|
-DWITH_PKCS11=$(vopt_if smartcard ON OFF) -DWITH_SWSCALE=$(vopt_if ffmpeg ON OFF)
|
||||||
-DWITH_WAYLAND=$(vopt_if wayland ON OFF) -DWITH_WEBVIEW=$(vopt_if webview ON OFF)
|
-DWITH_WAYLAND=$(vopt_if wayland ON OFF) -DWITH_WEBVIEW=$(vopt_if webview ON OFF)
|
||||||
-DWITH_CLIENT_SDL_VERSIONED=$(vopt_if sdl2 ON OFF)"
|
-DWITH_CLIENT_SDL_VERSIONED=$(vopt_if sdl2 ON OFF)"
|
||||||
hostmakedepends="pkg-config xmlto $(vopt_if wayland wayland-devel)"
|
hostmakedepends="pkg-config $(vopt_if wayland wayland-devel)"
|
||||||
makedepends="alsa-lib-devel cups-devel fuse3-devel icu-devel libXcursor-devel
|
makedepends="alsa-lib-devel cups-devel fuse3-devel icu-devel libXcursor-devel
|
||||||
libXdamage-devel libXinerama-devel libXrandr-devel libXv-devel
|
libXdamage-devel libXinerama-devel libXrandr-devel libXv-devel
|
||||||
libjpeg-turbo-devel libusb-devel libxkbfile-devel mit-krb5-devel openssl-devel
|
libjpeg-turbo-devel libusb-devel libxkbfile-devel mit-krb5-devel openssl-devel
|
||||||
|
@ -35,7 +35,7 @@ license="Apache-2.0"
|
||||||
homepage="https://www.freerdp.com/"
|
homepage="https://www.freerdp.com/"
|
||||||
changelog="https://raw.githubusercontent.com/FreeRDP/FreeRDP/master/ChangeLog"
|
changelog="https://raw.githubusercontent.com/FreeRDP/FreeRDP/master/ChangeLog"
|
||||||
distfiles="https://github.com/FreeRDP/FreeRDP/archive/${version}.tar.gz"
|
distfiles="https://github.com/FreeRDP/FreeRDP/archive/${version}.tar.gz"
|
||||||
checksum=e313934a77a0bcca3af803455dd9ea1aa2f657c598e3397325aa48e6effd450d
|
checksum=a1d2946c67037bf6bb8aa2f0441c7cacd5e92c835d776cecffb4fcdbaa45ec4f
|
||||||
CFLAGS="-Wno-dev"
|
CFLAGS="-Wno-dev"
|
||||||
|
|
||||||
# wayland - deprecated, sdl2 - experimental
|
# wayland - deprecated, sdl2 - experimental
|
||||||
|
|
Loading…
Reference in New Issue