Set a number of installation directories in tqt3.SlackBuild to install tqt3/tqtinterface to TDE installation directory to create what I feel is a more compact and logical tree:
/opt/tde
├── bin
├── include
│ └── tqt
│ └── private
├── lib64
│ ├── pkgconfig
│ ├── tde
│ │ └── plugins
│ │ ├── designer
│ │ └── styles
│ └── tqt
│ ├── mkspecs
│ └── plugins
│ ├── crypto
│ ├── designer
│ ├── inputmethods
│ ├── integration
│ └── styles
└── share
└── tqt
└── translations
Revised doinst.sh and pkgconfig.sh setup in tqt3.SlackBuild
Removed PREPEND which probably never worked anyway
Removed TQT_INCLUDE_PATH C*FLAGS - patched admin/acinclude.m4.in
Removed SLKLDFLAGS - not used
Removed ld error workaround patches
Fixed build not stopping when set to Stop
Fixed retaining tde-i18n build data when set to Keep ALL
Revised cmake options
Set TDE binaries directory to head of PATH
Patch in tdelibs.SlackBuild to find avahi-tqt headers
Patches in {tdevelop,tdeedu,tdemultimedia}.SlackBuild to find libtqt-mt
Patch in tdewebdev.SlackBuild for 'undefined reference' error
Added RPATH to all SlackBuilds
The default with the tqt3 build is to append the TDE libs paths to /etc/ld.so.conf.
This means that TDE libs will be at the end of the search path. If the package configuration sets up the search path without using the shell variables set up in this script, those TDE libs will not be used if a library of the same name exists - a conflict which could arise if another DE is installed.
If you experience any problems of this nature, then try the \Z1P\Zb\Z0repend\Zn option, which will set up doinst.sh for tqt3 to add the TDE libs paths to the beginning of the search path.
Then \Zb\Z2rebuild tqt3\Zn. This build option only applies to that package.
@ -479,15 +443,44 @@ A minimal packaging of tqt3 will install only the run-time library required for
But tdepim, ksquirrel, and tdevelop need additional libraries. If you select minimal packaging and intend to build any of those at any time, select keeping their required libs now.
TQt html documentation is ~21M, and can be excluded from the package.
mkspecs is only required for linux-g++
"\
21 754\
25 755\
" minimal""Minimal packaging" off "\Zb\Z6 Exclude libs and binaries not required for TDE \Zn"\
" pim_ksq""Keep lib for tdepim and/or ksquirrel" off "\Zb\Z6 Only required if minimal build selected \Zn"\
" tdevel""Keep libs for tdevelop" off "\Zb\Z6 Only required if minimal build selected \Zn"\
" pim_ksq"" ├─ Keep lib for tdepim and/or ksquirrel" off "\Zb\Z6 Only required if minimal build selected \Zn"\
" tdevel"" └─ Keep libs for tdevelop" off "\Zb\Z6 Only required if minimal build selected \Zn"\
" nodocs""Exclude html documentation" on "\Zb\Z6 \Zn"\
" mkspecs""linux-g++ only" on "\Zb\Z6 Uncheck for the complete set \Zn"\
@ -627,8 +620,8 @@ Create and/or update the git repositories local copies.
"\
1975
[[$?==0]]&&echo yes > $TMPVARS/CGIT
[[$?==1]]&&echo no > $TMPVARS/CGIT
[[$?==0]]&&echo yes > $TMPVARS/DL_CGIT
[[$?==1]]&&echo no > $TMPVARS/DL_CGIT
}
@ -636,7 +629,7 @@ Create and/or update the git repositories local copies.
[[$(cat $TMPVARS/TDEVERSION)== 14.0.7 ]]&&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
## testing for cgit!=no will allow =yes or null, which is the 14.0.7 build case
## tde-i18n package installation is handled in tde-i18n.SlackBuild because if more than one i18n package is being built, only the last one will be installed by upgradepkg here - test for last language in the I18N list to ensure they've all been built
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.
Any package, or set of packages, can be selected in the 'TDE Packages Selection' screen.
The TDE mandatory packages can be pre-selected.
Information about dependencies for some packages has been added at the bottom of the dialog screen.
R14.0.7 source archives will be downloaded from a geoIP located mirror site, or the development sources [R14.1.0] cloned or updated from cgit.
@ -25,6 +26,14 @@ If you're curious about what this might involve, [take a look at a sample build
---
There are other command line options that can be used to set some build parameters:
* BUILD= - sets the package build identifier, overriding the SlackBuild default of 1
* USE_CMAKE_EDU=yes - to build tdeedu with cmake - see Core/tdeedu/README.
* USE_CMAKE_MM=yes - to build tdemultimedia with cmake - see Core/tdemultimedia/README.
* VERBOSE=1 - show command lines during cmake builds
---
***The directory structure*** for the SlackBuild scripts is in line with the Trinity release source repositories:
```
Deps [dependencies/]
@ -112,6 +121,4 @@ See https://wiki.trinitydesktop.org/How_to_Build_TDE_Core_Modules for more infor
[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.
[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/bin.
[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.
[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.