Hi,

Le mer. 28 juin 2023 à 20:38:24 +01:00:00, Peter Michael Green <plugw...@debian.org> a écrit :
tags 1039534 +patch
thanks
squeekboard build-depends on missing:
- librust-gtk+v3-22-dev:amd64 (>= 0.14)

The current version of rust-gtk provides librust-gtk+v3-24-dev
After updating the dependencies (both Debian and cargo) to allow a build to be attempted I discovered there were also a couple of real code issues.

The first is that gtk::rectangle is now an opaque type, so you have to
call "new" instead of assembling it field by field.

The second is that "property" appears to have been renamed first to
"property_value", then to "try_property_value". Then the non-panicing
version was removed completely. I modified the code to add an explicit
check if the property exists before calling the panicing version of
the function (now called "property_value") but I have no idea if this
is overkill or not.

I'm not really in a position to test this patch as I don't use Debian
on an appropriate device.

Anyway, a debdiff is attached, if there is no maintainer response,
*and* I get feedback from a user that the patched squeekboard is
usable then I may NMU it.

Thanks for looking into this. I'm currently testing a very similar patch (see https://salsa.debian.org/DebianOnMobile-team/squeekboard/-/tree/wip/a-wai/update-build-deps) and will likely upload a new version including it over the week-end.

Cheers,
Arnaud
















Reply via email to