Updated for release 14.0.8

pull/25/head
Ray-V 5 years ago
parent 2570a9a3cd
commit 7b7367d4a4

@ -33,22 +33,13 @@ getsource_fn
untar_fn untar_fn
## add check for mpfr installed to set HAVE_MPFR, otherwise even if it is installed, abakus won't be built with mpfr
sed -i 's|HAVE_INOTIFY )|HAVE_INOTIFY )\ncheck_include_file( mpfr.h HAVE_MPFR )|' ConfigureChecks.cmake
## the linker can't find 'gmp' although it can find 'mpfr' and fails with:
## [100%] Linking CXX executable abakus c++: error: gmp: No such file or directory
## As libgmp is linked through libmpfr, do we really need libgmp here?
sed -i 's|mpfr gmp|mpfr -lgmp|' src/CMakeLists.txt
## set installation directory for abakus.desktop file
sed -i 's|DESTINATION ${APPS_INSTALL_DIR}/Utilities|DESTINATION ${XDG_APPS_INSTALL_DIR}|' src/CMakeLists.txt
# set support for additional language(s) as per I18N variable # set support for additional language(s) as per I18N variable
# but only for languages available with this package # but only for languages available with this package
langs="";for Lang in $I18N;do [[ -d po/$Lang ]] && langs="$langs $Lang/$PRGNAM.po";done langs="";for Lang in $I18N;do [[ -s translations/messages/$Lang.po ]] && langs="$langs $Lang.po";done
sed -i "s|\${po_files}|$langs|" po/CMakeLists.txt sed -i "s|\${po_files}|$langs|" translations/messages/CMakeLists.txt
langs=$(echo $langs|sed "s|/$PRGNAM.po||g")
[[ $langs != "" ]] && TRANS=ON [[ $langs != "" ]] && TRANS=ON
## for slack-desc
langs=$(echo $langs|sed "s|.po||g")
listdocs_fn listdocs_fn

@ -114,7 +114,6 @@ cmake \
-DWITH_NJB="OFF" \ -DWITH_NJB="OFF" \
-DWITH_OPENGL="ON" \ -DWITH_OPENGL="ON" \
-DWITH_POSTGRESQL="OFF" \ -DWITH_POSTGRESQL="OFF" \
-DWITH_RIOKARMA="OFF" \
-DWITH_SYSTEM_SQLITE="ON" \ -DWITH_SYSTEM_SQLITE="ON" \
-DWITH_XINE=${XINE:-"OFF"} \ -DWITH_XINE=${XINE:-"OFF"} \
-DWITH_YAUAP=${YAUAP:-"OFF"} \ -DWITH_YAUAP=${YAUAP:-"OFF"} \

@ -35,10 +35,9 @@ untar_fn
# set support for additional language(s) as per I18N variable # set support for additional language(s) as per I18N variable
# but only for languages available with this package # but only for languages available with this package
langs="";for Lang in $I18N;do [[ -e po/$Lang".po" ]] && langs="$langs $Lang"".po";done langs="";for Lang in $I18N;do [[ -s translations/messages/$Lang.po ]] && langs="$langs $Lang.po";done
## this GLOB overrides the one in po/CMakeLists.txt: sed -i "s|\${po_files}|$langs|" translations/messages/CMakeLists.txt
sed -i "s|\*.po|$langs|" cmake/modules/TDEMacros.cmake langs=$(echo $langs|sed "s|.po||g")
langs=$(echo $langs | sed "s|.po||g")
[[ $langs != "" ]] && TRANS=ON [[ $langs != "" ]] && TRANS=ON
listdocs_fn listdocs_fn

@ -34,28 +34,28 @@ getsource_fn
untar_fn untar_fn
## remove help documentation build instruction from all [non-en] locales ...
sed -i '/tde_create_handbook/,+3d' doc/??{,_??}/CMakeLists.txt || true
#
# set support for additional language(s) as per I18N variable # set support for additional language(s) as per I18N variable
# but only for languages available with this package # but only for languages available with this package
langs="" # the *.po file list langs="" # the *.po file list
ldocs="" # the help docs ldocs="en man" # the help docs - en and man always
for Lang in $I18N for Lang in $I18N
do do
[[ -d po/$Lang ]] && { [[ -s translations/messages/$Lang.po ]] && {
langs="$langs $Lang/$PRGNAM.po" langs="$langs $Lang.po"
## ... and restore help documentation for the selected and available locales ## ... and within that loop as doc locale only exists where translation exists
[[ -e doc/$Lang/CMakeLists.txt ]] && { [[ -d doc/$Lang ]] && {
echo "tde_create_handbook( LANG $Lang DESTINATION $PRGNAM )" >> doc/$Lang/CMakeLists.txt
ldocs="$ldocs $Lang" ldocs="$ldocs $Lang"
} }
} }
done done
# #
sed -i "s|\${po_files}|$langs|" po/CMakeLists.txt sed -i "s|\${po_files}|$langs|" translations/messages/CMakeLists.txt
langs=$(echo $langs|sed "s|/$PRGNAM.po||g")
[[ $langs != "" ]] && TRANS=ON [[ $langs != "" ]] && TRANS=ON
#
sed -i "s|\${_dirs}|$ldocs|" doc/CMakeLists.txt
## for slack-desc
langs=$(echo $langs|sed 's|.po||g')
ldocs=$(echo $ldocs|sed 's| man||')
listdocs_fn listdocs_fn
@ -107,7 +107,7 @@ $PRGNAM: With language support for:
$PRGNAM: en $langs $PRGNAM: en $langs
$PRGNAM: $PRGNAM:
$PRGNAM: With help documentation for: $PRGNAM: With help documentation for:
$PRGNAM: en$ldocs $PRGNAM: $ldocs
$PRGNAM: $PRGNAM:
$PRGNAM: $PRGNAM:
" > $PKG/install/slack-desc " > $PKG/install/slack-desc

@ -33,8 +33,6 @@ getsource_fn
untar_fn untar_fn
[[ $TDEVERSION != 14.0.7 ]] && {
# set support for additional language(s) as per I18N variable # set support for additional language(s) as per I18N variable
# but only for languages available with this package # but only for languages available with this package
langs="";for Lang in $I18N;do [[ -s po/$Lang.po ]] && langs="$langs $Lang.po";done langs="";for Lang in $I18N;do [[ -s po/$Lang.po ]] && langs="$langs $Lang.po";done
@ -74,35 +72,6 @@ cmake \
-Wno-dev \ -Wno-dev \
.. ..
: # don't go to autotools build if this fails - set exit 0 always
} || {
# set support for additional language(s) as per I18N variable
# but only for languages available with this package
langs="";for Lang in $I18N;do [[ -e po/$Lang".po" ]] && langs="$langs $Lang"".po";done
sed -i "s|POFILES =.*$|POFILES =$langs|" po/Makefile.am
langs=$(echo $langs | sed "s|.po||g")
listdocs_fn
ltoolupdate_fn
chown_fn
cd_builddir_fn
CFLAGS="$SLKRCFLAGS" \
CXXFLAGS="$SLKRCFLAGS" \
CC=$COMPILER \
CXX=$COMPILER_CXX \
../configure \
--prefix=$INSTALL_TDE \
--disable-rpath \
--enable-closure
}
make_fn make_fn
installdocs_fn installdocs_fn

@ -40,10 +40,10 @@ langs="";for Lang in $I18N;do [[ -e po/$Lang".po" ]] && langs="$langs $Lang"".po
sed -i "s|\*.po|$langs|" cmake/modules/TDEMacros.cmake sed -i "s|\*.po|$langs|" cmake/modules/TDEMacros.cmake
langs=$(echo $langs | sed "s|.po||g") langs=$(echo $langs | sed "s|.po||g")
[[ $langs != "" ]] && TRANS=ON [[ $langs != "" ]] && TRANS=ON
## only install html docs
echo 'add_subdirectory( en )' > doc/CMakeLists.txt
cd doc;listdocs_fn;cd ../ ## listdocs_fn - not required
## install misc docs to ..
sed -i '/SHARE_INSTALL_PREFIX/d;s|DESTINATION|& ${CMAKE_INSTALL_PREFIX}/doc/${PROJECT_NAME}-$ENV{TDEVERSION}|' doc/CMakeLists.txt
chown_fn chown_fn
@ -83,17 +83,17 @@ echo "
# exactly 11 lines for the formatting to be correct. It's also customary to # exactly 11 lines for the formatting to be correct. It's also customary to
# leave one space after the ':'. # leave one space after the ':'.
|-----handy-ruler------------------------------------------------------| |-----handy-ruler------------------------------------------------------|
$PRGNAM: KBFX is an alternative to the classical K-Menu button and its menu $PRGNAM: KBFX is an alternative to the classical K-Menu button and its menu.
$PRGNAM: It enables the user to set a bigger (and thus more visible) start
$PRGNAM: button and replaces the Win95-like K-Menu with the Spinx bar.
$PRGNAM: The old menu is still available as an option.
$PRGNAM:
$PRGNAM: $PRGNAM:
$PRGNAM: With language support for: $PRGNAM: With language support for:
$PRGNAM: en $langs $PRGNAM: en $langs
$PRGNAM: $PRGNAM:
$PRGNAM: $PRGNAM:
$PRGNAM: $PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
" > $PKG/install/slack-desc " > $PKG/install/slack-desc
makepkg_fn makepkg_fn

@ -35,10 +35,9 @@ untar_fn
# set support for additional language(s) as per I18N variable # set support for additional language(s) as per I18N variable
# but only for languages available with this package # but only for languages available with this package
langs="";for Lang in $I18N;do [[ -e po/$Lang".po" ]] && langs="$langs $Lang"".po";done langs="";for Lang in $I18N;do [[ -s translations/messages/$Lang.po ]] && langs="$langs $Lang.po";done
## this GLOB overrides the one in po/CMakeLists.txt: sed -i "s|\${po_files}|$langs|" translations/messages/CMakeLists.txt
sed -i "s|\*.po|$langs|" cmake/modules/TDEMacros.cmake langs=$(echo $langs|sed "s|.po||g")
langs=$(echo $langs | sed "s|.po||g")
[[ $langs != "" ]] && TRANS=ON [[ $langs != "" ]] && TRANS=ON
listdocs_fn listdocs_fn

@ -41,10 +41,8 @@ sed -i "s|/usr/share/doc/.*/HTML/en/kkbswitch/|$INSTALL_TDE/share/doc/tde/HTML/e
# set support for additional language(s) as per I18N variable # set support for additional language(s) as per I18N variable
# but only for languages available with this package # but only for languages available with this package
langs="";for Lang in $I18N;do [[ -s po/$Lang.po ]] && langs="$langs $Lang.po";done langs="";for Lang in $I18N;do [[ -s translations/messages/$Lang.po ]] && langs="$langs $Lang.po";done
## this GLOB overrides the one in po/CMakeLists.txt: sed -i "s|\${po_files}|$langs|" translations/messages/CMakeLists.txt
sed -i "s|\*.po|$langs|" cmake/modules/TDEMacros.cmake
#langs=$(echo $langs | sed "s|.po||g")
[[ $langs != "" ]] && TRANS=ON && langs=$(echo $langs | sed "s|.po||g") [[ $langs != "" ]] && TRANS=ON && langs=$(echo $langs | sed "s|.po||g")
[[ $langs == *ru* || $langs == *uk* ]] && RU_UA=ON [[ $langs == *ru* || $langs == *uk* ]] && RU_UA=ON

@ -67,6 +67,9 @@ cmake \
-DCMAKE_INSTALL_PREFIX=$INSTALL_TDE \ -DCMAKE_INSTALL_PREFIX=$INSTALL_TDE \
-DLIB_SUFFIX=$LIBDIRSUFFIX \ -DLIB_SUFFIX=$LIBDIRSUFFIX \
-DPLUGIN_INSTALL_DIR=$INSTALL_TDE/lib$LIBDIRSUFFIX/$PLUGIN_INSTALL_DIR \ -DPLUGIN_INSTALL_DIR=$INSTALL_TDE/lib$LIBDIRSUFFIX/$PLUGIN_INSTALL_DIR \
-DWITH_GCC_VISIBILITY="OFF" \
-DWITH_LIBIW="OFF" \
-DBUILD_DOC="ON" \
-DBUILD_TRANSLATIONS=${TRANS:-"OFF"} \ -DBUILD_TRANSLATIONS=${TRANS:-"OFF"} \
-Wno-dev \ -Wno-dev \
.. ..

@ -41,7 +41,7 @@ cp $SRCDIR/es.po po || true
# set support for additional language(s) as per I18N variable # set support for additional language(s) as per I18N variable
# but only for languages available with this package # but only for languages available with this package
langs="";for Lang in $I18N;do [[ -e po/$Lang".po" ]] && langs="$langs $Lang"".po";done langs="";for Lang in $I18N;do [[ -e po/$Lang".po" ]] && langs="$langs $Lang"".po";done
## this GLOB overrides the one in po/CMakeLists.txt: ## this GLOB overrides 'LANG auto' in po/CMakeLists.txt:
sed -i "s|\*.po|$langs|" cmake/modules/TDEMacros.cmake sed -i "s|\*.po|$langs|" cmake/modules/TDEMacros.cmake
langs=$(echo $langs | sed "s|.po||g") langs=$(echo $langs | sed "s|.po||g")
[[ $langs != "" ]] && TRANS=ON [[ $langs != "" ]] && TRANS=ON

@ -33,6 +33,14 @@ getsource_fn
untar_fn untar_fn
# set support for additional language(s) as per I18N variable
# but only for languages available with this package
langs="";for Lang in $I18N;do [[ -s po/$Lang.po ]] && langs="$langs $Lang.po";done
## this GLOB overrides 'LANG auto' in po/CMakeLists.txt:
sed -i "s|\*.po|$langs|" cmake/modules/TDEMacros.cmake
langs=$(echo $langs | sed "s|.po||g")
[[ $langs != "" ]] && TRANS=ON
listdocs_fn listdocs_fn
chown_fn chown_fn
@ -48,6 +56,9 @@ cmake \
-DCMAKE_INSTALL_PREFIX=$INSTALL_TDE \ -DCMAKE_INSTALL_PREFIX=$INSTALL_TDE \
-DLIB_SUFFIX=$LIBDIRSUFFIX \ -DLIB_SUFFIX=$LIBDIRSUFFIX \
-DMAN_INSTALL_DIR=$INSTALL_TDE/man \ -DMAN_INSTALL_DIR=$INSTALL_TDE/man \
-DWITH_GCC_VISIBILITY="OFF" \
-DBUILD_DOC="ON" \
-DBUILD_TRANSLATIONS=${TRANS:-"OFF"} \
-Wno-dev \ -Wno-dev \
.. ..
@ -79,8 +90,8 @@ $PRGNAM:
$PRGNAM: $PRGNAM:
$PRGNAM: $PRGNAM:
$PRGNAM: $PRGNAM:
$PRGNAM: $PRGNAM: With language support for:
$PRGNAM: $PRGNAM: en $langs
$PRGNAM: $PRGNAM:
" > $PKG/install/slack-desc " > $PKG/install/slack-desc

@ -36,7 +36,7 @@ untar_fn
# set support for additional language(s) as per I18N variable # set support for additional language(s) as per I18N variable
# but only for languages available with this package # but only for languages available with this package
langs="";for Lang in $I18N;do [[ -e po/$Lang".po" ]] && langs="$langs $Lang"".po";done langs="";for Lang in $I18N;do [[ -e po/$Lang".po" ]] && langs="$langs $Lang"".po";done
## this GLOB overrides the one in po/CMakeLists.txt: ## this GLOB overrides 'LANG auto' in po/CMakeLists.txt:
sed -i "s|\*.po|$langs|" cmake/modules/TDEMacros.cmake sed -i "s|\*.po|$langs|" cmake/modules/TDEMacros.cmake
langs=$(echo $langs | sed "s|.po||g") langs=$(echo $langs | sed "s|.po||g")
[[ $langs != "" ]] && TRANS=ON [[ $langs != "" ]] && TRANS=ON

@ -36,7 +36,7 @@ untar_fn
# set support for additional language(s) as per I18N variable # set support for additional language(s) as per I18N variable
# but only for languages available with this package # but only for languages available with this package
langs="";for Lang in $I18N;do [[ -e po/$Lang".po" ]] && langs="$langs $Lang"".po";done langs="";for Lang in $I18N;do [[ -e po/$Lang".po" ]] && langs="$langs $Lang"".po";done
## this GLOB overrides the one in po/CMakeLists.txt: ## this GLOB overrides 'LANG auto' in po/CMakeLists.txt:
sed -i "s|\*.po|$langs|" cmake/modules/TDEMacros.cmake sed -i "s|\*.po|$langs|" cmake/modules/TDEMacros.cmake
langs=$(echo $langs | sed "s|.po||g") langs=$(echo $langs | sed "s|.po||g")
[[ $langs != "" ]] && TRANS=ON [[ $langs != "" ]] && TRANS=ON

@ -33,8 +33,13 @@ getsource_fn
untar_fn untar_fn
## set installation directory for kvkbd.desktop file # set support for additional language(s) as per I18N variable
[[ $TDEVERSION == 14.0.7 ]] && sed -i 's|DESTINATION ${APPS_INSTALL_DIR}/Utilities|DESTINATION ${XDG_APPS_INSTALL_DIR}|' src/CMakeLists.txt # but only for languages available with this package
langs="";for Lang in $I18N;do [[ -s po/$Lang.po ]] && langs="$langs $Lang.po";done
## this GLOB overrides 'LANG auto' in po/CMakeLists.txt:
sed -i "s|\*.po|$langs|" cmake/modules/TDEMacros.cmake
langs=$(echo $langs | sed "s|.po||g")
[[ $langs != "" ]] && TRANS=ON
listdocs_fn listdocs_fn
@ -49,9 +54,9 @@ cmake \
-DCMAKE_CXX_COMPILER=$COMPILER_CXX \ -DCMAKE_CXX_COMPILER=$COMPILER_CXX \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=$INSTALL_TDE \ -DCMAKE_INSTALL_PREFIX=$INSTALL_TDE \
-DBUILD_DOC="ON" \
-DBUILD_TRANSLATIONS="OFF" \
-DWITH_GCC_VISIBILITY="OFF" \ -DWITH_GCC_VISIBILITY="OFF" \
-DBUILD_DOC="ON" \
-DBUILD_TRANSLATIONS=${TRANS:-"OFF"} \
-Wno-dev \ -Wno-dev \
.. ..
@ -81,8 +86,8 @@ $PRGNAM: You should Add : HOME=/root kvkbd --loginhelper &
$PRGNAM: to Xsetup to run in xdm/tdm $PRGNAM: to Xsetup to run in xdm/tdm
$PRGNAM: $PRGNAM:
$PRGNAM: $PRGNAM:
$PRGNAM: $PRGNAM: With language support for:
$PRGNAM: $PRGNAM: en $langs
$PRGNAM: $PRGNAM:
" > $PKG/install/slack-desc " > $PKG/install/slack-desc

@ -36,21 +36,33 @@ untar_fn
# set support for additional language(s) as per I18N variable # set support for additional language(s) as per I18N variable
# but only for languages available with this package # but only for languages available with this package
langs="";for Lang in $I18N;do [[ -e po/$Lang".po" ]] && langs="$langs $Lang"".po";done langs="";for Lang in $I18N;do [[ -e po/$Lang".po" ]] && langs="$langs $Lang"".po";done
## this GLOB overrides the one in po/CMakeLists.txt: ## this GLOB overrides 'LANG auto' in po/CMakeLists.txt:
sed -i "s|\*.po|$langs|" cmake/modules/TDEMacros.cmake sed -i "s|\*.po|$langs|" cmake/modules/TDEMacros.cmake
langs=$(echo $langs | sed "s|.po||g") langs=$(echo $langs | sed "s|.po||g")
[[ $langs != "" ]] && TRANS=ON [[ $langs != "" ]] && TRANS=ON
## set up doc/CMakeLists.txt as per all others ## set up doc/CMakeLists.txt as per other apps
## and make compatible with the following edit ## to make compatible with the following docs routine
[[ $TDEVERSION == cgit ]] && echo "tde_auto_add_subdirectories( )" > doc/CMakeLists.txt echo "tde_auto_add_subdirectories( )" > doc/CMakeLists.txt
## always build 'en' docs ... ## always build 'en' docs ...
langdoc="en man tdeioslave" ldocs="en tdeioslave man misc"
## ... and find other html docs required and available ... ## ... and find other html docs required and available ...
for Lang in $I18N;do [[ -d doc/$Lang ]] && langdoc="$langdoc $Lang";done for Lang in $I18N;do [[ -d doc/$Lang ]] && ldocs="$ldocs $Lang";done
## ... and edit tde_auto_add_subdirectories GLOB: ## ... and edit tde_auto_add_subdirectories GLOB:
sed -i "s|} \* )|} $langdoc )|" cmake/modules/TDEMacros.cmake sed -i "s|} \* )|} $ldocs )|" cmake/modules/TDEMacros.cmake
## .. then set ldocs for slack-desc
ldocs=$(echo $ldocs | sed "s| man misc||")
## add misc docs
MISC_FILES=$(cd doc/misc/;ls README* pptp.txt)
cat << EOF > doc/misc/CMakeLists.txt
INSTALL(
FILES $MISC_FILES
DESTINATION \${CMAKE_INSTALL_PREFIX}/doc/\${PROJECT_NAME}-\$ENV{TDEVERSION}
COMPONENT doc
)
EOF
chown_fn chown_fn
@ -99,7 +111,7 @@ $PRGNAM: With language support for:
$PRGNAM: en $langs $PRGNAM: en $langs
$PRGNAM: $PRGNAM:
$PRGNAM: and help documentation for: $PRGNAM: and help documentation for:
$PRGNAM: $(echo $langdoc | sed 's| man||') $PRGNAM: $ldocs
$PRGNAM: $PRGNAM:
$PRGNAM: $PRGNAM:
$PRGNAM: $PRGNAM:

@ -38,7 +38,7 @@ patch -p0 < $SRCDIR/reformat-message.patch
# set support for additional language(s) as per I18N variable # set support for additional language(s) as per I18N variable
# but only for languages available with this package # but only for languages available with this package
langs="";for Lang in $I18N;do [[ -e po/$Lang".po" ]] && langs="$langs $Lang"".po";done langs="";for Lang in $I18N;do [[ -e po/$Lang".po" ]] && langs="$langs $Lang"".po";done
## this GLOB overrides the one in po/CMakeLists.txt: ## this GLOB overrides 'LANG auto' in po/CMakeLists.txt:
sed -i "s|\*.po|$langs|" cmake/modules/TDEMacros.cmake sed -i "s|\*.po|$langs|" cmake/modules/TDEMacros.cmake
langs=$(echo $langs | sed "s|.po||g") langs=$(echo $langs | sed "s|.po||g")
[[ $langs != "" ]] && TRANS=ON [[ $langs != "" ]] && TRANS=ON

@ -33,6 +33,13 @@ getsource_fn
untar_fn untar_fn
# set support for additional language(s) as per I18N variable
# but only for languages available with this package
langs="";for Lang in $I18N;do [[ -s translations/messages/$Lang.po ]] && langs="$langs $Lang.po";done
sed -i "s|\${po_files}|$langs|" translations/messages/CMakeLists.txt
langs=$(echo $langs|sed "s|.po||g")
[[ $langs != "" ]] && TRANS=ON
listdocs_fn listdocs_fn
chown_fn chown_fn
@ -48,8 +55,8 @@ cmake \
-DCMAKE_INSTALL_PREFIX=$INSTALL_TDE \ -DCMAKE_INSTALL_PREFIX=$INSTALL_TDE \
-DLIB_SUFFIX=$LIBDIRSUFFIX \ -DLIB_SUFFIX=$LIBDIRSUFFIX \
-DPLUGIN_INSTALL_DIR=$INSTALL_TDE/lib$LIBDIRSUFFIX/$PLUGIN_INSTALL_DIR \ -DPLUGIN_INSTALL_DIR=$INSTALL_TDE/lib$LIBDIRSUFFIX/$PLUGIN_INSTALL_DIR \
-DBUILD_TRANSLATIONS="ON" \
-DWITH_GCC_VISIBILITY="OFF" \ -DWITH_GCC_VISIBILITY="OFF" \
-DBUILD_TRANSLATIONS=${TRANS:-"OFF"} \
-Wno-dev \ -Wno-dev \
.. ..
@ -71,8 +78,8 @@ echo "
|-----handy-ruler------------------------------------------------------| |-----handy-ruler------------------------------------------------------|
$PRGNAM: lipstik style for TDE $PRGNAM: lipstik style for TDE
$PRGNAM: $PRGNAM:
$PRGNAM: $PRGNAM: With language support for:
$PRGNAM: $PRGNAM: en $langs
$PRGNAM: $PRGNAM:
$PRGNAM: $PRGNAM:
$PRGNAM: $PRGNAM:

@ -36,7 +36,7 @@ untar_fn
# set support for additional language(s) as per I18N variable # set support for additional language(s) as per I18N variable
# but only for languages available with this package # but only for languages available with this package
langs="";for Lang in $I18N;do [[ -e po/$Lang".po" ]] && langs="$langs $Lang"".po";done langs="";for Lang in $I18N;do [[ -e po/$Lang".po" ]] && langs="$langs $Lang"".po";done
## this GLOB overrides the one in po/CMakeLists.txt: ## this GLOB overrides 'LANG auto' in po/CMakeLists.txt:
sed -i "s|\*.po|$langs|" cmake/modules/TDEMacros.cmake sed -i "s|\*.po|$langs|" cmake/modules/TDEMacros.cmake
langs=$(echo $langs | sed "s|.po||g") langs=$(echo $langs | sed "s|.po||g")
[[ $langs != "" ]] && TRANS=ON [[ $langs != "" ]] && TRANS=ON
@ -79,8 +79,8 @@ echo "
|-----handy-ruler------------------------------------------------------| |-----handy-ruler------------------------------------------------------|
$PRGNAM: QtCurve theme $PRGNAM: QtCurve theme
$PRGNAM: $PRGNAM:
$PRGNAM: $PRGNAM: With language support for:
$PRGNAM: $PRGNAM: en $langs
$PRGNAM: $PRGNAM:
$PRGNAM: $PRGNAM:
$PRGNAM: $PRGNAM:

@ -35,8 +35,8 @@ untar_fn
# set support for additional language(s) as per I18N variable # set support for additional language(s) as per I18N variable
# but only for languages available with this package # but only for languages available with this package
langs="";for Lang in $I18N;do [[ -e po/$Lang".po" ]] && langs="$langs $Lang"".po";done langs="";for Lang in $I18N;do [[ -s po/$Lang.po ]] && langs="$langs $Lang.po";done
## this GLOB overrides the one in po/CMakeLists.txt: ## this GLOB overrides 'LANG auto' in po/CMakeLists.txt:
sed -i "s|\*.po|$langs|" cmake/modules/TDEMacros.cmake sed -i "s|\*.po|$langs|" cmake/modules/TDEMacros.cmake
langs=$(echo $langs | sed "s|.po||g") langs=$(echo $langs | sed "s|.po||g")
[[ $langs != "" ]] && TRANS=ON [[ $langs != "" ]] && TRANS=ON

@ -33,6 +33,14 @@ getsource_fn
untar_fn untar_fn
# set support for additional language(s) as per I18N variable
# but only for languages available with this package
langs="";for Lang in $I18N;do [[ -s po/$Lang.po ]] && langs="$langs $Lang.po";done
## this GLOB overrides 'LANG auto' in po/CMakeLists.txt:
sed -i "s|\*.po|$langs|" cmake/modules/TDEMacros.cmake
langs=$(echo $langs | sed "s|.po||g")
[[ $langs != "" ]] && TRANS=ON
listdocs_fn listdocs_fn
chown_fn chown_fn
@ -49,6 +57,9 @@ cmake \
-DCMAKE_INSTALL_PREFIX=$INSTALL_TDE \ -DCMAKE_INSTALL_PREFIX=$INSTALL_TDE \
-DLIB_SUFFIX=$LIBDIRSUFFIX \ -DLIB_SUFFIX=$LIBDIRSUFFIX \
-DPLUGIN_INSTALL_DIR=$INSTALL_TDE/lib$LIBDIRSUFFIX/$PLUGIN_INSTALL_DIR \ -DPLUGIN_INSTALL_DIR=$INSTALL_TDE/lib$LIBDIRSUFFIX/$PLUGIN_INSTALL_DIR \
-DWITH_GCC_VISIBILITY="OFF" \
-DBUILD_DOC="ON" \
-DBUILD_TRANSLATIONS=${TRANS:-"OFF"} \
-Wno-dev \ -Wno-dev \
.. ..
@ -75,8 +86,8 @@ $PRGNAM:
$PRGNAM: Currently this module is installed in TDE Components found in the $PRGNAM: Currently this module is installed in TDE Components found in the
$PRGNAM: Trinity Control Center, under System Administration. $PRGNAM: Trinity Control Center, under System Administration.
$PRGNAM: $PRGNAM:
$PRGNAM: $PRGNAM: With language support for:
$PRGNAM: $PRGNAM: en $langs
$PRGNAM: $PRGNAM:
$PRGNAM: $PRGNAM:
$PRGNAM: $PRGNAM:

@ -98,7 +98,7 @@ Set the version of TDE to be built.
" \ " \
12 75 2 \ 12 75 2 \
"14.0.7" "the R14.0.7 release - source from archives" \ "14.0.8" "the R14.0.8 release - source from archives" \
"cgit" "R14.1.0 development - source from Trinity git" \ "cgit" "R14.1.0 development - source from Trinity git" \
2> $TMPVARS/TDEVERSION 2> $TMPVARS/TDEVERSION
@ -257,7 +257,7 @@ dialog --cr-wrap --nocancel --no-shadow --colors --help-button --help-label "REA
" "
The source unpacked is ~950MB, so to save on build space, the SlackBuild script extracts, builds, and removes source for each language package one at a time. The source unpacked is ~950MB, so to save on build space, the SlackBuild script extracts, builds, and removes source for each language package one at a time.
If you can see the two 'y' like characters, then you've probably got a suitable terminal font installed and can choose \Zr\Z4\ZbUtf-8\Zb\Zn to display the language codes, otherwise choose \Z1A\Zb\Z0scii\Zn. If you can see the two 'y' like characters [che and gamma], then you've probably got a suitable terminal font installed and can choose \Zr\Z4\ZbUtf-8\Zb\Zn to display the language codes, otherwise choose \Z1A\Zb\Z0scii\Zn.
<<\Z3\Zb ҷ ɣ \Zn>> <<\Z3\Zb ҷ ɣ \Zn>>
@ -440,17 +440,19 @@ dialog --cr-wrap --nocancel --no-shadow --colors --title " TQt options " --item-
" "
A minimal packaging of tqt3 will install only the run-time library required for TDE, and the headers and binaries required to build most of TDE. A minimal packaging of tqt3 will install only the run-time library required for TDE, and the headers and binaries required to build most of TDE.
But tdepim, ksquirrel, and tdevelop need additional libraries. If you select minimal packaging and intend to build any of those at any time, select keeping their required libs now. But tdepim, ksquirrel, tdevelop, and ktorrent need additional libraries.
If you select minimal packaging and intend to build any of those at any time, select keeping their required libs now.
TQt html documentation is ~21M, and can be excluded from the package. TQt html documentation is ~21M, and can be excluded from the package.
mkspecs is only required for linux-g++ mkspecs is only required for linux-g++
" \ " \
25 75 5 \ 25 75 6 \
" minimal" "Minimal packaging" off "\Zb\Z6 Exclude libs and binaries not required for TDE \Zn" \ " minimal" "Minimal packaging" off "\Zb\Z6 Exclude libs and binaries not required for TDE \Zn" \
" pim_ksq" " ├─ Keep lib for tdepim and/or ksquirrel" off "\Zb\Z6 Only required if minimal build selected \Zn" \ " pim_ksq" " ├─ Keep lib for tdepim and/or ksquirrel" off "\Zb\Z6 Only required if minimal build selected \Zn" \
" tdevel" " └─ Keep libs for tdevelop" off "\Zb\Z6 Only required if minimal build selected \Zn" \ " tdevel" " ├─ Keep libs for tdevelop" off "\Zb\Z6 Only required if minimal build selected \Zn" \
" ktorrent" " └─ Keep designer libs for ktorrent" off "\Zb\Z6 Only required if minimal build selected \Zn" \
" nodocs" "Exclude html documentation" on "\Zb\Z6 \Zn" \ " nodocs" "Exclude html documentation" on "\Zb\Z6 \Zn" \
" mkspecs" "linux-g++ only" on "\Zb\Z6 Uncheck for the complete set \Zn" \ " mkspecs" "linux-g++ only" on "\Zb\Z6 Uncheck for the complete set \Zn" \
2> $TMPVARS/TQT_OPTS 2> $TMPVARS/TQT_OPTS
@ -626,9 +628,9 @@ Create and/or update the git repositories local copies.
#rm -f $TMPVARS/PRE_DOWNLOAD ## this is done at the head of this script #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) == 14.0.8 ]] && 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 [[ $(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 ## testing for cgit!=no will allow =yes or null, which is the 14.0.8 build case
[[ $(cat $TMPVARS/DL_CGIT) != no ]] && { [[ $(cat $TMPVARS/DL_CGIT) != no ]] && {
dialog --cr-wrap --no-shadow --colors --defaultno --title " Only download sources " --yesno \ dialog --cr-wrap --no-shadow --colors --defaultno --title " Only download sources " --yesno \
" "
@ -685,7 +687,7 @@ export COMPILER=$(cat $TMPVARS/COMPILER)
[[ $COMPILER == gcc ]] && export COMPILER_CXX="g++" || export COMPILER_CXX="clang++" [[ $COMPILER == gcc ]] && export COMPILER_CXX="g++" || export COMPILER_CXX="clang++"
export SET_march=$(cat $TMPVARS/SET_MARCH) export SET_march=$(cat $TMPVARS/SET_MARCH)
export ARCH=$(cat $TMPVARS/ARCH) # set again for the 'continue' option export ARCH=$(cat $TMPVARS/ARCH) # set again for the 'continue' option
export TDE_MIRROR=mirror.ppa.trinitydesktop.org/trinity export TDE_MIRROR=${TDE_MIRROR:-https://mirror.ppa.trinitydesktop.org/trinity}
export NUMJOBS=$(cat $TMPVARS/NUMJOBS) export NUMJOBS=$(cat $TMPVARS/NUMJOBS)
export I18N=$(cat $TMPVARS/I18N) export I18N=$(cat $TMPVARS/I18N)
export TQT_OPTS=$(cat $TMPVARS/TQT_OPTS) export TQT_OPTS=$(cat $TMPVARS/TQT_OPTS)

@ -2,3 +2,12 @@
+++ tde-i18n-en_GB/messages/tdebase/libkickermenu_prefmenu.po +++ tde-i18n-en_GB/messages/tdebase/libkickermenu_prefmenu.po
@@ -35 +34,0 @@ @@ -35 +34,0 @@
-#, fuzzy -#, fuzzy
--- tde-i18n-en_GB/messages/tdebase/khelpcenter.po
+++ tde-i18n-en_GB/messages/tdebase/khelpcenter.po
@@ -36 +35,0 @@
-#, fuzzy
@@ -41 +39,0 @@
-#, fuzzy
@@ -43 +41 @@
-msgstr "The TDE Control Centre"
+msgstr "The TDE Help Centre"

@ -1,7 +1,10 @@
Building with cmake, Kig doesn't run with the python scripting option. The Kalzium Chemical Equation Solver needs OCaml, and the FaCiLe module.
Until that is resolved, the preference is an autotools build.
For both, the Kalzium Chemical Equation Solver needs OCaml, and the FaCiLe module. tdeedu.SlackBuild checks whether ocaml *and* facile are installed. If not, and the source archives are in the 'src' directory, they are then built, packages created, and installed.
If you DO want to build with cmake, run 'USE_CMAKE_EDU=yes ./BUILD-TDE.sh' As I'm not aware of any other uses, the builds have not been added to the build list and the source archives will have to be downloaded manually prior to the build. I believe that ocaml and facile are only build-time requirements and if so can be removed when the tdeedu build has completed - but won't know for sure until the crash has been fixed.
If kalzium crashes when trying to use the equation solver, there is an open issue @ https://mirror.git.trinitydesktop.org/gitea/TDE/tdeedu/issues/8.
If it works for you, or the crash is caused by a problem with the build, please raise an issue here to let me know.

@ -36,72 +36,77 @@ untar_fn
## patch for kig python scripting error: ## patch for kig python scripting error:
## kig: /usr/include/boost/python/object_core.hpp:422: boost::python::api::object_base::~object_base(): Assertion `Py_REFCNT(m_ptr) > 0' failed. ## kig: /usr/include/boost/python/object_core.hpp:422: boost::python::api::object_base::~object_base(): Assertion `Py_REFCNT(m_ptr) > 0' failed.
## Re: https://bugs.kde.org/show_bug.cgi?id=401512#c5 ## Re: https://bugs.kde.org/show_bug.cgi?id=401512#c5
echo $' patch -N -p0 << EOF || true
--- kig/scripting/python_scripter.cc --- kig/scripting/python_scripter.cc
+++ kig/scripting/python_scripter.cc +++ kig/scripting/python_scripter.cc
@@ -493,0 +494 @@ @@ -493,0 +494 @@
+ Py_XINCREF((objectvect.begin() +i)->ptr()); + Py_XINCREF((objectvect.begin() +i)->ptr());
' | while read line EOF
do
patch -N -p0
done || true
## for 14.0.7, already done in cgit ## for 14.0.8, already done in cgit
sed -i 's|Nome del file di input|Input filename|' kig/pykig/pykig.py sed -i 's|Nome del file di input|Input filename|' kig/pykig/pykig.py
listdocs_fn ## add some files to html docs
sed -i 's|*.png|& *.svgz README|' cmake/modules/TDEMacros.cmake
## There are issues building with cmake - see README
USE_CMAKE_EDU=${USE_CMAKE_EDU:-no}
[[ $USE_CMAKE_EDU == no ]] && {
## patch for the libboost_python soname as used in Slackware
sed -i 's|for bplib in|& "-lboost_python${PYVERSHORT%.*}${PYVERSHORT#*.}"|' kig/configure.in.in
## and for kig python scripting support with cgit build
[[ $TDEVERSION == cgit ]] && \
sed -i 's|$qt_libraries|$tqt_libraries|' kig/configure.in.in
## include all keyboards for ktouch
(cd ktouch/keyboards/
sed -i '/keyboard_DATA/q' Makefile.am
echo $(ls *keyboard) >> Makefile.am)
## add sk data to klatin listdocs_fn
cat klatin/klatin/data/vocab/pl/Makefile.am | sed 's|pl|sk|g' > klatin/klatin/data/vocab/sk/Makefile.am
## install kig examples
sed -i 's|noinst_DATA|examplesdir = $(kde_datadir)/kig/examples\nexamples_DATA|' kig/examples/Makefile.am
## /usr/bin/ld: cannot find -ltqt-mt/-ltqt - for kstars/indi build
[[ $TDEVERSION == cgit ]] && \
sed -i 's|(QT_LDFLAGS|(TQT_LDFLAGS|' kstars/kstars/indi/Makefile.am
ltoolupdate_fn
chown_fn chown_fn
cd_builddir_fn cd_builddir_fn
CFLAGS="$SLKRCFLAGS" \ # ### Kalzium Chemical Equation Solver - start
CXXFLAGS="$SLKRCFLAGS" \ ## Needs OCaml and facile
CC=$COMPILER \ ocaml_installed_fn () { [[ -s /usr/local/lib$LIBDIRSUFFIX/libnums.a ]] && \
CXX=$COMPILER_CXX \ [[ -s /usr/local/lib$LIBDIRSUFFIX/facile/facile.a ]] ;}
../configure \ ## If they are already installed, go to OCAML="ON"
--prefix=$INSTALL_TDE \ ocaml_installed_fn || {
--disable-rpath \ ## otherwise, if the source archives are in 'src' ..
--enable-closure [[ -s $BUILD_TDE_ROOT/src/4.05.0.tar.gz ]] && \
[[ -s $BUILD_TDE_ROOT/src/facile-1.1.3.tar.gz ]] && {
true # don't go to cmake if ./configure fails ## .. build, package, and install them
(
} || { ## ocaml:
echo -e "\n building ocaml \n"
chown_fn
cd /$TMP_BUILD
cd_builddir_fn tar xf $BUILD_TDE_ROOT/src/4.05.0.tar.gz
cd ocaml-4.05.0/
./configure -cc $COMPILER -libdir /usr/local/lib$LIBDIRSUFFIX
## finish build with -j1 if there are race condition errors
make ${NUMJOBS:-} world.opt || make world.opt
DESTDIR=$TMP_BUILD/package-ocaml make install
cd $TMP_BUILD/package-ocaml
makepkg -l y -c n $OUTPUT/ocaml-4.05.0-x86_64-1.txz
installpkg $OUTPUT/ocaml-4.05.0-x86_64-1.txz
## facile:
echo -e "\n building facile \n"
cd /$TMP_BUILD
tar xf $BUILD_TDE_ROOT/src/facile-1.1.3.tar.gz
cd facile-1.1.3/
sed -i 's|mkdir|& -p|' Makefile
./configure
make
make FACILEDIR=$TMP_BUILD/package-facile/usr/local/lib$LIBDIRSUFFIX/facile install
cd $TMP_BUILD/package-facile
makepkg -l y -c n $OUTPUT/facile-1.1.3-x86_64-1.txz
installpkg $OUTPUT/facile-1.1.3-x86_64-1.txz
)
echo -e "\n returning to building tdeedu \n"
ocaml_installed_fn || { echo -e " installation of ocaml/facile failed \n" ; exit 1 ; }
}
} && \
OCAML="ON"
# ### Kalzium Chemical Equation Solver - end
## The Kalzium Chemical Equation Solver needs OCaml ## kig python scripting support
OCAML=OFF [[ $(ls -1 /usr/lib$LIBDIRSUFFIX/libboost_python*.so) ]] && KIG_PS="ON"
cmake \ cmake \
-DCMAKE_C_FLAGS="$SLKRCFLAGS" \ -DCMAKE_C_FLAGS="$SLKRCFLAGS" \
@ -113,10 +118,11 @@ cmake \
-DPLUGIN_INSTALL_DIR=$INSTALL_TDE/lib$LIBDIRSUFFIX/$PLUGIN_INSTALL_DIR \ -DPLUGIN_INSTALL_DIR=$INSTALL_TDE/lib$LIBDIRSUFFIX/$PLUGIN_INSTALL_DIR \
-DLIB_SUFFIX=$LIBDIRSUFFIX \ -DLIB_SUFFIX=$LIBDIRSUFFIX \
-DMAN_INSTALL_DIR=$INSTALL_TDE/man \ -DMAN_INSTALL_DIR=$INSTALL_TDE/man \
-DWITH_GCC_VISIBILITY="OFF" \
-DWITH_ARTS="ON" \ -DWITH_ARTS="ON" \
-DWITH_OCAML_SOLVER=$OCAML \ -DWITH_GCC_VISIBILITY="OFF" \
-DWITH_KIG_PYTHON_SCRIPTING=${KIG_PS:-"OFF"} \
-DWITH_LIBUSB="ON" \ -DWITH_LIBUSB="ON" \
-DWITH_OCAML_SOLVER=${OCAML:-"OFF"} \
-DWITH_V4L="ON" \ -DWITH_V4L="ON" \
-DBUILD_BLINKEN="ON" \ -DBUILD_BLINKEN="ON" \
-DBUILD_KALZIUM="ON" \ -DBUILD_KALZIUM="ON" \
@ -141,8 +147,6 @@ cmake \
-Wno-dev \ -Wno-dev \
.. ..
}
## remove obsolete tags ## remove obsolete tags
doxygen -u doc/kig/scripting-api/Doxyfile.scripting-api doxygen -u doc/kig/scripting-api/Doxyfile.scripting-api

@ -37,7 +37,6 @@ untar_fn
##/tmp/build/tmp-tdegraphics/tdegraphics/build-tdegraphics/kmrml/kmrml/kcontrol/serverconfigwidget.cpp:37:61: error: invalid use of incomplete type class KComboBox ##/tmp/build/tmp-tdegraphics/tdegraphics/build-tdegraphics/kmrml/kmrml/kcontrol/serverconfigwidget.cpp:37:61: error: invalid use of incomplete type class KComboBox
## .. and more .. ## .. and more ..
## patch based on solution for similar amarok errors, issue #16 ## patch based on solution for similar amarok errors, issue #16
[[ $TDEVERSION == cgit ]] && {
echo $' echo $'
--- kmrml/kmrml/kcontrol/serverconfigwidget.ui --- kmrml/kmrml/kcontrol/serverconfigwidget.ui
+++ kmrml/kmrml/kcontrol/serverconfigwidget.ui +++ kmrml/kmrml/kcontrol/serverconfigwidget.ui
@ -48,7 +47,6 @@ echo $'
+ <include location="global" impldecl="in implementation">klineedit.h</include> + <include location="global" impldecl="in implementation">klineedit.h</include>
+</includes> +</includes>
' | patch -N -p0 || true ' | patch -N -p0 || true
}
listdocs_fn listdocs_fn

@ -33,21 +33,7 @@ getsource_fn
untar_fn untar_fn
## TDE bug 2821 ## TDE bug 2821 - further patch to make error message more user friendly
## patch to enable tdecmshell to find TDE .desktop file in the event of a duplication in file names
echo $'--- tdecmshell/main.cpp
+++ tdecmshell/main.cpp
@@ -106,2 +106,2 @@
- if ( module.left( 4 ) != "kde-" && service->library().isEmpty() )
- return locateModule( "kde-" + module );
+ if ( module.left( 4 ) != "tde-" && service->library().isEmpty() )
+ return locateModule( "tde-" + module );
' | while read line
do
patch -N -p0
done || true
#
## further patch to make error message more user friendly
echo $'--- tdecmshell/main.cpp echo $'--- tdecmshell/main.cpp
+++ tdecmshell/main.cpp +++ tdecmshell/main.cpp
@@ -98,0 +99,6 @@ @@ -98,0 +99,6 @@

@ -58,7 +58,7 @@ cmake \
-DWITH_SPEEX=${SPX:-"OFF"} \ -DWITH_SPEEX=${SPX:-"OFF"} \
-DWITH_GSM="OFF" \ -DWITH_GSM="OFF" \
-DWITH_LIBXSLT="OFF" \ -DWITH_LIBXSLT="OFF" \
-DWITH_XMMS="OFF" \ -DWITH_XMMS="ON" \
-DWITH_SLP="OFF" \ -DWITH_SLP="OFF" \
-DWITH_WEBCAM="OFF" \ -DWITH_WEBCAM="OFF" \
-DBUILD_DCOPRSS="ON" \ -DBUILD_DCOPRSS="ON" \

@ -0,0 +1,2 @@
The build hasn't been updated to cmake because that doesn't yet include Kommander, KXSLDbg, KImageMapEditor, KLinkStatus

@ -64,7 +64,7 @@ mkdir_install_fn
doinst_sh_fn doinst_sh_fn
## TDEFileReplace has been moved to tdeutils for R14.1.0 ## TDEFileReplace has been moved to tdeutils for R14.1.0
[[ $TDEVERSION == 14.0.7 ]] && TDEFileReplace=" * TDEFileReplace: powerful search and replace in multiple files" [[ $TDEVERSION == 14.0.? ]] && TDEFileReplace=" * TDEFileReplace: powerful search and replace in multiple files"
echo " echo "
# HOW TO EDIT THIS FILE: # HOW TO EDIT THIS FILE:
# The 'handy ruler' below makes it easier to edit a package description. Line # The 'handy ruler' below makes it easier to edit a package description. Line

@ -149,7 +149,7 @@ rm lib$LIBDIRSUFFIX/libtqt[de]*
} }
rm bin/???????* rm bin/???????*
rm bin/tqm2ts rm bin/tqm2ts
rm -rf plugins/designer [[ $TQT_OPTS != *ktorrent* ]] && rm -rf plugins/designer
)} )}
installdocs_fn installdocs_fn

@ -4,9 +4,9 @@
--- ---
***Build TDE [Trinity Desktop Environment]*** ***Build TDE [Trinity Desktop Environment]***
for Slackware 14.2 or current on i586+ and x86_64. for Slackware 14.2 or current on i586+ and x86_64.
See 'Cross compiling for RPi3' for armv7/aarch64 builds. Native building for Raspberry Pi3 [[README-Raspberry-Pi3.md](./README-Raspberry-Pi3.md)] is now rather dated and cross compiling is preferred. See 'Cross compiling for RPi3' for armv7/aarch64 builds. The README for a native build for Raspberry Pi3 [[README-Raspberry-Pi3.md](./README-Raspberry-Pi3.md)] is now rather dated and cross compiling is preferred.
Build the release version R14.0.7 from tar archives; or the development version R14.1.0 from trinitydesktop cgit. Build the release version R14.0.8 from tar archives; or the development version R14.1.0 from trinitydesktop cgit.
For a native build, run **./BUILD-TDE.sh** - a dialog based script with a series of screens for user input. For a native build, run **./BUILD-TDE.sh** - a dialog based script with a series of screens for user input.
[<img src="https://ray-v.github.io/TDE-version.png">](https://ray-v.github.io/TDE-version.png) [<img src="https://ray-v.github.io/TDE-version.png">](https://ray-v.github.io/TDE-version.png)
@ -19,7 +19,7 @@ This is a global option so can't be used where the build list includes packages
Any package, or set of packages, can be selected in the 'TDE Packages Selection' screen. Any package, or set of packages, can be selected in the 'TDE Packages Selection' screen.
Information about dependencies for some packages has been added at the bottom of the dialog screen. Information about dependencies for some packages has been added at the bottom of the dialog screen.
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. R14.0.8 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. Downloading can be done pre-build [useful for an off-line build], or during the build.
If you're curious about what this might involve, [take a look at a sample build set up](https://ray-v.github.io/A_typical_TDE_SlackBuild.html). If you're curious about what this might involve, [take a look at a sample build set up](https://ray-v.github.io/A_typical_TDE_SlackBuild.html).
@ -27,8 +27,8 @@ If you're curious about what this might involve, [take a look at a sample build
--- ---
There are other command line options that can be used to set some build parameters: There are other command line options that can be used to set some build parameters:
* TDE_MIRROR= - override the trinitydesktop.org geoIP redirector to use https - example, *https://mirrorservice.org/sites/trinitydesktop.org/trinity*. URLs @ https://www.trinitydesktop.org/mirrorstatus.php
* BUILD= - sets the package build identifier, overriding the SlackBuild default of 1 * BUILD= - sets the package build identifier, overriding the SlackBuild default of 1
* USE_CMAKE_EDU=yes - to build tdeedu with cmake - see Core/tdeedu/README.
* USE_CMAKE_MM=yes - to build tdemultimedia with cmake - see Core/tdemultimedia/README. * USE_CMAKE_MM=yes - to build tdemultimedia with cmake - see Core/tdemultimedia/README.
* VERBOSE=1 - show command lines during cmake builds * VERBOSE=1 - show command lines during cmake builds
@ -74,7 +74,7 @@ Core/tdebase
i18n support [locale and html/help docs] in the packages is restricted to whatever is selected in the ./BUILD-TDE.sh 'Select Additional Languages' screen and, of that, to whatever is available in any individual package source. i18n support [locale and html/help docs] in the packages is restricted to whatever is selected in the ./BUILD-TDE.sh 'Select Additional Languages' screen and, of that, to whatever is available in any individual package source.
There is an option in tde-i18n.SlackBuild to include a user created language specific patch file in the build. There is an option in tde-i18n.SlackBuild to include a user created language specific patch file in the build.
It needs to be named tde-i18n-{lang}-patch and will then automatically be included for the build for that language. It needs to be named *tde-i18n-{lang}-patch* and will then automatically be included for the build for that language.
Because of its position in the Slackbuild and the patch -p0 option, the path to the patched file must start with 'tde-i18n-{lang}' - see tde-i18n-en_GB-patch for an example. Because of its position in the Slackbuild and the patch -p0 option, the path to the patched file must start with 'tde-i18n-{lang}' - see tde-i18n-en_GB-patch for an example.
--- ---
@ -102,7 +102,7 @@ or @ https://ray-v.github.io/tde-slackbuilds/cross-compiling-TDE-for-the-RPi3.ht
Includes: Includes:
* Setting parameters for a 32-bit [armv7 hard float], or 64-bit [aarch64], build, * Setting parameters for a 32-bit [armv7 hard float], or 64-bit [aarch64], build,
and building .. .. and building ..
* a cross compiler toolchain * a cross compiler toolchain
* a 64-bit kernel which can be used for the 32-bit system * a 64-bit kernel which can be used for the 32-bit system
* qemu to run the TDE binaries built and used during compilation * qemu to run the TDE binaries built and used during compilation
@ -122,3 +122,7 @@ See https://wiki.trinitydesktop.org/How_to_Build_TDE_Core_Modules for more infor
[2] The i18n downloads with wget can't be updated because cgit produces 'current time' timestamps. The consequence is that if tde-i18n-$lang is a part of the build after its initial download, it will be downloaded again. As updates are infrequent, once built, there will probably be no need to do so again and so tde-i18n for a particular language will probably only be run once. On that basis I don't see this being a significant issue. [2] The i18n downloads with wget can't be updated because cgit produces 'current time' timestamps. The consequence is that if tde-i18n-$lang is a part of the build after its initial download, it will be downloaded again. As updates are infrequent, once built, there will probably be no need to do so again and so tde-i18n for a particular language will probably only be run once. On that basis I don't see this being a significant issue.
[3] The Misc directory contains SlackBuilds for software that might already be installed from other sources. Please check because any misc builds selected here could overwrite them. [3] The Misc directory contains SlackBuilds for software that might already be installed from other sources. Please check because any misc builds selected here could overwrite them.
[4] The tdeedu build with kalzium equation solver needs ocaml and facile pre-downloaded to the 'src' directory.
https://github.com/ocaml/ocaml/archive/4.05.0.tar.gz
http://www.recherche.enac.fr/opti/facile/distrib/facile-1.1.3.tar.gz

@ -101,7 +101,7 @@ ln -sf $PRGNAM-trinity-$VERSION.tar.xz $PRGNAM-$VERSION.tar.xz)
ln -sf $SRCDIR/../../src/$PRGNAM-$VERSION.${ARCHIVE_TYPE:-"tar.xz"} $SRCDIR ln -sf $SRCDIR/../../src/$PRGNAM-$VERSION.${ARCHIVE_TYPE:-"tar.xz"} $SRCDIR
SOURCE=$SRCDIR/$PRGNAM-$VERSION.${ARCHIVE_TYPE:-"tar.xz"} SOURCE=$SRCDIR/$PRGNAM-$VERSION.${ARCHIVE_TYPE:-"tar.xz"}
# SRCURL for non-TDE archives, set in the SB, will override the Trinity default *tar.xz URL # SRCURL for non-TDE archives, set in the SB, will override the Trinity default *tar.xz URL
SRCURL=${SRCURL:-"https://$TDE_MIRROR/releases/R$VERSION/main$TDEMIR_SUBDIR/$PRGNAM-trinity-$VERSION.tar.xz"} SRCURL=${SRCURL:-"$TDE_MIRROR/releases/R$VERSION/main$TDEMIR_SUBDIR/$PRGNAM-trinity-$VERSION.tar.xz"}
# Source file availability: # Source file availability:
[[ -f $SOURCE ]] && [[ $PRE_DOWNLOAD == yes ]] && echo " $(basename $SOURCE) already downloaded ..." [[ -f $SOURCE ]] && [[ $PRE_DOWNLOAD == yes ]] && echo " $(basename $SOURCE) already downloaded ..."

Loading…
Cancel
Save