librsvg provides a rust crate (https://crates.io/crates/librsvg) which is needed to package tiny-dfr, but doesn't seem to be currently included in the librsvg2 package in Fedora. Reproducible: Always
On further investigation, this might have to wait on https://gitlab.gnome.org/GNOME/librsvg/-/issues/995
I think it would be easiest for now to package rust-librsvg separately, until we figure out how to build both the C library and the rsvg pixbuf loader and the rust crate from the same source package. It might be worth to eventually move everything over to rust-librsvg source package, but I think it would be easiest to just have two separate packages for now to unblock tiny-dfr. I'm happy to maintain both and ensure they both get updated.
That works for me, thanks Kalev!
Put rust-librsvg up at https://bugzilla.redhat.com/show_bug.cgi?id=2227475
I've imported rust-librsvg and added kalev as admin.
Sorry, I've been at GUADEC and saw it only now that you were packaging it. I was holding off putting the librsvg crate up for review because upstream is in the process of renaming it from librsvg to rsvg and is just about to upload the first renamed version to crates.io, hopefully later this week. I figured you saw this because your license files PR was marked as related to the rename issue ticket upstream, but I guess not :) Sorry! Anyway, I think it's fine to have both librsvg and rsvg crates in the distro for now especially if you were in a hurry, but just note that rust-librsvg is likely going to go away in not so distant future and getting replaced by rust-rsvg :) Adding Fabio just for FYI.
It's a bit of unfortunate timing, but I don't think it will create problems. Once something depends on the new version (i.e. also on the new name), it will just require another package review. Once nothing depends on the old name/version any more, it can be retired. But this can all happen on a leisurely timeline since the packages can coexist without issues. From my point of view this ticket could be closed for now?
Yep, agreed on both counts. I'll package rust-rsvg and put it up for review as soon as it's available as I need it for packaging loupe. Thanks for the help with all this, David and Fabio!
FEDORA-2023-c2d333f341 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-c2d333f341
FEDORA-2023-c2d333f341 has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report.