Commit Graph

41 Commits

Author SHA1 Message Date
rustdesk
7682335b88 android: define getifaddrs/freeifaddrs for the api-21 sysroot
Turning on hbb_common's "webrtc" feature pulls webrtc-util into the android
link, and its ifaces() -- reached from vnet::Net::new() on every ICE gather --
calls getifaddrs(). bionic exports getifaddrs/freeifaddrs only from API 24,
while flutter/ndk_*.sh builds against --platform 21, so every abi failed to
link on the undefined symbols.

Raising the platform to 24 would have to drag minSdkVersion 22 with it and
turn the link error into a load-time one on Android 5.1/6.0, so define the
two symbols instead, using the RTM_GETLINK + RTM_GETADDR netlink dump bionic
itself uses. The definition also shadows bionic's on API >= 24 rather than
delegating to it, so the path that ships is the path every test device runs.

Checked against synthesised netlink dumps on the host -- link/address parsing,
prefix masks, point-to-point, ipv6 scope ids, malformed and truncated messages
-- under UBSan and byte-exact guard malloc, with a deliberately unsigned
remainder as the negative control.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-27 14:49:33 +08:00
Kino
cec4085238 Bump aom to v3.14.1 (#15883)
* Bump aom to v3.14.1

* Remove oboe dependency in vcpkg.json
2026-08-25 19:53:56 +08:00
rustdesk
5b21441898 webrtc 2025-11-28 10:45:48 +08:00
IwantHappiness
15d471e520 Remove needless macros format! (#11456) 2025-09-03 22:17:11 +08:00
KAYUII
608d7d55d5 add env VCPKG_INSTALLED_ROOT (#9985) 2024-11-20 19:41:30 +08:00
21pages
06c7bc137f linux android use cpal (#9914)
Signed-off-by: 21pages <sunboeasy@gmail.com>
2024-11-14 21:01:41 +08:00
fufesou
ab07eb6f4a Fix. Remove strange cert dir created by 1.2.3 (#7620)
* Fix. Remove strange cert dir created by 1.2.3

1. Remove `install_cert()`.
2. https://github.com/rustdesk/rustdesk/discussions/6444#discussioncomment-9017532

Signed-off-by: fufesou <shuanglongchen@yeah.net>

* comments

Signed-off-by: fufesou <shuanglongchen@yeah.net>

---------

Signed-off-by: fufesou <shuanglongchen@yeah.net>
2024-04-06 16:22:59 +08:00
Vasyl Gello
0dfb1ae776 Add oboe-wrapper local vcpkg port
... because we switched to unmodified oboe.

The wrapper is built as separate local vcpkg port
that depends on oboe.

Signed-off-by: Vasyl Gello <vasek.gello@gmail.com>
2023-11-08 21:26:04 +02:00
Vasyl Gello
9f4a844c9b Fix buildscripts
* Fix FDroid build on x86
  * Fix CI build on arm
  * Rename `install_oboe` to `install_android_deps`

... because we add ndk_compat and the function installs
android-specific dependencies.

Signed-off-by: Vasyl Gello <vasek.gello@gmail.com>
2023-11-07 06:27:43 +02:00
RustDesk
9096c29fef Revert "Fixes for Android (ndk r26b)" 2023-11-02 09:50:02 +08:00
Vasyl Gello
0805b00c50 Fix build on android-x86 and rename function
... because we add ndk_compat and the function installs
android-specific dependencies.

Signed-off-by: Vasyl Gello <vasek.gello@gmail.com>
2023-11-01 11:41:17 +02:00
rustdesk
5ad0730a26 remove gen_flutter_rust_bridge in build.rs 2023-10-31 11:00:13 +08:00
rustdesk
324447ffc8 fix sciter bundle 2023-06-30 22:13:34 +08:00
rustdesk
d95595add4 fix last commit 2023-06-29 12:13:20 +08:00
rustdesk
2194b2afb2 disable stupid ffigen in build.rs by default 2023-06-29 12:05:47 +08:00
rustdesk
7f51f8d976 refactor linux install/uninstall service as windows 2023-06-07 23:08:50 +08:00
rustdesk
b07ac438f5 working on windows service install/uninstall 2023-06-05 20:27:48 +08:00
Kingtous
021612e8be fix: macos compile 2023-04-18 18:28:12 +08:00
fufesou
8f51e021c8 remove simple_rc
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-17 14:18:00 +08:00
rustdesk
61679a1072 upgrade some crates, fix scrap benchmark on mac, fix compile issue on
osx10.14
2023-03-09 17:22:14 +08:00
21pages
ee0e84be37 update flutter_rust_bridge to latest
Signed-off-by: 21pages <pages21@163.com>
2023-01-20 14:53:52 +08:00
rustdesk
b048e5b280 adding input monitoring priviledge detect for mac 2023-01-06 12:20:26 +08:00
rustdesk
f0208c759b https://github.com/rustdesk/rustdesk/pull/1562 2022-09-18 13:13:45 +08:00
rustdesk
72e20e5020 move icon.ico to res 2022-09-18 11:26:10 +08:00
Kingtous
2d93460873 feat: flatpak and flutter build 2022-09-08 18:27:38 +08:00
asur4s
40534fd79f Fix ci 2022-09-02 19:54:53 -04:00
Asura
15b8a5592d Refactor: check env variable 2022-09-02 05:41:50 -07:00
Asura
815d02b728 Fix misspell 2022-09-02 04:54:04 -07:00
Asura
c3fe407d5c Check LLVM_HOME when build 2022-09-02 02:06:40 -07:00
Asura
41241867b7 Fix compile warning 2022-09-02 01:20:48 -07:00
Asura
a4ee1bcc38 Get flutter deps when build 2022-09-01 23:58:14 -07:00
fufesou
0ba8b4079b flutter_desktop_online_state: refactor connection page
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-07-28 11:11:13 +08:00
Kingtous
4a89469b84 Merge remote-tracking branch 'rustdesk/master' into flutter_desktop
# Conflicts:
#	Cargo.lock
#	Cargo.toml
#	build.rs
#	flutter/.gitignore
#	flutter/lib/common.dart
#	flutter/lib/mobile/pages/remote_page.dart
#	flutter/lib/models/model.dart
#	flutter/lib/models/native_model.dart
#	flutter/lib/models/server_model.dart
#	flutter/pubspec.lock
#	flutter/pubspec.yaml
#	src/client.rs
#	src/client/file_trait.rs
#	src/flutter.rs
#	src/mobile_ffi.rs
#	src/ui.rs
2022-06-27 11:18:53 +08:00
SoLongAndThanksForAllThePizza
d756551791 fix: macos compilation 2022-06-02 16:13:34 +08:00
fufesou
2081113bed simple_rc: win init simple resource pack
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-05-30 13:06:48 +08:00
SoLongAndThanksForAllThePizza
bd2250b6c9 fix unchanged mobile_ffi.rs 2022-05-25 20:50:32 +08:00
Kingtous
a68520df08 fix: bridge compilation 2022-05-25 14:30:19 +08:00
csf
a7af7967f6 use new event channel for mobile and web 2022-05-17 19:59:37 +08:00
rustdesk
1ab061a690 fix oboe 2022-05-12 17:55:49 +08:00
rustdesk
de4bb684af use api rather than cmd to retrieve active user name to solve
non-English problem
2021-04-09 09:58:50 +08:00
rustdesk
d1013487e2 source code 2021-03-29 15:59:14 +08:00