在 2015年7月19日 星期日 02:39:58,Zhang Jingqiang 写道:
> Hello,
> I just checked your fcitx git package repo, and found that zenity is used in
> src/ui/classic/fcitx-skin-installer.sh, which is not included in any binary
> package. So please remove zenity from recommends, or add kde-baseapps-bin
> as an alternative to zenity, as 'kdialog' is also supported there. Thanks
Sorry, I found that script as /usr/bin/fcitx-skin-installer in package
fcitx-bin, so it will be better to add 'zenity | kdialog' as recommends
to fcitx-bin.
Patch attached.
Thanks
diff --git a/debian/control b/debian/control
index 885f820..d695600 100644
--- a/debian/control
+++ b/debian/control
@@ -57,7 +57,8 @@ Description: Flexible Input Method Framework
Package: fcitx-bin
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}
-Recommends: fcitx-data, fcitx-modules
+Recommends: fcitx-data, fcitx-modules,
+ zenity | kde-baseapps-bin
Suggests: fcitx (>= ${source:Upstream-Version})
Replaces: fcitx (<< ${source:Upstream-Version})
Breaks: fcitx (<< ${source:Upstream-Version})
@@ -326,7 +327,7 @@ Description: Flexible Input Method Framework - debugging symbols
Package: fcitx-ui-classic
Architecture: any
Depends: fcitx-module-x11, ${misc:Depends}, ${shlibs:Depends}
-Recommends: fcitx (>= ${source:Upstream-Version}), zenity
+Recommends: fcitx (>= ${source:Upstream-Version})
Replaces: fcitx (<< ${source:Upstream-Version}),
fcitx-hangul (<< 0.3.0),
fcitx-unikey (<< 0.2.0)