Skip to content

Commit

Permalink
Updating StelLogger (#3614)
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-w authored Feb 3, 2024
1 parent 435131b commit e57adf9
Show file tree
Hide file tree
Showing 7 changed files with 346 additions and 315 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ SET(COPYRIGHT_YEARS "2000-${CURRENTYEAR}")
SET(STELLARIUM_URL "https://stellarium.org/")
ADD_DEFINITIONS(-DSTELLARIUM_URL="${STELLARIUM_URL}")

# remembering the name and the version of compiler for StelLogger
SET(STELLARIUM_COMPILER "${CMAKE_CXX_COMPILER_ID} ${CMAKE_CXX_COMPILER_VERSION}")
ADD_DEFINITIONS(-DSTELLARIUM_COMPILER="${STELLARIUM_COMPILER}")

# The line below is copied from src/gui/HelpDialog.cpp file
SET(STELLARIUM_COPYRIGHT "Copyright (C) ${COPYRIGHT_YEARS} ${PROJECT_NAME} Developers")
# The line below is copied from src/main.cpp file
Expand Down Expand Up @@ -181,6 +185,7 @@ ELSE()
SET(STELLARIUM_BUIDING_VERSION "${STELLARIUM_PUBLIC_VERSION}+")
ENDIF()
MESSAGE(STATUS "Building ${PROJECT_NAME} ${STELLARIUM_BUIDING_VERSION} (v${PACKAGE_VERSION}; Mode: ${CMAKE_BUILD_TYPE})")
ADD_DEFINITIONS(-DSTELLARIUM_BUIDING_VERSION="${STELLARIUM_BUIDING_VERSION}")

# Write version and series of Stellarium to Stellarium User Guide
CONFIGURE_FILE(${PROJECT_SOURCE_DIR}/cmake/version.tex.cmake ${PROJECT_SOURCE_DIR}/guide/version.tex @ONLY NEWLINE_STYLE LF)
Expand Down
5 changes: 0 additions & 5 deletions data/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,6 @@ INSTALL(DIRECTORY shaders/ DESTINATION ${SDATALOC}/data/shaders FILES_MATCHING
PATTERN "s3d_*.frag")
ENDIF()

IF (BUILD_FOR_MAEMO)
INSTALL(FILES maemo/stellarium.desktop DESTINATION /usr/share/applications/hildon)
INSTALL(FILES maemo/stellarium.png DESTINATION /usr/share/icons/hicolor/48x48/apps)
ENDIF()

IF(UNIX AND NOT APPLE)
INSTALL(FILES org.stellarium.Stellarium.desktop DESTINATION share/applications)
INSTALL(FILES org.stellarium.Stellarium.appdata.xml DESTINATION share/metainfo)
Expand Down
78 changes: 0 additions & 78 deletions data/maemo/stellarium.desktop

This file was deleted.

Binary file removed data/maemo/stellarium.png
Binary file not shown.
Loading

0 comments on commit e57adf9

Please sign in to comment.