Skip to content

Commit

Permalink
Merge pull request #204 from chewing/about-page
Browse files Browse the repository at this point in the history
feat: Add about dialog in setup program
  • Loading branch information
kanru authored Jun 22, 2024
2 parents 7156875 + 171d323 commit c62634f
Show file tree
Hide file tree
Showing 15 changed files with 471 additions and 70 deletions.
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: 2

updates:
- package-ecosystem: "github-actions"
directory: "/"
groups:
github-actions:
patterns:
- "*"
schedule:
interval: "monthly"
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ set(LICENSE "GPLv2+")
set(PRJ_GROUP "System Environment/Libraries")
set(RRJ_URL "https://github.com/chewing/${PROJECT_NAME}")

set(CMAKE_EXPORT_COMPILE_COMMANDS ON)

enable_testing()
include(GNUInstallDirs)

Expand Down Expand Up @@ -75,6 +77,8 @@ add_compile_definitions(
PRJ_DATA_DIR=${PRJ_DATA_DIR}
PRJ_VER=${PRJ_VER}
PRJ_URL=${PRJ_URL}
IBUS_VERSION=${IBUS_VERSION}
CHEWING_VERSION=${CHEWING_VERSION}
LIBEXEC_DIR=${LIBEXEC_DIR}
CHEWING_DATADIR_REAL=${CHEWING_DATADIR_REAL}
)
Expand Down Expand Up @@ -110,6 +114,8 @@ install(FILES ${CMAKE_BINARY_DIR}/data/ibus-setup-chewing.desktop
DESTINATION ${CMAKE_INSTALL_DATADIR}/applications)
install(DIRECTORY icons
DESTINATION ${CMAKE_INSTALL_DATADIR}/ibus-chewing)
install(FILES icons/org.freedesktop.IBus.Chewing.Setup.svg
DESTINATION ${CMAKE_INSTALL_DATADIR}/icons/hicolor/scalable/apps)

set(CPACK_PACKAGE_CHECKSUM SHA256)
set(CPACK_SOURCE_IGNORE_FILES "/build" "/out" "/\\\\..*")
Expand Down
2 changes: 1 addition & 1 deletion data/ibus-setup-chewing.desktop.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Name[zh_TW]=IBus 酷音偏好設定
Comment=Set IBus Chewing Preferences
Comment[zh_TW]=設定 IBus 酷音偏好
Exec=@LIBEXEC_DIR@/ibus-setup-chewing
Icon=ibus-setup-chewing
Icon=org.freedesktop.IBus.Chewing.Setup
NoDisplay=true
Terminal=false
Type=Application
Expand Down
101 changes: 101 additions & 0 deletions icons/org.freedesktop.IBus.Chewing.Setup.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit c62634f

Please sign in to comment.