Difference between revisions of "TDE 14.0.0 tde packages"
(Added page about the TDE 14.0.0 base packages build procedure) |
(No difference)
|
Revision as of 22:40, 27 March 2015
Welcome to Simone Giustetti's wiki pages.
Languages: English - Italiano
TDE Base Packages
En/trinity_desktop_environment_14.0.0
A previous paper in this series discussed the build procedure for two Trinity Desktop Environment fundamental packages: tdebase and tdelibs. Installing both provides a minimal environment which should be expanded installing further packages. This paper will discuss the procedure to build the remaining TDE 14.0.0 packages for Slackware 14.1.
Build System
A TDE full install is made up of many packages derived from the 3.5 branch of KDE. The KDe project chose Autotools as its build system. TDE dropped it in favor of Cmake, but the migration is still a work in progress. The majority of packages can be built recurring to Cmake, but some still need a configure script and related tools. The following table summarize the list of packages and corresponding build system:
Package | System |
---|---|
tde-i18n | Cmake |
tdeaccessibility | Autotools |
tdeaddons | Autotools |
tdeadmin | Autotools |
tdeartwork | Cmake |
tdebindings | Autotools |
tdeedu | Autotools |
tdegames | Autotools |
tdegraphics | Cmake |
tdemultimedia | Autotools |
tdenetwork | Cmake |
tdepim | Cmake |
tdesdk | Cmake |
tdetoys | Cmake |
tdeutils | Cmake |
tdevelop | Cmake |
tdewebdev | Autotools |
Page TDE_14.0.0_prerequisites#Common_Build_Script_Structure discusses a generic SlackBuild script used to build TDE packages. For a description of the generic options used please consult page TDE_14.0.0_prerequisites#Generic_Options. The instructions available there, in spite of being related to the Prerequisite package group, have a general value and work for the Base packages as well. Package specific options will be discussed below together with patches and workarounds. A download link to the full SlackBuild script is provided for each package in order to help whoever wishes to test it. Please refer to the build order provided in page En/trinity_desktop_environment_14.0.0#Build_order for everything to work out correctly.
Custom Options
Packages will be presented in alphabetical order instead of the build one.
TDE-I18N
A single name encloses all of the localization packages available for TDE. 81 among languages and variants for non English speaking users that can be installed based upon personal needs and preferences. All of the packages are optional. The tde-i18n script is somewhat peculiar as it does not execute a real build, more a rearranging of files to match a standard schema. Moreover the script does not manages a single package, but works every single one it can find in the root directory; its execution requires a large amount of time. Building all of the localization packages can require more than four hours on a modern PC. To build packages You'll need to set the ARCH environment variable:
ARCH="noarch"
Localization packages are architecture independent. Create a sub-directory where to work the source code for each localization and a second one where to copy output files during install:
LC_PACK=`basename ${LC_PACK_PATH}` # Enter the directory cd ${TMP}/tmp-${PRGNAM}/${DIR_SRC}/${LC_PACK} # Create a directory where to build source. mkdir build cd build # Create a directory where to install the built package PKG=${TMP}/package-${LC_PACK} mkdir ${PKG}
Run archive configuration invoking cmake:
cmake ${TMP}/tmp-${PRGNAM}/${DIR_SRC}/${LC_PACK} \ -DCMAKE_C_FLAGS:STRING="${SLKCFLAGS}" \ -DCMAKE_CXX_FLAGS:STRING="${SLKCFLAGS} $DEBUG_CMAKE_OPT" \ -DCMAKE_INSTALL_PREFIX=${PREFIX} \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DMAN_INSTALL_DIR=${MANDIR} \ -DSYSCONF_INSTALL_DIR=${SYSCONFDIR} \ -DBUILD_ALL=ON
Then execute make.
Remove the newly created directories once the package is installed in order not to consume all of /tmp disk space:
rm -r ${TMP}/tmp-${PRGNAM}/${DIR_SRC}/${LC_PACK}/build
All of the packages and intermediate files require more than 2 Gbyte.
A compressed archive containing the SlackBuild script and the related configuration files can be downloaded from the following link.
TDEACCESSIBILITY
Tools aimed toward easing TDE use and adoption for handicap bearing people. Some of the included programs:
- kmag: A screen magnifier.
- kmousetool: A tool that helps with mouse clicking.
- kmouth: A graphical interface to voice synthesizers.
To build a working tdeaccessibility package please install a patch solving a version mismatch issue for the libtool library:
patch -p0 -i ${SRCDIR}/ltmain_version_update.patch
Configure source code recurring to the configure script. The script requires the --enable-closure and some other options:
LDFLAGS="${SLKLDFLAGS}" \ CFLAGS="${SLKCFLAGS}" \ CXXFLAGS="${SLKCFLAGS}" \ ../${DIR_SRC}/configure \ ${DEBUG_AUTOTOOL_OPT} \ --enable-closure \ --enable-kttsd-epos=no \ --enable-kttsd-festivalint=no \ --enable-kttsd-flite=no \ --enable-kttsd-freetts=no \ --enable-kttsd-hadifix=no \ --libdir=${LIBDIR} \ --mandir=${MANDIR} \ --prefix=${PREFIX} \ --sysconfdir=${SYSCONFDIR} \ --with-qt-dir=${QTDIR} \ --with-qt-includes=${PREFIX}/include \ --with-qt-libraries=${PREFIX}/lib${LIBDIRSUFFIX}
Then start the build procedure running the make command.
A compressed archive containing the SlackBuild script and the related configuration files can be downloaded from the following link.
TDEADDONS
Package tdeaddons include some plug-ins and scripts adding functionality to some of the TDE many applications. To build a working package please install a patch needed to resolve a version mismatch issue for the libtool library:
patch -p0 -i ${SRCDIR}/ltmain_version_update.patch
Configure source code recurring to the configure script. The script requires the --enable-closure and some other options:
LDFLAGS="${SLKLDFLAGS}" \ CFLAGS="${SLKCFLAGS}" \ CXXFLAGS="${SLKCFLAGS}" \ ../${DIR_SRC}/configure \ ${DEBUG_AUTOTOOL_OPT} \ --enable-closure \ --libdir=${LIBDIR} \ --mandir=${MANDIR} \ --prefix=${PREFIX} \ --sysconfdir=${SYSCONFDIR} \ --with-qt-dir=${QTDIR} \ --with-qt-includes=${PREFIX}/include \ --with-qt-libraries=${PREFIX}/lib${LIBDIRSUFFIX}
Then start the build procedure running the make command.
A compressed archive containing the SlackBuild script and the related configuration files can be downloaded from the following link.
TDEADMIN
The system administration tools distributed with the desktop environment. Tdeadmin includes some tools with a graphical interface useful to configure and manage system users, start-up scripts, installed packages and scheduled tasks. Tdeadmin like the previously discussed packages uses Autotools as build system. The procedure is made of some easy steps. First You have to install a patch needed to resolve a version mismatch issue for the libtool library:
patch -p0 -i ${SRCDIR}/ltmain_version_update.patch
Configure source code recurring to the configure script. The script requires the --enable-closure and some other standard options:
LDFLAGS="${SLKLDFLAGS}" \ CFLAGS="${SLKCFLAGS}" \ CXXFLAGS="${SLKCFLAGS}" \ ../${DIR_SRC}/configure \ ${DEBUG_AUTOTOOL_OPT} \ --enable-closure \ --libdir=${LIBDIR} \ --mandir=${MANDIR} \ --prefix=${PREFIX} \ --sysconfdir=${SYSCONFDIR} \ --with-qt-dir=${QTDIR} \ --with-qt-includes=${PREFIX}/include \ --with-qt-libraries=${PREFIX}/lib${LIBDIRSUFFIX}
Then start the build procedure running the make command.
A compressed archive containing the SlackBuild script and the related configuration files can be downloaded from the following link.
TDEARTWORK
The look and feel has high importance in a desktop environment. The tdeartwork package includes a set of additional themes, icons, screensavers, backgrounds, styles and sounds meant for the user base to customize the environment to best fit their liking. To build a working package for Slackware 14.1 You need to configure the source code with cmake:
cmake ${TMP}/tmp-${PRGNAM}/${DIR_SRC} \ -DCMAKE_C_FLAGS:STRING="${SLKCFLAGS}" \ -DCMAKE_CXX_FLAGS:STRING="${SLKCFLAGS} $DEBUG_CMAKE_OPT" \ -DCMAKE_INSTALL_PREFIX=${PREFIX} \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DMAN_INSTALL_DIR=${MANDIR} \ -DSYSCONF_INSTALL_DIR=${SYSCONFDIR} \ -DBUILD_ALL=ON
Then start the build procedure running the make command.
A compressed archive containing the SlackBuild script and the related configuration files can be downloaded from the following link.
TDEBINDINGS
A package useful for developers, tdebindings includes bindings for languages other than C or C++ and therefore is mandatory if You plan to write TDE integrated applications recurring to languages like Java, Python and more. To enable Python support some prerequisite packages require installing before building tdebindings. More information can be found reading the TDE_14.0.0_python_support page. Developers wishing to code in Java should check a working JDK to be installed before building tdebindings otherwise language support will be disabled. For more information about JDK installation please consult the official Slackware documentation available in directory extra/source/java/ of any installation support.
To build the source code You have to install a patch needed to resolve a version mismatch issue for the libtool library:
patch -p0 -i ${SRCDIR}/ltmain_version_update.patch
Configure source code recurring to the configure script. The script requires the --enable-closure and some other standard options:
LDFLAGS="${SLKLDFLAGS}" \ CFLAGS="${SLKCFLAGS}" \ CXXFLAGS="${SLKCFLAGS}" \ ../${DIR_SRC}/configure \ ${DEBUG_AUTOTOOL_OPT} \ --enable-closure \ --libdir=${LIBDIR} \ --mandir=${MANDIR} \ --prefix=${PREFIX} \ --sysconfdir=${SYSCONFDIR} \ --with-qt-dir=${QTDIR} \ --with-qt-includes=${PREFIX}/include \ --with-qt-libraries=${PREFIX}/lib${LIBDIRSUFFIX}
Then run the make command to start the build procedure.
A compressed archive containing the SlackBuild script and the related configuration files can be downloaded from the following link.
TDEEDU
Package tdeedu includes some applications meant to help in learning school subjects. Among the programs:
- blinken: A tool to test memory.
- kalzium: A virtual Periodic Table of Elements.
- kanagram: An application to toy with words and anagrams.
- kbruch: A tool to test Your knowledge of fractions and factorizations.
- keduca/keducabuilder: A test maker.
- kgeography: A geography learning tool.
- khangman: The classic hangman game.
- kig: A program for drawing geometrical figures.
- kiten: An English / Japanese dictionary.
- klatin: A Latin language learning tool.
- kmplot: A program for drawing mathematical functions.
- kpercentage: A tool to test Your ability with percent operations.
- kstars: A virtual planetary.
- ktouch: A tool for learning to touch type.
- kturtle: A vector drawing program.
To build a working package for Slackware 14.1 You have to install a patch needed to resolve a version mismatch issue for the libtool library:
patch -p0 -i ${SRCDIR}/ltmain_version_update.patch
Configure source code recurring to the configure script. The script requires the --enable-closure and some other standard options:
LDFLAGS="${SLKLDFLAGS}" \ CFLAGS="${SLKCFLAGS}" \ CXXFLAGS="${SLKCFLAGS}" \ ../${DIR_SRC}/configure \ ${DEBUG_AUTOTOOL_OPT} \ --enable-closure \ --libdir=${LIBDIR} \ --mandir=${MANDIR} \ --prefix=${PREFIX} \ --sysconfdir=${SYSCONFDIR} \ --with-qt-dir=${QTDIR} \ --with-qt-includes=${PREFIX}/include \ --with-qt-libraries=${PREFIX}/lib${LIBDIRSUFFIX}
Last run the make command to start the build procedure.
A compressed archive containing the SlackBuild script and the related configuration files can be downloaded from the following link.
TDEGAMES
A bunch of simple but entertaining video games make up the Tdegames package. To build a working package for Slackware 14.1 You have to install a patch needed to resolve a version mismatch issue for the libtool library:
patch -p0 -i ${SRCDIR}/ltmain_version_update.patch
Configure source code recurring to the configure script. The script requires the --disable-setgid and --enable-closure custom options and some other standard ones:
LDFLAGS="${SLKLDFLAGS}" \ CFLAGS="${SLKCFLAGS}" \ CXXFLAGS="${SLKCFLAGS}" \ ../${DIR_SRC}/configure \ ${DEBUG_AUTOTOOL_OPT} \ --disable-setgid \ --enable-closure \ --libdir=${LIBDIR} \ --mandir=${MANDIR} \ --prefix=${PREFIX} \ --sysconfdir=${SYSCONFDIR} \ --with-qt-dir=${QTDIR} \ --with-qt-includes=${PREFIX}/include \ --with-qt-libraries=${PREFIX}/lib${LIBDIRSUFFIX}
Last run the make command to start the build procedure.
A compressed archive containing the SlackBuild script and the related configuration files can be downloaded from the following link.
TDEGRAPHICS
A collection of TDE programs related to graphic. Tdegraphics includes:
- kfax: To view digital FAX documents.
- kghostview: To view documents in the postscript format.
- kolourpaint: A minimal drawing program for bitmap images.
- kpdf: To view PDF documents.
- ksnapshot: A tool to take snapshots of the desktop or a single window and save it to file.
- kview: To view images and image collections. A great number of standard file formats are supported.
and some other general purpose tools. To build a working package for Slackware 14.1 You have to configure the source code invoking cmake then start the build procedure invoking make.
A compressed archive containing the SlackBuild script and the related configuration files can be downloaded from the following link.
TDEMULTIMEDIA
A collection of programs and tools useful to reproduce sounds, music, videos and more. Moreover the tdemultimedia package includes some administration tools for Arts the TDE integrated sound server. To build a working package for Slackware 14.1 You have to install a patch needed to resolve a version mismatch issue for the libtool library:
patch -p0 -i ${SRCDIR}/ltmain_version_update.patch
Configure source code recurring to the configure script. The script requires the --enable-closure custom option and some other standard ones:
LDFLAGS="${SLKLDFLAGS}" \ CFLAGS="${SLKCFLAGS}" \ CXXFLAGS="${SLKCFLAGS}" \ ../${DIR_SRC}/configure \ ${DEBUG_AUTOTOOL_OPT} \ --enable-closure \ --libdir=${LIBDIR} \ --mandir=${MANDIR} \ --prefix=${PREFIX} \ --sysconfdir=${SYSCONFDIR} \ --with-qt-dir=${QTDIR} \ --with-qt-includes=${PREFIX}/include \ --with-qt-libraries=${PREFIX}/lib${LIBDIRSUFFIX}
Last run the make command to start the build procedure.
A compressed archive containing the SlackBuild script and the related configuration files can be downloaded from the following link.
TDENETWORK
The package includes some TDE integrated applications to better use the many web provided services:
- kdict: A client providing a graphical interface to the dict protocol, granting access to web provided dictionaries.
- kget: A download manager.
- kopete: An instant messaging client supporting a wide range of protocols.
- kppp: A tool to manage and configure analog modems and modern telephone cards.
- krdc: To remotely access the desktop of another host.
- krfb: To share Your TDE desktop allowing other users to access Your host.
- ksirc: The TDE IRCclient.
Some daemons add up to the user applications, Lisa for example, they are useful to monitor the network and solve issues. To build a working package for Slackware 14.1 You have to configure the source code invoking cmake then start the build procedure invoking make.
A compressed archive containing the SlackBuild script and the related configuration files can be downloaded from the following link.
TDEPIM
Tdepim includes some tools to manage users personal information: organizers, e-mails, contacts, a shared calendar and whatever ranges into the generic definition of groupware. Among the many incluede tools:
- akregator: An aggregator for news and information from the web.
- kaddressbook: An address book.
- kalarm: Schedule command execution in the future.
- kandy: Synchronize data from a mobile device with the ones saved in the desktop.
- karm: Track the time spent while working tasks.
- kmail: The TDE e-mail client.
- knode: To read news from the web.
- knotes: Virtual Post-it.
- kontact: E-mail client, Personal Organizer, Contacts, news and more with a single common interface.
- korganizer: TDE personal organizer, shared calendar.
Please remember that in order to enable all of the provided functionality You'll have to install the prerequisite libraries libcaldav and libcarddav which were discussed in the TDE_14.0.0_prerequisites page. To build a working package for tdepim You have to configure source code invoking the cmake command passing it some custom options needed to enable all of the package features:
cmake ${TMP}/tmp-${PRGNAM}/${DIR_SRC} \ -DCMAKE_C_FLAGS:STRING="${SLKCFLAGS}" \ -DCMAKE_CXX_FLAGS:STRING="${SLKCFLAGS} $DEBUG_CMAKE_OPT" \ -DCMAKE_INSTALL_PREFIX=${PREFIX} \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DMAN_INSTALL_DIR=${MANDIR} \ -DSYSCONF_INSTALL_DIR=${SYSCONFDIR} \ -DBUILD_ALL=ON \ -DBUILD_KITCHENSYNC=OFF \ -DWITH_ALL_OPTIONS=ON \ -DWITH_ARTS=ON \ -DWITH_BIRTHDAYS=ON \ -DWITH_CALDAV=ON \ -DWITH_CARDDAV=ON \ -DWITH_EGROUPWARE=ON \ -DWITH_GNOKII=OFF \ -DWITH_GROUPDAV=ON \ -DWITH_SASL=ON
Then start the build procedure invoking the make command.
A compressed archive containing the SlackBuild script and the related configuration files can be downloaded from the following link.
TDESDK
The TDE Software Development Kit is a collection of programs and tools meant for application developers. clients for various versioning systems, bug management systems, profiling tools and much more are included in the tdesdk package. Moreover some code samples are included to help new developers in writing TDE integrated code. To build a working package You have to configure source code invoking the cmake command and passing it some custom options needed to enable all of the tools:
cmake ${TMP}/tmp-${PRGNAM}/${DIR_SRC} \ -DCMAKE_C_FLAGS:STRING="${SLKCFLAGS}" \ -DCMAKE_CXX_FLAGS:STRING="${SLKCFLAGS} $DEBUG_CMAKE_OPT" \ -DCMAKE_INSTALL_PREFIX=${PREFIX} \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DMAN_INSTALL_DIR=${MANDIR} \ -DSYSCONF_INSTALL_DIR=${SYSCONFDIR} \ -DBUILD_ALL=ON \ -DBUILD_KBUGBUSTER=ON \ -DBUILD_KSTARTPERF=ON \ -DBUILD_KUIVIEWER=ON \ -DWITH_DBSEARCHENGINE=ON \ -DWITH_KCAL=ON
Then start the build procedure invoking the make command.
A compressed archive containing the SlackBuild script and the related configuration files can be downloaded from the following link.
TDETOYS
The tdetoys package includes some Trinity Desktop Environment integrate toys and games. No one of the programs is really useful for something other than checking the desktop environment general behavior. To build a working package for Slackware 14.1 You have to follow the standard procedure configuring the source code with cmake then starting the build procedure with make.
A compressed archive containing the SlackBuild script and the related configuration files can be downloaded from the following link.
TDEUTILS
Tdeutils includes many general use applications very useful for users. A calculator, a compression utility and archive management tool, a very bare text editor, an easy to use and clean graphical interface for the GPG utility, and hexadecimal editor, an editor for regular expressions, a tool to measure time spent performing tasks, a tool to manage stored passwords and many more. To build a working package for Slackware 14.1 You have to follow the standard procedure configuring the source code with cmake then starting the build procedure with make.
A compressed archive containing the SlackBuild script and the related configuration files can be downloaded from the following link.
TDEVELOP
Tdevelop is an integrated IDE for developing new applications. Initially meant for C and C++ development, the environment evolved and offers now support for a large number of languages both compiled ones: Ada, Fortran, Pascal, and interptreted ones: Perl, Php, Python, Ruby and more. Tdevelop includes a modern, feature rich text editor, a debugger to help in studying and resolving issues, a Valgrind interface to monitor memory usage and performances and much more. To build a working package for Slackware 14.1 You have to configure the source code invoking cmake. The cmake command line should include options specific to enable all of the IDE provided functionality:
cmake ${TMP}/tmp-${PRGNAM}/${DIR_SRC} \ -DCMAKE_C_FLAGS:STRING="${SLKCFLAGS}" \ -DCMAKE_CXX_FLAGS:STRING="${SLKCFLAGS} $DEBUG_CMAKE_OPT" \ -DCMAKE_INSTALL_PREFIX=${PREFIX} \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DMAN_INSTALL_DIR=${MANDIR} \ -DSYSCONF_INSTALL_DIR=${SYSCONFDIR} \ -DBUILD_ALL=ON \ -DWITH_BUILDTOOL_ALL=ON \ -DWITH_DEPRECATION=ON \ -DWITH_LANGUAGE_ALL=ON \ -DWITH_VCS_ALL=ON \ -DWITH_VCS_CVSSERVICE=OFF
Once the source code configuration concludes, go on invoking the make command.
A compressed archive containing the SlackBuild script and the related configuration files can be downloaded from the following link.
TDEWEBDEV
Package tdewebdev includes Quanta Plus and many other tools for web programming. Some of the included programs can simplify management of existing web sites for example:
- kimagemapeditor: A graphical editor for image maps.
- klinkstatus: Recursively check link status through a web site.
- kxsldbg: A style sheet debugger.
- tdefilereplace: Search and replace strings in all pages of a site.
To build a working package for Slackware 14.1 You have to install a patch needed to resolve a version mismatch issue for the libtool library:
patch -p0 -i ${SRCDIR}/ltmain_version_update.patch
Configure source code recurring to the configure script. The script requires the --enable-closure custom option and some other standard ones:
LDFLAGS="${SLKLDFLAGS}" \ CFLAGS="${SLKCFLAGS}" \ CXXFLAGS="${SLKCFLAGS}" \ ../${DIR_SRC}/configure \ ${DEBUG_AUTOTOOL_OPT} \ --enable-closure \ --libdir=${LIBDIR} \ --mandir=${MANDIR} \ --prefix=${PREFIX} \ --sysconfdir=${SYSCONFDIR} \ --with-qt-dir=${QTDIR} \ --with-qt-includes=${PREFIX}/include \ --with-qt-libraries=${PREFIX}/lib${LIBDIRSUFFIX}
Last run the make command to start the build procedure.
A compressed archive containing the SlackBuild script and the related configuration files can be downloaded from the following link.
Conclusions
The present paper discussed the procedure to build many packages constituting the backbone for the Trinity Desktop Environment. Custom options were documented for each package and links for all of the used SlackBuild scripts were provided in the hope for them to be useful to Slackware Linux users wishing to give a try at building the desktop environment from scratch. All of the output packages can be found in the /tmp directory of Your machine and can be installed invoking the installpkg command standard in every Slackware distribution.
For any feedback, questions, errors and such, please e-mail me at studiosg [at] giustetti [dot] net
External links
Languages: English - Italiano