Difference between revisions of "En/TDE tdebase"
(Added page about tdebase, TDE and Slackware 14.0) |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | {{header_en|title=Building a Base package for TDE| keyword={{Template:keyword_en_tde}}| description=Building, installing and configuring a working Base package for TDE and Slackware Linux | link_page=TDE_tdebase}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
== TDEBASE == | == TDEBASE == | ||
− | [[En/trinity_desktop_environment#Base_Packages]] | + | [[En/trinity_desktop_environment#Base_Packages | TDE - Base Packages]] |
Package '''tdebase includes a set of libraries, configuration files and applications constituting the bulk of the Trinity Desktop Environment'''. Within tdebase are grouped the base desktop environment daemons and some general purpose applications such as the file manager and the configuration programs. Together with tdelibs, tdebase makes up a minimal desktop environment which the other TDE packages expand adding functionality, graphic effects and themes. | Package '''tdebase includes a set of libraries, configuration files and applications constituting the bulk of the Trinity Desktop Environment'''. Within tdebase are grouped the base desktop environment daemons and some general purpose applications such as the file manager and the configuration programs. Together with tdelibs, tdebase makes up a minimal desktop environment which the other TDE packages expand adding functionality, graphic effects and themes. | ||
Line 27: | Line 22: | ||
First thing the build script '''has to clean the cmake cache''': | First thing the build script '''has to clean the cmake cache''': | ||
+ | <syntaxhighlight lang="bash"> | ||
# Clean cmake cache | # Clean cmake cache | ||
find . -name CMakeCache.txt -exec rm {} \; | find . -name CMakeCache.txt -exec rm {} \; | ||
+ | </syntaxhighlight> | ||
Then it '''creates a directory''' where to build software and store output binaries. As for previously built packages ''the directory was named '''build''' in order for cmake to find it'': | Then it '''creates a directory''' where to build software and store output binaries. As for previously built packages ''the directory was named '''build''' in order for cmake to find it'': | ||
+ | <syntaxhighlight lang="bash"> | ||
# Create a directory where to build source (cmake wants the name to be build). | # Create a directory where to build source (cmake wants the name to be build). | ||
cd ${TMP}/tmp-${PRGNAM} | cd ${TMP}/tmp-${PRGNAM} | ||
mkdir build | mkdir build | ||
cd build | cd build | ||
+ | </syntaxhighlight> | ||
'''Specifically set Qt libraries paths''' in order for build scripts to find them at build time: | '''Specifically set Qt libraries paths''' in order for build scripts to find them at build time: | ||
+ | <syntaxhighlight lang="bash"> | ||
# Add temporary paths to handle new libraries during build | # Add temporary paths to handle new libraries during build | ||
export QTDIR=/opt/trinity | export QTDIR=/opt/trinity | ||
Line 41: | Line 41: | ||
export LD_LIBRARY_PATH=/usr/lib${LIBDIRSUFFIX}:/opt/trinity/lib${LIBDIRSUFFIX} | export LD_LIBRARY_PATH=/usr/lib${LIBDIRSUFFIX}:/opt/trinity/lib${LIBDIRSUFFIX} | ||
export PKG_CONFIG_PATH=:/usr/lib${LIBDIRSUFFIX}/pkgconfig:/opt/trinity/lib${LIBDIRSUFFIX}/pkgconfig:$PKG_CONFIG_PATH | export PKG_CONFIG_PATH=:/usr/lib${LIBDIRSUFFIX}/pkgconfig:/opt/trinity/lib${LIBDIRSUFFIX}/pkgconfig:$PKG_CONFIG_PATH | ||
+ | </syntaxhighlight> | ||
Last the script runs the cmake command with the suggested option list: | Last the script runs the cmake command with the suggested option list: | ||
+ | <syntaxhighlight lang="bash"> | ||
cmake ${TMP}/tmp-${PRGNAM}/${PRGNAM}-${VERSION} \ | cmake ${TMP}/tmp-${PRGNAM}/${PRGNAM}-${VERSION} \ | ||
-DCMAKE_C_FLAGS:STRING="${SLKCFLAGS}" \ | -DCMAKE_C_FLAGS:STRING="${SLKCFLAGS}" \ | ||
Line 75: | Line 77: | ||
-DBUILD_ALL=ON \ | -DBUILD_ALL=ON \ | ||
2>&1 | tee ${OUTPUT}/${PRGNAM}_configure.log | 2>&1 | tee ${OUTPUT}/${PRGNAM}_configure.log | ||
+ | </syntaxhighlight> | ||
Once the configuration successfully concludes, the script runs the make command then goes on with packaging the software. | Once the configuration successfully concludes, the script runs the make command then goes on with packaging the software. | ||
A full script can be downloaded from the following [http://www.giustetti.net/resource/slackbuild/tde/35132/tdebase.tar.gz link]. The output package can be installed by mean of command '''installpkg''' as usual in Slackware Linux. | A full script can be downloaded from the following [http://www.giustetti.net/resource/slackbuild/tde/35132/tdebase.tar.gz link]. The output package can be installed by mean of command '''installpkg''' as usual in Slackware Linux. | ||
− | After installing tdebase and the other packages discussed so far '''You'll be able to run the Trinity Desktop Environment and try its base | + | After installing tdebase and the other packages discussed so far '''You'll be able to run the Trinity Desktop Environment and try its base functionality'''. Further papers will delve with additional packages and the extended functionality and productivity enhancements they provide to the base environment. |
Line 86: | Line 89: | ||
External Links | External Links | ||
+ | |||
---- | ---- | ||
+ | |||
* [http://www.trinitydesktop.org/wiki/bin/view/Developers/HowToBuild TDE build guide] | * [http://www.trinitydesktop.org/wiki/bin/view/Developers/HowToBuild TDE build guide] | ||
* [http://en.wikipedia.org/wiki/KDEBase KDE Wikipedia page] | * [http://en.wikipedia.org/wiki/KDEBase KDE Wikipedia page] | ||
Line 92: | Line 97: | ||
---- | ---- | ||
− | + | {{footer_en | link_page=TDE_tdebase}} |
Latest revision as of 14:26, 21 March 2022
Welcome to Simone Giustetti's wiki pages.
Languages: English - Italiano
TDEBASE
Package tdebase includes a set of libraries, configuration files and applications constituting the bulk of the Trinity Desktop Environment. Within tdebase are grouped the base desktop environment daemons and some general purpose applications such as the file manager and the configuration programs. Together with tdelibs, tdebase makes up a minimal desktop environment which the other TDE packages expand adding functionality, graphic effects and themes.
Among the many tdebase included programs are:
- The control center (kcontrol).
- The desktop log-in manager (kdm).
- TDE integrated manual (khelpcenter).
- TDE panel (kicker).
- TDE web browser and integrated file manager (konqueror).
- The terminal emulator (konsole).
- The screen saver (kscreensaver).
- The window manager (kwin).
- The desktop environment start-up script (starttde).
Tdebase and Slackware
A build script based on release 3.5.X of kdebase exists for tdebase. Unluckily TDE developers ported the package to cmake and some heavy rewriting was needed to update the build procedure to the new tool. Before running the build script, please check for HAL to be installed. Hal is a prerequisite and without it the script will fail and return an error while performing the initial configuration checks. Directory /opt/trinity was configured as the package root directory in accordance to the project guidelines. The cmake option list and the custom theme were taken from the TDE build script for Slackware. Some script lines of code and related comments follow.
First thing the build script has to clean the cmake cache:
# Clean cmake cache
find . -name CMakeCache.txt -exec rm {} \;
Then it creates a directory where to build software and store output binaries. As for previously built packages the directory was named build in order for cmake to find it:
# Create a directory where to build source (cmake wants the name to be build).
cd ${TMP}/tmp-${PRGNAM}
mkdir build
cd build
Specifically set Qt libraries paths in order for build scripts to find them at build time:
# Add temporary paths to handle new libraries during build
export QTDIR=/opt/trinity
export PATH=/opt/trinity/bin:/usr/bin:$PATH
export LIBDIR=/usr/lib${LIBDIRSUFFIX}
export LD_LIBRARY_PATH=/usr/lib${LIBDIRSUFFIX}:/opt/trinity/lib${LIBDIRSUFFIX}
export PKG_CONFIG_PATH=:/usr/lib${LIBDIRSUFFIX}/pkgconfig:/opt/trinity/lib${LIBDIRSUFFIX}/pkgconfig:$PKG_CONFIG_PATH
Last the script runs the cmake command with the suggested option list:
cmake ${TMP}/tmp-${PRGNAM}/${PRGNAM}-${VERSION} \
-DCMAKE_C_FLAGS:STRING="${SLKCFLAGS}" \
-DCMAKE_CXX_FLAGS:STRING="${SLKCFLAGS}" \
-DCMAKE_INSTALL_PREFIX=${PREFIX} \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DMAN_INSTALL_DIR="/opt/trinity/man" \
-DWITH_XCOMPOSITE=ON \
-DWITH_XCURSOR=ON \
-DWITH_XFIXES=ON \
-DWITH_XRANDR=ON \
-DWITH_ARTS=ON \
-DWITH_XINERAMA=ON \
-DWITH_XDMCP=ON \
-DWITH_XRENDER=ON \
-DWITH_XFIXES=ON \
-DWITH_XDAMAGE=ON \
-DWITH_XEXT=ON \
-DWITH_XTEST=ON \
-DWITH_SHADOW=ON \
-DWITH_OPENEXR=ON \
-DWITH_HAL=ON \
-DWITH_SASL=ON \
-DWITH_LDAP=ON \
-DWITH_SAMBA=ON \
-DWITH_LIBRAW1394=ON \
-DBUILD_CRASHTEST=ON \
-DWITH_GCC_VISIBILITY=ON \
-DWITH_PAM=OFF \
-DWITH_TDEHWLIB=OFF \
-DWITH_USBIDS="/usr/share/hwdata/usb.ids" \
-DBUILD_ALL=ON \
2>&1 | tee ${OUTPUT}/${PRGNAM}_configure.log
Once the configuration successfully concludes, the script runs the make command then goes on with packaging the software.
A full script can be downloaded from the following link. The output package can be installed by mean of command installpkg as usual in Slackware Linux.
After installing tdebase and the other packages discussed so far You'll be able to run the Trinity Desktop Environment and try its base functionality. Further papers will delve with additional packages and the extended functionality and productivity enhancements they provide to the base environment.
For any feedback, questions, errors and such, please e-mail me at studiosg [at] giustetti [dot] net
External Links
Languages: English - Italiano