Package Details: evdi 1.14.2-0

Git Clone URL: https://aur.archlinux.org/evdi.git (read-only, click to copy)
Package Base: evdi
Description: A Linux® kernel module that enables management of multiple screens.
Upstream URL: https://github.com/DisplayLink/evdi
Keywords: display displaylink dp evdi screens
Licenses: GPL
Submitter: PlusMinus
Maintainer: endorfina
Last Packager: endorfina
Votes: 51
Popularity: 0.065567
First Submitted: 2016-09-16 07:44 (UTC)
Last Updated: 2024-02-08 10:58 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 22 Next › Last »

mvidaldp commented on 2023-11-09 13:11 (UTC)

I can confirm at this point (evdi 1.14.1-0) it works with displaylink 5.8.0 and linux kernel 6.1. So no need of evdi-compat-git right now.

endorfina commented on 2023-05-26 10:23 (UTC)

Do not include linux-headers – or any other Linux header package – to the PKGBUILD. These headers are already listed as optional dependencies of dkms and each kernel package has its own header package, so including header package dependency in the -dkms package is both unnecessarily redundant and restricting.

Source: https://wiki.archlinux.org/title/DKMS_package_guidelines

@TheLillo I have found this. Makes sense. 😝

If we take a look at the dkms's PKGBUILD, you can see all of the linux-*-header packages listed in optdepends.

I'll remove the dependency.

TheLillo commented on 2023-05-22 14:06 (UTC) (edited on 2023-05-22 14:19 (UTC) by TheLillo)

you would need to check for example if linux is installed then you need to have linux-headers as dependency, otherwise if linux-lts is installed you need to have linux-lts-headers as dependency.

I have read the PKGBUILD doc https://wiki.archlinux.org/title/PKGBUILD#optdepends An array of packages that are not needed for the software to function, but provide additional features.

without the linux-lts-headers package the program doesn't compile at all so I would say that optdepends would not be correct right?

another aspect to deal with lies in the question that this only applies to linux and linux-lts as they are the only ones to have the corresponding linux-headers linux-lts-headers

endorfina commented on 2023-05-16 13:18 (UTC)

I looked at other packages that use dkms and they put linux-headers in makedepends. These are, among others: bbswitch-dkms, nvidia-open-dkms, vhba-module-dkms and also evdi-git. Maybe that's the approach. Personally, I warmed-up to bluegreensea's idea with optdepends.

TheLillo commented on 2023-05-16 12:36 (UTC)

I have changed the PKGBUILD

diff --git a/PKGBUILD b/PKGBUILD
index 2db4df5..15c6693 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,7 +10,7 @@ pkgdesc="A Linux® kernel module that enables management of multiple screens."
 arch=('i686' 'x86_64')
 url="https://github.com/DisplayLink/evdi"
 license=('GPL')
-depends=(glibc dkms libdrm base-devel linux-headers)
+depends=(glibc dkms libdrm base-devel linux-lts-headers)
 changelog=$pkgname.Changelog
 source=(https://github.com/DisplayLink/evdi/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
 sha256sums=('e4a64926adef39dfa6ab3e7b1dfa20a3f55f656c11f1a98532562044a31ed5f4')

Now It works with linux-lts

TheLillo commented on 2023-05-15 09:43 (UTC)

It is not working with linux-lts

ERROR: Missing 6.3.1-arch2-1 kernel modules tree for module evdi/1.13.1.

bluegreensea commented on 2023-05-10 07:42 (UTC)

It won't, because linux-headers is only provides by vanilla-like kernels.

endorfina commented on 2023-05-04 08:54 (UTC)

Wouldn't this be handled by linux-*-headers's provides? The evdi module does require Linux headers to compile. The wiki says using optdepends is mainly for additional features.

bluegreensea commented on 2023-04-29 18:34 (UTC)

Maybe linux-headers needs to be marked as optional to support other headers? Like linux-hardened-headers, linux-lts-headers, linux-zen-headers.