From 8df7418cd05a850c1b70323df280fff1cf95ea2b Mon Sep 17 00:00:00 2001 From: Liu Zhangjian Date: Fri, 6 Feb 2026 18:00:46 +0800 Subject: [PATCH] feat: update IDE icon design and installation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updated the IDE application icon with a new blue-themed design and improved installation according to freedesktop.org standards. The changes include: 1. Completely redesigned the SVG icons with new blue color gradients and modern visual style 2. Updated icon installation paths to follow freedesktop.org standards (scalable and 32x32 sizes) 3. Modified CMakeLists.txt to install icons to proper system directories 4. Updated debian installation script to include new icon paths 5. Improved icon metadata with updated titles and filter parameters Log: Updated application icon with new blue theme and proper system installation Influence: 1. Verify application icon appears correctly in system launcher 2. Check icon scaling at different sizes (especially 32x32 and scalable versions) 3. Test icon visibility in various desktop environments 4. Confirm icon installation paths are correct in /usr/share/icons/ hicolor/ 5. Verify both SVG files are properly installed and accessible feat: 更新IDE图标设计和安装方式 更新了IDE应用程序图标,采用新的蓝色主题设计,并根据freedesktop.org标准改 进了安装方式。具体变更包括: 1. 完全重新设计了SVG图标,采用新的蓝色渐变和现代化视觉风格 2. 更新图标安装路径以遵循freedesktop.org标准(可缩放和32x32尺寸) 3. 修改CMakeLists.txt以将图标安装到正确的系统目录 4. 更新debian安装脚本以包含新的图标路径 5. 改进了图标元数据,更新了标题和滤镜参数 Log: 更新应用程序图标为新的蓝色主题并改进系统安装 Influence: 1. 验证应用程序图标在系统启动器中正确显示 2. 检查不同尺寸下的图标缩放效果(特别是32x32和可缩放版本) 3. 测试在各种桌面环境中的图标可见性 4. 确认图标安装路径在/usr/share/icons/hicolor/中正确 5. 验证两个SVG文件都正确安装并可访问 --- assets/configures/CMakeLists.txt | 9 ++- assets/configures/ide.svg | 57 +++++++--------- assets/configures/ide_32px.svg | 66 +++++++------------ debian/changelog | 6 ++ debian/deepin-unioncode.install | 2 +- src/plugins/core/builtin/actions/ide_32px.svg | 66 +++++++------------ 6 files changed, 83 insertions(+), 123 deletions(-) diff --git a/assets/configures/CMakeLists.txt b/assets/configures/CMakeLists.txt index 4c233ce4d..df64bb8b0 100644 --- a/assets/configures/CMakeLists.txt +++ b/assets/configures/CMakeLists.txt @@ -1,7 +1,12 @@ file(GLOB SUPPORTFILES "${CMAKE_CURRENT_SOURCE_DIR}/*.support") file(GLOB DESKTOPFILES "${CMAKE_CURRENT_SOURCE_DIR}/*.desktop") -file(GLOB ICON "${CMAKE_CURRENT_SOURCE_DIR}/*.svg") + +# Icon installation according to freedesktop.org standards +install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/ide.svg" + DESTINATION "/usr/share/icons/hicolor/scalable/apps") +install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/ide_32px.svg" + DESTINATION "/usr/share/icons/hicolor/32x32/apps" + RENAME "ide.svg") install(FILES ${SUPPORTFILES} DESTINATION "${SOURCES_INSTALL_RPEFIX}/configures") install(FILES ${DESKTOPFILES} DESTINATION "/usr/share/applications") -install(FILES ${ICON} DESTINATION "${SOURCES_INSTALL_RPEFIX}/configures/icons") diff --git a/assets/configures/ide.svg b/assets/configures/ide.svg index 06834836b..bffd68c74 100644 --- a/assets/configures/ide.svg +++ b/assets/configures/ide.svg @@ -1,8 +1,8 @@ - app/ide/256px + apps/256/ide - + @@ -11,44 +11,33 @@ - - - + + + - - - + + + - - - + + + - - - - - - - - - - - - - - + + + - - - - - - - - + + + + + + + + - + \ No newline at end of file diff --git a/assets/configures/ide_32px.svg b/assets/configures/ide_32px.svg index 1756aa9ae..72f6280fd 100644 --- a/assets/configures/ide_32px.svg +++ b/assets/configures/ide_32px.svg @@ -1,8 +1,8 @@ - app/ide/32px + apps/32/ide - + @@ -11,53 +11,33 @@ - - - + + + - - - - + + + - - - + + + - - - - - - - - - - - - - - - - - - + + + - - - - - - - - - - - - + + + + + + + + - + \ No newline at end of file diff --git a/debian/changelog b/debian/changelog index 9b5a95480..a1239cb79 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +deepin-unioncode (1.4.19) unstable; urgency=medium + + * feat: update IDE icon design and installation + + -- Liu Zhangjian Fri, 06 Feb 2026 18:00:55 +0800 + deepin-unioncode (1.4.18) unstable; urgency=medium * fix: python debugpy cannot connect diff --git a/debian/deepin-unioncode.install b/debian/deepin-unioncode.install index a10d94cbd..bc211b291 100644 --- a/debian/deepin-unioncode.install +++ b/debian/deepin-unioncode.install @@ -1,8 +1,8 @@ /usr/bin/deepin-unioncode /usr/share/icons/hicolor/scalable/apps/*.svg +/usr/share/icons/hicolor/32x32/apps/*.svg /usr/share/deepin-unioncode /usr/share/deepin-unioncode/configures/*.support -/usr/share/deepin-unioncode/configures/icons/*.svg /usr/share/deepin-unioncode/templates/* /usr/share/applications/*.desktop /usr/lib/*/deepin-unioncode/lib*.a* diff --git a/src/plugins/core/builtin/actions/ide_32px.svg b/src/plugins/core/builtin/actions/ide_32px.svg index 1756aa9ae..72f6280fd 100644 --- a/src/plugins/core/builtin/actions/ide_32px.svg +++ b/src/plugins/core/builtin/actions/ide_32px.svg @@ -1,8 +1,8 @@ - app/ide/32px + apps/32/ide - + @@ -11,53 +11,33 @@ - - - + + + - - - - + + + - - - + + + - - - - - - - - - - - - - - - - - - + + + - - - - - - - - - - - - + + + + + + + + - + \ No newline at end of file