Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 767175 - media-tv/v4l-utils-1.20.0 Possible elog warning for upgrade
Summary: media-tv/v4l-utils-1.20.0 Possible elog warning for upgrade
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: James Le Cuirot
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-25 18:17 UTC by Tom Dexter
Modified: 2021-10-24 20:22 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Dexter 2021-01-25 18:17:27 UTC
The upgrade of media-tv/v4l-utils to 1.20.0 from 1.16.6 might warrant at least an elog warning, as that has several backwards incompatible changes with the way many users may be using ir-keytable. The upgrade broke my remote control functionality completely and I was able to get it working after reading this:

https://forum.mythtv.org/viewtopic.php?t=3729&start=30

The changes that can affect existing users are the following, as far as I'm aware:

1. The format of the output of ir-keytable changed, so any users who are parsing that output to determine parameters needed to load keymaps may have things break as I did.

2. The -d parameter to specify the input device in /dev is no longer supported. Only the -s (--sysdev) parameter (for the rcN to use) is supported.

...but most importantly:

3. While the old version documented the KEYMAP file as being in toml format (and I'm not sure if that actually worked) most users tended to use keymap files with nothing but whitespace delimited hex keycodes and their key...for example:

0x3085c031	KEY_0
0x3085d028	KEY_1
0x3085d029	KEY_2
...etc...

That format does NOT work at all in 1.20.0 and a toml format file that includes the protocols as well (as documented in a new "man rc_keymap") is required.

I'm probably not the only one who got blindsided by this one, and the fact that the 1.16.6 ebuilds were also removed made it difficult to downgrade until I figured all that out. Frankly I don't get the impression that upstream has ever documented any of that stuff too well. Thanks!
Comment 1 James Le Cuirot gentoo-dev 2021-01-29 22:33:24 UTC
Sorry to hear that. I haven't used IR stuff in many years so I was unaware. Did the changes come in with 1.20.0 specifically? If so, would this suffice?

> WARNING! ir-keytable has changed significantly from version 1.20.0 so you may need to take action to avoid breakage. See https://bugs.gentoo.org/767175 for more details.
Comment 2 Tom Dexter 2021-01-30 14:47:58 UTC
Yes that change appears to be specifically in 1.20.0 as far as I know. If it existed in any lower version it certainly wasn't one ever available as an ebuild for sure.

Any yes, that warning should do. It's certainly a lot better than finding out by having things break. Upstream seems to have blindsided everyone with that one so there's really only so much you can do. Thanks!
Comment 3 Larry the Git Cow gentoo-dev 2021-10-24 20:22:55 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc1b5c0c07541e052cfef7698574c25c109b0360

commit dc1b5c0c07541e052cfef7698574c25c109b0360
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2021-10-24 15:55:46 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2021-10-24 20:22:23 +0000

    media-tv/v4l-utils: Add warning about ir-keytable changes
    
    Sorry this is a bit late!
    
    Signed-off-by: James Le Cuirot <chewi@gentoo.org>
    Closes: https://bugs.gentoo.org/767175

 media-tv/v4l-utils/v4l-utils-1.20.0.ebuild | 10 ++++++++++
 1 file changed, 10 insertions(+)