Skip to content

Commit

Permalink
feat:Add enable autostart
Browse files Browse the repository at this point in the history
Add enable autostart

Log: Add enable autostart.
pms: STORY-361827
  • Loading branch information
ECQZXC committed Nov 21, 2024
1 parent 463cdb5 commit a242945
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
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

0 comments on commit a242945

Please sign in to comment.