Moved content of additional files for tqt3, tdebase, into the SlackBuild
Standardized location of man pages, and gzip them
Removed unused sysconfdir and mandir references
Modified layout and content of BUILD-TDE.sh screens
Changed tde prefix for ktorrent, k3b-i18n, k3b, gwenview-i18n, gwenview, filelight, amarok, libkipi, libkexiv2, libkdcraw, to optional
Removed lib prefix to mp4v2 package
Changed tidy-html5 source from zip to tar.gz
This is the set up script for TDE SlackBuilds on Slackware 14.2/current for setting user preferences and options.
Build selected TDE packages and non-TDE dependencies for Slackware 14.2/current.
Source archives must be placed in the 'src' directory or will be downloaded during the build from a geoIP located mirror site.
Source archives will be downloaded from a geoIP located mirror site and saved to the 'src' directory.
A package build list is created, and successfully built and installed packages are removed from that list as the build progresses.
A package build list is created, and successfully built packages are removed from that list as the build progresses.
US English is the default language and support for additional languages can be added.
US English is the default language and support for additional languages can be included in the packages.
There is an option to abort the build on the final setup screen - so just run through the options and familiarize yourself with them before an actual build. "\
2175
The final screen gives a summary of the build setup, with an option to cancel."\
This is the complete list of additional languages supported by TDE.
Other package sources may not have support for all these additional languages, but they will be included in the build for that package when the translations are included in its source.
A package source may not have support for all these additional languages, but any chosen will be included in the build for that package when its source includes the translation.
If any other translation is included in the package source, it can be added here but won't be supported by TDE.
Multiple selections may be made - space separated.
1] build the \Zb\Zr\Z4R\Znequired packages with the \Zr\Z4\ZbStop\Zn option - if any SlackBuild fails, the temporary files for that build will be kept and the problem can be identified and the build restarted.
Any problems with the build environment will also become apparent here.
1] build the \Zb\Zr\Z4R\Znequired packages with the <\Z1S\Zb\Z0top\Zn> option.
This script will thenexit on a failure. When the problem has been
fixed, restart the build with the \Z3\ZbTDE build\Zn|<Re-use> option.
2]then build other packages with the <\Z1C\Zb\Z0ontinue\Zn> option which deletes the temporary build files while the successful package builds are completing.
Any failures here are likely to be related to dependencies not found.
2]then build other packages with the \Zr\Z4\ZbContinue\Zn option which allows
this script to continue to the end of the build list whether or
not any particular SlackBuild has failed.
\Zr\Z4\ZbContinue\Zn is probably the better choice if only downloading sources.
3] re-run the build for the failed programs from [2] by re-using the build list and with the \Zr\Z4\ZbStop\Zn option ...
3] re-run the build for the remaining programs with the
\Z3\ZbTDE build\Zn|<Re-use> option and select <Stop> in the confirmation
The default with the tqt3 build is to append the TDE lib paths to /etc/ld.so.conf.
The default with the tqt3 build is to append the TDE libs paths to /etc/ld.so.conf.
This means that TDE libs will be at the end of the search path. If the package configuration sets up the search path without using the shell variables set up in this script, those TDE libs will not be used if a library of the same name exists - a conflict which could arise if another DE is installed.
Required builds for a basic working TDE are marked \Zb\Zr\Z4R\Zn.
The packages selected form the build list and so dependencies are listed before the packages that need them. After the \Zb\Zr\Z4R\Znequired packages, the listing is grouped Core/Libs/Apps and then alphabetically within those groups, excluding tde prefixes added to package names, and the dependencies.
The packages selected form the build list and so dependencies are listed before the packages that need them. After the \Zb\Zr\Z4R\Znequired packages, the listing is grouped Core/Libs/Apps and then alphabetically within those groups.
Look out for messages in the bottom line of the screen, especially relating to dependencies.
@ -387,26 +402,26 @@ Non-TDE apps are in the Misc category and don't need the \Zb\Zr\Z4R\Znequired TD
"Core/tdevelop""TDE development programs" off "\Zb\Z6 Requires tdesdk \Zn"\
" Misc/tidy-html5""Corrects and cleans up HTML and XML documents" off "\Zb\Z6 Runtime option for Quanta+ [tdewebdev] \Zn"\
"Core/tdewebdev""Quanta Plus and other applications" off "\Zb\Z6 \Zn"\
"Libs/tdelibkdcraw" "Decode RAW picture files" off "\Zb\Z6 Required for digikam, tdegwenview and ksquirrel \Zn" \
"Libs/tdelibkexiv2" "Library to manipulate picture metadata" off "\Zb\Z6 Required for digikam, tdegwenview and ksquirrel. Needs l/exiv2... \Zn" \
"Libs/tdelibkipi" "A common plugin structure" off "\Zb\Z6 Required for digikam, tdegwenview and ksquirrel \Zn" \
"Libs/kipi-plugins""Additional functions for digiKam, ksquirrel and gwenview" off "\Zb\Z6 Required for digikam, tdegwenview and ksquirrel. Requires tdelibkdcraw tdelibkexiv2 tdelibkipi. \Zn" \
"Libs/libkdcraw" "Decode RAW picture files" off "\Zb\Z6 Required for digikam, gwenview and ksquirrel \Zn" \
"Libs/libkexiv2" "Library to manipulate picture metadata" off "\Zb\Z6 Required for digikam, gwenview and ksquirrel. Needs l/exiv2... \Zn" \
"Libs/libkipi" "A common plugin structure" off "\Zb\Z6 Required for digikam, gwenview and ksquirrel \Zn" \
"Libs/kipi-plugins""Additional functions for digiKam, gwenview and ksquirrel" off "\Zb\Z6 Requires libkdcraw libkexiv2 libkipi. \Zn" \
" Misc/xmedcon""A medical image conversion utility & library" off "\Zb\Z6 Buildtime option for libksquirrel \Zn"\
"Libs/libksquirrel""A set of image codecs for KSquirrel" off "\Zb\Z6 Required for ksquirrel. Buildtime options include l/netpbm, t/transfig [fig2dev], Misc/xmedcon \Zn"\
"Apps/abakus""PC calculator" off "\Zb\Z6 optional dependency l/mpfr which requires l/gmp \Zn"\
" Misc/libmp4v2" "Create and modify mp4 files" off "\Zb\Z6 Buildtime option for Amarok \Zn"\
" Misc/mp4v2" "Create and modify mp4 files" off "\Zb\Z6 Buildtime option for Amarok \Zn"\
" Misc/moodbar""GStreamer plugin for Amarok for moodbar feature" off "\Zb\Z6 Runtime option for Amarok \Zn"\
" Misc/yauap""simple commandline audio player" off "\Zb\Z6 Provides an optional engine for Amarok \Zn"\
"Apps/tdeamarok" "A Music Player" off "\Zb\Z6 Optional dependencies - xine-lib, libmp4v2, speex, moodbar \Zn" \
"Apps/digikam""A digital photo management application + Showfoto viewer" off "\Zb\Z6 Requires kipi-plugins tdelibkdcraw tdelibkexiv2 tdelibkipi. \Zn" \
" Misc/yauap""A simple commandline audio player" off "\Zb\Z6 Provides an optional engine for Amarok \Zn"\
"Apps/amarok" "A Music Player" off "\Zb\Z6 Optional dependencies - xine-lib, mp4v2, speex, moodbar \Zn" \
"Apps/digikam""A digital photo management application + Showfoto viewer" off "\Zb\Z6 Requires kipi-plugins libkdcraw libkexiv2 libkipi. \Zn" \
"Apps/dolphin""Dolphin file manager for TDE" off "\Zb\Z6 A d3lphin.desktop file is included - see dolphin.SlackBuild. \Zn"\
"Apps/tdefilelight" "Graphical diskspace display" off "\Zb\Z6 Runtime requirement x/xdpyinfo \Zn"\
"Apps/filelight" "Graphical diskspace display" off "\Zb\Z6 Runtime requirement x/xdpyinfo \Zn"\
"Apps/gtk-qt-engine""A GTK+2 theme engine" off "\Zb\Z6 \Zn"\
"Apps/gtk3-tqt-engine""A GTK+3 theme engine" off "\Zb\Z6 \Zn"\
"Apps/gwenview-i18n" "Internationalization files for gwenview." off "\Zb\Z6 Provides \Zb\Z3Additional language support\Zb\Z6 for gwenview \Zn" \
"Apps/k3b" "The CD Creator" off "\Zb\Z6 \Zn"\
"Apps/k3b-i18n" "Internationalization files for k3b." off "\Zb\Z6 Provides \Zb\Z3Additional language support\Zb\Z6 for k3b \Zn" \
"Apps/k9copy""A DVD backup utility" off "\Zb\Z6 Requires [tde]k3b and ffmpeg \Zn"\
"Apps/kaffeine""Media player for TDE" off "\Zb\Z6 \Zn"\
"Apps/kbfx""Alternate menu for TDE" off "\Zb\Z6 \Zn"\
@ -427,28 +442,28 @@ Non-TDE apps are in the Misc category and don't need the \Zb\Zr\Z4R\Znequired TD
"Apps/kscope""A source-editing environment for C and C-style languages." off "\Zb\Z6 Runtime options cscope [d/cscope], ctags [ap/vim], dot [graphviz] \Zn"\
"Apps/ksensors""A graphical interface for sensors" off "\Zb\Z6 Runtime requirement ap/lm_sensors \Zn"\
"Apps/kshutdown""Shutdown utility for TDE" off "\Zb\Z6 \Zn"\
"Apps/ksquirrel""An image viewer with OpenGL and KIPI support." off "\Zb\Z6 Requires kipi-plugins tdelibkdcraw tdelibkexiv2 tdelibkipi libksquirrel. \Zn" \
"Apps/tdektorrent" "A BitTorrent client for TDE" off "\Zb\Z6 \Zn"\
"Apps/ksquirrel""An image viewer with OpenGL and KIPI support." off "\Zb\Z6 Requires kipi-plugins libkdcraw libkexiv2 libkipi libksquirrel. \Zn" \
"Apps/ktorrent" "A BitTorrent client for TDE" off "\Zb\Z6 \Zn"\
"Apps/kvkbd""A virtual keyboard for TDE" off "\Zb\Z6 \Zn"\
"Apps/kvpnc""TDE frontend for various vpn clients" off "\Zb\Z6 Miscellaneous documentation will be in $(cat $TMPVARS/INSTALL_TDE)/doc/kvpnc-$(cat $TMPVARS/TDEVERSION) \Zn"\
"Apps/piklab""IDE for PIC microcontrollers" off "\Zb\Z6 \Zn"\
" Misc/potrace""For tracing bitmaps to a vector graphics format" off "\Zb\Z6 Required for potracegui, optional for inkscape \Zn"\
"Apps/potracegui""A GUI for potrace" off "\Zb\Z6 Requires potrace \Zn"\
"Apps/rosegarden""Audio sequencer and musical notation editor" off "\Zb\Z6 Requires jack-audio-connection-kit liblo and dssi for proper functionality \Zn"\
"Apps/soundkonverter""frontend to various audio converters" off "\Zb\Z6 \Zn"\
"Apps/tde-style-lipstik""lipstik theme" off "\Zb\Z6 \Zn"\
"Apps/soundkonverter""Frontend to various audio converters" off "\Zb\Z6 \Zn"\
"Apps/tde-style-lipstik""Lipstik theme" off "\Zb\Z6 \Zn"\
"Apps/tde-style-qtcurve""QtCurve theme" off "\Zb\Z6 \Zn"\
"Apps/tdeio-locate""TDE frontend for the locate command" off "\Zb\Z6 \Zn"\
"Apps/tdesudo""Graphical frontend for the sudo command" off "\Zb\Z6 \Zn"\
"Apps/tdmtheme""tdm theme editor module" off "\Zb\Z6 \Zn"\
"Apps/twin-style-crystal""twin theme" off "\Zb\Z6 \Zn"\
"Apps/tdmtheme""TDM theme editor module" off "\Zb\Z6 \Zn"\
"Apps/twin-style-crystal""Twin theme" off "\Zb\Z6 \Zn"\
"Apps/yakuake""Quake-style terminal emulator" off "\Zb\Z6 \Zn"\
" Misc/lxml""Python bindings for libxml2 and libxslt" off "\Zb\Z6 Required to use Inkscape online help \Zn"\
" Misc/inkscape""SVG editor - an alternative to potrace, potracegui [and GraphicsMagick]." off "\Zb\Z6 Requires lxml if online help facility is required, potrace is a build-time option. \Zn"\
2> $TMPVARS/TDEbuilds
# successful builds are removed from the TDEbuilds list by '$dir ' so add a space to the last entry
# and the " needs to be removed because the Misc entries are double-quoted
sed -i -e 's|$| |' -e 's|"||g' $TMPVARS/TDEbuilds
sed -i 's|$| |;s|" M|M|g;s|"||g' $TMPVARS/TDEbuilds
This routine creates and updates the git repositories local copies.
If this is a first run, answer 'yes' - be patient, downloads from git are slowwww...
Create and/or update the git repositories local copies.
For subsequent runs, 'yes' will update only.
\Z1Y\Zb\Z0es\Zn
* For a first run - will clone the git repositories
* For subsequent runs - will update only
* If the current build list includes new apps, and you don't want the
existing repos updated, the new apps should be run as a new group
initially as selective updating is not supported
* Local repositories will be created/updated as each package is built
OR can be downloaded before the build -> see next screen
Local repositories are created/updated as each package is built.
If the current build list includes new apps, and you don't want the existing repos updated, the new apps should be run as a new group initially as selective updating is not supported.
Do you want to create or update the git repositories?
\Zr\Z4\ZbNo\Zn
* The build will use sources already downloaded
"\
2075
1975
[[$?==0]]&&echo yes > $TMPVARS/CGIT
[[$?==1]]&&echo no > $TMPVARS/CGIT
}
#rm -f $TMPVARS/PRE_DOWNLOAD ## this is done at the head of this script
[[$(cat $TMPVARS/TDEVERSION)== 14.0.7 ]]&&PRE_DOWNLOAD_MESSAGE="Only the source archives not already in 'src' will be downloaded."
[[$(cat $TMPVARS/TDEVERSION)== cgit ]]&&PRE_DOWNLOAD_MESSAGE="All cgit sources for the build list packages will be cloned/updated.\nMisc archives will only be downloaded if not already in 'src'."&&LINES=18
## testing for cgit!=no will allow =yes or null, which is the 14.0.7 build case
You have chosen to re-use the TDE build list, which now contains only those programs that failed to build.
But this script is set to Continue in the event of a failure, which will delete all but the last build record. It will be easier to investigate each failure if the build is stopped when it fails.
sed -ri "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g"$TMP/$package-$(evalecho$version)-$ARCH-$build-build-log ||${EXIT_FAIL:-"true"}
sed -ri "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g"$TMP/$TDE_PFX$package-$(evalecho$version)-${ARCH_i18n:-$ARCH}-$build-build-log ||${EXIT_FAIL:-"true"}
checkinstall ()
{
## test for what package is being built ..
## if it's not libpng, test for the package installed
## otherwise test for the libpng package only, not installed
# tde-i18n package installation is handled in tde-i18n.SlackBuild because if more than one i18n package is being built, only the last one will be installed by upgradepkg
## tidy-html5 is a special case because the version number is not in the archive name
## skip build/packaging check if only downloading sources
## tde-i18n package installation is handled in tde-i18n.SlackBuild because if more than one i18n package is being built, only the last one will be installed by upgradepkg here - test for last language in the I18N list to ensure they've all been built
## create libpng-1.4 package only - it will be installed by the koffice.SB because it overrides libpng headers which for Sl14.2/current point to libpng16.
@ -16,9 +16,10 @@ Run **INST=0 ./BUILD-TDE.sh** to build only.
Any package, or set of packages, can be selected in the 'TDE Packages Selection' screen.
The TDE mandatory packages can be pre-selected.
Notes at the bottom of the dialog screen have been added for information about dependencies for some packages.
Information about dependencies for some packages has been added at the bottom of the dialog screen.
Source archives can be stored locally pre-build, or will be downloaded during the build from a geoIP located mirror site. Development [cgit] sources are downloaded, with the option to update, during the build.
R14.0.7 source archives will be downloaded from a geoIP located mirror site, or the development sources [R14.1.0] cloned or updated from cgit.
Downloading can be done pre-build [useful for an off-line build], or during the build.
The directory structure for the SlackBuild scripts is in line with the Trinity release source repositories: