Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package evdi for openSUSE:Factory checked in at 2024-05-08 11:40:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/evdi (Old) and /work/SRC/openSUSE:Factory/.evdi.new.1880 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "evdi" Wed May 8 11:40:42 2024 rev:5 rq:1172651 version:1.14.4 Changes: -------- --- /work/SRC/openSUSE:Factory/evdi/evdi.changes 2024-02-22 21:01:41.654135101 +0100 +++ /work/SRC/openSUSE:Factory/.evdi.new.1880/evdi.changes 2024-05-08 11:41:54.985540405 +0200 @@ -1,0 +2,48 @@ +Wed May 8 08:03:51 UTC 2024 - Joan Torres <joan.tor...@suse.com> + +- With the latest update these patches are not needed anymore: + * evdi-Enable-compilation-against-15.6.patch + * evdi-Resolve-compiler-errors-when-compiling-against-Linux.patch + +------------------------------------------------------------------- +Tue May 7 13:32:36 UTC 2024 - Joan Torres <joan.tor...@suse.com> + +- Add evdi-rpmlintrc to sources + +------------------------------------------------------------------- +Tue May 07 12:52:10 UTC 2024 - joan.tor...@suse.com + +- Update to version 1.14.4: + * Set version to 1.14.4 + * Fix unsafe use of strlen + * Set version to 1.14.3 + * Fix pyevdi test_check_device test - on some systems card0 can be evdi device + * Remove test package from pyevdi tests + * Add cursor_set/cursor_move handlers to PyEvdi bindings + * Add Card::enableCursorEvents python binding wit tests + * Fix segfault in pyevdi tests and add pytest.run script to run the tests + * Use github when linux mirror does not exists + * Do not allow to mmap imported gem objects via dumb gem api + +------------------------------------------------------------------- +Tue Mar 12 17:19:21 UTC 2024 - joan.tor...@suse.com + +- Update to version 1.14.2: + * Set version to 1.14.2 + * Use mirror of linux when possible + * Run build against kernel stage bash + * Add other non-project related directories to Synopsys exculded dirs + * Publish build when build from main branch + * Minor script improvements + * No std::format in debian bullseye and bookworm + * Rearrange ifdefs to becompliant for ./ci/export_for_kernel script + * Add SonarQube scans for EVDI + * Request reboot when logname returns error + +------------------------------------------------------------------- +Tue Mar 12 15:23:40 UTC 2024 - Joan Torres <joan.tor...@suse.com> + +- Add libevdi.so to libevdi package. + * The DisplayLinkManager uses it. + +------------------------------------------------------------------- Old: ---- evdi-1.14.1.obscpio evdi-Enable-compilation-against-15.6.patch evdi-Resolve-compiler-errors-when-compiling-against-Linux.patch New: ---- evdi-1.14.4.obscpio evdi-rpmlintrc BETA DEBUG BEGIN: Old:- With the latest update these patches are not needed anymore: * evdi-Enable-compilation-against-15.6.patch * evdi-Resolve-compiler-errors-when-compiling-against-Linux.patch Old: * evdi-Enable-compilation-against-15.6.patch * evdi-Resolve-compiler-errors-when-compiling-against-Linux.patch BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ evdi.spec ++++++ --- /var/tmp/diff_new_pack.2ConWH/_old 2024-05-08 11:41:55.497559200 +0200 +++ /var/tmp/diff_new_pack.2ConWH/_new 2024-05-08 11:41:55.501559346 +0200 @@ -20,16 +20,15 @@ %define lname libevdi1 Name: evdi Release: 0 -Version: 1.14.1 +Version: 1.14.4 Summary: Extensible Virtual Display Interface (EVDI) is a Linux Kernel Module License: GPL-2.0-only AND LGPL-2.1-only Group: System/Kernel URL: https://github.com/DisplayLink/evdi Source0: evdi-%{version}.tar Source1: evdi-kmp-preamble -Patch0: evdi-Resolve-compiler-errors-when-compiling-against-Linux.patch -Patch1: evdi-Enable-compilation-against-15.5.patch -Patch2: evdi-Enable-compilation-against-15.6.patch +Source2: evdi-rpmlintrc +Patch0: evdi-Enable-compilation-against-15.5.patch BuildRequires: %{kernel_module_package_buildreqs} BuildRequires: pkgconfig BuildRequires: pkgconfig(libdrm) @@ -69,12 +68,8 @@ %prep %setup -q -%patch -P 0 -p1 %if 0%{?sle_version} == 150500 -%patch -P 1 -p1 -%endif -%if 0%{?sle_version} == 150600 -%patch -P 2 -p1 +%patch -P 0 -p1 %endif %build @@ -84,19 +79,18 @@ popd pushd module -sed -i 's:include/drm:/usr/src/linux/include/drm:' Makefile sed -i 's:/kernel/drivers/gpu/drm/evdi:/extra:' Makefile %make_build mv LICENSE LICENSE.module %install pushd library -%make_install PREFIX=%{_prefix} LIBDIR=%{_dllibdir} CFLAGS="%{optflags}" +%make_install PREFIX=%{_prefix} LIBDIR=%{_dllibdir} install -m644 -D evdi_lib.h %{buildroot}%{_includedir}/%{name}/evdi_lib.h popd pushd module -%make_install PREFIX=%{_prefix} LIBDIR=%{_dllibdir} CFLAGS="%{optflags}" +%make_install PREFIX=%{_prefix} %post -n %{lname} -p /sbin/ldconfig %postun -n %{lname} -p /sbin/ldconfig @@ -107,9 +101,9 @@ %files -n %{lname} %dir %{_dllibdir} +%{_dllibdir}/libevdi.so %{_dllibdir}/libevdi.so.1* %files devel -%{_dllibdir}/libevdi.so %{_includedir}/%{name} ++++++ _service ++++++ --- /var/tmp/diff_new_pack.2ConWH/_old 2024-05-08 11:41:55.529560374 +0200 +++ /var/tmp/diff_new_pack.2ConWH/_new 2024-05-08 11:41:55.533560521 +0200 @@ -3,12 +3,13 @@ <service name="obs_scm" mode="manual"> <param name="scm">git</param> <param name="url">https://github.com/DisplayLink/evdi.git</param> - <param name="revision">v1.14.1</param> + <param name="revision">v1.14.4</param> <param name="versionformat">@PARENT_TAG@</param> <param name="versionrewrite-pattern">v(.*)</param> <param name="versionrewrite-replacement">\1</param> + <!-- <param name="changesgenerate">enable</param> --> </service> + <service name="set_version" mode="manual"/> <service name="tar" mode="buildtime"/> - <service name="set_version" mode="buildtime"/> </services> ++++++ evdi-1.14.1.obscpio -> evdi-1.14.4.obscpio ++++++ ++++ 2821 lines of diff (skipped) ++++++ evdi-Enable-compilation-against-15.5.patch ++++++ --- /var/tmp/diff_new_pack.2ConWH/_old 2024-05-08 11:41:55.665565367 +0200 +++ /var/tmp/diff_new_pack.2ConWH/_new 2024-05-08 11:41:55.665565367 +0200 @@ -4,10 +4,10 @@ Signed-off-by: Joan Torres <joan.tor...@suse.com> --- -diff --git a/module/evdi_drm_drv.h b/module/evdi_drm_drv.h -index 5eea878..cd69cbf 100644 ---- a/module/evdi_drm_drv.h -+++ b/module/evdi_drm_drv.h +Index: evdi-1.14.2/module/evdi_drm_drv.h +=================================================================== +--- evdi-1.14.2.orig/module/evdi_drm_drv.h ++++ evdi-1.14.2/module/evdi_drm_drv.h @@ -26,7 +26,7 @@ #else #include <drm/drmP.h> @@ -17,17 +17,15 @@ #include <drm/drm_framebuffer.h> #else #include <drm/drm_irq.h> -diff --git a/module/evdi_gem.c b/module/evdi_gem.c -index de92a2b..148e632 100644 ---- a/module/evdi_gem.c -+++ b/module/evdi_gem.c -@@ -10,7 +10,8 @@ - +Index: evdi-1.14.2/module/evdi_gem.c +=================================================================== +--- evdi-1.14.2.orig/module/evdi_gem.c ++++ evdi-1.14.2/module/evdi_gem.c +@@ -11,6 +11,7 @@ #include <linux/sched.h> #include <linux/version.h> --#if KERNEL_VERSION(5, 18, 0) <= LINUX_VERSION_CODE || defined(EL8) || defined(EL9) -+#if KERNEL_VERSION(5, 14, 0) <= LINUX_VERSION_CODE || defined(EL8) || defined(EL9) -+#include <linux/iosys-map.h> + #if KERNEL_VERSION(5, 18, 0) <= LINUX_VERSION_CODE || defined(EL8) || defined(EL9) ++#elif KERNEL_VERSION(5, 14, 0) <= LINUX_VERSION_CODE #elif KERNEL_VERSION(5, 11, 0) <= LINUX_VERSION_CODE #include <linux/dma-buf-map.h> #endif @@ -40,16 +38,16 @@ MODULE_IMPORT_NS(DMA_BUF); #endif -@@ -289,7 +290,7 @@ int evdi_gem_vmap(struct evdi_gem_object *obj) +@@ -292,7 +293,7 @@ int evdi_gem_vmap(struct evdi_gem_object int ret; if (evdi_drm_gem_object_use_import_attach(&obj->base)) { -#if KERNEL_VERSION(5, 18, 0) <= LINUX_VERSION_CODE || defined(EL8) || defined(EL9) +#if KERNEL_VERSION(5, 14, 0) <= LINUX_VERSION_CODE || defined(EL8) || defined(EL9) struct iosys_map map = IOSYS_MAP_INIT_VADDR(NULL); - #elif KERNEL_VERSION(5, 11, 0) <= LINUX_VERSION_CODE || defined(EL8) + #elif KERNEL_VERSION(5, 11, 0) <= LINUX_VERSION_CODE struct dma_buf_map map = DMA_BUF_MAP_INIT_VADDR(NULL); -@@ -322,7 +323,7 @@ int evdi_gem_vmap(struct evdi_gem_object *obj) +@@ -325,7 +326,7 @@ int evdi_gem_vmap(struct evdi_gem_object void evdi_gem_vunmap(struct evdi_gem_object *obj) { if (evdi_drm_gem_object_use_import_attach(&obj->base)) { ++++++ evdi-rpmlintrc ++++++ # The DisplaLinkManager actually needs the unversioned library file addFilter("devel-file-in-non-devel-package.*libevdi.so") ++++++ evdi.obsinfo ++++++ --- /var/tmp/diff_new_pack.2ConWH/_old 2024-05-08 11:41:55.721567423 +0200 +++ /var/tmp/diff_new_pack.2ConWH/_new 2024-05-08 11:41:55.725567569 +0200 @@ -1,5 +1,5 @@ name: evdi -version: 1.14.1 -mtime: 1689923626 -commit: 83bb79308ef12c62c3a4377afc7fdb1905038d55 +version: 1.14.4 +mtime: 1712756344 +commit: aa6b5a1d2379c46104302441c8e91559455ccea5