Re: git: 9d804b0a9c1d - main - sysutils/plasma6-kinfocenter: fix path to USB IDs database

From: Max Brazhnikov <makc_at_freebsd.org>
Date: Fri, 18 Jul 2025 10:17:23 UTC
On Thu, 17 Jul 2025 19:05:59 +0300 Gleb Popov wrote:
> On Thu, Jul 17, 2025 at 7:02 PM Max Brazhnikov <makc@freebsd.org> wrote:
> >
> > +-        db = QStringLiteral("/usr/share/misc/usb.ids"); /* on Gentoo */
> > ++        db = QStringLiteral("/usr/share/misc/usb_vendors"); /* on FreeBSD */
> 
> I'd rather make it "/usr/local/share/hwdata/usb.ids" that comes from
> misc/hwdata. This would provide a more up-to-date list.

Ack, thank you!

However, there are
/usr/local/share/usbids/usb.ids by misc/usbids
/usr/local/share/hwdata/usb.ids by misc/hwdata
/hwdata/usr/share/misc/usb_vendors which is identical to usb.ids provided by usbids port.

Sunpoet, do we really need second port for usbids?

> Some other KDE component already use hwdata too.

yeah, with different workarounds. I'll look into unifying the solution
and pushing it upstream.

Max