Ivailo Monev
90ac09db86
generic: remove obsolete resource types support
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-02-28 15:01:11 +02:00
Ivailo Monev
31ee051ff4
generic: remove some compatibility bits
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-02-27 08:58:02 +02: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
2c5c39f81b
generic: remove unused KDE4_KPTY_BUILT_WITH_UTEMPTER from KDE4Config CMake file
...
Kate no longer used kwrited to write files
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-08 17:15:18 +00:00
Ivailo Monev
5036b62efc
generic: misc cleanups
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-04 02:27:29 +00:00
Ivailo Monev
164be8a066
generic: store all configuration paths in KDE4Config
...
some important paths such as those for the plugins were missing before
resulting in configuration fails after 4253ed73
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-04 01:57:25 +00:00
Ivailo Monev
cc51624a04
generic: set non-KDE4 prefix paths for compatibility in KDE4Config
...
this ensures that, for an example, when kdelibs locales path is
changed via CMake variable override that locales will be installed
in the same path that was specified
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-03 21:03:19 +00:00
Ivailo Monev
702117113b
generic: mostly build system cleanups
2015-10-29 08:11:13 +02:00