by running
`h2xs -P -v 1.0 -F -DHAVE_MMAP -M '^XDG_' -Ofan Xdgmime xdgmime.h`
and selectively adding changes.
upstream xdgmime.h contains all functions also as defines
(preprocessor mangling to add XDG_PREFIX to the function name) - thus
all functions would also be added as constants, which leads to errors
in the automatically generated tests. The functions need to be in
EXPORT_OK, but not added to @names in Makefile.PL.
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
* build in versioned subdirectory
* add 'deb' make target
* drop fakeroot from dpkg-buildpackage invocation
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
they get recreated by Makefile.PL, if ExtUtils::Constant is present
(which is the case on debian if perl-modules-$perlver is installed,
which itself is a dependency of perl)
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
roughly tested by running diffoscope and comparing differences
and running the pmg-regression-tests
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>