Stoiko Ivanov [Fri, 16 Jun 2023 15:35:24 +0000 (17:35 +0200)]
buildsys: only run lintian for phony dsc target
to prevent running twice for `sbuild` convenience target
inspired by 68a0d9585edf989a0f6aa6698f038dba1dc5da8c
in pve-firewall (and similar commits in other repositories)
Stoiko Ivanov [Wed, 24 May 2023 11:06:12 +0000 (13:06 +0200)]
Squashed 'xdgmime-source/' changes from 28b70c4..3e7ee2d
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()
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.
Stoiko Ivanov [Wed, 2 Jun 2021 17:04:47 +0000 (17:04 +0000)]
remove fallback header files
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)