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

Why do Mutate deb package depend fcitx? #49

Closed
makenowjust opened this issue Mar 21, 2015 · 5 comments
Closed

Why do Mutate deb package depend fcitx? #49

makenowjust opened this issue Mar 21, 2015 · 5 comments
Labels

Comments

@makenowjust
Copy link

Hi.

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.)

We have a ourselves's favorite IME framework (i.e. fcitx, ibus, uim...) for we don't want to install other IME frameworks.

Is fcitx-libs-qt5 true dependence for mutate? Can you reduce it from dependences?

(See #34. You reduce it, dependences size reduce too.)


BTW,

fcitx="True"
for i in `cat /etc/profile`;do
if [ "$i" = "QT5_IM_MODULE=fcitx" ];then
fcitx="False"
fi
done
if [ "$fcitx" = "True" ];then
echo "export QT_IM_MODULE=fcitx" >> /etc/profile
echo "export QT5_IM_MODULE=fcitx" >> /etc/profile
echo "export XIM_PROGRAM=fcitx" >> /etc/profile
echo "export XIM=fcitx" >> /etc/profile
echo "export GTK_IM_MODULE=fcitx" >> /etc/profile
echo "export QT_IM_MODULE=fcitx" >> /etc/profile
echo 'export XMODIFIERS="@im=fcitx"' >> /etc/profile
fi

fcitx="True"
for i in `cat /etc/profile`;do                                            
if [ "$i" = "QT5_IM_MODULE=fcitx" ];then
fcitx="False"
fi
done
if [ "$fcitx" = "True" ];then
echo "export QT_IM_MODULE=fcitx" >> /etc/profile
echo "export QT5_IM_MODULE=fcitx" >> /etc/profile
echo "export XIM_PROGRAM=fcitx" >> /etc/profile
echo "export XIM=fcitx" >> /etc/profile
echo "export GTK_IM_MODULE=fcitx" >> /etc/profile
echo "export QT_IM_MODULE=fcitx" >> /etc/profile
echo 'export XMODIFIERS="@im=fcitx"' >> /etc/profile
fi

Many many many many many people do NOT want this behavior.

Why? 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!

I'm waiting your good reply 😆

@volgar1x
Copy link

👍 👍 👍

@odinho
Copy link

odinho commented Apr 12, 2015

Hmm. It's even weird so many "-dev" packages are needed. Quite simply zero of those should be needed. I think the Debian package is very wrong.

Ohh! Reading the package, it is indeed very weirdly done. It's using qmake and make so that it can run "make install" at the end. This is not how packaging should be done. Everything should be provided in the correct folder from the start, not exploded from the postinstall like it's currently done.

I think it's best not to use this package at all before this is fixed. It will mess up the system more than just doing a manual install of make install. :)

@codeThatThinks
Copy link
Contributor

Hey, wait a sec, fcitx isn't actually used anywhere in the code. It's only a dep because qdore uses it for input on his machine and thought to include it as a dep.

From what the ArchWiki says, users who want to use fcitx as an input method only need to install fcitx-qt5 (probably different package on other distros) and fcitx will work in any qt5 program. So I'll remove it.

@makenowjust
Copy link
Author

Thanks @codeThatThinks and Good job 😄

@santigarcor
Copy link

I think this problem isn't solved, when i want to install it from the ppa, it says that it needs fcitx package

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants