replace mmap() calls with QT_MMAP() so that mmap64() is called when
supported by the host while at it and remove conditions that are
assumed to always be true
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
using it as general monotonic clock availability check, while at it use
CLOCK_REALTIME_COARSE if defined
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
it has no reliable meaning since QSettings has a system/user scope feature
and it is not guaranteed that settings are actually stored there
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
no external projects should rely on it, Q_DECL_EXPORT and the related
definitions should either be used unconditionally or not at all
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
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>
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>
it is prone to race condition and not used, if anyone wants to add
driver it should really be a plugin
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
both are not really optional, that is why internal copies of the PNG and
SQLite projects sources are bundled.
by making the SQLite SQL driver built-in the plasma-desktop process
memory usage was reduced by roughly 4MB.
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
while at it, remove X11_LIBRARIES from the list of additional libraries
of KtGui component to avoid overlinking
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
it was not included because it was not needed for the Qt4 compatibility
variables but can be used to solve https://github.com/fluxer/kdelibs/issues/3
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
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>
neither the option nor the feature where properly exposed to the user so
there is no user-visible change. it can be done by writing to temporary
file and executing `lp` via QProcess, however that could potentially
leak private information
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>