Difference between revisions of "En/TDE tdepim"

From Studiosg
Jump to navigationJump to search
(Added page about Tdepim, TDE and Slackware 14.0)
 
(Page updated to new template)
Line 1: Line 1:
Welcome to Simone Giustetti's wiki pages.
+
{{header_en|title=Building a PIM package for TDE| keyword={{Template:keyword_en_tde}}| description=Building, installing and configuring a working PIM package for TDE and Slackware Linux | link_page=TDE_tdepim}}
 
 
 
 
Languages: '''English''' - [http://www.giustetti.net/wiki/index.php?title=TDE_tdepim Italiano]
 
 
 
----
 
  
 
== TDEPIM ==
 
== TDEPIM ==
[[En/trinity_desktop_environment#Base_Packages]]
+
[[En/trinity_desktop_environment#Base_Packages | TDE - Base Packages]]
  
 
The '''tdepim''' package includes some computer applications and programs enabling users to manage their personal information: PIM is an acronym for '''P'''ersonal '''I'''nformation '''M'''anagement. The included programs can be used to organize communications and enhance productivity for a company, small organization or even a single individual. Among the many PIM applications and services '''e-mail''', '''address book''', a '''shared calendar''' and a task manager are worth mentioning.
 
The '''tdepim''' package includes some computer applications and programs enabling users to manage their personal information: PIM is an acronym for '''P'''ersonal '''I'''nformation '''M'''anagement. The included programs can be used to organize communications and enhance productivity for a company, small organization or even a single individual. Among the many PIM applications and services '''e-mail''', '''address book''', a '''shared calendar''' and a task manager are worth mentioning.
Line 24: Line 19:
 
* '''KOrganizer''': A graphical interface to the calendar and task manager.
 
* '''KOrganizer''': A graphical interface to the calendar and task manager.
 
More daemons / services and minor applications are included.
 
More daemons / services and minor applications are included.
 +
  
 
== Tdepim and Slackware ==
 
== Tdepim and Slackware ==
Line 30: Line 26:
  
 
The script '''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'':
 
The script '''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 40:
 
   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 proper configuration options:
 
Last the script runs the cmake command with the proper configuration 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 62: Line 63:
 
       -DBUILD_ALL=ON \
 
       -DBUILD_ALL=ON \
 
       2>&1 | tee -a ${OUTPUT}/${PRGNAM}_configure.log
 
       2>&1 | tee -a ${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 71: Line 73:
  
 
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://community.kde.org/KDE_PIM KDE PIM official page]
 
* [http://community.kde.org/KDE_PIM KDE PIM official page]
Line 79: Line 83:
 
----
 
----
  
Languages: '''English''' - [http://www.giustetti.net/wiki/index.php?title=TDE_tdepim Italiano]
+
{{footer_en | link_page=TDE_tdepim}}

Revision as of 17:19, 21 December 2016

Welcome to Simone Giustetti's wiki pages.


Languages: English - Italiano


TDEPIM

TDE - Base Packages

The tdepim package includes some computer applications and programs enabling users to manage their personal information: PIM is an acronym for Personal Information Management. The included programs can be used to organize communications and enhance productivity for a company, small organization or even a single individual. Among the many PIM applications and services e-mail, address book, a shared calendar and a task manager are worth mentioning.

Tdepim many daemons and interface applications are fully integrated in the Trinity Desktop Environment. Some frequently used applications are:

  • Akregator: A news feeder presenting on-line news from multiple sources into a single easy to use interface.
  • KAddressBook: A name and address book for contacts.
  • KAlarm: A personal alarm clock integrated with both task manager and e-mail services.
  • KMail: The TDE e-mail client.
  • Kandy: A tool to synchronize address books from miscellaneous source devices including computers, palmtops and cell phones.
  • KArm: A tool to keep track of time spent working tasks.
  • Kmobile: A tool to manage computer connected external devices as cell phones.
  • KNode: An application to read Usenet shared news.
  • KNotes: Desktop notes and virtual post-it management.
  • Kontact: An umbrella graphical interface for many other tdepim applications.
  • KOrganizer: A graphical interface to the calendar and task manager.

More daemons / services and minor applications are included.


Tdepim and Slackware

Old Slackware releases included a packager for kdepim 3.5: tdepim precursor. A reference build script exists, but tdepim was ported to cmake as some other major packages of the TDE suite. The SlackBuild script is in need of heavy rewriting to adjust to the new build environment. The project guidelines were strictly followed: /opt/trinity was configured as the root directory for the package ensuring TDE coexistence with KDE 4. Option -DCMAKE_SKIP_RPATH was set to "OFF" at configuration time to enable the package to execute binary files during the build process if need be. Some script lines of code and related comments follow.

The script 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:

   # Create a directory where to build source (cmake wants the name to be build).
   cd ${TMP}/tmp-${PRGNAM}
   mkdir build
   cd build

Specifically set Qt libraries paths in order for build scripts to find them at build time:

   # Add temporary paths to handle new libraries during build
   export QTDIR=/opt/trinity
   export PATH=/opt/trinity/bin:/usr/bin:$PATH
   export LIBDIR=/usr/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

Last the script runs the cmake command with the proper configuration options:

   cmake ${TMP}/tmp-${PRGNAM}/${PRGNAM}-${VERSION} \
      -DCMAKE_C_FLAGS:STRING="${SLKCFLAGS}" \
      -DCMAKE_CXX_FLAGS:STRING="${SLKCFLAGS}" \
      -DCMAKE_INSTALL_PREFIX=${PREFIX} \
      -DCMAKE_SKIP_RPATH=OFF \
      -DSYSCONF_INSTALL_DIR="/etc/trinity" \
      -DLIB_SUFFIX=${LIBDIRSUFFIX} \
      -DMAN_INSTALL_DIR=${PREFIX} \
      -DWITH_SASL=ON \
      -DWITH_ARTS=ON \
      -DWITH_EGROUPWARE=ON \
      -DWITH_GROUPDAV=ON \
      -DWITH_BIRTHDAYS=ON \
      -DWITH_CALDAV=ON \
      -DWITH_CARDDAV=ON \
      -DWITH_GNOKII=OFF \
      -DWITH_ALL_OPTIONS=ON \
      -DBUILD_KITCHENSYNC=OFF \
      -DBUILD_ALL=ON \
      2>&1 | tee -a ${OUTPUT}/${PRGNAM}_configure.log

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 link. The output package can be installed by mean of command installpkg as usual in Slackware Linux.


For any feedback, questions, errors and such, please e-mail me at studiosg [at] giustetti [dot] net


External Links





Languages: English - Italiano