Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package hdjmod for openSUSE:Factory checked in at 2023-05-11 12:33:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/hdjmod (Old) and /work/SRC/openSUSE:Factory/.hdjmod.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "hdjmod" Thu May 11 12:33:48 2023 rev:25 rq:1086131 version:1.34 Changes: -------- --- /work/SRC/openSUSE:Factory/hdjmod/hdjmod.changes 2022-06-21 16:32:39.831833333 +0200 +++ /work/SRC/openSUSE:Factory/.hdjmod.new.1533/hdjmod.changes 2023-05-11 12:34:13.810922457 +0200 @@ -1,0 +2,7 @@ +Wed May 10 19:55:30 UTC 2023 - Matthias Bach <ma...@marix.org> - 1.34 + +- Update to version 1.34 + * Compatibility with Linux 6.4 +- Drop hdjmod_fix_hotplug.patch that has been included upstream. + +------------------------------------------------------------------- Old: ---- hdjmod-1.33.tar.gz hdjmod_fix_hotplug.patch New: ---- hdjmod-1.34.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ hdjmod.spec ++++++ --- /var/tmp/diff_new_pack.V6fclD/_old 2023-05-11 12:34:14.562926152 +0200 +++ /var/tmp/diff_new_pack.V6fclD/_new 2023-05-11 12:34:14.570926192 +0200 @@ -1,7 +1,7 @@ # # spec file for package hdjmod # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # Copyright (c) 2021 Matthias Bach <ma...@marix.org> # # All modifications and additions to the file contributed by third parties @@ -18,7 +18,7 @@ Name: hdjmod -Version: 1.33 +Version: 1.34 Release: 0 Summary: Support for Hercules DJ Devices License: GPL-2.0-or-later @@ -26,8 +26,6 @@ URL: https://codeberg.org/Marix/hdjmod Source0: https://codeberg.org/Marix/hdjmod/archive/%{version}.tar.gz#/hdjmod-%{version}.tar.gz Source1: preamble -# PATCH-FIX-UPSTREAM hdjmod_fix_hotplug.patch [bnc#746358] ma...@marix.org -- Don't load on hotplug of devices from other vendors -Patch1: hdjmod_fix_hotplug.patch BuildRequires: %{kernel_module_package_buildreqs} BuildRequires: libelf-devel %suse_kernel_module_package -p%{_sourcedir}/preamble @@ -39,7 +37,6 @@ echo %{flavors_to_build} %setup -q -n %{name} -%patch1 -p1 set -- * mkdir source ++++++ hdjmod-1.33.tar.gz -> hdjmod-1.34.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hdjmod/.woodpecker.yml new/hdjmod/.woodpecker.yml --- old/hdjmod/.woodpecker.yml 1970-01-01 01:00:00.000000000 +0100 +++ new/hdjmod/.woodpecker.yml 2023-05-10 21:27:38.000000000 +0200 @@ -0,0 +1,35 @@ +--- + +platform: linux/amd64 + +pipeline: + leap-15.4: + group: build + image: registry.opensuse.org/opensuse/leap:15.4 + commands: + - zypper --non-interactive refresh + - zypper --non-interactive install gcc kernel-default-devel make + - make -O -j4 V=1 VERBOSE=1 KERNELDIR=/usr/src/linux-obj/x86_64/default ARCH=x86 modules + leap-15.5: + group: build + image: registry.opensuse.org/opensuse/leap:15.5 + commands: + - zypper --non-interactive refresh + - zypper --non-interactive install gcc kernel-default-devel make + - make -O -j4 V=1 VERBOSE=1 KERNELDIR=/usr/src/linux-obj/x86_64/default ARCH=x86 modules + tumbleweed: + group: build + image: registry.opensuse.org/opensuse/tumbleweed:latest + commands: + - zypper --non-interactive refresh + - zypper --non-interactive install gcc kernel-default-devel make + - make -O -j4 V=1 VERBOSE=1 KERNELDIR=/usr/src/linux-obj/x86_64/default ARCH=x86 modules + tumbleweed-kotd: + group: build + image: registry.opensuse.org/opensuse/tumbleweed:latest + commands: + - zypper --non-interactive refresh + - zypper --non-interactive install coreutils dwarves libelf-devel gcc make + - zypper --non-interactive ar http://download.opensuse.org/repositories/Kernel:/HEAD/standard KOTD + - zypper --non-interactive --gpg-auto-import-keys install -r KOTD kernel-default-devel + - make -O -j4 V=1 VERBOSE=1 KERNELDIR=/usr/src/linux-obj/x86_64/default ARCH=x86 modules diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hdjmod/Changelog.md new/hdjmod/Changelog.md --- old/hdjmod/Changelog.md 1970-01-01 01:00:00.000000000 +0100 +++ new/hdjmod/Changelog.md 2023-05-10 21:27:38.000000000 +0200 @@ -0,0 +1,27 @@ +Changelog +========= + +This log lists the significant changes in each version of the hdjmod. + +Version 1.34 +------------ + +* Support Kernel 6.4 + +Version 1.33 +------------ + +* Support Kernel 5.19 + +Version 1.32 +------------ + +This is the first version post 1.28 in this fork. The reason for the jump is that Stephane List's fork was already up to version 1.31 when those changes where integrated. + +* Consolidates fixes made for openSUSE and Ubuntu packages, providing support for newer kernel up to including Linux 5.12. +* Add support for the Hercules Steel controller. + +Version 1.28 +------------ + +This is the original version published by Guillemot Corporation S.A. that could be downloaded at <http://ts.hercules.com/eng/index.php?pg=view_files&gid=2&fid=28&pid=177&cid=1>. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hdjmod/README.md new/hdjmod/README.md --- old/hdjmod/README.md 1970-01-01 01:00:00.000000000 +0100 +++ new/hdjmod/README.md 2023-05-10 21:27:38.000000000 +0200 @@ -0,0 +1,23 @@ +Linux driver for Hercules DJ devices +==================================== + +This provides a kernel module for using [Hercules DJ devices](https://www.hercules.com) on Linux. +It is a fork of the drivers originally provided by Hercules at <http://ts.hercules.com/ger/index.php?pg=view_files&gid=17&fid=62&pid=177&cid=1>. +It has been adapted to work on modern Linux kernels and should work on any current Linux distribution up to the latest released Kernel. + +Compilation and Installation +---------------------------- + +On a somewhat standard Linux set-up, the module can be compiled the following: + + make modules + +To install the built modules simply run the following: + + make install + +If you system uses a non-standard location for the kernel sources, you can specify them via the `KERNELDIR` environment variable. + +On openSUSE I'd recommend installing the driver from the official repositories: + + zypper install hdjmod-kmp-default diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hdjmod/bulk.c new/hdjmod/bulk.c --- old/hdjmod/bulk.c 2022-06-20 20:46:48.000000000 +0200 +++ new/hdjmod/bulk.c 2023-05-10 21:27:38.000000000 +0200 @@ -67,8 +67,8 @@ int buffer_queue_depth = 0; -/* BCD, currently 1.33.0.0 */ -u32 driver_version = 0x1330000; +/* BCD, currently 1.34.0.0 */ +u32 driver_version = 0x1340000; static int can_send_urbs(struct snd_hdj_chip* chip) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hdjmod/device.c new/hdjmod/device.c --- old/hdjmod/device.c 2022-06-20 20:46:48.000000000 +0200 +++ new/hdjmod/device.c 2023-05-10 21:27:38.000000000 +0200 @@ -72,7 +72,11 @@ module_param_array(id, charp, NULL, 0444); MODULE_PARM_DESC(id, "ID string for the Hercules DJ Series adapter."); +#if LINUX_VERSION_CODE >= KERNEL_VERSION(6,4,0) +static DEFINE_SEMAPHORE(register_mutex, 1); +#else static DEFINE_SEMAPHORE(register_mutex); +#endif static struct snd_hdj_chip *usb_chip[SNDRV_CARDS]; @@ -86,10 +90,9 @@ /* table of devices that work with this driver- look for vendor specific interfaces with * our VID */ static struct usb_device_id hdj_table [] = { - { .match_flags = (USB_DEVICE_ID_MATCH_DEVICE), - .idVendor = (USB_HDJ_VENDOR_ID) }, - { .match_flags = (USB_DEVICE_ID_MATCH_INT_CLASS), - .bInterfaceClass = USB_CLASS_VENDOR_SPEC}, + { .match_flags = (USB_DEVICE_ID_MATCH_VENDOR | USB_DEVICE_ID_MATCH_INT_CLASS), + .idVendor = (USB_HDJ_VENDOR_ID), + .bInterfaceClass = USB_CLASS_VENDOR_SPEC }, { } /* Terminating entry */ }; MODULE_DEVICE_TABLE(usb, hdj_table); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hdjmod/dkms.conf new/hdjmod/dkms.conf --- old/hdjmod/dkms.conf 2022-06-20 20:46:48.000000000 +0200 +++ new/hdjmod/dkms.conf 2023-05-10 21:27:38.000000000 +0200 @@ -1,5 +1,5 @@ PACKAGE_NAME="hdjmod" -PACKAGE_VERSION="1.33" +PACKAGE_VERSION="1.34" BUILT_MODULE[0]="hdj_mod" BUILT_MODULE_NAME[0]="hdj_mod" DEST_MODULE_LOCATION[0]="/kernel/sound/usb" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hdjmod/module_version new/hdjmod/module_version --- old/hdjmod/module_version 2022-06-20 20:46:48.000000000 +0200 +++ new/hdjmod/module_version 2023-05-10 21:27:38.000000000 +0200 @@ -1 +1 @@ -1.33 +1.34