You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
101 lines
4.8 KiB
101 lines
4.8 KiB
6 years ago
|
[<img src="https://ray-v.github.io/TDE-aarch64-gui.png">](https://ray-v.github.io/TDE-aarch64-gui.png)
|
||
|
... a TDE desktop, cross compiled for aarch64, running on a RPi3.
|
||
7 years ago
|
|
||
6 years ago
|
---
|
||
|
***Build TDE [Trinity Desktop Environment]***
|
||
|
for Slackware 14.2 or current on i586+, x86_64, or for Raspberry Pi3 [see [README-Raspberry-Pi3.md](./README-Raspberry-Pi3.md)], or cross compile for RPi3 armv7/aarch64 [see 'Cross compiling for RPi3'].
|
||
7 years ago
|
|
||
6 years ago
|
Build the release versions R14.0.4/5, or pre-release snapshot r14.0.6, from tar archives; or the development version from trinitydesktop cgit.
|
||
6 years ago
|
|
||
6 years ago
|
For a native build, run **./BUILD-TDE.sh** - a dialog based script with a series of screens for user input.
|
||
|
The default is to install the packages as they are built, which is necessary initially for the required packages and for some interdependencies [for example, tdesdk requires tdepim].
|
||
|
Run **INST=0 ./BUILD-TDE.sh** to build only.
|
||
9 years ago
|
|
||
6 years ago
|
Any package, or set of packages, can be selected in the 'TDE Packages Selection' screen.
|
||
8 years ago
|
The TDE mandatory packages can be pre-selected.
|
||
6 years ago
|
Notes at the bottom of the dialog screen have been added for information about dependencies for some packages.
|
||
9 years ago
|
|
||
6 years ago
|
The directory structure for the SlackBuild scripts is in line with the Trinity release source repositories:
|
||
|
```
|
||
8 years ago
|
Deps [dependencies/]
|
||
|
Core []
|
||
|
Libs [libraries/]
|
||
|
Apps [applications/]
|
||
6 years ago
|
```
|
||
|
Other directories are:
|
||
|
```
|
||
8 years ago
|
Misc - for non-Trinity package builds
|
||
|
src - to hold all the source tarballs, either pre-downloaded or downloaded during the build.
|
||
6 years ago
|
```
|
||
|
Other scripts:
|
||
|
```
|
||
|
get-source.sh - a chunk of common code for the SlackBuilds - used for getting the source archive,
|
||
|
setting FLAGS, creating build directories.
|
||
|
```
|
||
6 years ago
|
There is an override in the Misc SlackBuilds for non-trinity source archive URLs. Non-trinity builds have been included where a TDE package requires a dependency that is not in Slackware, or where it's an alternative to a TDE package.
|
||
8 years ago
|
|
||
6 years ago
|
Required packages for a basic working TDE are:
|
||
|
```
|
||
|
Deps/tqt3
|
||
|
Deps/tqtinterface
|
||
|
Deps/arts
|
||
|
Deps/dbus-tqt
|
||
|
Deps/dbus-1-tqt
|
||
|
Deps/tqca-tls
|
||
|
Deps/libart-lgpl
|
||
|
Core/tdelibs
|
||
|
Core/tdebase
|
||
|
```
|
||
6 years ago
|
i18n support [locale and html/help docs] in the packages is restricted to whatever is selected in the BUILD-TDE.sh 'Select Additional Languages' screen and, of that, to whatever is available in any individual package source.
|
||
8 years ago
|
|
||
|
See https://wiki.trinitydesktop.org/How_to_Build_TDE_Core_Modules for more information
|
||
9 years ago
|
|
||
6 years ago
|
---
|
||
6 years ago
|
|
||
6 years ago
|
***Building a pre-release from snapshot sources***
|
||
6 years ago
|
|
||
6 years ago
|
This is similar to the build for a release version, but the sources are taken from the TDE cgit repository @ https://git.trinitydesktop.org/cgit/{package}.
|
||
6 years ago
|
|
||
6 years ago
|
---
|
||
6 years ago
|
|
||
6 years ago
|
***Building the development version from git sources***
|
||
6 years ago
|
|
||
|
The individual TDE apps can be cloned from Trinity git, so the build is set up to do that - except for individual language packs of tde-i18n. The whole tde-i18n download is ~1x10^6 bytes, so to reduce that, wget is used to download individual tde-i18n-$lang packs as they are not git repositories.
|
||
|
|
||
6 years ago
|
Once any git repository has been cloned, further downloads are updates only[2], giving the best options - only fetching what is needed, and incremental updates.
|
||
6 years ago
|
|
||
|
The git repositories are cloned to 'src/cgit'
|
||
|
|
||
6 years ago
|
---
|
||
6 years ago
|
|
||
6 years ago
|
***Cross compiling for RPi3***
|
||
6 years ago
|
|
||
|
There is a work-in-progress for cross compiling TDE for the Raspberry Pi3 based on these scripts - see the html page in the gh-pages branch:
|
||
6 years ago
|
```
|
||
|
git clone https://github.com/Ray-V/tde-slackbuilds.git
|
||
|
cd tde-slackbuilds
|
||
6 years ago
|
git checkout gh-pages
|
||
6 years ago
|
```
|
||
6 years ago
|
|
||
|
or @ https://ray-v.github.io/tde-slackbuilds/cross-compiling-TDE-for-the-RPi3.html
|
||
|
|
||
|
Includes:
|
||
6 years ago
|
* Setting parameters for a 32-bit [armv7] hard float, or 64-bit [aarch64], build
|
||
6 years ago
|
* Building a cross compiler toolchain
|
||
6 years ago
|
* Building a 64-bit kernel which can be used for the 32-bit system
|
||
|
* Building qemu to run the TDE binaries built and used during compilation
|
||
|
* The required TDE apps
|
||
6 years ago
|
* ... and a few other TDE and non-TDE apps
|
||
6 years ago
|
|
||
6 years ago
|
---
|
||
6 years ago
|
|
||
6 years ago
|
***Known issues***
|
||
6 years ago
|
|
||
|
[1] TDM may need some manual setting up - see Core/tdebase/README, which can also be viewed while running BUILD-TDE.sh if tdebase is selected.
|
||
6 years ago
|
|
||
6 years ago
|
[2] The i18n downloads with wget can't be updated because cgit produces 'current time' timestamps. The consequence is that if tde-i18n-$lang is a part of the build after its initial download, it will be downloaded again. As updates are infrequent, once built, there will probably be no need to do so again and so tde-i18n for a particular language will probably only be run once. On that basis I don't see this being a significant issue.
|
||
7 years ago
|
|
||
6 years ago
|
[3] If Slackware's KDE is installed as well as TDE, there might be an issue with TDE launching the KDE4 Konsole and attempting to use it's ark. To fix, adjust the PATH so that the TDE directories come before /usr/share/bin.
|
||
7 years ago
|
|
||
6 years ago
|
[4] The Misc directory contains SlackBuilds for software that might already be installed from other sources. Please check because any misc builds selected here could overwrite them.
|