Skip to content

Commit 79345f9

Browse files
committed
chore: remove unused gtk-thumbnailer module
1. Removed gtk-thumbnailer from TESTS list in Makefile 2. Removed gtk-thumbnailer from BINARIES list in Makefile 3. Deleted main.go file containing GTK thumbnail generation logic 4. Deleted thumbnail.c file with GTK widget rendering implementation 5. Cleaned up build system to exclude this unused component This change removes the gtk-thumbnailer module which was no longer needed in the project. The module contained CGO-based GTK thumbnail generation code that created visual previews of GTK themes. Since this functionality is no longer required or maintained, removing it simplifies the codebase, reduces maintenance overhead, and eliminates unused dependencies on GTK libraries. Influence: 1. Verify that the project builds successfully without the gtk- thumbnailer module 2. Ensure no other components depend on the removed gtk-thumbnailer functionality 3. Test that all remaining tests in the TESTS list still pass 4. Confirm that all remaining binaries in the BINARIES list build correctly 5. Check that the build system doesn't reference the removed files elsewhere chore: 移除未使用的 gtk-thumbnailer 模块 1. 从 Makefile 的 TESTS 列表中移除 gtk-thumbnailer 2. 从 Makefile 的 BINARIES 列表中移除 gtk-thumbnailer 3. 删除包含 GTK 缩略图生成逻辑的 main.go 文件 4. 删除包含 GTK 部件渲染实现的 thumbnail.c 文件 5. 清理构建系统以排除此未使用的组件 此更改移除了项目中不再需要的 gtk-thumbnailer 模块。该模块包含基于 CGO 的 GTK 缩略图生成代码,用于创建 GTK 主题的视觉预览。由于此功能不再需要或维 护,移除它可以简化代码库,减少维护开销,并消除对 GTK 库的未使用依赖。 Influence: 1. 验证项目在没有 gtk-thumbnailer 模块的情况下能成功构建 2. 确保没有其他组件依赖于已移除的 gtk-thumbnailer 功能 3. 测试 TESTS 列表中所有剩余的测试是否仍然通过 4. 确认 BINARIES 列表中所有剩余的二进制文件能正确构建 5. 检查构建系统是否在其他地方引用了已移除的文件
1 parent d08bb61 commit 79345f9

File tree

3 files changed

+0
-170
lines changed

3 files changed

+0
-170
lines changed

Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ TESTS = \
2222
${GOPKG_PREFIX}/graphic \
2323
${GOPKG_PREFIX}/grub_theme/font \
2424
${GOPKG_PREFIX}/grub_theme/themetxt \
25-
${GOPKG_PREFIX}/gtk-thumbnailer \
2625
${GOPKG_PREFIX}/hans2pinyin \
2726
${GOPKG_PREFIX}/i18n_dependent \
2827
${GOPKG_PREFIX}/image-blur \
@@ -63,7 +62,6 @@ BINARIES = \
6362
graphic \
6463
locale-helper \
6564
hans2pinyin \
66-
gtk-thumbnailer \
6765
sound-theme-player \
6866
deepin-shutdown-sound \
6967
dde-open \

gtk-thumbnailer/main.go

Lines changed: 0 additions & 74 deletions
This file was deleted.

gtk-thumbnailer/thumbnail.c

Lines changed: 0 additions & 94 deletions
This file was deleted.

0 commit comments

Comments
 (0)