Here is an slightly updated patch. I would be happy to do a NMU if that is required to get this fix into unstable.
diff --git a/debian/copyright b/debian/copyright index ca9b7f25..f87a8aa8 100644 --- a/debian/copyright +++ b/debian/copyright @@ -31,6 +31,11 @@ Copyright: 2007-2013 Daniel Baumann <m...@daniel-baumann.ch> 2022 Bryce Harrington <br...@canonical.com> License: GPL-2+ +Files: open-vm-tools/com.github.vmware.open_vm_tools.metainfo.xml + debian/patches/1020-appstream-hw-mapping.patch +Copyright: 2024 Petter Reinholdtsen <p...@debian.org> +License: MIT + License: BSD-3 This code is derived from software contributed to Berkeley by Chris Torek. . @@ -164,3 +169,22 @@ License: xfree86-1.0 author(s) shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from the copyright holder(s) and author(s). + +License: MIT + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. diff --git a/debian/patches/1020-appstream-hw-mapping.patch b/debian/patches/1020-appstream-hw-mapping.patch new file mode 100644 index 00000000..6e1114c7 --- /dev/null +++ b/debian/patches/1020-appstream-hw-mapping.patch @@ -0,0 +1,39 @@ +Description: Announce package and hardware mapping using Appstream metadata XML +Author: Petter Reinholdtsen <p...@debian.org> +Bug-Debian: https://bugs.debian.org/837983 +Forwarded: no +Last-Update: 2024-12-23 +--- +--- open-vm-tools-12.4.5.orig/open-vm-tools/Makefile.am ++++ open-vm-tools-12.4.5/open-vm-tools/Makefile.am +@@ -71,6 +71,8 @@ if HAVE_UDEV + SUBDIRS += vmwgfxctrl + endif + ++metainfodir = $(datarootdir)/metainfo ++metainfo_DATA = com.github.vmware.open_vm_tools.metainfo.xml + + install-data-local: + $(INSTALL) -d $(DESTDIR)/etc/vmware-tools/ +--- /dev/null ++++ open-vm-tools-12.4.5/open-vm-tools/com.github.vmware.open_vm_tools.metainfo.xml +@@ -0,0 +1,19 @@ ++<?xml version="1.0" encoding="UTF-8"?> ++<component> ++ <id>com.github.vmware.open-vm-tools</id> ++ <metadata_license>MIT</metadata_license> ++ <name>open-vm-tools</name> ++ <summary>Open VMware Tools for virtual machines hosted on VMware (CLI)</summary> ++ <description> ++ <p>The Open Virtual Machine Tools (open-vm-tools) project is an ++ open source implementation of VMware Tools. It is a suite of ++ virtualization utilities and drivers to improve the functionality, ++ user experience and administration of VMware virtual machines.</p> ++ ++ <p>This package contains only the core user-space programs and ++ libraries.</p> ++ </description> ++ <provides> ++ <modalias>dmi:*:svnVMWare*:*</modalias> ++ </provides> ++</component> diff --git a/debian/patches/series b/debian/patches/series index 16610732..a2f3d1fb 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1,3 @@ use-debian-pam debian/scsi-udev-rule +1020-appstream-hw-mapping.patch -- Happy hacking Petter Reinholdtsen