to prevent running twice for `sbuild` convenience target
inspired by 68a0d9585edf989a0f6aa6698f038dba1dc5da8c
in pve-firewall (and similar commits in other repositories)
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
3e7ee2d Add SPDX-License-Identifier tags in source files
d385402 src/: LGPLv2+ -> LGPLv2.1+
0122cb5 xdgmime: Finer handling for cases where mmap() is not available
c501188 xdgmime: Prevent infinite loops from badly-formed MIME registrations
462198f xdgmime: Add xdg_mime_set_dirs() method to override XDG envvars
1414820 Add missing S_ISREG definitions for VS2022
ecbc52c xdgmimemagic: Add an assertion to clarify state after hitting an error
95e3187 test-mime-data: output errors to stderr
fe2f298 ci: Test meson build
ade1de1 build: Add meson support
0722d76 ci: Fix shared-mime-info test not exercising our build
92f6a09 xdgmimemagic: Fix unused variable warning when !LITTLE_ENDIAN
50a624b Fix segfaults due to strict ISO C99 mode enforcement
7cc63be Makefile: Add support for POSIX make
d64963b test-mime-data: fail when an error occurs
1c521ab add OOM handling in mimemagic
1318486 Silence an uninitialize variable warning
3ae3ed6 xdgmime: Call xdg_mime_init() before xdg_mime_list_mime_parents()
git-subtree-dir: xdgmime-source
git-subtree-split: 3e7ee2dc8edde524858ad9a109dabe26980cf2e5
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>