瀏覽代碼

HPCC-26249 Removed xterm dependencies in the platform

Signed-off-by: Michael Gardner <michael.gardner@lexisnexisrisk.com>
Michael Gardner 3 年之前
父節點
當前提交
bbf9450a50

+ 0 - 1
initfiles/componentfiles/CMakeLists.txt

@@ -16,7 +16,6 @@
 if ( PLATFORM AND UNIX )
    ADD_SUBDIRECTORY(ftslave)
    ADD_SUBDIRECTORY(thor)
-   ADD_SUBDIRECTORY(launcher)
    ADD_SUBDIRECTORY(configxml)
 endif()
 

+ 0 - 27
initfiles/componentfiles/launcher/CMakeLists.txt

@@ -1,27 +0,0 @@
-################################################################################
-#    HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®.
-#
-#    All rights reserved. This program is free software: you can redistribute it
-#    and/or modify
-#    you may not use this file except in compliance with the License.
-#    You may obtain a copy of the License at
-#
-#       http://www.apache.org/licenses/LICENSE-2.0
-#
-#    Unless required by applicable law or agreed to in writing, software
-#    distributed under the License is distributed on an "AS IS" BASIS,
-#    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-#    See the License for the specific language governing permissions and
-#    limitations under the License.
-################################################################################
-
-install ( FILES ${CMAKE_CURRENT_SOURCE_DIR}/hpcc-systems.desktop DESTINATION share COMPONENT Runtime )
-install ( FILES ${CMAKE_CURRENT_SOURCE_DIR}/LN.png DESTINATION share COMPONENT Runtime )
-
-if(PLATFORM AND NOT CONTAINERIZED)
-    SET_DEPENDENCIES(CPACK_DEBIAN_PACKAGE_DEPENDS xterm)
-    configure_file(hpcc-systems-desktop.install.in hpcc-systems-desktop.install @ONLY)
-    configure_file(hpcc-systems-desktop.uninstall.in hpcc-systems-desktop.uninstall @ONLY)
-    install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/hpcc-systems-desktop.install DESTINATION etc/init.d/install COMPONENT Runtime)
-    install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/hpcc-systems-desktop.uninstall DESTINATION etc/init.d/uninstall COMPONENT Runtime)
-endif()

二進制
initfiles/componentfiles/launcher/LN.png


+ 0 - 1
initfiles/componentfiles/launcher/hpcc-systems-desktop.install.in

@@ -1 +0,0 @@
-installFile @INSTALL_DIR@/share/hpcc-systems.desktop /usr/share/applications 1 || exit 1

+ 0 - 2
initfiles/componentfiles/launcher/hpcc-systems-desktop.uninstall.in

@@ -1,2 +0,0 @@
-removeSymlink "/usr/share/applications/hpcc-systems.desktop"
-

+ 0 - 44
initfiles/componentfiles/launcher/hpcc-systems.desktop

@@ -1,44 +0,0 @@
-[Desktop Entry]
-Version=7.x
-Name=HPCC Systems®
-GenericName=HPCC Systems®
-Comment=HPCC Cluster Administration
-Exec=x-www-browser "http://localhost:8010"
-Terminal=false
-Icon=/opt/HPCCSystems/share/LN.png
-Type=Application
-Categories=HPC;Cluster;
-X-Ayatana-Desktop-Shortcuts=Start;Stop;Restart;Status
-Actions=Start;Stop;Restart;Status;
-
-[Desktop Action Start]
-Name=Start HPCC Cluster
-Exec=xterm -T "Starting HPCC Cluster" -e sudo /opt/HPCCSystems/sbin/hpcc-run.sh start
-
-[Desktop Action Stop]
-Name=Stop HPCC Cluster
-Exec=xterm -T "Stopping HPCC Cluster" -e sudo /opt/HPCCSystems/sbin/hpcc-run.sh stop
-
-[Desktop Action Restart]
-Name=Restart HPCC Cluster
-Exec=xterm -T "Restarting HPCC Cluster" -e sudo /opt/HPCCSystems/sbin/hpcc-run.sh restart
-
-[Desktop Action Status]
-Name=HPCC Cluster Status
-Exec=xterm -T "HPCC Status" -hold -e sudo /opt/HPCCSystems/sbin/hpcc-run.sh status
-
-[Start Shortcut Group]
-Name=Start HPCC Cluster
-Exec=xterm -T "Starting HPCC Cluster" -e sudo /opt/HPCCSystems/sbin/hpcc-run.sh start
-
-[Stop Shortcut Group]
-Name=Stop HPCC Cluster
-Exec=xterm -T "Stopping HPCC Cluster" -e sudo /opt/HPCCSystems/sbin/hpcc-run.sh stop
-
-[Restart Shortcut Group]
-Name=Restart HPCC Cluster
-Exec=xterm -T "Restarting HPCC Cluster" -e sudo /opt/HPCCSystems/sbin/hpcc-run.sh restart
-
-[Status Shortcut Group]
-Name=HPCC Cluster Status
-Exec=xterm -T "HPCC Status" -hold -e sudo /opt/HPCCSystems/sbin/hpcc-run.sh status