diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2023-03-08 21:20:39 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-03-09 09:10:52 -0800 |
| commit | a393e5b30dd66e6d1b8798e7a33c82a1ab15cdc3 (patch) | |
| tree | 683e54f7a3be8bc32323b68649f85d7bd61149ae /meta-oe/recipes-support/freerdp/freerdp_2.10.0.bb | |
| parent | 81a8951a56f289b8f8c628fc675a308044444a5c (diff) | |
| download | meta-openembedded-a393e5b30dd66e6d1b8798e7a33c82a1ab15cdc3.tar.gz | |
freerdp: upgrade 2.9.0 -> 2.10.0
0001-Fix-incompatible-function-pointer-types.patch
removed since it's included in 2.10.0
Changelog:
===========
Notewhorth changes:
-------------------
* Fix android build scripts, use CMake from SDK
* Fix connection negotiation with mstsc/msrdc #8426
* [ntlm]: use rfc5929 binding hash algorithm #8430
* [channels,printer] Fixed reference counting #8433
* Fix uwac pixman #8439
* Fix Rdp security #8457
* [client,x11] Detect key autorepeat #8522
* [build] add channel path to RPATH #8551
* Fix build with BUILTIN_CHANNELS=OFF #8560
* revert changes so that the osmajortype/osminortype is not overwritten #8571
* [uwac] do not use iso C functions #8604
* [winpr,sam] fix inalid NULL arguments #8605
* Fix incompatible function pointer types #8625
Fixed issues:
-------------
* Backported #8581: Ignore data PDUs for DVCs that were not opened successfully
* Backported #8498: [channel,urbdrc] fix type of usb hotplug callback
* Backported #8537: Extended info enforce limits
* Backported #8611: [core] add missing redirection fields
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/freerdp/freerdp_2.10.0.bb')
| -rw-r--r-- | meta-oe/recipes-support/freerdp/freerdp_2.10.0.bb | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/freerdp/freerdp_2.10.0.bb b/meta-oe/recipes-support/freerdp/freerdp_2.10.0.bb new file mode 100644 index 0000000000..a1bf67ca11 --- /dev/null +++ b/meta-oe/recipes-support/freerdp/freerdp_2.10.0.bb | |||
| @@ -0,0 +1,86 @@ | |||
| 1 | # Copyright (C) 2010-2012 O.S. Systems Software Ltda. All Rights Reserved | ||
| 2 | # Released under the MIT license | ||
| 3 | |||
| 4 | DESCRIPTION = "FreeRDP RDP client & server library" | ||
| 5 | HOMEPAGE = "http://www.freerdp.com" | ||
| 6 | DEPENDS = "openssl alsa-lib libusb1" | ||
| 7 | SECTION = "net" | ||
| 8 | LICENSE = "Apache-2.0" | ||
| 9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" | ||
| 10 | |||
| 11 | inherit pkgconfig cmake gitpkgv | ||
| 12 | |||
| 13 | PE = "1" | ||
| 14 | PKGV = "${GITPKGVTAG}" | ||
| 15 | |||
| 16 | SRCREV = "7471ae383e7b7a613f275e19f7b54958a193c891" | ||
| 17 | SRC_URI = "git://github.com/FreeRDP/FreeRDP.git;branch=stable-2.0;protocol=https \ | ||
| 18 | file://winpr-makecert-Build-with-install-RPATH.patch \ | ||
| 19 | " | ||
| 20 | |||
| 21 | S = "${WORKDIR}/git" | ||
| 22 | |||
| 23 | EXTRA_OECMAKE += " \ | ||
| 24 | -DWITH_ALSA=ON \ | ||
| 25 | -DWITH_FFMPEG=OFF \ | ||
| 26 | -DWITH_CUNIT=OFF \ | ||
| 27 | -DWITH_NEON=OFF \ | ||
| 28 | -DBUILD_STATIC_LIBS=OFF \ | ||
| 29 | -DCMAKE_POSITION_INDEPENDANT_CODE=ON \ | ||
| 30 | -DWITH_MANPAGES=OFF \ | ||
| 31 | " | ||
| 32 | |||
| 33 | PACKAGECONFIG ??= " \ | ||
| 34 | ${@bb.utils.filter('DISTRO_FEATURES', 'directfb pam pulseaudio wayland x11', d)}\ | ||
| 35 | gstreamer cups pcsc server \ | ||
| 36 | " | ||
| 37 | |||
| 38 | X11_DEPS = "virtual/libx11 libxinerama libxext libxcursor libxv libxi libxrender libxfixes libxdamage libxrandr libxkbfile" | ||
| 39 | PACKAGECONFIG[x11] = "-DWITH_X11=ON -DWITH_XINERAMA=ON -DWITH_XEXT=ON -DWITH_XCURSOR=ON -DWITH_XV=ON -DWITH_XI=ON -DWITH_XRENDER=ON -DWITH_XFIXES=ON -DWITH_XDAMAGE=ON -DWITH_XRANDR=ON -DWITH_XKBFILE=ON,-DWITH_X11=OFF,${X11_DEPS}" | ||
| 40 | PACKAGECONFIG[wayland] = "-DWITH_WAYLAND=ON,-DWITH_WAYLAND=OFF,wayland wayland-native libxkbcommon" | ||
| 41 | PACKAGECONFIG[directfb] = "-DWITH_DIRECTFB=ON,-DWITH_DIRECTFB=OFF,directfb" | ||
| 42 | PACKAGECONFIG[pam] = "-DWITH_PAM=ON,-DWITH_PAM=OFF,libpam" | ||
| 43 | PACKAGECONFIG[pcsc] = "-DWITH_PCSC=ON,-DWITH_PCSC=OFF,pcsc-lite" | ||
| 44 | PACKAGECONFIG[pulseaudio] = "-DWITH_PULSEAUDIO=ON,-DWITH_PULSEAUDIO=OFF,pulseaudio" | ||
| 45 | PACKAGECONFIG[gstreamer] = "-DWITH_GSTREAMER_1_0=ON,-DWITH_GSTREAMER_1_0=OFF,gstreamer1.0 gstreamer1.0-plugins-base" | ||
| 46 | PACKAGECONFIG[cups] = "-DWITH_CUPS=ON,-DWITH_CUPS=OFF,cups" | ||
| 47 | PACKAGECONFIG[server] = "-DWITH_SERVER=ON,-DWITH_SERVER=OFF" | ||
| 48 | |||
| 49 | PACKAGES =+ "libfreerdp" | ||
| 50 | |||
| 51 | LEAD_SONAME = "libfreerdp.so" | ||
| 52 | FILES:libfreerdp = "${libdir}/lib*${SOLIBS}" | ||
| 53 | |||
| 54 | PACKAGES_DYNAMIC += "^libfreerdp-plugin-.*" | ||
| 55 | |||
| 56 | # we will need winpr-makecert to generate TLS certificates | ||
| 57 | do_install:append () { | ||
| 58 | install -d ${D}${bindir} | ||
| 59 | install -m755 winpr/tools/makecert-cli/winpr-makecert ${D}${bindir} | ||
| 60 | rm -rf ${D}${libdir}/cmake | ||
| 61 | rm -rf ${D}${libdir}/freerdp | ||
| 62 | } | ||
| 63 | |||
| 64 | python populate_packages:prepend () { | ||
| 65 | freerdp_root = d.expand('${libdir}/freerdp') | ||
| 66 | |||
| 67 | do_split_packages(d, freerdp_root, r'^(audin_.*)\.so$', | ||
| 68 | output_pattern='libfreerdp-plugin-%s', | ||
| 69 | description='FreeRDP plugin %s', | ||
| 70 | prepend=True, extra_depends='libfreerdp-plugin-audin') | ||
| 71 | |||
| 72 | do_split_packages(d, freerdp_root, r'^(rdpsnd_.*)\.so$', | ||
| 73 | output_pattern='libfreerdp-plugin-%s', | ||
| 74 | description='FreeRDP plugin %s', | ||
| 75 | prepend=True, extra_depends='libfreerdp-plugin-rdpsnd') | ||
| 76 | |||
| 77 | do_split_packages(d, freerdp_root, r'^(tsmf_.*)\.so$', | ||
| 78 | output_pattern='libfreerdp-plugin-%s', | ||
| 79 | description='FreeRDP plugin %s', | ||
| 80 | prepend=True, extra_depends='libfreerdp-plugin-tsmf') | ||
| 81 | |||
| 82 | do_split_packages(d, freerdp_root, r'^([^-]*)\.so$', | ||
| 83 | output_pattern='libfreerdp-plugin-%s', | ||
| 84 | description='FreeRDP plugin %s', | ||
| 85 | prepend=True, extra_depends='') | ||
| 86 | } | ||
