Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 935034 - x11-drivers/evdi-1.14.4 missing kernel version parameter
Summary: x11-drivers/evdi-1.14.4 missing kernel version parameter
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Paul Zander
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-27 19:22 UTC by spacok
Modified: 2024-08-13 15:39 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 spacok 2024-06-27 19:22:00 UTC
x11-drivers/evdi-1.14.4 is missing KVER parameter during build. This will make troubles updating kernel version and building evdi because without this parameter, KVER is set from `uname -r` (https://github.com/DisplayLink/evdi/blob/main/module/Makefile#L68). 
Possible simple fix (verified locally):
add 'local modargs=(KVER="${KV_FULL}")' into the src_compile() function.
Comment 1 Pacho Ramos gentoo-dev 2024-07-11 10:10:54 UTC
I am not sure if some inspiration could be taken from:
https://github.com/kabili207/zyrenth-overlay/tree/master/x11-drivers/evdi

I am not sure if maybe both could be merged into guru overlay and, maybe, co-maintain the package :/
Comment 2 spacok 2024-07-11 17:37:57 UTC
Inspiration is from my local package what I have for years. I have machine running vanilla kernel which is more frequently updated than gentoo kernel. I realized that evdi is in guru just few weeks ago but update of the kernel make troubles to update the module.

I did not know there is evdi in zyrenth repo.

But what is written in zyrenth package is actually more accurate than my proposal (passing kernel version and also kernel path)
Comment 3 Paul Zander 2024-07-18 14:11:45 UTC
I'll try to get this fixed soon. Sorry for the delay, fixing protobuf took precedent. This ended up in ::guru because I saw people using random versions and it can be used for x11-wm/xpra.
Comment 4 spacok 2024-07-26 07:47:29 UTC
BTW building with >=sys-kernel/vanilla-sources-6.10 needs a patch, I have it already done, are you interested? Or another question, do you need help with maintaining this package?
Comment 5 Larry the Git Cow gentoo-dev 2024-08-13 15:39:33 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=13180dc86663d39d3bee05752983dc4be13efd95

commit 13180dc86663d39d3bee05752983dc4be13efd95
Author:     Paul Zander <negril.nx+gentoo@gmail.com>
AuthorDate: 2024-08-12 15:04:32 +0000
Commit:     Paul Zander <negril.nx+gentoo@gmail.com>
CommitDate: 2024-08-12 15:04:32 +0000

    x11-drivers/evdi: add 1.14.5, drop 1.14.5
    
    Closes: https://bugs.gentoo.org/935034
    Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>

 x11-drivers/evdi/Manifest                          |  2 +-
 .../{evdi-1.14.4.ebuild => evdi-1.14.5.ebuild}     | 26 +++++++++++++---------
 2 files changed, 16 insertions(+), 12 deletions(-)