chore: Bump xcap to 0.7.0, let android can cargo build without extra patch#4344
chore: Bump xcap to 0.7.0, let android can cargo build without extra patch#4344shawn111 wants to merge 1 commit intoblock:mainfrom
Conversation
| @@ -1387,8 +1387,10 @@ impl DeveloperRouter { | |||
| ) | |||
| })?; | |||
|
|
|||
There was a problem hiding this comment.
xcap 0.0.14 -> xcap 0.7.0
- pub fn title(&self) -> &str {
- &self.impl_window.title
- }
- /// The window process id
- pub fn pid(&self) -> u32 {
- self.impl_window.pid
+ pub fn title(&self) -> XCapResult<String> {
+ self.impl_window.title()
+ }
|
goose core team works on refactor mcp #4297 |
| let window = windows | ||
| .into_iter() | ||
| .find(|w| w.title() == window_title) | ||
| .find(|w| w.title().unwrap_or_default() == window_title) |
There was a problem hiding this comment.
why would we not have a window title?
There was a problem hiding this comment.
xcap 0.0.14 -> xcap 0.7.0
- pub fn title(&self) -> &str {
- &self.impl_window.title
- }
...
+ pub fn title(&self) -> XCapResult<String> {
+ self.impl_window.title()
+ }
There is for the change of xcap.
Or do you think is it good?
|
rebase main & fix .github/workflows/ci.yml |
|
rebase main after rmcp branch merged |
623e225 to
d7ab7b8
Compare
|
This pull request has been automatically marked as stale because it has not had recent activity for 23 days. What happens next?
Thank you for your contribution! 🚀 |
|
ok, sorry for letting this linger. let's try & get this in. currently it fails with an exception, can you look? |
|
friendly ping @shawn111 - would love to get this in |
|
Let me rebase main to fix it
|
- bump `xcap` to 0.7.0 from 0.0.14 - improve some windows/wayland function - support android build - https://github.com/nashaofu/xcap/releases/tag/v0.7.0 - update Cross.toml - Added `pipewire-debian/pipewire-upstream` PPA - libegl1-mesa-dev, libgbm-dev, libpipewire-0.3-dev, libwayland-dev - updated w.title() calls to w.title().unwrap_or_default() Signed-off-by: Shawn Wang <shawn111@gmail.com>
|
@DOsinga rebased, and all github actions on my repo build passed
|
|
yeah thanks, but still seems to failing here with a mysterious missing library error |
|
would still love to get this in, but I am going to close this due to non activity. feel free to ping if you need help getting it merged |
chore: Bump xcap to 0.7.0 and update Cross.toml:
xcapto 0.7.0 from 0.0.14- improve some windows/wayland function
- support android build
- https://github.com/nashaofu/xcap/releases/tag/v0.7.0
pipewire-debian/pipewire-upstreamPPAOnce, this PR merge, termux user can carge build goose without any patches.
There is the github action build from my repo:
https://github.com/shawn111/goose/releases/tag/canary
https://github.com/shawn111/goose/actions/runs/17299321930