Changes

4,932 bytes added ,  08:50, 2 January 2014
Added page about tdebase, TDE and Slackware 14.0
Welcome to Simone Giustetti's wiki pages.


Languages: '''English''' - [http://www.giustetti.net/wiki/index.php?title=TDE_tdebase Italiano]

----

== TDEBASE ==
[[En/trinity_desktop_environment#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.

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 '''[http://www.cmake.org 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 [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 functionalitiy'''. 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
----
* [http://www.trinitydesktop.org/wiki/bin/view/Developers/HowToBuild TDE build guide]
* [http://en.wikipedia.org/wiki/KDEBase KDE Wikipedia page]

----

Languages: '''English''' - [http://www.giustetti.net/wiki/index.php?title=TDE_tdebase Italiano]