On Fri, Jul 16, 2021 at 4:33 PM Robert-André Mauchin <zebob.m(a)gmail.com> wrote:
On 7/16/21 4:02 PM, Fabio Valentini wrote:
> On Fri, Jul 16, 2021 at 3:50 PM Robert-André Mauchin <zebob.m(a)gmail.com>
wrote:
>>
>> Hi,
>>
>>
>> Remy Lauzier started to package rust-proc-macro-crate and several of its
>> dependencies. I intend to package the rest of the tree of dependencies
>> in a side tag. I have already started preparing some of them locally:
>
> Hey,
>
> Sorry, I planned to tackle the proc-macro-crate update sooner, but got
> sidetracked by 50+ new pending updates for elementary OS 6 components
> ...
> I wonder if it wouldn't be *much* simpler to create a few compat
> packages, i.e. at least for proc-macro-crate? A lot of packages still
> use the old version.
>
So far I had 2 direct dependencies broken by proc-macro-crate changes,
but this was easily patched (one of the upstream merged my patch).
I have started working on this today:
https://bodhi.fedoraproject.org/updates/FEDORA-2021-d839027695
https://bodhi.fedoraproject.org/updates/FEDORA-2021-dc047427ba
This covers proc-macro-crate 1.0.0 plus a 0.1 compat package, and the
pending num_enum* and zvariant* updates that needed 1.0.0.
These are self-contained updates that did not make any other changes
necessary, which should - I hope - make it easier to work
incrementally on the rest of the updates, instead of making it
necessary to update a whole boatload at once.
I'll try to map out a dependency graph and build order for the gtk-rs
stack tomorrow.
But I'm not particularly hopeful at this point, since it looks like
we'll either need to create compat packages for more than half of
those packages (for newsflash and squeekboard, which both are stuck on
old gtk-rs 0.10 versions for now), or port newsflash and squeekboard
to gtk-rs 0.14 downstream (newsflash upstream has some patches in git
master, but I have no idea about squeekboard, they use some kind of
franken-buildsystem involving bash, python, meson, and Cargo.toml
templates ... but from what I can tell, it looks like they do not
support gtk-rs 0.14 yet).
As soon as rust-cpufeatures is built, I'll work on the pending
RustCrypto updates as well.
Fabio