[WIP] KDE Plasma Desktop on Termux
This is a draft pull request to add KDE Plasma desktop packages to Termux.
The packages currently included are:
KF6 [6.20.0]
- kf6-ksvg ✓
- kf6-kcmutils ✓
- kf6-kded ✓
- kf6-krunner ✓
- kf6-kidletime ✓
- kf6-baloo ✓
- kf6-kdeclarative ✓
- kf6-frameworkintegration ✓
- kf6-kholidays ✓
- kf6-kunitconversion ✓
- kf6-kdnssd ✓
- kf6-kuserfeedback ✓
- kf6-kcontacts ✓
- kf6-kpeople ✓
- kf6-kparts [merged] ✓
- kf6-prison [merged] ✓
- kf6-kstatusnotifieritem [merged] ✓
- kf6-ksyntax-highlighting ✓
- kf6-ktexteditor ✓
- kf6-kquickcharts ✓
Plasma [6.5.2]
- kdecoration ✓
- aurorae ✓
- plasma-workspace-wallpapers ✓
- kactivitymanagerd ✓
- kglobalacceld ✓
- kwayland ✓
- plasma-activities ✓
- plasma-activities-stats ✓
- plasma5support ✓
- libkscreen ✓
- libplasma ✓
- milou ✓
- ocean-sound-theme ✓
- breeze ✓
- Oxygen ✓
- Oxygen-sounds ✓
- kde-cli-tools ✓
- kscreen ✓
- knighttime ✓
- kwin-x11 ✓
- ksysguard ✓
- qcc2-breeze-style ✓
- plasma-integration ✓
Qt [6.10.0]
- qt6-qtsensors ✓
- qt6-qtconnectivity ✓
- qt6-qtlocation ✓
- qt6-qtpositioning ✓
- qt6-qtspeech ✓
- qcoro ✓
- libqaccessibilityclient-qt6 ✓
- pulseaudio-qt ✓
- phonon-qt6 ✓
- phonon-qt6-vlc ✓
KDE GEAR [25.08.2]
- kde connect ✓
- baloo-widgets ✓
- kio-extras ✓
- libkexiv2 ✓
- dolphin ✓
- konsole ✓
- kate ✓
- audiotube ✓
Not Planned
- ~~kscreenlocker~~
- ~~kdoctools~~
Goal (Only left)
- plasma-workspace [trying to fix]
- plasma-desktop
Other deps
- libproxy ✓
Extras
- KDE PIM
More packages will be added later. This PR is a work in progress — please don’t merge it yet.
I can try to assist with each problem as you encounter them,
the first one is, unfortunately, there is an error because merge commits do not work in termux-packages PRs.
When you're ready, you can try rebasing the commits in your branch so that all of them are at the top of the branch. That should fix the first error.
~~I need help with these packages Breeze Kscreen Oxygen kf6-ksyntax-highlighting All the packages mentioned above builds fine in Termux.~~
Edit:Solved
I need help with these packages
Breeze Kscreen Oxygen kf6-ksyntax-highlightingAll the packages mentioned above builds fine in Termux.
I will try to help soon, I'm sorry for delay
Can We Also Include Krita? The Android Version Does Not Have Support For FFMPEG, Hence, No Support For Animation.
Also, The Android App Takes A Lot Of Space, Possibly Due To Pre-Included Dependencies. If It Is Included In Termux, Termux Environment's Own Libraries Can Be Shared With It, Probably Taking Very Less Size As Compared To Having Both Krita And Termux.
Krita
please try testing this.
- https://github.com/termux/termux-packages/pull/24850
I agree it's good, but one detail is, it has been mentioned that PyQt6 is desired to complete that PR.
- https://github.com/termux/termux-packages/issues/24851
Unfortuantely, in my opinion, "PyQt6" or its seemingly-parallel implementation "Pyside6" might be extremely difficult to properly cross-compile for Termux.
I tried for about 150 hours over a period of 3 weeks to cross-compile Pyside6, however, very unfortunately, it is too difficult for me and I do not understand how to do it.
Instead, I am able to successfully non-cross-compile (on-device build) Pyside6, which I have placed in this PR in tur-on-device, the package CI currently capable of on-device building:
- https://github.com/termux-user-repository/tur/pull/1771
If someone working on Krita would like to try the on-device build implementation of Pyside6 I made, for the purpose of testing or trying to create local builds of Krita with PyQt enabled, they can download that PR and just copy and paste the "pyside6" folder out of it,
but unfortunately, I really have no idea how to properly cross-compile it, since everything I tried had a lot of errors, but I could still send all of the documentation, tutorials and resources of cross-compilation of Pyside6 that I was able to find, which I wasn't able to get to work, if someone else wants to try it and asks me for that documentation.
Let's not blow up the scope of this PR too much. Separate KDE applications can be (and are being) added in other PRs.
I successfully built kf6-syntax-highlighting on termux docker environment. I see you removed dolphin, kate, gwenview, and plasmatube from the list. I also built them, everything is in my closed PR: https://github.com/BullyMaguire-lol/termux-packages/pull/2. kf6-kdesu has problem with building for i686 and arm, patch is needed.
I successfully built kf6-syntax-highlighting on termux docker environment. I see you removed dolphin, kate, gwenview, and plasmatube from the list. I also built them, everything is in my closed PR: BullyMaguire-lol#2. kf6-kdesu has problem with building for i686 and arm, patch is needed.
Thanks for checking the PR! The reason I removed
- dolphin (it can be considered important)
- kate
- gwenview
- plasmatube
is because I thought they’re not essential at this stage — my main goal was to get a working plasma-desktop with startplasma-x11.
-
I added kf6-kdesu to the list, but I’m not sure if it’s actually useful in the Termux context.
-
I also saw you added many packages (Kate, Dolphin, mpvqt, PlasmaTube, KColorPicker, KImageAnnotator, Gwenview). That’s a lot of work! I only tried building Dolphin on my phone, but I’m sure all of them will be very useful once plasma-desktop is fully functional.
I'm also interested in running plasma-desktop. I can help you with adding the rest of essential packages. What stage are you at? Have you already tried compiling kwin-x11 or plasma-*?
@xSpaceC4t you know you can read the diff of the pull request, right?
I don't really need you to mark me as co-author it's ok if you mark yourself only, but since it looks like you were trying to, I will let you know that the way you wrote it won't work like that,
because in order for it to work, it needs to have the Co-authored-by: on a different line of the commit message from the first line, like this:
I hope this is helpful for you
Could NOT find Python3 (missing: Python3_INCLUDE_DIRS Development
I've had that problem before, usually what worked for me is going into the source code of the package and just removing the part that says Development next to Python3 in the CMake file, if you need help with that error, let me know
but sometimes, some other change is needed which is harder, it depends.
Oh I see, you meant to turn off the python bindings, that makes sense and you don't need to do what I said unless you need to turn them on