fix(x11/cinnamon-session): change Python dependencies to match other distros#28781
Conversation
|
@sabamdarif do you know why |
|
@DuilioPerez I can see that you decided those dependencies, could you explain how you found them, and also, if there were commands that were broken without those dependencies installed, could you show what commands those were, so I can test the commands on Arch Linux Cinnamon and check why Arch Linux doesn't have the same problems (or if it does)? |
it doesn't need this on build time, but when i was trying to launch it it shows me some errors when get fixed after i install this modules , it was disused here :- #25823 (comment) , i don't actually remember what the error was |
Since |
|
wait, i will try it now |
|
Ok I will add |
…distros - In Arch Linux and Debian, `cinnamon-session` depends on `pygobject` and `setproctitle`, but does not depend on `psutil` or `inotify` there. - Prevents error during `pkg install cinnamon-session` `inotify is not available on android-24-arm64_v8a`
21acd69 to
9efba0a
Compare
|
wait few minutes let me reset my termux , it's too bloated , i think that's why it's not launching because there are no more i can see |
|
it's app data is over 25gb now i should clean it up now |
|
it's working |
|
although there is a issue , although this isn't related to this pr , the issue is it can't load backgrounds from gnome-backgrounds |
|
I will try to fix it |
|
ok while you are doing this can patch js/ui/ibusCandidatePopup.js in cinnamon package too there are some places where it still call virtualKeyboardManager can you disable them for (let i = 0; (indexLabel = lookupTable.get_label(i)); ++i)
indexes.push(indexLabel.get_text());
- Main.virtualKeyboardManager.resetSuggestions();
+ if (Main.virtualKeyboardManager) Main.virtualKeyboardManager.resetSuggestions();
let candidates = [];
for (let i = startIndex; i < endIndex; ++i) {
candidates.push(lookupTable.get_candidate(i).get_text());
- Main.virtualKeyboardManager.addSuggestion(lookupTable.get_candidate(i).get_text(), () => {
+ if (Main.virtualKeyboardManager) Main.virtualKeyboardManager.addSuggestion(text, () => {
let index = i;
this._panelService.candidate_clicked(index, 1, 0);
}); panelService.connect('focus-out', () => {
this.close(BoxPointer.PopupAnimation.NONE);
- Main.virtualKeyboardManager.resetSuggestions();
+ if (Main.virtualKeyboardManager) Main.virtualKeyboardManager.resetSuggestions();
});
}
_updateVisibility() {
- let isVisible = !Main.virtualKeyboardManager.visible &&
+ let isVisible = !(Main.virtualKeyboardManager && Main.virtualKeyboardManager.visible) &&
(this._preeditText.visible ||
this._auxText.visible ||
this._candidateArea.visible);
the patch could be, something like this , and it will be inside https://github.com/termux/termux-packages/blob/master/x11-packages/cinnamon/0011-disable-virtualkeyboard.patch file |
i think you should marge it , otherwise people will not be able to install cinnamon , and that issue is with the cinnamon package not with cinnamon-session |
I don't remember where is used. But it seems it's used by nemo for desktop |
oh no well I will merge this now for |
Yes, it seems is not used in this version. It was used when I tested cinnamon for the first time, but now it seems is not needed |
Wait, that is also in cinnamon too isn't it? Could you put that in a different PR for cinnamon and I will approve it? |
|
ok, they are not a big issue the it's just shows a error but the desktop still launch |

In Arch Linux and Debian,
cinnamon-sessiondepends onpygobjectandsetproctitle, but does not depend onpsutilorinotifythere.Prevents error during
pkg install cinnamon-sessioninotify is not available on android-24-arm64_v8a