|
|
Developers primarily use the [PinePhone](https://www.pine64.org/pinephone/) and [PinePhone Pro](https://www.pine64.org/pinephonepro/) for development to due to wide community support, but other devices can be used as well.
|
|
|
|
|
|
The process of testing the shell on device heavily depends on the distribution you use. Below are some recommended setups to do so.
|
|
|
|
|
|
### Manjaro
|
|
|
|
|
|
Manjaro provides frequent developer builds for the PinePhone, where all Plasma packages are built from Git master on a daily basis.
|
|
|
|
|
|
Images can be [found here](https://github.com/manjaro-pinephone/plasma-mobile-dev/releases).
|
|
|
|
|
|
In order to test new changes, we can use Arch's PKGBUILD system in order to build the `plasma-mobile` package directly on the device.
|
|
|
|
|
|
SSH into your testing device, and create a folder for building, and then create a PKGBUILD file. This file contains the build configuration to build our `plasma-mobile` package.
|
|
|
|
|
|
In this example, we can obtain the PKGBUILD file used in Manjaro: https://gitlab.manjaro.org/packages/kde-unstable/plasma/plasma-mobile/-/tree/master
|
|
|
|
|
|
```bash
|
|
|
mkdir plasma-mobile
|
|
|
cd plasma-mobile
|
|
|
|
|
|
nano PKGBUILD # add the contents of the PKGBUILD file
|
|
|
|
|
|
nano plasma-mobile.install # add the contents of the plasma-mobile.install
|
|
|
|
|
|
# Build the package and install it
|
|
|
makepkg -si
|
|
|
```
|
|
|
|
|
|
Then, reboot your device to see your changes.
|
|
|
|
|
|
This builds the package from master branch at [https://invent.kde.org/plasma/plasma-mobile](https://invent.kde.org/plasma/plasma-mobile).
|
|
|
|
|
|
Read more about Arch Linux's packaging system in their [documentation](https://wiki.archlinux.org/title/PKGBUILD), on how to edit the PKGBUILD to fetch source code from your own repository and branch.
|
|
|
|
|
|
### postmarketOS
|
|
|
|
|
|
postmarketOS has robust cross-compiling tools that can allow contributors to build the the shell package on their computer, and then transfer and install it on devices running the OS.
|
|
|
|
|
|
TODO
|
|
|
|
|
|
---
|
|
|
|
|
|
<img src="uploads/92ed24a695ad80503b9c473f585bdba9/image.png" width=200px/>
|
|
|
|
|
|
*konqi is getting ready to test changes!* |