Package kernel-modules-evdi-un-def: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 | %define module_name evdi %define module_version 1.14.1 %define module_release alt2 %define flavour un-def %define karch %ix86 x86_64 armh aarch64 BuildRequires(pre): kernel-headers-modules-un-def %setup_kernel_module %flavour %define module_dir /lib/modules/%kversion-%flavour-%krelease/%module_name Summary: DisplayLink kernel module Name: kernel-modules-%module_name-%flavour Version: %module_version Release: %module_release.%kcode.%kbuildrelease License: GPLv2 Group: System/Kernel and hardware Packager: Kernel Maintainer Team <kernel@packages.altlinux.org> ExclusiveOS: Linux URL: https://github.com/DisplayLink/evdi BuildRequires(pre): rpm-build-kernel BuildRequires: kernel-headers-modules-%flavour = %kepoch%kversion-%krelease BuildRequires: kernel-source-%module_name = %module_version Provides: kernel-modules-%module_name-%kversion-%flavour-%krelease = %EVR Conflicts: kernel-modules-%module_name-%kversion-%flavour-%krelease < %EVR Conflicts: kernel-modules-%module_name-%kversion-%flavour-%krelease > %EVR PreReq: coreutils PreReq: kernel-image-%flavour = %kepoch%kversion-%krelease ExclusiveArch: %karch Patch0: %module_name-%module_version-centos9.patch # https://github.com/DisplayLink/evdi/pull/436 Patch1: 436.patch %description Extensible Virtual Display Interface The Extensible Virtual Display Interface (EVDI) is a Linux kernel module that enables management of multiple screens, allowing user-space programs to take control over what happens with the image. It is essentially a virtual display you can add, remove and receive screen updates for, in an application that uses the libevdi library. %prep tar -jxf %kernel_src/kernel-source-%module_name-%module_version.tar.bz2 %setup -D -T -n kernel-source-%module_name-%module_version # centos backported some fixes for 5.15+ if [ %flavour == "centos" ]; then %patch0 -p1 fi %patch1 -p2 %build %make_build -C %_usrsrc/linux-%kversion-%flavour M=`pwd` V=1 modules %install install -d %buildroot%module_dir install evdi.ko %buildroot%module_dir %files %defattr(644,root,root,755) %module_dir %changelog * %(date "+%%a %%b %%d %%Y") %{?package_signer:%package_signer}%{!?package_signer:%packager} %version-%release - Build for kernel-image-%flavour-%kversion-%krelease. * Sat Dec 02 2023 L.A. Kostis <lakostis@altlinux.org> 1.14.1-alt2 - Apply patch to compile with kernel 6.6 (upstream PR#436). * Tue Sep 05 2023 L.A. Kostis <lakostis@altlinux.org> 1.14.1-alt1 - Updated to 1.14.1. - Updated -centos9 patch. * Mon Jul 03 2023 L.A. Kostis <lakostis@altlinux.org> 1.13.1-alt2 - Updated -centos9 patch. * Wed Apr 26 2023 L.A. Kostis <lakostis@altlinux.org> 1.13.1-alt1 - Updated to 1.13.1. - Cleanup patches. * Sun Mar 12 2023 L.A. Kostis <lakostis@altlinux.org> 1.12.0-alt4 - Added patch for 6.2+ kernels (gh pull #401). * Thu Dec 08 2022 L.A. Kostis <lakostis@altlinux.org> 1.12.0-alt3 - update centos9 patch. - update drm-framebuffer patch (upstream commit bdc258b25df4d00f222fde0e3c5003bf88ef17b5). * Thu Oct 06 2022 L.A. Kostis <lakostis@altlinux.org> 1.12.0-alt2 - Add patch to compile w/ kernel 6.0+. * Tue Aug 16 2022 L.A. Kostis <lakostis@altlinux.org> 1.12.0-alt1 - Updated to 1.12.0. * Wed Jul 20 2022 L.A. Kostis <lakostis@altlinux.org> 1.11.0-alt2 - Updated -centos9 patch (due drm backport changes). * Fri Jun 03 2022 L.A. Kostis <lakostis@altlinux.org> 1.11.0-alt1 - Updated to 1.11.0. - Updated -centos9 patch. * Mon Mar 21 2022 L.A. Kostis <lakostis@altlinux.org> 1.10.1-alt1 - Updated to 1.10.1. - Cleanup patches. * Fri Feb 11 2022 L.A. Kostis <lakostis@altlinux.org> 1.10.0-alt4 - Fix build with recent centos9 kernel (tnx glebfm@ for ideas) - Fix merge from ChromeOS (see upstream issue #340). * Sat Jan 29 2022 L.A. Kostis <lakostis@altlinux.org> 1.10.0-alt3 - Restore kmarch for centos. * Sat Jan 29 2022 L.A. Kostis <lakostis@altlinux.org> 1.10.0-alt2 - Restore workaround for centos. * Sat Jan 29 2022 L.A. Kostis <lakostis@altlinux.org> 1.10.0-alt1 - Updated to 1.10.0. * Sun Dec 19 2021 L.A. Kostis <lakostis@altlinux.org> 1.9.1-alt7 - Fix compile with recent centos9 kernel. * Mon Nov 29 2021 L.A. Kostis <lakostis@altlinux.org> 1.9.1-alt6 - Add -centos kernel support. * Thu Nov 25 2021 L.A. Kostis <lakostis@altlinux.org> 1.9.1-alt5 - Bump release. * Thu Nov 25 2021 L.A. Kostis <lakostis@altlinux.org> 1.9.1-alt4 - Enable armh. - Apply some fixes from upstream PRs: + 0001-Add-support-for-cursor-planes.patch (PR 314) + 0001-Remove-compat-calls-for-5.15-kernel.patch (fix compile on 5.15+ kernels) + 0002-Fix-dma_buf_vunmap-failing-on-kernel-5.11.patch (PR 315) * Thu Nov 25 2021 Anton V. Boyarshinov <boyarsh@altlinux.org> 1.9.1-alt3 - build with kernel 5.15 fixed * Mon Nov 22 2021 L.A. Kostis <lakostis@altlinux.org> 1.9.1-alt2 - Add ExclusiveArch. * Mon Nov 22 2021 L.A. Kostis <lakostis@altlinux.org> 1.9.1-alt1 - Initial build for Sisyphus. |