Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat:Add enable autostart #17

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
fcitx5 (5.1.10-1deepin6) unstable; urgency=medium

* add enable autostart

-- Chengqi E <[email protected]> Thu, 21 Nov 2024 15:25:33 +0800

fcitx5 (5.1.10-1deepin5) unstable; urgency=medium

* remove the restart icon from the right-click menu
Expand Down
23 changes: 23 additions & 0 deletions debian/patches/0009-add-enable-autostart.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
Index: fcitx5/debian/fcitx5.install
===================================================================
--- fcitx5.orig/debian/fcitx5.install
+++ fcitx5/debian/fcitx5.install
@@ -5,3 +5,4 @@ usr/share/applications/
usr/share/icons/hicolor/*/apps/fcitx.*
usr/share/icons/hicolor/*/apps/org.fcitx.Fcitx5.*
usr/share/metainfo/org.fcitx.Fcitx5.metainfo.xml
+etc/xdg/autostart/
\ No newline at end of file
Index: fcitx5/debian/rules
===================================================================
--- fcitx5.orig/debian/rules
+++ fcitx5/debian/rules
@@ -2,7 +2,7 @@

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

-config-opt := -DUSE_FLATPAK_ICON=OFF -DENABLE_XDGAUTOSTART=OFF
+config-opt := -DUSE_FLATPAK_ICON=OFF -DENABLE_XDGAUTOSTART=ON

ifneq (linux,$(DEB_HOST_ARCH_OS))
config-opt += -DUSE_SYSTEMD=OFF -DENABLE_WAYLAND=OFF
1 change: 1 addition & 0 deletions debian/patches/series
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
0006-Revert-disable-ctrl-shift-enumerate-key-by-default.patch
0007-Add-Sogou-to-the-default-zh_CN-input-method-list.patch
0008-fix-remove-the-restart-icon.patch
0009-add-enable-autostart.patch
Loading