Changes

From Studiosg
Jump to navigationJump to search
Added some more questions and answers to the TDE FAQ
Line 151: Line 151:  
</syntaxhighlight>
 
</syntaxhighlight>
   −
=== How Much Storage Installing TDE Takes ? ===
+
=== How Much Disk Space TDE Requires ? ===
 
The base packages, the prerequisites and the extension libraries add up to:
 
The base packages, the prerequisites and the extension libraries add up to:
 
* '''700 Mb''' for the 32 bit version.
 
* '''700 Mb''' for the 32 bit version.
Line 236: Line 236:  
I managed to build '''k3b''', '''krename''' and '''ktorrent''' in the past, but I can not provide up to date instructions about them.
 
I managed to build '''k3b''', '''krename''' and '''ktorrent''' in the past, but I can not provide up to date instructions about them.
   −
=== Where Are Finished Packages Saved ? ===
+
=== Where Are Packages Saved ? ===
 
Once built, packages are saved into the ''/tmp'' directory.
 
Once built, packages are saved into the ''/tmp'' directory.
 +
 +
=== How Can I Obtain a List of Installed Packages ? ===
 +
TDE Packages are managed as any other package through the '''pkgtools''' suite in Slackware. To obtain a list of installed packages run command:
 +
  '''ls''' ''-la'' /var/log/packages/*
 +
 +
To filter TDE packages from the full list use the '''grep''' command with a target value to match. All of TDE 14.0.4 packages contain the "R14" string for example. The command used to output a list of TDE installed packages is:
 +
  '''ls''' ''-la'' /var/log/packages/* | '''grep''' R14
 +
 +
Alternatively you can read the package names listed into the '''TDE.SlackBuild''' script and search them one by one.
 +
 +
=== Can I Build Packages without Installing Them ? ===
 +
It is not possible because of missing dependencies. All of the TDE base packages require '''tqt''', '''tdebase''' and '''tdelibs'''. Moreover many of the base packages require other ones to be successfully built.
 +
 +
=== How Can I Build One Package Only ? ===
 +
Please read the answer to the previous question. You might want to recompile a package without having to re-install the entire environment. If this were the case, '''you can manually run the SlackBuild build script for a package'''. If you wish to rebuild the '''tdeadmin''' package for example:
 +
* Move to the directory where the SlackBuild script and the source code archive are located.
 +
  '''cd''' /usr/src/tde-14.0.4/base/tdeadmin/
 +
* Check for the presence of the source code archive.
 +
  '''ls''' ''-la''
 +
  total 1652
 +
  drwxr-xr-x  2 root root    4096 Sep 26 13:52 ./
 +
  drwxr-xr-x 22 root root    4096 Dec 14  2016 ../
 +
  -rw-r--r--  1 root root      64 Sep 26 18:28 local.options
 +
  -rw-r-----  1 root root    581 Aug 12mm  2016 ltmain_version_update.patch
 +
  -rw-r-----  1 root root    612 Aug 12  2016 slack-desc
 +
  '''-rw-r--r--  1 root root 1656957 Nov  7  2016 tdeadmin-R14.0.4.tar.bz2'''
 +
  -rwxr-----  1 root root  10797 Dec 14  2016 tdeadmin.SlackBuild*
 +
* Run the build script:
 +
  '''sh''' ./tdeadmin.SlackBuild
 +
 +
=== Can TDE Work in a Multi-Lib Environment ? ===
 +
I built TDE for both Slackware64 and Slackware64 multi-lib in the past. Once installed the 64 bit TDE version works flawlessly.
 +
 +
=== What About TDE Performances ? ===
 +
Excellent. It works perfectly with both dated hardware and ARM processors. Definitely more lightweight than KDE 4 and later KDE releases. An excellent desktop environment.
 +
 +
=== Can I Install TDE on Slackware Current ? ===
 +
I never tried to install TDE on the development (current) branch of Slackware. In the past I received negative feedback from other users who have tried. The reported problems seemed to be tied to '''tdebase''' ie to the entire TDE. The error messages seemed more incompatibility issues with C++ 11 than real mistakes in the TDE code base, but I never gave the topic much attention.
 +
 +
=== What Can I Do When Problems Arise ? ===
 +
When the compilation procedure exits with errors, '''you have to diagnose the cause'''. There is no standard methodology I'm aware of in such cases. You have to proceed by trial and with some luck you'll find the source of the problem. Some knowledge of C, C++, gcc, g++ and of the make command and MakeFile file format will help.
 +
 +
What i usually do is:
 +
* Understand which package generated errors and caused the build script to fail.
 +
* Read the log files available in the ''/tmp'' directory.
 +
: There are up to 4 log files for each package:
 +
:* <package>_configure.log: Includes the output from the configure command run before code compilation starts.
 +
:* <package>_make.log: Includes the compiler output.
 +
:* <package>_install.log: Includes the output of the install script that copies built files to the destination directory before packaging them.
 +
:* <package>_makepkg.log: Includes the output of the package generation commands.
 +
: Files are listed in the order they are written by the build procedure.
 +
* Read the last log file available starting from the end and come backward searching for errors.
 +
: Failure is usually a consequence of:
 +
:* A missing dependency or a mismatch in package version.
 +
:* Compiler errors.
 +
: The former can be dealt with quite easily installing the missing packages or replacing the installed ones with different versions then running the SlackBuild script again.
 +
: The latter is more tricky and requires some programming knowledge. You have to figure out which step of the compilation raised the error then navigate the ''/tmp/build/tmp-<package>/'' directory looking for the directory where source code and MakeFiles are located. Once found, locate the specific file that raised the error and try to correct it. I managed to find and solve issues in the past, but a successful outcome is not granted. I can only wish you the best of luck.
 +
 +
=== Who Can I Refer to to Report Issues or to Ask for Help ? ===
 +
I'll suggest the TDE developers. Their contacts are available in the following [https://www.trinitydesktop.org/support.php Web Page]. You can of course ask me, but please keep in mind that:
 +
* I'm mot part of the TDE development team, just an user and as such I do not know much more than you do.
 +
* It is a hobby, not my actual work. My response times are slow.
 +
 +
=== I Solved a Problem. Would some Notes Help You ? ===
 +
That would surely help the TDE developers a lot to close bugs and enhance the desktop environment. Please contact them. Their contacts are available in the following [https://www.trinitydesktop.org/support.php Web Page].
 +
 +
=== After I Solved an Issue How Can I Execute a Partial Build ? ===
 +
After solving an issue you must restart the build script for it to build and install the TDE packages. Sadly the script '''starts over every time'''. That's a waste especially when the procedure fails in its final stages. Building only the missing packages would be a much better option.
 +
 +
You have to edit the '''TDE.SlackBuild''' script to build only a subset of the packages. Set alternative values for the '''PKG_LIST_PRE01''', '''PKG_LIST_PRE02''', '''PKG_LIST_BASE01''', '''PKG_LIST_LIB_PYTHON''', '''PKG_LIST_BASE02''' and '''PKG_LIST_LIB''' variables. For example, if the error was generated by '''tdebindings''' and you only wanted to compile that package and the ones following in the list, the following values should be assigned to variables:
 +
<syntaxhighlight lang="bash">
 +
  PKG_LIST_PRE01=""
 +
  PKG_LIST_PRE02=""
 +
  PKG_LIST_BASE01=""
 +
  PKG_LIST_LIB_PYTHON=""
 +
  PKG_LIST_BASE02="tdebindings tdeaccessibility tdeutils tdemultimedia tdenetwork tdeadmin tdeartwork tdegames tdetoys tdeedu
 +
      tdegraphics tdepim tdesdk tdevelop tdeaddons tdewebdev"
 +
  PKG_LIST_LIB="mlt mlt++ libtqt-perl libtdeldap libkexiv2 libkdcraw libkipi libksquirrel kipi-plugins"
 +
</syntaxhighlight>
 +
If instead you wanted to build packages starting with '''tdeartwork''' and on:
 +
<syntaxhighlight lang="bash">
 +
  PKG_LIST_PRE01=""
 +
  PKG_LIST_PRE02=""
 +
  PKG_LIST_BASE01=""
 +
  PKG_LIST_LIB_PYTHON=""
 +
  PKG_LIST_BASE02="tdeartwork tdegames tdetoys tdeedu tdegraphics tdepim tdesdk tdevelop tdeaddons tdewebdev"
 +
  PKG_LIST_LIB="mlt mlt++ libtqt-perl libtdeldap libkexiv2 libkdcraw libkipi libksquirrel kipi-plugins"
 +
</syntaxhighlight>
 +
 +
I'll suggest checking which packages are present on the system before editing the '''TDE.SlackBuild''' script . Forget a package and issues could arise while building the following ones.
 +
 +
=== How Can I Set TDE as the Default Desktop Environment ? ===
 +
This has not much to do with the build tree anyway you have to run the Slackware configuration tool: '''pkgtool'''.
 +
* Select the '''Setup''' option.
 +
[[File:Pkgtool-01.jpg|pkgtool - Setup]]
 +
* Scroll the menu down until reaching the '''xwmconfig''' option.
 +
[[File:Pkgtool-02.jpg|pkgtool - xwmconfig]]
 +
* Select TDE in the list of available desktop environments.
 +
[[File:Pkgtool-03.jpg|pkgtool - TDE]]
 +
* Close the X window session and restart the graphical interface.
     

Navigation menu