@ -629,7 +630,7 @@ Create and/or update the git repositories local copies.
#rm -f $TMPVARS/PRE_DOWNLOAD ## this is done at the head of this script
#rm -f $TMPVARS/PRE_DOWNLOAD ## this is done at the head of this script
[[$(cat $TMPVARS/TDEVERSION)== 14.0.8 ]]&&PRE_DOWNLOAD_MESSAGE="Only the source archives not already in 'src' will be downloaded."
[[$(cat $TMPVARS/TDEVERSION)== 14.0.8 ]]&&PRE_DOWNLOAD_MESSAGE="Only the source archives not already in 'src' will be downloaded."
[[$(cat $TMPVARS/TDEVERSION)== cgit ]]&&PRE_DOWNLOAD_MESSAGE="All cgit sources for the build list packages will be cloned/updated.\nMisc archives will only be downloaded if not already in 'src'."&&LINES=18
[[$(cat $TMPVARS/TDEVERSION)== cgit || $(cat $TMPVARS/TDEVERSION)== 14.0.x ]]&&PRE_DOWNLOAD_MESSAGE="All cgit sources for the build list packages will be cloned/updated.\nMisc archives will only be downloaded if not already in 'src'."&&LINES=18
## testing for cgit!=no will allow =yes or null, which is the 14.0.8 build case
## testing for cgit!=no will allow =yes or null, which is the 14.0.8 build case
for Slackware 14.2 or current on i586+ and x86_64.
.. for Slackware 14.2 or current on i586+ and x86_64.
See 'Cross compiling for RPi3' for armv7/aarch64 builds. The README for a native build for Raspberry Pi3 [[README-Raspberry-Pi3.md](./README-Raspberry-Pi3.md)] is now rather dated and cross compiling is preferred.
.. see 'Cross compiling for RPi3' for building for armv7/aarch64.
Build the release version R14.0.8 from tar archives; or the development version R14.1.0 from trinitydesktop cgit.
Build the release version 14.0.8 from tar archives; or the development versions 14.0.9, 14.1.0 from trinitydesktop cgit.
For a native build, run **./BUILD-TDE.sh** - a dialog based script with a series of screens for user input.
For a native build, run **./BUILD-TDE.sh** - a dialog based script with a series of screens for user input.
@ -14,19 +14,19 @@ For a native build, run **./BUILD-TDE.sh** - a dialog based script with a series
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].
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.
Run **INST=0 ./BUILD-TDE.sh** to build only.
This is a global option so can't be used where the build list includes packages requiring dependencies that haven't been installed.
This is a global option so can't be used where the build list includes packages which will be dependencies for other packages in the build list.
Any package, or set of packages, can be selected in the 'TDE Packages Selection' screen.
Any package, or set of packages, can be selected in the 'TDE Packages Selection' screen.
Information about dependencies for some packages has been added at the bottom of the dialog screen.
Information about dependencies for some packages has been added at the bottom of the dialog screen.
R14.0.8 source archives will be downloaded from a geoIP located mirror site, or the development sources [R14.1.0] cloned or updated from cgit.
14.0.8 source archives will be downloaded from a geoIP located mirror site, or the development sources [14.0.9/14.1.0] cloned or updated from cgit.
Downloading can be done pre-build [useful for an off-line build], or during the build.
Downloading can be done pre-build [useful for an off-line build], or during the build.
If you're curious about what this might involve, [take a look at a sample build set up](https://ray-v.github.io/A_typical_TDE_SlackBuild.html).
If you're curious about what this might involve, [take a look at a sample build set up](https://ray-v.github.io/A_typical_TDE_SlackBuild.html).
---
---
There are other command line options that can be used to set some build parameters:
***Other command line options*** that can be used to set some build parameters:
* TDE_MIRROR= - override the trinitydesktop.org geoIP redirector to use https - example, *https://mirrorservice.org/sites/trinitydesktop.org/trinity*. URLs @ https://www.trinitydesktop.org/mirrorstatus.php
* TDE_MIRROR= - override the trinitydesktop.org geoIP redirector to use https - example, *https://mirrorservice.org/sites/trinitydesktop.org/trinity*. URLs @ https://www.trinitydesktop.org/mirrorstatus.php
* BUILD= - sets the package build identifier, overriding the SlackBuild default of 1
* BUILD= - sets the package build identifier, overriding the SlackBuild default of 1
* USE_CMAKE_MM=yes - to build tdemultimedia with cmake - see Core/tdemultimedia/README.
* USE_CMAKE_MM=yes - to build tdemultimedia with cmake - see Core/tdemultimedia/README.
@ -73,13 +73,15 @@ Core/tdebase
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.
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.
Additionally for the development builds, translations for the .desktop files are determined from the LINGUAS variable which is set in this build shell to the additional languages selected.
There is an option in tde-i18n.SlackBuild to include a user created language specific patch file in the build.
There is an option in tde-i18n.SlackBuild to include a user created language specific patch file in the build.
It needs to be named *tde-i18n-{lang}-patch* and will then automatically be included for the build for that language.
It needs to be named *tde-i18n-{lang}-patch* and will then automatically be included for the build for that language.
Because of its position in the Slackbuild and the patch -p0 option, the path to the patched file must start with 'tde-i18n-{lang}' - see tde-i18n-en_GB-patch for an example.
Because of its position in the Slackbuild and the patch -p0 option, the path to the patched file must start with 'tde-i18n-{lang}' - see tde-i18n-en_GB-patch for an example.
---
---
***Building the development version from git sources***
***Building the development versions from git sources***
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.
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.
@ -98,7 +100,7 @@ cd tde-slackbuilds
git checkout gh-pages
git checkout gh-pages
```
```
or @ https://ray-v.github.io/tde-slackbuilds/cross-compiling-TDE-for-the-RPi3.html
which can be viewed [online](https://ray-v.github.io/tde-slackbuilds/cross-compiling-TDE-for-the-RPi3.html).
Includes:
Includes:
* Setting parameters for a 32-bit [armv7 hard float], or 64-bit [aarch64], build,
* Setting parameters for a 32-bit [armv7 hard float], or 64-bit [aarch64], build,
@ -111,10 +113,6 @@ Includes:
---
---
See https://wiki.trinitydesktop.org/How_to_Build_TDE_Core_Modules for more information
---
***Known issues***
***Known issues***
[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.
[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.
@ -123,6 +121,13 @@ See https://wiki.trinitydesktop.org/How_to_Build_TDE_Core_Modules for more infor
[3] 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.
[3] 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.
[4] The tdeedu build with kalzium equation solver needs ocaml and facile pre-downloaded to the 'src' directory.
[4] The README for a native build for Raspberry Pi3 [[README-Raspberry-Pi3.md](./README-Raspberry-Pi3.md)] is now rather dated and cross compiling is preferred.
[5] Building the kalzium equation solver needs ocaml and facile installed. They will be built, packaged, and installed during the tdeedu build if the source archives are pre-downloaded to the 'src' directory.