Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
games
tsc
change-name.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File change-name.patch of Package tsc
Partially upstreamed as https://github.com/Secretchronicles/TSC/pull/696 diff -Nur TSC-2.1.0/tsc/CMakeLists.txt new/tsc/CMakeLists.txt --- TSC-2.1.0/tsc/CMakeLists.txt 2020-05-17 12:21:43.000000000 +0200 +++ new/tsc/CMakeLists.txt 2021-05-01 19:00:01.250070551 +0200 @@ -54,6 +54,8 @@ option(USE_SYSTEM_MRUBY "Use the system's mruby library" OFF) option(USE_LIBXMLPP3 "Use libxml++3.0 instead of libxml++2.6 (experimental)" OFF) +set(BINARY_NAME "tsc" CACHE STRING "Name of the tsc binary") + ######################################## # Compiler config @@ -245,6 +247,8 @@ ######################################## # Installation instructions +set_target_properties(tsc PROPERTIES OUTPUT_NAME ${BINARY_NAME}) + install(TARGETS tsc DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT base) @@ -298,38 +302,44 @@ DESTINATION ${CMAKE_INSTALL_DATADIR}/tsc/worlds COMPONENT worlds) install(DIRECTORY "${TSC_BINARY_DIR}/scriptdocs" - DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/doc/tsc + DESTINATION ${CMAKE_INSTALL_DOCDIR}/${BINARY_NAME} COMPONENT base) if(NOT WIN32) install(FILES "${TSC_SOURCE_DIR}/docs/man/tsc.6" DESTINATION ${CMAKE_INSTALL_MANDIR}/man6 + RENAME "${BINARY_NAME}.6" COMPONENT base) install(FILES "${TSC_SOURCE_DIR}/extras/icons/tsc_icon_16.png" DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/16x16/apps - RENAME tsc.png + RENAME org.secretchronicles.TSC.png COMPONENT base) install(FILES "${TSC_SOURCE_DIR}/extras/icons/tsc_icon_32.png" DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/32x32/apps - RENAME tsc.png + RENAME org.secretchronicles.TSC.png COMPONENT base) install(FILES "${TSC_SOURCE_DIR}/extras/icons/tsc_icon_48.png" DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/48x48/apps - RENAME tsc.png + RENAME org.secretchronicles.TSC.png COMPONENT base) install(FILES "${TSC_SOURCE_DIR}/extras/icons/tsc_icon_64.png" DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/64x64/apps - RENAME tsc.png + RENAME org.secretchronicles.TSC.png COMPONENT base) install(FILES "${TSC_SOURCE_DIR}/extras/icons/tsc_icon_128.png" DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/128x128/apps - RENAME tsc.png + RENAME org.secretchronicles.TSC.png COMPONENT base) - install(FILES "${TSC_SOURCE_DIR}/extras/tsc.desktop" + configure_file( + "${TSC_SOURCE_DIR}/extras/org.secretchronicles.TSC.desktop" + "${CMAKE_BINARY_DIR}/org.secretchronicles.TSC.desktop" + @ONLY + ) + install(FILES "${CMAKE_BINARY_DIR}/org.secretchronicles.TSC.desktop" DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/applications COMPONENT base) - install(FILES "${TSC_SOURCE_DIR}/extras/tsc.appdata.xml" - DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/appdata + install(FILES "${TSC_SOURCE_DIR}/extras/org.secretchronicles.TSC.metainfo.xml" + DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/metainfo COMPONENT base) endif() diff -Nur TSC-2.1.0/tsc/extras/archlinux/tsc.desktop new/tsc/extras/archlinux/tsc.desktop --- TSC-2.1.0/tsc/extras/archlinux/tsc.desktop 2020-05-17 12:21:43.000000000 +0200 +++ new/tsc/extras/archlinux/tsc.desktop 2021-05-01 15:55:47.993297743 +0200 @@ -3,8 +3,8 @@ Name=The Secret Chronicles of Dr. M. Comment=Pursue Dr. M. in this two-dimensional platform game Comment[de]=In diesem zweidimensionalen Plattformer jagen Sie Dr. M. -Icon=tsc -Exec=tsc %f +Icon=org.secretchronicles.TSC +Exec=@BINARY_NAME@ %f Terminal=false StartupNotify=true Categories=Game;ArcadeGame; diff -Nur TSC-2.1.0/tsc/extras/org.secretchronicles.TSC.desktop new/tsc/extras/org.secretchronicles.TSC.desktop --- TSC-2.1.0/tsc/extras/org.secretchronicles.TSC.desktop 1970-01-01 01:00:00.000000000 +0100 +++ new/tsc/extras/org.secretchronicles.TSC.desktop 2021-05-01 15:55:47.993297743 +0200 @@ -0,0 +1,10 @@ +[Desktop Entry] +Type=Application +Name=The Secret Chronicles of Dr. M. +Comment=Pursue Dr. M. in this two-dimensional platform game +Comment[de]=In diesem zweidimensionalen Plattformer jagen Sie Dr. M. +Icon=org.secretchronicles.TSC +Exec=@BINARY_NAME@ %f +Terminal=false +StartupNotify=true +Categories=Game;ArcadeGame; diff -Nur TSC-2.1.0/tsc/extras/org.secretchronicles.TSC.metainfo.xml new/tsc/extras/org.secretchronicles.TSC.metainfo.xml --- TSC-2.1.0/tsc/extras/org.secretchronicles.TSC.metainfo.xml 1970-01-01 01:00:00.000000000 +0100 +++ new/tsc/extras/org.secretchronicles.TSC.metainfo.xml 2021-05-01 15:53:53.524438454 +0200 @@ -0,0 +1,59 @@ +<?xml version="1.0" encoding="UTF-8"?> +<component type="desktop"> + <id>org.secretchronicles.TSC</id> + <metadata_license>CC0-1.0</metadata_license> + <name>The Secret Chronicles of Dr. M.</name> + <summary>Pursue Dr. M. in this two-dimensional platform game</summary> + <description> + <p> + The Secret Chronicles of Dr. M. (TSC) is a two-dimensional sidecrolling platform game based + on OpenGL and SDL. The game features a rich set of levels plus an advanced level editor that + allows you to create your own levels. It is accompanied by a powerful scripting engine that + utilises mruby, a minimal implementation of the Ruby programming language. + </p> + </description> + <categories> + <category>Game</category> + <category>ArcadeGame</category> + </categories> + <url type="homepage">https://secretchronicles.org/</url> + <url type="bugtracker">https://github.com/Secretchronicles/TSC/issues</url> + <url type="help">https://secretchronicles.org/en/community/</url> + <launchable type="desktop-id">org.secretchronicles.TSC.desktop</launchable> + + <releases> + <release date="2015-08-17" version="2.0.0" /> + </releases> + + <developer_name>The Secret Chronicles of Dr. M.</developer_name> + <project_license>GPL-3.0+</project_license> + + <screenshots> + <screenshot type="default">https://secretchronicles.org/assets/screenshots/6.png</screenshot> + <screenshot>https://secretchronicles.org/assets/screenshots/11.png</screenshot> + <screenshot>https://secretchronicles.org/assets/screenshots/13.png</screenshot> + </screenshots> + + <content_rating type="oars-1.0"> + <content_attribute id="violence-cartoon">moderate</content_attribute> + <content_attribute id="violence-fantasy">moderate</content_attribute> + <content_attribute id="violence-realistic">none</content_attribute> + <content_attribute id="violence-bloodshed">none</content_attribute> + <content_attribute id="violence-sexual">none</content_attribute> + <content_attribute id="drugs-alcohol">none</content_attribute> + <content_attribute id="drugs-narcotics">none</content_attribute> + <content_attribute id="drugs-tobacco">none</content_attribute> + <content_attribute id="sex-nudity">none</content_attribute> + <content_attribute id="sex-themes">none</content_attribute> + <content_attribute id="language-profanity">none</content_attribute> + <content_attribute id="language-humor">mild</content_attribute> + <content_attribute id="language-discrimination">none</content_attribute> + <content_attribute id="social-chat">intense</content_attribute> + <content_attribute id="social-info">intense</content_attribute> + <content_attribute id="social-audio">none</content_attribute> + <content_attribute id="social-location">none</content_attribute> + <content_attribute id="social-contacts">none</content_attribute> + <content_attribute id="money-purchasing">none</content_attribute> + <content_attribute id="money-gambling">none</content_attribute> + </content_rating> +</component> diff -Nur TSC-2.1.0/tsc/extras/tsc.appdata.xml new/tsc/extras/tsc.appdata.xml --- TSC-2.1.0/tsc/extras/tsc.appdata.xml 2020-05-17 12:21:43.000000000 +0200 +++ new/tsc/extras/tsc.appdata.xml 1970-01-01 01:00:00.000000000 +0100 @@ -1,59 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<component type="desktop"> - <id>org.secretchronicles.TSC</id> - <metadata_license>CC0-1.0</metadata_license> - <name>The Secret Chronicles of Dr. M.</name> - <summary>Pursue Dr. M. in this two-dimensional platform game</summary> - <description> - <p> - The Secret Chronicles of Dr. M. (TSC) is a two-dimensional sidecrolling platform game based - on OpenGL and SDL. The game features a rich set of levels plus an advanced level editor that - allows you to create your own levels. It is accompanied by a powerful scripting engine that - utilises mruby, a minimal implementation of the Ruby programming language. - </p> - </description> - <categories> - <category>Game</category> - <category>ArcadeGame</category> - </categories> - <url type="homepage">https://secretchronicles.org/</url> - <url type="bugtracker">https://github.com/Secretchronicles/TSC/issues</url> - <url type="help">https://secretchronicles.org/en/community/</url> - <launchable type="desktop-id">tsc.desktop</launchable> - - <releases> - <release date="2015-08-17" version="2.0.0" /> - </releases> - - <developer_name>The Secret Chronicles of Dr. M.</developer_name> - <project_license>GPL-3.0+</project_license> - - <screenshots> - <screenshot type="default">https://secretchronicles.org/assets/screenshots/6.png</screenshot> - <screenshot>https://secretchronicles.org/assets/screenshots/11.png</screenshot> - <screenshot>https://secretchronicles.org/assets/screenshots/13.png</screenshot> - </screenshots> - - <content_rating type="oars-1.0"> - <content_attribute id="violence-cartoon">moderate</content_attribute> - <content_attribute id="violence-fantasy">moderate</content_attribute> - <content_attribute id="violence-realistic">none</content_attribute> - <content_attribute id="violence-bloodshed">none</content_attribute> - <content_attribute id="violence-sexual">none</content_attribute> - <content_attribute id="drugs-alcohol">none</content_attribute> - <content_attribute id="drugs-narcotics">none</content_attribute> - <content_attribute id="drugs-tobacco">none</content_attribute> - <content_attribute id="sex-nudity">none</content_attribute> - <content_attribute id="sex-themes">none</content_attribute> - <content_attribute id="language-profanity">none</content_attribute> - <content_attribute id="language-humor">mild</content_attribute> - <content_attribute id="language-discrimination">none</content_attribute> - <content_attribute id="social-chat">intense</content_attribute> - <content_attribute id="social-info">intense</content_attribute> - <content_attribute id="social-audio">none</content_attribute> - <content_attribute id="social-location">none</content_attribute> - <content_attribute id="social-contacts">none</content_attribute> - <content_attribute id="money-purchasing">none</content_attribute> - <content_attribute id="money-gambling">none</content_attribute> - </content_rating> -</component> diff -Nur TSC-2.1.0/tsc/extras/tsc.desktop new/tsc/extras/tsc.desktop --- TSC-2.1.0/tsc/extras/tsc.desktop 2020-05-17 12:21:43.000000000 +0200 +++ new/tsc/extras/tsc.desktop 1970-01-01 01:00:00.000000000 +0100 @@ -1,10 +0,0 @@ -[Desktop Entry] -Type=Application -Name=The Secret Chronicles of Dr. M. -Comment=Pursue Dr. M. in this two-dimensional platform game -Comment[de]=In diesem zweidimensionalen Plattformer jagen Sie Dr. M. -Icon=tsc -Exec=tsc %f -Terminal=false -StartupNotify=true -Categories=Game;ArcadeGame;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor