Changes

153 bytes added ,  14:51, 21 December 2016
Page updated to new template
Line 1: Line 1: −
Welcome to Simone Giustetti's wiki pages.
+
{{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}}
 
  −
 
  −
Languages: '''English''' - [http://www.giustetti.net/wiki/index.php?title=TDE_tdebase Italiano]
  −
 
  −
----
      
== 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 functionalitiy'''. Further papers will delve with additional packages and the extended functionality and productivity enhancements they provide to the base environment.
+
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:  
----
 
----
   −
Languages: '''English''' - [http://www.giustetti.net/wiki/index.php?title=TDE_tdebase Italiano]
+
{{footer_en | link_page=TDE_tdebase}}