Ivailo Monev
c6d001882d
implement PCH build option for components
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-12-20 14:38:47 +00:00
Ivailo Monev
0128caf713
compute moc arguments variable outside loop in katie_setup_target()
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-12-20 05:53:24 +00:00
Ivailo Monev
aa849d0b30
remove now redundant workaround in katie_check_defined()
...
compiled source is not executed to check its return value since
check_cxx_source_compiles() is used now
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-12-03 18:31:39 +00:00
Ivailo Monev
0df4ee65de
reset variables if version could not be obtained in MySQL module
...
minimum version is required now
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-12-03 18:16:11 +00:00
Ivailo Monev
ea4b656b4f
remove currently unused HarfBuzz checks during build
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-12-03 16:47:31 +00:00
Ivailo Monev
68c87b624a
review CMake modules inclusions
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-12-03 16:33:21 +00:00
Ivailo Monev
92594eb8fb
remove KatieMacros CMake file
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-12-03 03:56:52 +00:00
Ivailo Monev
2ef00ba87c
link D-Bus test to KtDBus from katie_dbus_test()
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-12-02 07:07:24 +00:00
Ivailo Monev
7baf170d18
execute GUI tests via script
...
it may or may not work depending on how much time is required for Xvfb
to start but should cover most cases
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-12-02 06:55:28 +00:00
Ivailo Monev
c8ab56a429
execute D-Bus tests with script
...
NetBSD does not have the daemon running by default and some environments
such as Travis may not have it either, this should make the tests pass
in such cases without any changes to the host
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-12-02 05:43:15 +00:00
Ivailo Monev
3dc031d2b4
check for /proc/<pid>/exe and /proc/<pid>/cmdline during build
...
NetBSD also support them in current version
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-12-02 04:34:35 +00:00
Ivailo Monev
13b48ebdb1
place all private headers in single directory
...
should reduce the build time and also the length of the commands used
during build
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-12-01 19:20:31 +00:00
Ivailo Monev
79143d37cf
lookup the full library paths from modules
...
now the BSD workaround is needed only for CMake to not fail to find
packages from the modules it provides, not for the modules Katie
provides
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-12-01 17:45:03 +00:00
Ivailo Monev
2b3947958c
fix resolv detection on FreeBSD
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-12-01 16:15:35 +00:00
Ivailo Monev
a99598da12
review build time warnings and fatal errors
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-11-30 18:36:35 +00:00
Ivailo Monev
d5ac3a435c
drop functionality that may affect reproducible builds
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-11-30 18:09:27 +00:00
Ivailo Monev
cb963a1e73
drop support for QLibraryInfo::PrefixPath and QLibraryInfo::DataPath
...
prefix cannot be reliably set and data path is not actually required for
anything
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-11-30 17:32:56 +00:00
Ivailo Monev
063bca3bc2
reimplement backtrace support via execinfo
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-11-30 05:27:17 +00:00
Ivailo Monev
7d416a25b0
remove translations, provide POT files
...
many translations are bogus now and have to be reviewed thus
translations will be done anew
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-11-28 20:42:34 +00:00
Ivailo Monev
6e7f61848e
review katie_setup_target() style
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-11-28 02:58:12 +00:00
Ivailo Monev
17620d19d0
correct variables in katie_check_defined()
...
CMAKE_REQUIRED_FLAGS is a string, not list
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-11-28 02:41:49 +00:00
Ivailo Monev
36c364fbe9
reimplement QTranslator via gettext/libintl
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-11-28 00:27:59 +00:00
Ivailo Monev
1e006a2c35
workaround some CMake and BSD issues
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-11-27 23:23:46 +00:00
Ivailo Monev
a5560ffd94
do not pass -tickcounter to tests
...
support for it is optional and it may not be available
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-11-20 21:18:56 +00:00
Ivailo Monev
aeaa4fad77
review messages in KatieBuildMacros file
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-11-20 00:22:01 +02:00
Ivailo Monev
ced2eca1da
remove redundant inclusions in KatieBUildMacros file
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-11-16 14:28:19 +02:00
Ivailo Monev
37cfebd38e
merge JSC ThreadingQt into Threading source file
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-11-15 17:37:33 +02:00
Ivailo Monev
3277cf325e
reduce build time for systems without LFS
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-11-15 16:24:03 +02:00
Ivailo Monev
1863cec279
fix checking for definitions via katie_check_defined() for rare cases
...
in case the function reference does something strange, that is the case
for pthread_setname_np(), and the return value from the executable is not 0
even tho the source was compiled and linked successfully just return 0
(success) before even attempting to print reference to the function.
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-11-14 17:28:12 +02:00
Ivailo Monev
d8c160363b
implement thread name setting for NetBSD
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-11-11 07:26:24 +02:00
Ivailo Monev
8252467900
unsupported operating systems cruft removal
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-10-26 16:27:43 +02:00
Ivailo Monev
93c6d47589
check for dirent.d_type member during build
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-10-21 03:51:53 +03:00
Ivailo Monev
04f45cd53a
check for sockaddr_ll and sockaddr_dl during build
...
apparently illumos has sockaddr_ll much like Linux
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-10-21 00:40:40 +03:00
Ivailo Monev
3eb3978582
revert to normal RCC execution
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-09-27 21:34:31 +03:00
Ivailo Monev
c668d6c4ec
trace RCC execution
2020-09-12 21:18:43 +03:00
Ivailo Monev
c3748066c9
fix all-in-one build related issue properly
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-07-23 12:34:27 +00:00
Ivailo Monev
7424267da1
drop MNG image format support
...
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-04-02 07:06:14 +00:00
Ivailo Monev
dc113d18a3
remove icudata entry from ICU_LIBRARIES
...
fixes Debian package lintian warning
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-04-02 06:34:22 +00:00
Ivailo Monev
8c27911960
prefer the c library when checking for res_ninit()
...
fixes overlinking in case the symbol is provided by the c library and a
Debian package lintian warning
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-04-02 05:57:31 +00:00
Ivailo Monev
7a75f6a4ac
check for thread-safe resolv function from CMake module
...
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-03-28 20:02:41 +00:00
Ivailo Monev
c743e9a3fb
append to OBJECT_DEPENDS property from katie_setup_target() macro
...
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-03-12 21:45:33 +00:00
Ivailo Monev
07bf092710
always use full paths for installation
...
now that CPack is no longer supported relative paths are no longer
required. this change also fixes the headers optimizations upon
installation since it requires full paths to work
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-03-09 00:36:36 +00:00
Ivailo Monev
31b97f69d7
remove LPR support leftovers
...
removes the NSL and NIS optional dependencies and effectively speeds up
the initialization of printing dialog and obtaining of information about
prineters. this change leaves CUPS as the only option to support
printing
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-03-07 22:20:22 +00:00
Ivailo Monev
e9cbcbb50c
remove <MODULE>_FIND_QUIETLY overrides from CMake modules
...
since find_package_handle_standard_args() is used and no status messages
are printed by the modules there is no reason to set <MODULE>_FIND_QUIETLY
variable (which should be prefixed with the actual module name, not upper
case)
2020-02-19 20:57:22 +00:00
Ivailo Monev
89e2819b29
use custom CMake module for PostgreSQL
...
the module CMake provides cannot detect it in Travis
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-13 14:31:25 +00:00
Ivailo Monev
10e3749d4a
rewrite CMake modules to use pkg-config search first and fallback to path lookup
...
reducec the configuration/build time
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-10 21:22:25 +00:00
Ivailo Monev
a1c2bba237
update CMake modules copyright [ci skip]
...
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-28 18:56:52 +00:00
Ivailo Monev
79a572c3d4
QLibraryInfo cleanup
...
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-24 22:41:09 +00:00
Ivailo Monev
1102ecc943
require MySQL/MariaDB atleast v4.1.13
...
also check for MariaDB specific config program, header in path suffix and
library name. setting MYSQL_VERSION based on PC_MYSQL_VERSION is no longer
done since it does not report its actual version, e.g. reports 3.1.4 while
it is 10.3.18 (on Debian stable) for an example
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-23 15:20:25 +00:00
Ivailo Monev
ed45581b86
update notes about C function lookup build macros
...
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-17 00:23:52 +00:00