Here is an updated patch, transformed into an upstreamable patch as the metadata belong upstream. Any hope to have it included in the Debian package any time soon? The initial request is more than eight years old now.
diff --git a/debian/copyright b/debian/copyright index e635007a..b4371db3 100644 --- a/debian/copyright +++ b/debian/copyright @@ -34,6 +34,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/hw-mapping-appstream +Copyright: 2024 Petter Reinholdtsen <p...@debian.org> +License: MIT + License: BSD-3 This code is derived from software contributed to Berkeley by Chris Torek. . @@ -167,3 +172,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/hw-mapping-appstream b/debian/patches/hw-mapping-appstream new file mode 100644 index 00000000..a5ab39cf --- /dev/null +++ b/debian/patches/hw-mapping-appstream @@ -0,0 +1,38 @@ +Description: Announce package and hardware mapping using Appstream metadata XML +Author: Petter Reinholdtsen <p...@debian.org> +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..98d2ff08 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1,3 @@ use-debian-pam debian/scsi-udev-rule +hw-mapping-appstream -- Happy hacking Petter Reinholdtsen