Skip to content

Commit 2277fd5

Browse files
authored
Merge pull request #740 from openstudiocoalition/739_Ubuntu2404
Fix #739 - Issues with Ubuntu 24.04: unmet apt dependencies, icon not showing
2 parents e99e5ee + 9eed191 commit 2277fd5

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,7 @@ elseif(UNIX)
848848
# set(CPACK_DEBIAN_PACKAGE_DEBUG ON)
849849

850850
# Focal Fossa (20.04) uses libwxgtk3.0-gtk3-0v5, apparently need libxcb-xinerama0 as well
851-
set(CPACK_DEBIAN_PACKAGE_DEPENDS "libxcb-xinerama0 (>= 1.13), libwxgtk3.0-0v5 (>= 3.0.0) | libwxgtk3.0-0 (>=3.0.0) | libwxgtk3.0-gtk3-0v5 (>=3.0.0), libxcb-cursor0")
851+
set(CPACK_DEBIAN_PACKAGE_DEPENDS "libxcb-xinerama0 (>= 1.13), libwxgtk3.0-0v5 (>= 3.0.0) | libwxgtk3.0-0 (>=3.0.0) | libwxgtk3.0-gtk3-0v5 (>=3.0.0) | libwxgtk3.2-1t64 (>= 3.2.0), libxcb-cursor0")
852852

853853
# These two will set the .deb install path correctly
854854
set(CPACK_SET_DESTDIR ON)
@@ -887,12 +887,12 @@ elseif(UNIX)
887887
# Create a proper App with file associations
888888

889889
# Install the .desktop manifest (allows the App to be seen in the Dash and adding to the dock, and to map it a mimetype)
890-
# install(FILES "${PROJECT_SOURCE_DIR}/src/openstudio_app/openstudioapp.desktop" DESTINATION /usr/share/applications)
891-
install(FILES "${PROJECT_SOURCE_DIR}/src/openstudio_app/openstudioapp.desktop" DESTINATION Temp/)
890+
# install(FILES "${PROJECT_SOURCE_DIR}/debian/openstudioapp.desktop" DESTINATION /usr/share/applications)
891+
install(FILES "${PROJECT_SOURCE_DIR}/debian/openstudioapp.desktop" DESTINATION Temp/)
892892

893893
# Install the XML mime info
894-
# install(FILES "${PROJECT_SOURCE_DIR}/src/openstudio_app/x-openstudio.xml" DESTINATION /usr/share/mime/application)
895-
install(FILES "${PROJECT_SOURCE_DIR}/src/openstudio_app/x-openstudio.xml" DESTINATION Temp/)
894+
# install(FILES "${PROJECT_SOURCE_DIR}/debian/x-openstudio.xml" DESTINATION /usr/share/mime/application)
895+
install(FILES "${PROJECT_SOURCE_DIR}/debian/x-openstudio.xml" DESTINATION Temp/)
896896

897897
set(CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA "${CPACK_DEBIAN_BIN_PACKAGE_CONTROL_EXTRA};${POSTINST_FILE};${POSTRM_FILE}")
898898

src/openstudio_app/openstudioapp.desktop renamed to debian/openstudioapp.desktop

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ Icon=openstudioapp
99
Terminal=false
1010
Categories=Utility;X-OpenStudio;X-EnergyModeling;
1111
MimeType=application/x-openstudio;
12-
12+
StartupWMClass=OpenStudioApp
File renamed without changes.

0 commit comments

Comments
 (0)