Summary: | media-sound/squeezecenter-7.3.2-r1 RDEPENDS on too new a version of dev-perl/JSON-XS | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Tim Dodge <timmy> |
Component: | New packages | Assignee: | Joe Peterson (RETIRED) <lavajoe> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | stuart |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Updated JSON::XS patch |
Description
Tim Dodge
2009-03-22 20:58:57 UTC
I've just tried downgrading to JSON-XS-1.52 and squeezecenter won't even start. It looks like the calls to from_json are mostly in plugins that I guess the main squeezecenter devs don't touch. Perhaps we need some sed & awk in the ebuild to rename from_json and to_json to decode_json and encode_json? You're right - there is a problem here. However I think it's just in the following files: /usr/lib/perl5/vendor_perl/5.8.8/Slim/Plugin/Sirius/ProtocolHandler.pm /usr/lib/perl5/vendor_perl/5.8.8/Slim/Plugin/LastFM/ProtocolHandler.pm The other files that you find from_json in use JSON::XS::VersionOneAndTwo which automatically converts from_json/to_json to the newer forms if you're using a newer version of JSON::XS. I'll update the ebuild to also fix those two plugins to also use VersionOneAndTwo. I'll post back here when I've done that. Created attachment 186048 [details, diff]
Updated JSON::XS patch
Joe, attached is an updated JSON::XS patch for the 7.3.2-r1 ebuild; I've tested this with 7.3.2-r1 and successfully submitted tracks to LastFM, so I believe it's working and resolves this bug.
I've also submitted this patch upstream to hopefully remove the need for the ebuild to maintain this local modification (http://bugs.slimdevices.com/show_bug.cgi?id=11463). Stuart, thanks! I've committed this as 7.3.2-r2. Note also that I have used the full rev now in the epatch for this patch. This is so -r1 will not pick up the fix. We'll want to adjust this back with future versions. This has now been fixed upstream (http://svn.slimdevices.com/slim?rev=26976&view=rev). Can this be closed - the original report seems to have gone quiet? Fine by me, the patch fixed the problems I was experiencing. Thanks. Thanks for confirming that. I'm not the assignee of the bug so can't close it, but I think either you or Joe could do that. |