Ivailo Monev
578db06441
generic: move configuration files creation after package lookups
...
remove unused HAVE_LIBACL definition while at it
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-19 17:12:33 +00:00
Ivailo Monev
4d6fb007e7
generic: fix most of the overlinking issues
...
TODO from https://github.com/fluxer/katana/issues/7 . I've decided to
keep KDE4 and Katie libraries as PUBLIC, all other libraries as PRIVATE
for that and not use INTERFACE at all since that will not require a lot
of changes to all other sub-projects (kde-baseapps, kde-workspace and
kde-extraapps) build systems.
MusicBrainz5 CMake module was also rewritten as the actual library that
should be linked to is libmusicbrainz5cc, libmusicbrainz5 is the C
version of it.
common checks for X11 extensions where move to main config header,
eventually to be moved to separate config-x11 header.
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-09 21:58:11 +00:00
Ivailo Monev
478ca250a2
generic: replace installation paths with KDE4_ prefixed
...
this is TODO from issue #9 . CPack and CTest configs will not be
supported. most of the changes done to other repisitories is automated
via:
find -type f -exec sed -i -e 's|${INSTALL_DIR}|${KDE4_INSTALL_DIR}|g' \
-e 's|${EXEC_INSTALL_PREFIX}|${KDE4_EXEC_INSTALL_PREFIX}|g' \
-e 's|${SHARE_INSTALL_PREFIX}|${KDE4_SHARE_INSTALL_PREFIX}|g' \
-e 's|${BIN_INSTALL_DIR}|${KDE4_BIN_INSTALL_DIR}|g' \
-e 's|${SBIN_INSTALL_DIR}|${KDE4_SBIN_INSTALL_DIR}|g' \
-e 's|${LIB_INSTALL_DIR}|${KDE4_LIB_INSTALL_DIR}|g' \
-e 's|${LIBEXEC_INSTALL_DIR}|${KDE4_LIBEXEC_INSTALL_DIR}|g' \
-e 's|${INCLUDE_INSTALL_DIR}|${KDE4_INCLUDE_INSTALL_DIR}|g' \
-e 's|${PLUGIN_INSTALL_DIR}|${KDE4_PLUGIN_INSTALL_DIR}|g' \
-e 's|${IMPORTS_INSTALL_DIR}|${KDE4_IMPORTS_INSTALL_DIR}|g' \
-e 's|${CONFIG_INSTALL_DIR}|${KDE4_CONFIG_INSTALL_DIR}|g' \
-e 's|${DATA_INSTALL_DIR}|${KDE4_DATA_INSTALL_DIR}|g' \
-e 's|${ICON_INSTALL_DIR}|${KDE4_ICON_INSTALL_DIR}|g' \
-e 's|${KCFG_INSTALL_DIR}|${KDE4_KCFG_INSTALL_DIR}|g' \
-e 's|${LOCALE_INSTALL_DIR}|${KDE4_LOCALE_INSTALL_DIR}|g' \
-e 's|${MIME_INSTALL_DIR}|${KDE4_MIME_INSTALL_DIR}|g' \
-e 's|${SERVICES_INSTALL_DIR}|${KDE4_SERVICES_INSTALL_DIR}|g' \
-e 's|${SERVICETYPES_INSTALL_DIR}|${KDE4_SERVICETYPES_INSTALL_DIR}|g' \
-e 's|${SOUND_INSTALL_DIR}|${KDE4_SOUND_INSTALL_DIR}|g' \
-e 's|${TEMPLATES_INSTALL_DIR}|${KDE4_TEMPLATES_INSTALL_DIR}|g' \
-e 's|${WALLPAPER_INSTALL_DIR}|${KDE4_WALLPAPER_INSTALL_DIR}|g' \
-e 's|${AUTOSTART_INSTALL_DIR}|${KDE4_AUTOSTART_INSTALL_DIR}|g' \
-e 's|${XDG_APPS_INSTALL_DIR}|${KDE4_XDG_APPS_INSTALL_DIR}|g' \
-e 's|${XDG_DIRECTORY_INSTALL_DIR}|${KDE4_XDG_DIRECTORY_INSTALL_DIR}|g' \
-e 's|${XDG_MIME_INSTALL_DIR}|${KDE4_XDG_MIME_INSTALL_DIR}|g' \
-e 's|${SYSCONF_INSTALL_DIR}|${KDE4_SYSCONF_INSTALL_DIR}|g' \
-e 's|${MAN_INSTALL_DIR}|${KDE4_MAN_INSTALL_DIR}|g' \
-e 's|${INFO_INSTALL_DIR}|${KDE4_INFO_INSTALL_DIR}|g' \
-e 's|${DBUS_INTERFACES_INSTALL_DIR}|${KDE4_DBUS_INTERFACES_INSTALL_DIR}|g' \
-e 's|${DBUS_SERVICES_INSTALL_DIR}|${KDE4_DBUS_SERVICES_INSTALL_DIR}|g' \
-e 's|${DBUS_SYSTEM_SERVICES_INSTALL_DIR}|${KDE4_DBUS_SYSTEM_SERVICES_INSTALL_DIR}|g' \
-e 's|${KAUTH_HELPER_PLUGIN_DIR}|${KDE4_KAUTH_HELPER_PLUGIN_DIR}|g' \
-e 's|${KAUTH_BACKEND_PLUGIN_DIR}|${KDE4_KAUTH_BACKEND_PLUGIN_DIR}|g' {} +
note that if you execute this command you may corrupt the git repository
files so move the .git directory out of the way. you can also verify
that there are no other reference to the compatibility installation
paths via:
git grep \
-e INSTALL_DIR \
-e EXEC_INSTALL_PREFIX \
-e SHARE_INSTALL_PREFIX \
-e BIN_INSTALL_DIR \
-e SBIN_INSTALL_DIR \
-e LIB_INSTALL_DIR \
-e LIBEXEC_INSTALL_DIR \
-e INCLUDE_INSTALL_DIR \
-e PLUGIN_INSTALL_DIR \
-e IMPORTS_INSTALL_DIR \
-e CONFIG_INSTALL_DIR \
-e DATA_INSTALL_DIR \
-e ICON_INSTALL_DIR \
-e KCFG_INSTALL_DIR \
-e LOCALE_INSTALL_DIR \
-e MIME_INSTALL_DIR \
-e SERVICES_INSTALL_DIR \
-e SERVICETYPES_INSTALL_DIR \
-e SOUND_INSTALL_DIR \
-e TEMPLATES_INSTALL_DIR \
-e WALLPAPER_INSTALL_DIR \
-e AUTOSTART_INSTALL_DIR \
-e XDG_APPS_INSTALL_DIR \
-e XDG_DIRECTORY_INSTALL_DIR \
-e XDG_MIME_INSTALL_DIR \
-e SYSCONF_INSTALL_DIR \
-e MAN_INSTALL_DIR \
-e INFO_INSTALL_DIR \
-e DBUS_INTERFACES_INSTALL_DIR \
-e DBUS_SERVICES_INSTALL_DIR \
-e DBUS_SYSTEM_SERVICES_INSTALL_DIR \
-e KAUTH_HELPER_PLUGIN_DIR \
-e KAUTH_BACKEND_PLUGIN_DIR | grep -v KDE4_
this change should make default installation Filesystem Hierarchy
Standard (FHS) compliant and packaging easier since library suffix (e.g.
64 for x86_64 hosts) will not have to be specified explicitly, it may
solve possible conflicts with installation path variables from other
projects which use custom installation paths aswell
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-08 20:46:43 +00:00
Ivailo Monev
c70564040b
generic: get rid of kdefakes
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2017-08-02 04:38:42 +00:00
Ivailo Monev
6908880a09
generic: misc cleanups
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2017-06-24 08:06:43 +00:00
Ivailo Monev
7419f793b0
generic: replace kdesu with kdesudo
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-05-15 02:06:56 +00:00
Ivailo Monev
6d9fcf1304
generic: cleanup configuration checks
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-05-13 04:34:38 +00:00
Ivailo Monev
303d8ee183
generic: fix detection of trunc()
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-05-13 04:33:53 +00:00
Ivailo Monev
e493884502
generic: get rid of CheckPrototypeExists macro
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-05-13 03:04:21 +00:00
Ivailo Monev
3828e55f8a
generic: cleanup configuration checks
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-05-02 18:10:43 +00:00
Ivailo Monev
6857a4b5fc
generic: get rid of mmap use from sycoca
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-05-02 05:56:28 +00:00
Ivailo Monev
344cd812dc
generic: misc cleanups
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-30 00:30:19 +00:00
Ivailo Monev
aaae47e124
generic: misc cleanups
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-22 23:15:21 +00:00
Ivailo Monev
b48a55f396
generic: make use of qrand(), cleanup some checks in KDirOperator
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-22 01:32:28 +00:00
Ivailo Monev
5a5a20c327
generic: get rid of KJS and KHTML for good
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-07 03:42:53 +00:00
Ivailo Monev
26a1b35e6c
generic: mostly build system cleanups
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-10-29 17:52:26 +02:00
Ivailo Monev
702117113b
generic: mostly build system cleanups
2015-10-29 08:11:13 +02:00
Ivailo Monev
37d3f6374b
kpty: use tcgetattr & tcsetattr if available
...
From: Pino Toscano <pino@kde.org>
Date: Sat, 16 May 2015 13:25:56 +0000
Subject: Use tcgetattr & tcsetattr if available
X-Git-Tag: v5.11.0
X-Git-Url: http://quickgit.kde.org/?p=kpty.git&a=commitdiff&h=35ea45b588db9afcbd796576833ac338c6b4b8e8
---
Use tcgetattr & tcsetattr if available
Look for tcgetattr & tcsetattr, and use them if found before trying the
own OS checks. They are specified by POSIX.1-2008, so they should be
available on platforms implementing modern POSIX interfaces.
The rest of the fallback code is left as is for platforms not previously
using tcgetattr & tcsetattr.
REVIEW: 123811
---
2015-06-16 15:47:55 +03:00
Ivailo Monev
814163a8dc
initial import
2014-11-13 01:04:59 +02:00