{"action":"closed","issue":{"url":"https://api.github.com/repos/qdore/Mutate/issues/49","labels_url":"https://api.github.com/repos/qdore/Mutate/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/qdore/Mutate/issues/49/comments","events_url":"https://api.github.com/repos/qdore/Mutate/issues/49/events","html_url":"https://github.com/qdore/Mutate/issues/49","id":63374857,"number":49,"title":"Why do Mutate deb package depend fcitx?","user":{"login":"MakeNowJust","id":6679325,"avatar_url":"https://avatars.githubusercontent.com/u/6679325?v=3","gravatar_id":"","url":"https://api.github.com/users/MakeNowJust","html_url":"https://github.com/MakeNowJust","followers_url":"https://api.github.com/users/MakeNowJust/followers","following_url":"https://api.github.com/users/MakeNowJust/following{/other_user}","gists_url":"https://api.github.com/users/MakeNowJust/gists{/gist_id}","starred_url":"https://api.github.com/users/MakeNowJust/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MakeNowJust/subscriptions","organizations_url":"https://api.github.com/users/MakeNowJust/orgs","repos_url":"https://api.github.com/users/MakeNowJust/repos","events_url":"https://api.github.com/users/MakeNowJust/events{/privacy}","received_events_url":"https://api.github.com/users/MakeNowJust/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/qdore/Mutate/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-21T07:45:48Z","updated_at":"2015-07-05T04:36:08Z","closed_at":"2015-07-05T04:36:08Z","body":"Hi.\r\n\r\n`mutate` package depends `fcitx-libs-qt5` and it recommends `fcitx` accordingly.  In addition to, default behavior of Ubuntu `apt-get` is to install recommend package, so `apt-get install mutate` installs `fcitx` despite our wants.  (Of course, `--no-install-recommends` works effectively in this case.)\r\n\r\nWe have a ourselves's favorite IME framework (i.e. fcitx, ibus, uim...) for we don't want to install other IME frameworks.\r\n\r\nIs `fcitx-libs-qt5` true dependence for `mutate`?  Can you reduce it from dependences?\r\n\r\n(See #34. You reduce it, dependences size reduce too.)\r\n\r\n- - -\r\n\r\nBTW,\r\n\r\nhttps://github.com/qdore/Mutate/blob/0a09a0b1b6514658b6dcad75b1ca0f2c6eb2e2a2/debian/mutate/DEBIAN/postinst#L47-L61\r\n\r\n```bash\r\nfcitx=\"True\"\r\nfor i in `cat /etc/profile`;do                                            \r\nif [ \"$i\" = \"QT5_IM_MODULE=fcitx\" ];then\r\nfcitx=\"False\"\r\nfi\r\ndone\r\nif [ \"$fcitx\" = \"True\" ];then\r\necho \"export QT_IM_MODULE=fcitx\" >> /etc/profile\r\necho \"export QT5_IM_MODULE=fcitx\" >> /etc/profile\r\necho \"export XIM_PROGRAM=fcitx\" >> /etc/profile\r\necho \"export XIM=fcitx\" >> /etc/profile\r\necho \"export GTK_IM_MODULE=fcitx\" >> /etc/profile\r\necho \"export QT_IM_MODULE=fcitx\" >> /etc/profile\r\necho 'export XMODIFIERS=\"@im=fcitx\"' >> /etc/profile\r\nfi\r\n```\r\n\r\nMany many many many many people do NOT want this behavior.\r\n\r\nWhy?  Such a behavior should include library's installer.  If you want this behavior, you should asks to the forum <https://bugs.launchpad.net/ubuntu>.  Please don't make our `/etc/profile` dirty!\r\n\r\nI'm waiting your good reply :laughing:"}}