The source project of this merge request has been removed.
Helps correct saving of Xmp.xmpMM.* metadata.
If unregistered metadata tags are set in gexiv2/exiv2, then NONE of that type of metadata (i.e. EXIF, XMP or IPTC) is saved. The tags in GIMP were incorrect which is the same as unregistered. Apart from the bug fixes, I tidied up/simplified the code and renamed one of the functions in question from
void gimp_metadata_add_xmp_history (GimpMetadata *metadata, gchar *state_status)
to
void gimp_metadata_set_xmpMM (GimpMetadata *metadata, gchar *changes)
as this better reflects the purpose.
Xmp.xmpMM.* data is still not saved as this is only 1 of 3 bugs that prevent XMP data being written correctly.
Edited by Ghost User