diff options
author | Michele Calgaro <[email protected]> | 2020-06-26 17:28:18 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2020-06-26 17:29:57 +0900 |
commit | 12180eff3bd5440220a773980d762406b4e1ff5c (patch) | |
tree | 302cd0abe4d9d511e69e0d8e45ad17235cf8b427 /cmake_admin/FindKDECONFIG.cmake | |
parent | e9157b216b504f2ea2db60b7c11055070f07bbc5 (diff) | |
download | rosegarden-12180eff3bd5440220a773980d762406b4e1ff5c.tar.gz rosegarden-12180eff3bd5440220a773980d762406b4e1ff5c.zip |
Removed unused code.
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 5676a065c98e15803510bc238f853e991d7325cd)
Diffstat (limited to 'cmake_admin/FindKDECONFIG.cmake')
-rw-r--r-- | cmake_admin/FindKDECONFIG.cmake | 114 |
1 files changed, 0 insertions, 114 deletions
diff --git a/cmake_admin/FindKDECONFIG.cmake b/cmake_admin/FindKDECONFIG.cmake deleted file mode 100644 index fd640ba..0000000 --- a/cmake_admin/FindKDECONFIG.cmake +++ /dev/null @@ -1,114 +0,0 @@ -# Rosegarden -# A MIDI and audio sequencer and musical notation editor. -# -# This program is Copyright 2000-2008 -# Guillaume Laurent <[email protected]>, -# Chris Cannam <[email protected]>, -# Richard Bown <[email protected]> -# -# The moral rights of Guillaume Laurent, Chris Cannam, and Richard -# Bown to claim authorship of this work have been asserted. -# -# This file is Copyright 2006-2008 -# Pedro Lopez-Cabanillas <[email protected]> -# -# Other copyrights also apply to some parts of this work. Please -# see the AUTHORS file and individual file headers for details. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation; either version 2 of the -# License, or (at your option) any later version. See the file -# COPYING included with this distribution for more information. -# Find the tde-config program and retrieve the install dirs - -# Variables: -# HAVE_KDECONFIG -# KDECONFIG_EXECUTABLE -# KDE3PREFIX -# KDE3HTMLDIR -# KDE3DATADIR -# KDE3ICONDIR -# KDE3MIMEDIR -# KDE3MENUDIR -# KDE3EXECDIR -# KDE3L18NDIR - -IF(KDECONFIG_EXECUTABLE) - SET(HAVE_KDECONFIG TRUE) -ELSE(KDECONFIG_EXECUTABLE) - FIND_PROGRAM(KDECONFIG_EXECUTABLE NAMES tde-config PATHS - $ENV{TDEDIR}/bin - /opt/trinity/bin - /opt/kde/bin - NO_DEFAULT_PATH - ) - FIND_PROGRAM(KDECONFIG_EXECUTABLE tde-config) -ENDIF(KDECONFIG_EXECUTABLE) - -IF(NOT KDE3PREFIX) - EXECUTE_PROCESS(COMMAND ${KDECONFIG_EXECUTABLE} --version - OUTPUT_VARIABLE kde_config_version ) - STRING(REGEX MATCH "KDE: .\\." kde_version ${kde_config_version}) - IF (${kde_version} MATCHES "KDE: 3\\.") - EXECUTE_PROCESS(COMMAND ${KDECONFIG_EXECUTABLE} --prefix - OUTPUT_VARIABLE tdedir ) - STRING(REGEX REPLACE "\n" "" KDE3PREFIX "${tdedir}") - ENDIF (${kde_version} MATCHES "KDE: 3\\.") -ENDIF(NOT KDE3PREFIX) - -IF(NOT KDE3HTMLDIR) - EXECUTE_PROCESS(COMMAND ${KDECONFIG_EXECUTABLE} --expandvars --install html - OUTPUT_VARIABLE _htmlinstalldir) - STRING(REGEX REPLACE "\n" "" _htmlinstalldir "${_htmlinstalldir}") - STRING(REPLACE "${KDE3PREFIX}/" "" KDE3HTMLDIR "${_htmlinstalldir}") - MESSAGE(STATUS "KDE3HTMLDIR : ${KDE3HTMLDIR}") -ENDIF(NOT KDE3HTMLDIR) - -IF(NOT KDE3DATADIR) - EXECUTE_PROCESS(COMMAND ${KDECONFIG_EXECUTABLE} --expandvars --install data - OUTPUT_VARIABLE _datainstalldir) - STRING(REGEX REPLACE "\n" "" _datainstalldir "${_datainstalldir}") - STRING(REPLACE "${KDE3PREFIX}/" "" KDE3DATADIR "${_datainstalldir}") - MESSAGE(STATUS "KDE3DATADIR : ${KDE3DATADIR}") -ENDIF(NOT KDE3DATADIR) - -IF(NOT KDE3ICONDIR) - EXECUTE_PROCESS(COMMAND ${KDECONFIG_EXECUTABLE} --expandvars --install icon - OUTPUT_VARIABLE _iconinstalldir) - STRING(REGEX REPLACE "\n" "" _iconinstalldir "${_iconinstalldir}") - STRING(REPLACE "${KDE3PREFIX}/" "" KDE3ICONDIR "${_iconinstalldir}") - MESSAGE(STATUS "KDE3ICONDIR : ${KDE3ICONDIR}") -ENDIF(NOT KDE3ICONDIR) - -IF(NOT KDE3MIMEDIR) - EXECUTE_PROCESS(COMMAND ${KDECONFIG_EXECUTABLE} --expandvars --install mime - OUTPUT_VARIABLE _mimeinstalldir) - STRING(REGEX REPLACE "\n" "" _mimeinstalldir "${_mimeinstalldir}") - STRING(REPLACE "${KDE3PREFIX}/" "" KDE3MIMEDIR "${_mimeinstalldir}") - MESSAGE(STATUS "KDE3MIMEDIR : ${KDE3MIMEDIR}") -ENDIF(NOT KDE3MIMEDIR) - -IF(NOT KDE3MENUDIR) - EXECUTE_PROCESS(COMMAND ${KDECONFIG_EXECUTABLE} --expandvars --install xdgdata-apps - OUTPUT_VARIABLE _menuinstalldir) - STRING(REGEX REPLACE "\n" "" _menuinstalldir "${_menuinstalldir}") - STRING(REPLACE "${KDE3PREFIX}/" "" KDE3MENUDIR "${_menuinstalldir}") - MESSAGE(STATUS "KDE3MENUDIR : ${KDE3MENUDIR}") -ENDIF(NOT KDE3MENUDIR) - -IF(NOT KDE3L18NDIR) - EXECUTE_PROCESS(COMMAND ${KDECONFIG_EXECUTABLE} --expandvars --install locale - OUTPUT_VARIABLE _l18ninstalldir) - STRING(REGEX REPLACE "\n" "" _l18ninstalldir "${_l18ninstalldir}") - STRING(REPLACE "${KDE3PREFIX}/" "" KDE3L18NDIR "${_l18ninstalldir}") - MESSAGE(STATUS "KDE3L18NDIR : ${KDE3L18NDIR}") -ENDIF(NOT KDE3L18NDIR) - -IF(NOT KDE3EXECDIR) - EXECUTE_PROCESS(COMMAND ${KDECONFIG_EXECUTABLE} --expandvars --install exe - OUTPUT_VARIABLE _execinstalldir) - STRING(REGEX REPLACE "\n" "" _execinstalldir "${_execinstalldir}") - STRING(REPLACE "${KDE3PREFIX}/" "" KDE3EXECDIR "${_execinstalldir}") - MESSAGE(STATUS "KDE3EXECDIR : ${KDE3EXECDIR}") -ENDIF(NOT KDE3EXECDIR) |