Ingo suggested that the kleopatragroupsrc would be better placed into the GNUPGHOME, as it relates to certificates, not Kleopatra. When setting up a separate GNUPGHOME for testing, those group definitions should be taken from there, as are the certificates.
When we move it, we should rename it, too. How about kleopatragroups.conf?
Relates to T6799 and T6916.
Update: The group definitions should be stored in `GNUPGHOME/kleopatra/kleopatragroupsrc`. Existing group definitions in the old location should be migrated/copied to the new location if no file exists in the new location. The file in the old location should be kept.