Line 1: |
Line 1: |
− | Welcome to Simone Giustetti's wiki pages.
| + | {{header_en|title=Building a dbus-tqt package for TDE| keyword={{Template:keyword_en_tde}}| description=Building, installing and configuring a working dbus-tqt package for TDE and Slackware Linux | link_page=TDE_dbus-tqt}} |
| | | |
− | | + | [[En/trinity_desktop_environment#Prerequisites | TDE - Prerequisites]] |
− | Languages: '''English''' - [http://www.giustetti.net/wiki/index.php?title=TDE_dbus-tqt Italiano]
| |
− | | |
− | ----
| |
− | | |
− | == DBUS-1-TQT ==
| |
− | [[En/trinity_desktop_environment#Prerequisites]] | |
| | | |
| '''D-Bus''' is a software library used for easy inter process communication and message handling. D-Bus was adopted by many modern desktop environments such as [http://www.gnome.org GNOME] or [http://www.kde.org KDE] to allow applications to talk to one another. The '''dbus-tqt package contains libraries integrating D-Bus to QT3''' and, together with its twin dbus-1-tqt, is a prerequisite for building and running the '''Trinity Desktop Environment'''. More information about D-Bus can be found at the web site of project [http://www.freedesktop.org/wiki/Software/dbus freedesktop] which coordinates software development and documentation management. | | '''D-Bus''' is a software library used for easy inter process communication and message handling. D-Bus was adopted by many modern desktop environments such as [http://www.gnome.org GNOME] or [http://www.kde.org KDE] to allow applications to talk to one another. The '''dbus-tqt package contains libraries integrating D-Bus to QT3''' and, together with its twin dbus-1-tqt, is a prerequisite for building and running the '''Trinity Desktop Environment'''. More information about D-Bus can be found at the web site of project [http://www.freedesktop.org/wiki/Software/dbus freedesktop] which coordinates software development and documentation management. |
Line 16: |
Line 10: |
| | | |
| The build script '''must clean the cmake cache''': | | The build script '''must 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 '''create a new directory''' where to build source code and save output binary files. As for previously built packages ''the directory was named '''build''' in order for cmake to find it'': | | Then '''create a new directory''' where to build source code and save output binary files. 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> |
| The build script '''specifically sets Qt libraries path''' in order for build scripts to find them at build time: | | The build script '''specifically sets Qt libraries path''' 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 30: |
Line 29: |
| 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> |
| And eventually runs the cmake command with standard options as suggested in the official documentation: | | And eventually runs the cmake command with standard options as suggested in the official documentation: |
| + | <syntaxhighlight lang="bash"> |
| cmake ${TMP}/tmp-${PRGNAM}/${PRGNAM}-${VERSION} \1 | | cmake ${TMP}/tmp-${PRGNAM}/${PRGNAM}-${VERSION} \1 |
| -DCMAKE_C_FLAGS:STRING="${SLKCFLAGS}" \ | | -DCMAKE_C_FLAGS:STRING="${SLKCFLAGS}" \ |
Line 40: |
Line 41: |
| -DQT_INCLUDE_DIR=/opt/trinity/include \ | | -DQT_INCLUDE_DIR=/opt/trinity/include \ |
| 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. |
| | | |
Line 49: |
Line 51: |
| | | |
| 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://www.freedesktop.org/wiki/Software/dbus Project freedesktop D-Bus page] | | * [http://www.freedesktop.org/wiki/Software/dbus Project freedesktop D-Bus page] |
Line 57: |
Line 61: |
| ---- | | ---- |
| | | |
− | Languages: '''English''' - [http://www.giustetti.net/wiki/index.php?title=TDE_dbus-tqt Italiano]
| + | {{footer_en | link_page=TDE_dbus-tqt}} |