Changes

166 bytes added ,  14:34, 21 December 2016
Page updated to new template
Line 1: Line 1: −
Welcome to Simone Giustetti's wiki pages.
+
{{header_en|title=Building a dbus-1-tqt package for TDE| keyword={{Template:keyword_en_tde}}| description=Building, installing and configuring a working dbus-1-tqt package for TDE and Slackware Linux | link_page=TDE_dbus-1-tqt}}
 
  −
 
  −
Languages: '''English''' - [http://www.giustetti.net/wiki/index.php?title=TDE_dbus-1-tqt Italiano]
  −
 
  −
----
      
== DBUS-1-TQT ==
 
== DBUS-1-TQT ==
[[En/trinity_desktop_environment#Prerequisites]]
+
[[En/trinity_desktop_environment#Prerequisites | TDE - Prerequisites]]
    
'''D-Bus''' is an inter-process communication and message mechanism. D-Bus provides a common software interface for user applications and processes, system processes, hardware control processes and driver provided services. All this through a fast and low latency binary data transfer protocol that endows D-Bus with good performances and low CPU usage. Initially developed for Linux, D-Bus is currently maintained by the [http://www.freedesktop.org freedesktop project] and its design and specification are open to anyone. D-Bus is used by many modern desktop managers such as [http://www.gnome.org GNOME] and [http://www.kde.org KDE] where it replaced the previous '''DCOP''' inter-process communication interface.
 
'''D-Bus''' is an inter-process communication and message mechanism. D-Bus provides a common software interface for user applications and processes, system processes, hardware control processes and driver provided services. All this through a fast and low latency binary data transfer protocol that endows D-Bus with good performances and low CPU usage. Initially developed for Linux, D-Bus is currently maintained by the [http://www.freedesktop.org freedesktop project] and its design and specification are open to anyone. D-Bus is used by many modern desktop managers such as [http://www.gnome.org GNOME] and [http://www.kde.org KDE] where it replaced the previous '''DCOP''' inter-process communication interface.
Line 21: Line 16:     
First the script '''has to clean the cmake cache''':
 
First the 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 35: Line 35:  
   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 standard options:
 
Last the script runs the cmake command with standard options:
 +
<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 45: Line 47:  
       -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 54: Line 57:     
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 62: Line 67:  
----
 
----
   −
Languages: '''English''' - [http://www.giustetti.net/wiki/index.php?title=TDE_dbus-1-tqt Italiano]
+
{{footer_en | link_page=TDE_dbus-1-tqt}}