Development build updates -

Added tqca replacement for tqca-tls [upstream removed qca from tdenetwork]
Added gcc visibility option for tdelibs
Updated some builds to cmake common rules for translations
Added cmake build to twin-style-crystal.SlackBuild
kvkbd now builds to current HEAD
Updated tde-i18n.SlackBuild for template and translations modules
Replaced cloning from cgit with gitea - tde-i18n remains from cgit
Added es_AR to localization options
master
Ray-V 3 years ago
parent 68a46b9441
commit 75a4ed744d

@ -49,7 +49,6 @@ cmake ${G_NINJA:-} \
-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 \
-DMAN_INSTALL_DIR=$INSTALL_TDE/man \
-DBUILD_DOC="ON" \ -DBUILD_DOC="ON" \
-DBUILD_TRANSLATIONS="ON" \ -DBUILD_TRANSLATIONS="ON" \
-Wno-dev \ -Wno-dev \
@ -59,8 +58,6 @@ make_fn
installdocs_fn installdocs_fn
[[ $TDEVERSION != 14.0.10 ]] && mangzip_fn
strip_fn strip_fn
mkdir_install_fn mkdir_install_fn
@ -79,13 +76,13 @@ $PRGNAM: abakus is an improvement in the limited simulation of a calculator.
$PRGNAM: Can be built and used with mpfr. $PRGNAM: Can be built and used with mpfr.
$PRGNAM: Customizable precision up to 75 digits. $PRGNAM: Customizable precision up to 75 digits.
$PRGNAM: $PRGNAM:
$PRGNAM: Copy/paste or type in and evaluate complex expressions. Exponentiation $PRGNAM: Copy/paste or type in and evaluate complex expressions.
$PRGNAM: is right-associative, for example: (2^3)^2*e^4/pi 2^3^2*e^4/pi $PRGNAM: Exponentiation is right-associative,
$PRGNAM: [The answers given by abakus: 1112.26437907 8898.11503252] $PRGNAM: for example: (2^3)^2 == 8^2, 2^3^2 == 2^9
$PRGNAM: So, (2^3)^2*e^4/pi=1112.26437907; 2^3^2*e^4/pi=8898.11503252
$PRGNAM: $PRGNAM:
$PRGNAM: With language support for: $PRGNAM: With language support for:
$PRGNAM: $langs $PRGNAM: $langs
$PRGNAM:
" > $PKG/install/slack-desc " > $PKG/install/slack-desc
makepkg_fn makepkg_fn

@ -44,14 +44,15 @@ sed 's|tagaac|tagspeex|g;s|aacfile.*$|taglib_speexfiletyperesolver.cpp speexfile
sed -i -e 's|wav )|wav )\nadd_subdirectory( speex )|' \ sed -i -e 's|wav )|wav )\nadd_subdirectory( speex )|' \
-e 's|tagaac-static|tagaac-static tagspeex-static|' amarok/src/metadata/CMakeLists.txt -e 's|tagaac-static|tagaac-static tagspeex-static|' amarok/src/metadata/CMakeLists.txt
[[ $TDEVERSION == 14.0.10 ]] && {
## remove help documentation build instruction from all [non-en] locales ... ## remove help documentation build instruction from all [non-en] locales ...
sed -i '/tde_create_handbook/,+3d' doc/??{,_??}/CMakeLists.txt || true 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
lpos="" # the *.po files list lpos="" # the *.po files list
langs="" # the languages langs="en" # the languages
ldocs="" # the help docs ldocs="en" # the help docs
for Lang in $I18N for Lang in $I18N
do do
[[ -d po/$Lang ]] && { [[ -d po/$Lang ]] && {
@ -66,8 +67,14 @@ ldocs="$ldocs $Lang"
} }
done done
# #
sed -i "s|\${po_files}|$lpos|" po/CMakeLists.txt sed -i "s|\${po_files}|$lpos|" po/CMakeLists.txt || true
[[ $langs != "" ]] && TRANS=ON } || {
## for slack-desc
langs="en"
for Lang in $I18N;do [[ -s translations/messages/$Lang.po ]] && langs="$langs $Lang";done
ldocs="en"
for Lang in $I18N;do [[ -d doc/$Lang ]] && ldocs="$ldocs $Lang";done
}
listdocs_fn listdocs_fn
@ -102,7 +109,7 @@ cmake ${G_NINJA:-} \
-DWITH_AMAZON="ON" \ -DWITH_AMAZON="ON" \
-DWITH_DAAP="OFF" \ -DWITH_DAAP="OFF" \
-DWITH_EMBEDDED_SQLITE="OFF" \ -DWITH_EMBEDDED_SQLITE="OFF" \
-DWITH_GCC_VISIBILITY="OFF" \ -DWITH_GCC_VISIBILITY=${GCC_VIS:-} \
-DWITH_IFP="OFF" \ -DWITH_IFP="OFF" \
-DWITH_INOTIFY="OFF" \ -DWITH_INOTIFY="OFF" \
-DWITH_IPOD="OFF" \ -DWITH_IPOD="OFF" \
@ -118,7 +125,7 @@ cmake ${G_NINJA:-} \
-DWITH_XINE=${XINE:-"OFF"} \ -DWITH_XINE=${XINE:-"OFF"} \
-DWITH_YAUAP=${YAUAP:-"OFF"} \ -DWITH_YAUAP=${YAUAP:-"OFF"} \
-DBUILD_DOC="ON" \ -DBUILD_DOC="ON" \
-DBUILD_TRANSLATIONS=${TRANS:-"OFF"} \ -DBUILD_TRANSLATIONS="ON" \
-Wno-dev \ -Wno-dev \
.. ..
@ -146,10 +153,10 @@ echo "
$PRGNAM: Amarok music player for TDE $PRGNAM: Amarok music player for TDE
$PRGNAM: $PRGNAM:
$PRGNAM: With language support for: $PRGNAM: With language support for:
$PRGNAM: en$langs $PRGNAM: $langs
$PRGNAM: $PRGNAM:
$PRGNAM: With help documentation for: $PRGNAM: With help documentation for:
$PRGNAM: en$ldocs $PRGNAM: $ldocs
$PRGNAM: $PRGNAM:
$PRGNAM: $PRGNAM:
$PRGNAM: $PRGNAM:

@ -51,7 +51,7 @@ cmake ${G_NINJA:-} \
-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" \ -DWITH_GCC_VISIBILITY=${GCC_VIS:-} \
-DBUILD_DOC="ON" \ -DBUILD_DOC="ON" \
-DBUILD_TRANSLATIONS="ON" \ -DBUILD_TRANSLATIONS="ON" \
-Wno-dev \ -Wno-dev \

@ -35,18 +35,8 @@ getsource_fn
untar_fn untar_fn
## for slack-desc ## for slack-desc
langs="en" langs="en";for Lang in $I18N;do [[ -s translations/messages/$Lang.po ]] && langs="$langs $Lang";done
ldocs="en" ldocs="en";for Lang in $I18N;do [[ -d doc/$Lang ]] && ldocs="$ldocs $Lang";done
for Lang in $I18N
do
[[ -s translations/messages/$Lang.po ]] && {
langs="$langs $Lang"
## ... and within that loop as doc locale only exists where translation exists
[[ -d doc/$Lang ]] && {
ldocs="$ldocs $Lang"
}
}
done
listdocs_fn listdocs_fn

@ -34,6 +34,26 @@ getsource_fn
untar_fn untar_fn
[[ $TDEVERSION != 14.0.10 ]] && {
## using cmake common rules
find doc -name CMakeLists.txt | xargs rm
sed -i '/tde_conditional_add_subdirectory( BUILD_DOC doc )/d' CMakeLists.txt
sed -i 's|k3bsetup )|&\
\
\
##### other data\
\
tde_conditional_add_project_docs( BUILD_DOC )|' CMakeLists.txt
mv doc/tdeioslave doc/en
mv doc/* doc/en || true
mv doc/en/en doc/en/tdeioslave
mkdir doc/misc
mv FAQ doc/misc/
}
listdocs_fn listdocs_fn
chown_fn chown_fn

@ -33,6 +33,12 @@ getsource_fn
untar_fn untar_fn
[[ $TDEVERSION != 14.0.10 ]] && {
## using cmake common rules
mkdir doc/misc
mv README* FAQ doc/misc/
}
## for slack-desc ## for slack-desc
langs="en";for Lang in $I18N;do [[ -s translations/messages/$Lang.po ]] && langs="$langs $Lang";done langs="en";for Lang in $I18N;do [[ -s translations/messages/$Lang.po ]] && langs="$langs $Lang";done
@ -54,7 +60,7 @@ cmake ${G_NINJA:-} \
-DPLUGIN_INSTALL_DIR=$INSTALL_TDE/lib$LIBDIRSUFFIX/$PLUGIN_INSTALL_DIR \ -DPLUGIN_INSTALL_DIR=$INSTALL_TDE/lib$LIBDIRSUFFIX/$PLUGIN_INSTALL_DIR \
-DBUILD_DOC="ON" \ -DBUILD_DOC="ON" \
-DBUILD_TRANSLATIONS="ON" \ -DBUILD_TRANSLATIONS="ON" \
-DWITH_GCC_VISIBILITY="OFF" \ -DWITH_GCC_VISIBILITY=${GCC_VIS:-} \
-DWITH_DPMS="ON" \ -DWITH_DPMS="ON" \
-DWITH_XTEST="ON" \ -DWITH_XTEST="ON" \
-DWITH_XINERAMA="ON" \ -DWITH_XINERAMA="ON" \

@ -52,7 +52,7 @@ cmake ${G_NINJA:-} \
-DLIB_SUFFIX=$LIBDIRSUFFIX \ -DLIB_SUFFIX=$LIBDIRSUFFIX \
-DBUILD_DOC="ON" \ -DBUILD_DOC="ON" \
-DBUILD_TRANSLATIONS="ON" \ -DBUILD_TRANSLATIONS="ON" \
-DWITH_GCC_VISIBILITY="OFF" \ -DWITH_GCC_VISIBILITY=${GCC_VIS:-} \
-Wno-dev \ -Wno-dev \
.. ..

@ -33,6 +33,7 @@ getsource_fn
untar_fn untar_fn
[[ $TDEVERSION == 14.0.10 ]] && {
## edit man page ## edit man page
sed -i "s|/opt/trinity/share/doc/|$INSTALL_TDE/share/doc/|" kdbg/doc/man/kdbg.1 sed -i "s|/opt/trinity/share/doc/|$INSTALL_TDE/share/doc/|" kdbg/doc/man/kdbg.1
@ -52,17 +53,27 @@ foreach( _dir ${_dirs} )
endif() endif()
endforeach() endforeach()
' > kdbg/doc/CMakeLists.txt ' > kdbg/doc/CMakeLists.txt
} || {
## edit man page
sed -i "s|/opt/trinity/share/doc/|$INSTALL_TDE/share/doc/|" doc/man/kdbg.1
}
## for slack-desc ## for slack-desc
[[ $TDEVERSION == 14.0.10 ]] && {
langs="en";for Lang in $I18N;do [[ -s po/$Lang.po ]] && langs="$langs $Lang";done langs="en";for Lang in $I18N;do [[ -s po/$Lang.po ]] && langs="$langs $Lang";done
ldocs="en";for Lang in $I18N;do [[ -d kdbg/doc/$Lang ]] && ldocs="$ldocs $Lang";done ldocs="en";for Lang in $I18N;do [[ -d kdbg/doc/$Lang ]] && ldocs="$ldocs $Lang";done
} || {
langs="en";for Lang in $I18N;do [[ -s translations/messages/$Lang.po ]] && langs="$langs $Lang";done
ldocs="en";for Lang in $I18N;do [[ -d doc/$Lang ]] && ldocs="$ldocs $Lang";done
}
listdocs_fn listdocs_fn
chown_fn chown_fn
cd_builddir_fn cd_builddir_fn
[[ $TDEVERSION != 14.0.10 ]] && TRACE=ON
cmake ${G_NINJA:-} \ cmake ${G_NINJA:-} \
-DCMAKE_C_FLAGS="$SLKRCFLAGS" \ -DCMAKE_C_FLAGS="$SLKRCFLAGS" \
-DCMAKE_CXX_FLAGS="$SLKRCFLAGS" \ -DCMAKE_CXX_FLAGS="$SLKRCFLAGS" \
@ -71,8 +82,8 @@ cmake ${G_NINJA:-} \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=$INSTALL_TDE \ -DCMAKE_INSTALL_PREFIX=$INSTALL_TDE \
-DMAN_INSTALL_DIR=$INSTALL_TDE/man \ -DMAN_INSTALL_DIR=$INSTALL_TDE/man \
-DWITH_GCC_VISIBILITY="OFF" \ -DWITH_GCC_VISIBILITY=${GCC_VIS:-} \
-DWITH_TRACE_OUTPUT="OFF" \ -DWITH_TRACE_OUTPUT="${TRACE:-OFF}" \
-DWITH_GDB_TRANSCRIPT="ON" \ -DWITH_GDB_TRANSCRIPT="ON" \
-DBUILD_DOC="ON" \ -DBUILD_DOC="ON" \
-DBUILD_TRANSLATIONS="ON" \ -DBUILD_TRANSLATIONS="ON" \

@ -33,6 +33,9 @@ getsource_fn
untar_fn untar_fn
## for slack-desc
langs="en";for Lang in $I18N;do [[ -s translations/messages/$Lang.po ]] && langs="$langs $Lang";done
listdocs_fn listdocs_fn
chown_fn chown_fn
@ -46,7 +49,7 @@ cmake ${G_NINJA:-} \
-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 \
-DWITH_GCC_VISIBILITY="OFF" \ -DWITH_GCC_VISIBILITY=${GCC_VIS:-} \
-Wno-dev \ -Wno-dev \
.. ..
@ -76,8 +79,8 @@ echo "
$PRGNAM: A DBUS notification to TDE interface $PRGNAM: A DBUS notification to TDE interface
$PRGNAM: $PRGNAM:
$PRGNAM: $PRGNAM:
$PRGNAM: $PRGNAM: With language support for:
$PRGNAM: $PRGNAM: $langs
$PRGNAM: $PRGNAM:
$PRGNAM: $PRGNAM:
$PRGNAM: $PRGNAM:

@ -56,7 +56,7 @@ cmake ${G_NINJA:-} \
-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" \ -DWITH_GCC_VISIBILITY=${GCC_VIS:-} \
-DBUILD_DOC="ON" \ -DBUILD_DOC="ON" \
-DBUILD_TRANSLATIONS="ON" \ -DBUILD_TRANSLATIONS="ON" \
-DWITH_RU_UA_LAYOUT=${RU_UA:-"OFF"} \ -DWITH_RU_UA_LAYOUT=${RU_UA:-"OFF"} \

@ -44,6 +44,7 @@ sed -i 's|Default Gateway" ), LINK_QUALITY|Default Gateway" ), GATEWAY|' src/kne
## for slack-desc ## for slack-desc
langs="en";for Lang in $I18N;do [[ -s translations/messages/knemod/$Lang.po ]] && langs="$langs $Lang";done langs="en";for Lang in $I18N;do [[ -s translations/messages/knemod/$Lang.po ]] && langs="$langs $Lang";done
## add misc docs
listdocs_fn listdocs_fn
chown_fn chown_fn
@ -59,7 +60,7 @@ cmake ${G_NINJA:-} \
-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_GCC_VISIBILITY=${GCC_VIS:-} \
-DWITH_LIBIW="OFF" \ -DWITH_LIBIW="OFF" \
-DBUILD_DOC="ON" \ -DBUILD_DOC="ON" \
-DBUILD_TRANSLATIONS="ON" \ -DBUILD_TRANSLATIONS="ON" \

@ -51,7 +51,7 @@ cmake ${G_NINJA:-} \
-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" \ -DWITH_GCC_VISIBILITY=${GCC_VIS:-} \
-DBUILD_DOC="ON" \ -DBUILD_DOC="ON" \
-DBUILD_TRANSLATIONS="ON" \ -DBUILD_TRANSLATIONS="ON" \
-Wno-dev \ -Wno-dev \

@ -47,6 +47,7 @@ chown_fn
cd_builddir_fn cd_builddir_fn
[[ $TDEVERSION != 14.0.10 ]] && B_E_T='-DBUILD_EXTRA_THEME="ON"'
cmake ${G_NINJA:-} \ cmake ${G_NINJA:-} \
-DCMAKE_C_FLAGS="$SLKRCFLAGS" \ -DCMAKE_C_FLAGS="$SLKRCFLAGS" \
-DCMAKE_CXX_FLAGS="$SLKRCFLAGS" \ -DCMAKE_CXX_FLAGS="$SLKRCFLAGS" \
@ -55,9 +56,10 @@ cmake ${G_NINJA:-} \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=$INSTALL_TDE \ -DCMAKE_INSTALL_PREFIX=$INSTALL_TDE \
-DMAN_INSTALL_DIR=$INSTALL_TDE/man \ -DMAN_INSTALL_DIR=$INSTALL_TDE/man \
-DWITH_GCC_VISIBILITY="OFF" \ -DWITH_GCC_VISIBILITY=${GCC_VIS:-} \
-DBUILD_DOC="ON" \ -DBUILD_DOC="ON" \
-DBUILD_TRANSLATIONS="ON" \ -DBUILD_TRANSLATIONS="ON" \
${B_E_T:-} \
-Wno-dev \ -Wno-dev \
.. ..

@ -51,7 +51,7 @@ cmake ${G_NINJA:-} \
-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" \ -DWITH_GCC_VISIBILITY=${GCC_VIS:-} \
-DBUILD_DOC="ON" \ -DBUILD_DOC="ON" \
-DBUILD_TRANSLATIONS="ON" \ -DBUILD_TRANSLATIONS="ON" \
-Wno-dev \ -Wno-dev \

@ -50,7 +50,7 @@ cmake ${G_NINJA:-} \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=$INSTALL_TDE \ -DCMAKE_INSTALL_PREFIX=$INSTALL_TDE \
-DMAN_INSTALL_DIR=$INSTALL_TDE/man \ -DMAN_INSTALL_DIR=$INSTALL_TDE/man \
-DWITH_GCC_VISIBILITY="OFF" \ -DWITH_GCC_VISIBILITY=${GCC_VIS:-} \
-DBUILD_DOC="ON" \ -DBUILD_DOC="ON" \
-DBUILD_TRANSLATIONS="ON" \ -DBUILD_TRANSLATIONS="ON" \
-Wno-dev \ -Wno-dev \

@ -50,7 +50,7 @@ cmake ${G_NINJA:-} \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=$INSTALL_TDE \ -DCMAKE_INSTALL_PREFIX=$INSTALL_TDE \
-DMAN_INSTALL_DIR=$INSTALL_TDE/man \ -DMAN_INSTALL_DIR=$INSTALL_TDE/man \
-DWITH_GCC_VISIBILITY="OFF" \ -DWITH_GCC_VISIBILITY=${GCC_VIS:-} \
-DBUILD_DOC="ON" \ -DBUILD_DOC="ON" \
-DBUILD_TRANSLATIONS="ON" \ -DBUILD_TRANSLATIONS="ON" \
-Wno-dev \ -Wno-dev \

@ -53,7 +53,7 @@ cmake ${G_NINJA:-} \
-DLIB_SUFFIX=$LIBDIRSUFFIX \ -DLIB_SUFFIX=$LIBDIRSUFFIX \
-DMAN_INSTALL_DIR=$INSTALL_TDE/man \ -DMAN_INSTALL_DIR=$INSTALL_TDE/man \
-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_GCC_VISIBILITY=${GCC_VIS:-} \
-DBUILD_DOC="ON" \ -DBUILD_DOC="ON" \
-DBUILD_TRANSLATIONS="ON" \ -DBUILD_TRANSLATIONS="ON" \
-DBUILD_EXTRAS="ON" \ -DBUILD_EXTRAS="ON" \

@ -33,29 +33,6 @@ getsource_fn
untar_fn untar_fn
## These patches could be broken by ongoing development.
## To build kvkbd with these patches, revert the repo to revisions known to work
[[ $TDEVERSION != 14.0.10 ]] && {
(cd $BUILD_TDE_ROOT/src/cgit/$PRGNAM/
git reset HEAD *
rm -rf .git/worktrees/*
## don't need info about 'detached HEAD' state - only using the repo as a build source
git config advice.detachedHead false
[[ $TDEVERSION == 14.1.0 ]] && git checkout -f 4c4e0c2 || git checkout -f df2b743
## overwrite the files in the build area set up by untar_fn with the source now in 'detached HEAD' state ..
echo -e "\n copying $PRGNAM 'detached HEAD' state sources to build area ... \n"
(cd $BUILD_TDE_ROOT/src/cgit
cp -a --parents $PRGNAM/* $TMP_BUILD/tmp-$PRGNAM/
cp -a --parents cmake/* $TMP_BUILD/tmp-$PRGNAM/$PRGNAM/)
## and then switch back to master branch ready for the next pull ..
echo -e "\n ### Switching cgit source back to master branch ### \n"
git checkout master
echo
)
}
# ###
## copy the helpfile docs to the build tree ## copy the helpfile docs to the build tree
cp -a $SRCDIR/doc . cp -a $SRCDIR/doc .
cp $SRCDIR/dock.png src/ cp $SRCDIR/dock.png src/
@ -160,6 +137,7 @@ patch -N -p0 << EOF || true
+ resize ( 64,31 ); + resize ( 64,31 );
EOF EOF
[[ $TDEVERSION == 14.0.10 ]] && {
## Caps+AltGr[+Shift] displayed characters should be toggled from the non-Caps state ## Caps+AltGr[+Shift] displayed characters should be toggled from the non-Caps state
patch -N -p0 << EOF || true patch -N -p0 << EOF || true
--- src/VButton.cpp --- src/VButton.cpp
@ -181,6 +159,7 @@ patch -N -p0 << EOF || true
+ } + }
+ else if (shift) + else if (shift)
EOF EOF
}
## blank character display where AltGr does not provide extra characters ## blank character display where AltGr does not provide extra characters
[[ $(cat $TMPVARS/Kvkbd_OPTS) == *blank* ]] && { [[ $(cat $TMPVARS/Kvkbd_OPTS) == *blank* ]] && {
@ -252,6 +231,7 @@ patch -N -p0 << EOF || true
EOF EOF
} }
[[ $TDEVERSION == 14.0.10 ]] && {
## another combining character to display ## another combining character to display
patch -N -p0 << EOF || true patch -N -p0 << EOF || true
--- src/Xutils.cpp --- src/Xutils.cpp
@ -259,6 +239,7 @@ patch -N -p0 << EOF || true
@@ -871,0 +872 @@ @@ -871,0 +872 @@
+ { 0x01000358L, 0x02d9 }, /* combining dot above right ˙ dot above */ + { 0x01000358L, 0x02d9 }, /* combining dot above right ˙ dot above */
EOF EOF
}
## for slack-desc ## for slack-desc
langs="en";for Lang in $I18N;do [[ -s translations/messages/$Lang.po ]] && langs="$langs $Lang";done langs="en";for Lang in $I18N;do [[ -s translations/messages/$Lang.po ]] && langs="$langs $Lang";done
@ -276,7 +257,7 @@ cmake ${G_NINJA:-} \
-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 \
-DWITH_GCC_VISIBILITY="OFF" \ -DWITH_GCC_VISIBILITY=${GCC_VIS:-} \
-DBUILD_DOC="ON" \ -DBUILD_DOC="ON" \
-DBUILD_TRANSLATIONS="ON" \ -DBUILD_TRANSLATIONS="ON" \
-Wno-dev \ -Wno-dev \

@ -39,6 +39,7 @@ for Lang in $I18N;do [[ -s translations/messages/$Lang.po ]] && langs="$langs $L
ldocs="en tdeioslave" ldocs="en tdeioslave"
for Lang in $I18N;do [[ -d doc/$Lang ]] && ldocs="$ldocs $Lang";done for Lang in $I18N;do [[ -d doc/$Lang ]] && ldocs="$ldocs $Lang";done
[[ $TDEVERSION == 14.0.10 ]] && {
## add misc docs ## add misc docs
MISC_FILES=$(cd doc/misc/;ls README* pptp.txt) MISC_FILES=$(cd doc/misc/;ls README* pptp.txt)
cat << EOF > doc/misc/CMakeLists.txt cat << EOF > doc/misc/CMakeLists.txt
@ -49,6 +50,7 @@ INSTALL(
) )
EOF EOF
sed -i 's|add_subdirectory( tdeioslave )|&\nadd_subdirectory( misc )|' doc/CMakeLists.txt sed -i 's|add_subdirectory( tdeioslave )|&\nadd_subdirectory( misc )|' doc/CMakeLists.txt
}
chown_fn chown_fn
@ -62,6 +64,7 @@ cmake ${G_NINJA:-} \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=$INSTALL_TDE \ -DCMAKE_INSTALL_PREFIX=$INSTALL_TDE \
-DMAN_INSTALL_DIR=$INSTALL_TDE/man \ -DMAN_INSTALL_DIR=$INSTALL_TDE/man \
-DWITH_GCC_VISIBILITY=${GCC_VIS:-} \
-DBUILD_DOC="ON" \ -DBUILD_DOC="ON" \
-DBUILD_TRANSLATIONS="ON" \ -DBUILD_TRANSLATIONS="ON" \
-Wno-dev \ -Wno-dev \

@ -33,7 +33,7 @@ getsource_fn
untar_fn untar_fn
sed "s|po/|${PO_PATH:-po/}|" $SRCDIR/reformat-message.patch | patch -p0 patch -p0 < $SRCDIR/reformat-message.patch
## for slack-desc ## for slack-desc
langs="en";for Lang in $I18N;do [[ -s translations/messages/$Lang.po ]] && langs="$langs $Lang";done langs="en";for Lang in $I18N;do [[ -s translations/messages/$Lang.po ]] && langs="$langs $Lang";done
@ -53,7 +53,7 @@ cmake ${G_NINJA:-} \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=$INSTALL_TDE \ -DCMAKE_INSTALL_PREFIX=$INSTALL_TDE \
-DMAN_INSTALL_DIR=$INSTALL_TDE/man \ -DMAN_INSTALL_DIR=$INSTALL_TDE/man \
-DWITH_GCC_VISIBILITY="OFF" \ -DWITH_GCC_VISIBILITY=${GCC_VIS:-} \
-DBUILD_DOC="ON" \ -DBUILD_DOC="ON" \
-DBUILD_TRANSLATIONS="ON" \ -DBUILD_TRANSLATIONS="ON" \
-Wno-dev \ -Wno-dev \

@ -51,7 +51,7 @@ cmake ${G_NINJA:-} \
-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_GCC_VISIBILITY=${GCC_VIS:-} \
-DBUILD_TRANSLATIONS="ON" \ -DBUILD_TRANSLATIONS="ON" \
-Wno-dev \ -Wno-dev \
.. ..

@ -50,7 +50,7 @@ cmake ${G_NINJA:-} \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=$INSTALL_TDE \ -DCMAKE_INSTALL_PREFIX=$INSTALL_TDE \
-DMAN_INSTALL_DIR=$INSTALL_TDE/man \ -DMAN_INSTALL_DIR=$INSTALL_TDE/man \
-DWITH_GCC_VISIBILITY="OFF" \ -DWITH_GCC_VISIBILITY=${GCC_VIS:-} \
-DBUILD_DOC="ON" \ -DBUILD_DOC="ON" \
-DBUILD_TRANSLATIONS="ON" \ -DBUILD_TRANSLATIONS="ON" \
-Wno-dev \ -Wno-dev \

@ -51,7 +51,7 @@ cmake ${G_NINJA:-} \
-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_GCC_VISIBILITY=${GCC_VIS:-} \
-DBUILD_DOC="ON" \ -DBUILD_DOC="ON" \
-DBUILD_TRANSLATIONS="ON" \ -DBUILD_TRANSLATIONS="ON" \
-Wno-dev \ -Wno-dev \

@ -33,14 +33,19 @@ getsource_fn
untar_fn untar_fn
## for slack-desc
langs="en";for Lang in $I18N;do [[ -s translations/messages/$Lang.po ]] && langs="$Lang $langs";done
listdocs_fn listdocs_fn
chown_fn chown_fn
ltoolupdate_fn [[ $TDEVERSION == 14.0.10 ]] && ltoolupdate_fn
cd_builddir_fn cd_builddir_fn
[[ $TDEVERSION == 14.0.10 ]] && {
CFLAGS="$SLKRCFLAGS" \ CFLAGS="$SLKRCFLAGS" \
CXXFLAGS="$SLKRCFLAGS" \ CXXFLAGS="$SLKRCFLAGS" \
CC=$COMPILER \ CC=$COMPILER \
@ -50,6 +55,24 @@ CXX=$COMPILER_CXX \
--disable-rpath \ --disable-rpath \
--enable-closure --enable-closure
} || {
cmake ${G_NINJA:-} \
-DCMAKE_C_FLAGS="$SLKRCFLAGS" \
-DCMAKE_CXX_FLAGS="$SLKRCFLAGS" \
-DCMAKE_C_COMPILER=$COMPILER \
-DCMAKE_CXX_COMPILER=$COMPILER_CXX \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=$INSTALL_TDE \
-DLIB_SUFFIX=$LIBDIRSUFFIX \
-DPLUGIN_INSTALL_DIR=$INSTALL_TDE/lib$LIBDIRSUFFIX/$PLUGIN_INSTALL_DIR \
-DWITH_GCC_VISIBILITY=${GCC_VIS:-} \
-DBUILD_TRANSLATIONS="ON" \
-Wno-dev \
..
}
make_fn make_fn
installdocs_fn installdocs_fn
@ -71,8 +94,8 @@ $PRGNAM:
$PRGNAM: Crystal Style for Twin $PRGNAM: Crystal Style for Twin
$PRGNAM: $PRGNAM:
$PRGNAM: $PRGNAM:
$PRGNAM: $PRGNAM: With language support for:
$PRGNAM: $PRGNAM: $langs
$PRGNAM: $PRGNAM:
$PRGNAM: $PRGNAM:
$PRGNAM: $PRGNAM:

@ -51,7 +51,7 @@ cmake ${G_NINJA:-} \
-DCMAKE_INSTALL_PREFIX=$INSTALL_TDE \ -DCMAKE_INSTALL_PREFIX=$INSTALL_TDE \
-DMAN_INSTALL_DIR=$INSTALL_TDE/man \ -DMAN_INSTALL_DIR=$INSTALL_TDE/man \
-DLIB_SUFFIX=$LIBDIRSUFFIX \ -DLIB_SUFFIX=$LIBDIRSUFFIX \
-DWITH_GCC_VISIBILITY="OFF" \ -DWITH_GCC_VISIBILITY=${GCC_VIS:-} \
-DBUILD_DOC="ON" \ -DBUILD_DOC="ON" \
-DBUILD_TRANSLATIONS="ON" \ -DBUILD_TRANSLATIONS="ON" \
-Wno-dev \ -Wno-dev \

@ -44,7 +44,7 @@ dialog --cr-wrap --yes-label "Re-use" --no-label "New" --defaultno --no-shadow -
* after only downloading the sources" \ * after only downloading the sources" \
13 75 13 75
[[ $? == 0 ]] && echo no > $TMPVARS/build-new [[ $? == 0 ]] && echo no > $TMPVARS/build-new
[[ $? == 1 ]] && rm -f $TMPVARS/TDEbuilds [[ $? == 1 ]] && rm -f $TMPVARS/*
build_core() build_core()
@ -253,7 +253,7 @@ dialog --cr-wrap --nocancel --no-shadow --colors --help-button --help-label "REA
Multiple selections may be made - space separated. Multiple selections may be made - space separated.
Build language packages/support for any of: Build language packages/support for any of:
\Zb\Z6af ar az be bg bn br bs ca cs csb cy da de el en_GB eo es et eu fa fi fr fy ga gl he hi hr hu is it ja kk km ko lt lv mk mn ms nb nds nl nn pa pl pt pt_BR ro ru rw se sk sl sr sr@Latn ss sv ta te tg th tr uk uz uz@cyrillic vi wa zh_CN zh_TW\Zn \Zb\Z6af ar az be bg bn br bs ca cs csb cy da de el en_GB eo es es_AR et eu fa fi fr fy ga gl he hi hr hu is it ja kk km ko lt lv mk mn ms nb nds nl nn pa pl pt pt_BR ro ru rw se sk sl sr sr@Latn ss sv ta te tg th tr uk uz uz@cyrillic vi wa zh_CN zh_TW\Zn
" \ " \
25 75 \ 25 75 \
@ -329,6 +329,7 @@ If following the build method on the previous screen, the answer here should pro
[[ $? == 1 ]] && echo no > $TMPVARS/KEEP_BUILD [[ $? == 1 ]] && echo no > $TMPVARS/KEEP_BUILD
[[ $(cat $TMPVARS/TDEVERSION) != 14.0.10 ]] && TQCA=tqca && TQCA_MSG="The TQt Cryptographic Architecture"
rm -f $TMPVARS/TDEbuilds rm -f $TMPVARS/TDEbuilds
dialog --cr-wrap --nocancel --no-shadow --colors --title " TDE Packages Selection " --item-help --checklist \ dialog --cr-wrap --nocancel --no-shadow --colors --title " TDE Packages Selection " --item-help --checklist \
" "
@ -346,9 +347,9 @@ Non-TDE apps are in the Misc category and don't need the \Zb\Zr\Z4R\Znequired TD
"Deps/dbus-tqt" "\Zb\Zr\Z4R\Zn A simple IPC library" off "\Zb\Z6 \Zn" \ "Deps/dbus-tqt" "\Zb\Zr\Z4R\Zn A simple IPC library" off "\Zb\Z6 \Zn" \
"Deps/dbus-1-tqt" "\Zb\Zr\Z4R\Zn D-Bus bindings" off "\Zb\Z6 \Zn" \ "Deps/dbus-1-tqt" "\Zb\Zr\Z4R\Zn D-Bus bindings" off "\Zb\Z6 \Zn" \
"Deps/libart-lgpl" "\Zb\Zr\Z4R\Zn The LGPL'd component of libart" off "\Zb\Z6 \Zn" \ "Deps/libart-lgpl" "\Zb\Zr\Z4R\Zn The LGPL'd component of libart" off "\Zb\Z6 \Zn" \
"Deps/tqca-tls" "\Zb\Zr\Z4R\Zn Plugin to provide SSL/TLS capability" off "\Zb\Z6 \Zn" \ "Deps/${TQCA:-tqca-tls}" "\Zb\Zr\Z4R\Zn ${TQCA_MSG:-Plugin to provide SSL/TLS capability}" off "" \
"Deps/avahi-tqt" "Avahi support" off "\Zb\Z6 Optional for tdelibs and used if installed. Requires Avahi. \Zn" \ "Deps/avahi-tqt" "Avahi support" off "\Zb\Z6 Optional for tdelibs and used if installed. Requires avahi. \Zn" \
"Core/tdelibs" "\Zb\Zr\Z4R\Zn TDE libraries" off "\Zb\Z6 Will build with Avahi support if avahi/avahi-tqt are installed. \Zn" \ "Core/tdelibs" "\Zb\Zr\Z4R\Zn TDE libraries" off "\Zb\Z6 Will build with avahi support if avahi & avahi-tqt are installed. \Zn" \
"Core/tdebase" "\Zb\Zr\Z4R\Zn TDE base" off "\Zb\Z6 \Zn" \ "Core/tdebase" "\Zb\Zr\Z4R\Zn TDE base" off "\Zb\Z6 \Zn" \
"Core/tde-i18n" "Additional language support for TDE" off "\Zb\Z6 Required when any \Zb\Z3Additional language support\Zb\Z6 has been selected \Zn" \ "Core/tde-i18n" "Additional language support for TDE" off "\Zb\Z6 Required when any \Zb\Z3Additional language support\Zb\Z6 has been selected \Zn" \
"Deps/akode" "A player and plugins for aRts music formats" off "\Zb\Z6 For tdemultimedia - aRts-plugin and Juk, and amarok engine \Zn" \ "Deps/akode" "A player and plugins for aRts music formats" off "\Zb\Z6 For tdemultimedia - aRts-plugin and Juk, and amarok engine \Zn" \
@ -518,6 +519,27 @@ ${DLG_BOX:-0 0}
} }
## set up for development builds - 14.0.x [aka 14.0.11] & 14.1.0
[[ $(cat $TMPVARS/TDEVERSION) != 14.0.10 ]] && {
## only run this if tdelibs has been selected
rm -f $TMPVARS/GCC_VIS
[[ $(grep -o tdelibs $TMPVARS/TDEbuilds) ]] && {
dialog --cr-wrap --nocancel --no-shadow --colors --title " Gcc visibility " --menu \
"
If gcc visibility support [-fvisibility=hidden -fvisibility-inlines-hidden] is required, it has to be built in to tdelibs for the package builds that call the 'tde_setup_gcc_visibility()' macro.
It will default for those packages to whatever is set here, but if enabled, can be set OFF with the command line option GCC_VIS=0.
Set gcc visibility support in tdelibs ..
" \
21 60 2 \
"ON" "" \
"OFF" "" \
2> $TMPVARS/GCC_VIS
}
}
## only run this if tdebase has been selected ## only run this if tdebase has been selected
rm -f $TMPVARS/RUNLEVEL rm -f $TMPVARS/RUNLEVEL
[[ $(grep -o tdebase $TMPVARS/TDEbuilds) ]] && { [[ $(grep -o tdebase $TMPVARS/TDEbuilds) ]] && {
@ -723,7 +745,7 @@ Do you still want it to do that or change to <\Z1S\Zb\Z0top\Zn> ?
fi fi
fi fi
[[ $(cat $TMPVARS/PRE_DOWNLOAD) != yes ]] && {
## for a first run, 'install' is set 'on' - subsequently, options are as previously set .. ## for a first run, 'install' is set 'on' - subsequently, options are as previously set ..
[[ -e $TMPVARS/BuildOptions ]] && { [[ -e $TMPVARS/BuildOptions ]] && {
[[ $(cat $TMPVARS/BuildOptions) == *install* ]] && OPT_1=on || OPT_1=off [[ $(cat $TMPVARS/BuildOptions) == *install* ]] && OPT_1=on || OPT_1=off
@ -754,7 +776,7 @@ Confirm or change these build options ..
[[ $(cat $TMPVARS/BuildOptions) == *no_warn* ]] && export NO_WARN="-w" [[ $(cat $TMPVARS/BuildOptions) == *no_warn* ]] && export NO_WARN="-w"
[[ $(cat $TMPVARS/BuildOptions) == *ninja* ]] && export G_NINJA="-G Ninja" [[ $(cat $TMPVARS/BuildOptions) == *ninja* ]] && export G_NINJA="-G Ninja"
[[ $(cat $TMPVARS/BuildOptions) == *verbose* ]] && export VERBOSE=1 || exec 2>/dev/null [[ $(cat $TMPVARS/BuildOptions) == *verbose* ]] && export VERBOSE=1 || exec 2>/dev/null
}
###################### ######################
# there should be no need to make any changes below # there should be no need to make any changes below
@ -769,7 +791,7 @@ export ARCH=$(cat $TMPVARS/ARCH) # set again for the 'continue' option
export TDE_MIRROR=${TDE_MIRROR:-https://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 LINGUAS="$I18N 1" ## dummy locale as LINGUAS="" builds all translations export LINGUAS="$I18N 1" ## 1 == dummy locale as LINGUAS="" builds all translations
export TQT_OPTS=$(cat $TMPVARS/TQT_OPTS) export TQT_OPTS=$(cat $TMPVARS/TQT_OPTS)
export EXIT_FAIL=$(cat $TMPVARS/EXIT_FAIL) export EXIT_FAIL=$(cat $TMPVARS/EXIT_FAIL)
export KEEP_BUILD=$(cat $TMPVARS/KEEP_BUILD) export KEEP_BUILD=$(cat $TMPVARS/KEEP_BUILD)
@ -837,6 +859,25 @@ INST_PACKAGE=yes && [[ $INST == 0 ]] && INST_PACKAGE=no
## whether using tde prefix ## whether using tde prefix
[[ -e $TMPVARS/TDEPFX ]] && tde_prefix=\\Zn\\Zb\\Z2tde\\Zn && [[ ! -s $TMPVARS/TDEPFX ]] && tde_prefix=no [[ -e $TMPVARS/TDEPFX ]] && tde_prefix=\\Zn\\Zb\\Z2tde\\Zn && [[ ! -s $TMPVARS/TDEPFX ]] && tde_prefix=no
# #
## Set up gcc visibilty .. ##
## If GCC_VIS has been set on the command line, export it
[[ $GCC_VIS ]] && export GCC_VIS || {
## set up for development builds - 14.0.x [aka 14.0.11] & 14.1.0
[[ $TDEVERSION != 14.0.10 ]] && {
## If tdelibs has been built before, the header will exist, so test that:
[[ $(grep "KDE_HAVE_GCC_VISIBILITY 1" $INSTALL_TDE/include/kdemacros.h) ]] && \
GCC_VIS=ON || GCC_VIS=OFF
## if tdelibs is being built, override any header setting with the dialog output:
[[ -s $TMPVARS/GCC_VIS ]] && GCC_VIS=$(cat $TMPVARS/GCC_VIS)
export GCC_VIS
} || {
## otherwise for 14.0.10 builds, continue to set it off
export GCC_VIS=OFF
}
}
#
## start dialog ## start dialog
EXITVAL=2 EXITVAL=2
until [[ $EXITVAL -lt 2 ]] ; do until [[ $EXITVAL -lt 2 ]] ; do

@ -51,6 +51,11 @@ echo -e "\033[39;1m"
echo "Extracting the translations source from $(basename $SOURCE) ..." echo "Extracting the translations source from $(basename $SOURCE) ..."
echo -e "\033[0m" echo -e "\033[0m"
tar xf $SOURCE $PRGNAM-trinity-$TDEVERSION/translations tar xf $SOURCE $PRGNAM-trinity-$TDEVERSION/translations
} || {
mkdir -p $PRGNAM # need -p for git builds if more than one lang
(cd $BUILD_TDE_ROOT/src/cgit
cp -a tdei18n/cgit/tde-i18n/plain/{template,translations} $TMP_BUILD/tmp-$PRGNAM/$PRGNAM/
cp -a --parents cmake/* $TMP_BUILD/tmp-$PRGNAM/$PRGNAM/)
} }
for lang in $I18N for lang in $I18N
@ -64,14 +69,14 @@ tar -xf $SOURCE $PRGNAM-trinity-$TDEVERSION/$PRGNAM-$lang
cd $PRGNAM* cd $PRGNAM*
true # don't go to cgit if extracting fails true # don't go to cgit if extracting fails
} || { } || {
mkdir -p $PRGNAM # need -p for git builds if more than one lang
cd $PRGNAM cd $PRGNAM
echo -e "\n copying $PRGNAM-$lang source files to build area ... \n" echo -e "\n copying $PRGNAM-$lang source files to build area ... \n"
(cd $BUILD_TDE_ROOT/src/cgit (cd $BUILD_TDE_ROOT/src/cgit
cp -a tdei18n/cgit/tde-i18n/plain/tde-i18n-$lang $TMP_BUILD/tmp-$PRGNAM/$PRGNAM/ cp -a tdei18n/cgit/tde-i18n/plain/tde-i18n-$lang $TMP_BUILD/tmp-$PRGNAM/$PRGNAM/)
cp -a --parents {admin,cmake}/* $TMP_BUILD/tmp-$PRGNAM/$PRGNAM/tde-i18n-$lang/) (cd $TMP_BUILD/tmp-$PRGNAM/$PRGNAM/$PRGNAM-$lang/
ln -sf ../template/commonCMakeLists.txt CMakeLists.txt
ln -s ../cmake cmake)
} }
## language specific patches ## language specific patches

@ -53,7 +53,7 @@ cmake ${G_NINJA:-} \
-DMAN_INSTALL_DIR=$INSTALL_TDE/man \ -DMAN_INSTALL_DIR=$INSTALL_TDE/man \
-DPLUGIN_INSTALL_DIR=$INSTALL_TDE/lib$LIBDIRSUFFIX/$PLUGIN_INSTALL_DIR \ -DPLUGIN_INSTALL_DIR=$INSTALL_TDE/lib$LIBDIRSUFFIX/$PLUGIN_INSTALL_DIR \
-DWITH_ARTS="ON" \ -DWITH_ARTS="ON" \
-DWITH_GCC_VISIBILITY="OFF" \ -DWITH_GCC_VISIBILITY=${GCC_VIS:-} \
-DWITH_AKODE="$AKODE" \ -DWITH_AKODE="$AKODE" \
-DWITH_ALSA="ON" \ -DWITH_ALSA="ON" \
-DWITH_GSTREAMER="OFF" \ -DWITH_GSTREAMER="OFF" \

@ -48,7 +48,7 @@ cmake ${G_NINJA:-} \
-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_GCC_VISIBILITY=${GCC_VIS:-} \
-DBUILD_DOC="ON" \ -DBUILD_DOC="ON" \
-DBUILD_KCRON="ON" \ -DBUILD_KCRON="ON" \
-DBUILD_KDAT="ON" \ -DBUILD_KDAT="ON" \

@ -48,6 +48,7 @@ cmake ${G_NINJA:-} \
-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=${GCC_VIS:-} \
-DWITH_ALL_INCLUDED_XSCREENSAVERS="OFF" \ -DWITH_ALL_INCLUDED_XSCREENSAVERS="OFF" \
-DWITH_ARTS="ON" \ -DWITH_ARTS="ON" \
-DWITH_XSCREENSAVER="OFF" \ -DWITH_XSCREENSAVER="OFF" \
@ -61,6 +62,7 @@ cmake ${G_NINJA:-} \
-DBUILD_KWORLDCLOCK="ON" \ -DBUILD_KWORLDCLOCK="ON" \
-DBUILD_SOUNDS="ON" \ -DBUILD_SOUNDS="ON" \
-DBUILD_STYLES="ON" \ -DBUILD_STYLES="ON" \
-DBUILD_TDEASCIIQUARIUM="ON" \
-DBUILD_WALLPAPERS="ON" \ -DBUILD_WALLPAPERS="ON" \
-Wno-dev \ -Wno-dev \
.. ..

@ -140,7 +140,7 @@ cmake ${G_NINJA:-} \
-DPLUGIN_INSTALL_DIR=$INSTALL_TDE/lib$LIBDIRSUFFIX/$PLUGIN_INSTALL_DIR \ -DPLUGIN_INSTALL_DIR=$INSTALL_TDE/lib$LIBDIRSUFFIX/$PLUGIN_INSTALL_DIR \
-DWITH_ARTS="ON" \ -DWITH_ARTS="ON" \
-DWITH_ELFICON="OFF" \ -DWITH_ELFICON="OFF" \
-DWITH_GCC_VISIBILITY="OFF" \ -DWITH_GCC_VISIBILITY=${GCC_VIS:-} \
-DWITH_HAL="OFF" \ -DWITH_HAL="OFF" \
-DWITH_I8K="OFF" \ -DWITH_I8K="OFF" \
-DWITH_LDAP="OFF" \ -DWITH_LDAP="OFF" \

@ -119,7 +119,7 @@ cmake ${G_NINJA:-} \
-DLIB_SUFFIX=$LIBDIRSUFFIX \ -DLIB_SUFFIX=$LIBDIRSUFFIX \
-DMAN_INSTALL_DIR=$INSTALL_TDE/man \ -DMAN_INSTALL_DIR=$INSTALL_TDE/man \
-DWITH_ARTS="ON" \ -DWITH_ARTS="ON" \
-DWITH_GCC_VISIBILITY="OFF" \ -DWITH_GCC_VISIBILITY=${GCC_VIS:-} \
-DWITH_KIG_PYTHON_SCRIPTING=${KIG_PS:-"OFF"} \ -DWITH_KIG_PYTHON_SCRIPTING=${KIG_PS:-"OFF"} \
-DWITH_LIBUSB="ON" \ -DWITH_LIBUSB="ON" \
-DWITH_OCAML_SOLVER=${OCAML:-"OFF"} \ -DWITH_OCAML_SOLVER=${OCAML:-"OFF"} \

@ -50,7 +50,7 @@ cmake ${G_NINJA:-} \
-DMAN_INSTALL_DIR=$INSTALL_TDE/man \ -DMAN_INSTALL_DIR=$INSTALL_TDE/man \
-DPLUGIN_INSTALL_DIR=$INSTALL_TDE/lib$LIBDIRSUFFIX/$PLUGIN_INSTALL_DIR \ -DPLUGIN_INSTALL_DIR=$INSTALL_TDE/lib$LIBDIRSUFFIX/$PLUGIN_INSTALL_DIR \
-DWITH_ARTS="ON" \ -DWITH_ARTS="ON" \
-DWITH_GCC_VISIBILITY="OFF" \ -DWITH_GCC_VISIBILITY=${GCC_VIS:-} \
-DBUILD_DOC="ON" \ -DBUILD_DOC="ON" \
-DBUILD_LIBTDEGAMES="ON" \ -DBUILD_LIBTDEGAMES="ON" \
-DBUILD_ATLANTIK="ON" \ -DBUILD_ATLANTIK="ON" \

@ -159,7 +159,7 @@ cmake ${G_NINJA:-} \
-DWITH_DEVKITPOWER="ON" \ -DWITH_DEVKITPOWER="ON" \
-DWITH_ELFICON="OFF" \ -DWITH_ELFICON="OFF" \
-DWITH_GAMIN="OFF" \ -DWITH_GAMIN="OFF" \
-DWITH_GCC_VISIBILITY="OFF" \ -DWITH_GCC_VISIBILITY=${GCC_VIS:-} \
-DWITH_HAL="OFF" \ -DWITH_HAL="OFF" \
-DWITH_HSPELL="OFF" \ -DWITH_HSPELL="OFF" \
-DWITH_IMAGETOPS_BINARY="OFF" \ -DWITH_IMAGETOPS_BINARY="OFF" \

@ -53,6 +53,7 @@ cmake ${G_NINJA:-} \
-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=${GCC_VIS:-} \
-DWITH_ARTS="ON" \ -DWITH_ARTS="ON" \
-DWITH_JINGLE="ON" \ -DWITH_JINGLE="ON" \
-DWITH_SPEEX=${SPX:-"OFF"} \ -DWITH_SPEEX=${SPX:-"OFF"} \

@ -62,7 +62,7 @@ cmake ${G_NINJA:-} \
-DLIB_INSTALL_DIR=$INSTALL_TDE/lib$LIBDIRSUFFIX \ -DLIB_INSTALL_DIR=$INSTALL_TDE/lib$LIBDIRSUFFIX \
-DPLUGIN_INSTALL_DIR=$INSTALL_TDE/lib$LIBDIRSUFFIX/$PLUGIN_INSTALL_DIR \ -DPLUGIN_INSTALL_DIR=$INSTALL_TDE/lib$LIBDIRSUFFIX/$PLUGIN_INSTALL_DIR \
-DMAN_INSTALL_DIR=$INSTALL_TDE/man \ -DMAN_INSTALL_DIR=$INSTALL_TDE/man \
-DWITH_GCC_VISIBILITY="OFF" \ -DWITH_GCC_VISIBILITY=${GCC_VIS:-} \
-DWITH_OTHER_EDITORS="ON" \ -DWITH_OTHER_EDITORS="ON" \
-DWITH_QUANTA_CVSSERVICE="ON" \ -DWITH_QUANTA_CVSSERVICE="ON" \
-DBUILD_DOC="ON" \ -DBUILD_DOC="ON" \

@ -54,7 +54,7 @@ cmake ${G_NINJA:-} \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=$INSTALL_TDE \ -DCMAKE_INSTALL_PREFIX=$INSTALL_TDE \
-DLIB_SUFFIX=$LIBDIRSUFFIX \ -DLIB_SUFFIX=$LIBDIRSUFFIX \
-DWITH_GCC_VISIBILITY="OFF" \ -DWITH_GCC_VISIBILITY=${GCC_VIS:-} \
-DWITH_LIBLTDL="ON" \ -DWITH_LIBLTDL="ON" \
-DWITH_ALSA_SINK="ON" \ -DWITH_ALSA_SINK="ON" \
-DWITH_JACK_SINK="OFF" \ -DWITH_JACK_SINK="OFF" \

@ -50,7 +50,7 @@ cmake ${G_NINJA:-} \
-DWITH_ALSA="ON" \ -DWITH_ALSA="ON" \
-DWITH_AUDIOFILE="ON" \ -DWITH_AUDIOFILE="ON" \
-DWITH_ESOUND="OFF" \ -DWITH_ESOUND="OFF" \
-DWITH_GCC_VISIBILITY="OFF" \ -DWITH_GCC_VISIBILITY=${GCC_VIS:-} \
-DWITH_JACK="OFF" \ -DWITH_JACK="OFF" \
-DWITH_MAD="ON" \ -DWITH_MAD="ON" \
-DWITH_SNDIO="OFF" \ -DWITH_SNDIO="OFF" \

@ -47,7 +47,7 @@ cmake ${G_NINJA:-} \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=$INSTALL_TDE \ -DCMAKE_INSTALL_PREFIX=$INSTALL_TDE \
-DLIB_SUFFIX=$LIBDIRSUFFIX \ -DLIB_SUFFIX=$LIBDIRSUFFIX \
-DWITH_GCC_VISIBILITY="OFF" \ -DWITH_GCC_VISIBILITY=${GCC_VIS:-} \
-Wno-dev \ -Wno-dev \
.. ..

@ -47,7 +47,7 @@ cmake ${G_NINJA:-} \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=$INSTALL_TDE \ -DCMAKE_INSTALL_PREFIX=$INSTALL_TDE \
-DLIB_SUFFIX=$LIBDIRSUFFIX \ -DLIB_SUFFIX=$LIBDIRSUFFIX \
-DWITH_GCC_VISIBILITY="OFF" \ -DWITH_GCC_VISIBILITY=${GCC_VIS:-} \
-Wno-dev \ -Wno-dev \
.. ..

@ -48,7 +48,7 @@ cmake ${G_NINJA:-} \
-DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=$LIBDIRSUFFIX \ -DLIB_SUFFIX=$LIBDIRSUFFIX \
-DMAN_INSTALL_DIR=/usr/man \ -DMAN_INSTALL_DIR=/usr/man \
-DWITH_GCC_VISIBILITY="OFF" \ -DWITH_GCC_VISIBILITY=${GCC_VIS:-} \
-DBUILD_DOC="ON" \ -DBUILD_DOC="ON" \
-Wno-dev \ -Wno-dev \
.. ..

@ -33,6 +33,7 @@ getsource_fn
untar_fn untar_fn
## add misc docs
listdocs_fn listdocs_fn
chown_fn chown_fn
@ -50,7 +51,7 @@ cmake ${G_NINJA:-} \
-DBUILD_DOC="ON" \ -DBUILD_DOC="ON" \
-DBUILD_CALDAV_TEST="OFF" \ -DBUILD_CALDAV_TEST="OFF" \
-DBUILD_UNITTEST="OFF" \ -DBUILD_UNITTEST="OFF" \
-DWITH_GCC_VISIBILITY="OFF" \ -DWITH_GCC_VISIBILITY=${GCC_VIS:-} \
-Wno-dev \ -Wno-dev \
.. ..

@ -48,7 +48,7 @@ cmake ${G_NINJA:-} \
-DCMAKE_INSTALL_PREFIX=$INSTALL_TDE \ -DCMAKE_INSTALL_PREFIX=$INSTALL_TDE \
-DLIB_SUFFIX=$LIBDIRSUFFIX \ -DLIB_SUFFIX=$LIBDIRSUFFIX \
-DBUILD_DOC="OFF" \ -DBUILD_DOC="OFF" \
-DWITH_GCC_VISIBILITY="OFF" \ -DWITH_GCC_VISIBILITY=${GCC_VIS:-} \
-Wno-dev \ -Wno-dev \
.. ..

@ -47,7 +47,7 @@ cmake ${G_NINJA:-} \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=$INSTALL_TDE \ -DCMAKE_INSTALL_PREFIX=$INSTALL_TDE \
-DLIB_SUFFIX=$LIBDIRSUFFIX \ -DLIB_SUFFIX=$LIBDIRSUFFIX \
-DWITH_GCC_VISIBILITY="OFF" \ -DWITH_GCC_VISIBILITY=${GCC_VIS:-} \
-Wno-dev \ -Wno-dev \
.. ..

@ -0,0 +1,85 @@
#!/bin/sh
# Generated by Alien's SlackBuild Toolkit: http://slackware.com/~alien/AST
# Copyright 2009, 2010, 2011, 2012, 2013, 2014, 2015 Eric Hameleers, Eindhoven, Netherlands
# Copyright 2015-2017 Thorn Inurcide
# Copyright 2015-2017 tde-slackbuilds project on GitHub
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for
# any purpose with or without fee is hereby granted, provided that
# the above copyright notice and this permission notice appear in all
# copies.
#
# THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
# IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
PRGNAM=tqca
VERSION=$TDEVERSION
BUILD=${BUILD:-1}
TAG=${TAG:-_tde}
source ../../get-source.sh
getsource_fn
untar_fn
listdocs_fn
chown_fn
cd_builddir_fn
cmake ${G_NINJA:-} \
-DCMAKE_C_FLAGS="$SLKRCFLAGS" \
-DCMAKE_CXX_FLAGS="$SLKRCFLAGS" \
-DCMAKE_C_COMPILER=$COMPILER \
-DCMAKE_CXX_COMPILER=$COMPILER_CXX \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=$INSTALL_TDE \
-DLIB_SUFFIX=$LIBDIRSUFFIX \
-DBUILD_TQCA="ON" \
-DBUILD_TQCA_TLS="ON" \
-DWITH_GCC_VISIBILITY=${GCC_VIS:-} \
-Wno-dev \
..
make_fn
installdocs_fn
strip_fn
mkdir_install_fn
echo "
# HOW TO EDIT THIS FILE:
# The 'handy ruler' below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
$PRGNAM: tqca (The TQt Cryptographic Architecture)
$PRGNAM:
$PRGNAM: This library provides an easy API for the following features:
$PRGNAM: SSL/TLS
$PRGNAM: X509
$PRGNAM: SASL
$PRGNAM: RSA
$PRGNAM: Hashing (SHA1, MD5)
$PRGNAM: Ciphers (BlowFish, 3DES, AES)
$PRGNAM:
$PRGNAM:
" > $PKG/install/slack-desc
makepkg_fn

@ -48,7 +48,7 @@ cmake ${G_NINJA:-} \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=$INSTALL_TDE \ -DCMAKE_INSTALL_PREFIX=$INSTALL_TDE \
-DLIB_SUFFIX=$LIBDIRSUFFIX \ -DLIB_SUFFIX=$LIBDIRSUFFIX \
-DWITH_GCC_VISIBILITY="OFF" \ -DWITH_GCC_VISIBILITY=${GCC_VIS:-} \
-Wno-dev \ -Wno-dev \
.. ..

@ -55,7 +55,7 @@ cmake ${G_NINJA:-} \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=$INSTALL_TDE \ -DCMAKE_INSTALL_PREFIX=$INSTALL_TDE \
-DLIB_SUFFIX=$LIBDIRSUFFIX \ -DLIB_SUFFIX=$LIBDIRSUFFIX \
-DWITH_GCC_VISIBILITY="OFF" \ -DWITH_GCC_VISIBILITY=${GCC_VIS:-} \
-DBUILD_TRANSLATIONS=${TRANS:-"OFF"} \ -DBUILD_TRANSLATIONS=${TRANS:-"OFF"} \
-Wno-dev \ -Wno-dev \
.. ..

@ -111,8 +111,7 @@ if [ "$P1" == "--download" ]; then
echo "Download complete." echo "Download complete."
exit 0 exit 0
fi fi
} || \ } || {
{
## otherwise, not R14.0.10 or misc, and we are creating/updating git, ## otherwise, not R14.0.10 or misc, and we are creating/updating git,
## so [1] start with admin/cmake: ## so [1] start with admin/cmake:
[[ $(cat $TMPVARS/DL_CGIT) == yes ]] && { [[ $(cat $TMPVARS/DL_CGIT) == yes ]] && {
@ -135,8 +134,8 @@ git pull
git fetch origin r14.0.x:r14.0.x) git fetch origin r14.0.x:r14.0.x)
## if admin and cmake don't exist, clone them ## if admin and cmake don't exist, clone them
[[ ! -d admin ]] && git clone https://mirror.git.trinitydesktop.org/cgit/admin admin [[ ! -d admin ]] && git clone https://mirror.git.trinitydesktop.org/gitea/TDE/admin admin
[[ ! -d cmake ]] && git clone https://mirror.git.trinitydesktop.org/cgit/cmake cmake [[ ! -d cmake ]] && git clone https://mirror.git.trinitydesktop.org/gitea/TDE/tde-common-cmake cmake
## place a marker so that admin/cmake update or clone only once per run of BUILD-TDE.sh ## place a marker so that admin/cmake update or clone only once per run of BUILD-TDE.sh
touch $TMPVARS/admin-cmake-done touch $TMPVARS/admin-cmake-done
@ -155,7 +154,7 @@ git pull
git fetch origin r14.0.x:r14.0.x) git fetch origin r14.0.x:r14.0.x)
## if the local repository for PRGNAM doesn't exist, clone it .. ## if the local repository for PRGNAM doesn't exist, clone it ..
[[ ! -d $PRGNAM ]] && \ [[ ! -d $PRGNAM ]] && \
git clone https://mirror.git.trinitydesktop.org/cgit/$PRGNAM git clone https://mirror.git.trinitydesktop.org/gitea/TDE/$PRGNAM
## if arts/tdelibs, need libltdl ## if arts/tdelibs, need libltdl
[[ " arts tdelibs " == *$PRGNAM* ]] && { [[ " arts tdelibs " == *$PRGNAM* ]] && {
@ -167,7 +166,7 @@ git pull
git fetch origin r14.0.x:r14.0.x) git fetch origin r14.0.x:r14.0.x)
[[ ! -d libltdl ]] && \ [[ ! -d libltdl ]] && \
git clone https://mirror.git.trinitydesktop.org/cgit/libltdl git clone https://mirror.git.trinitydesktop.org/gitea/TDE/libltdl
} }
## if tdenetwork, need libtdevnc, but not yet for 14.0.x==14.0.11[?] which uses krfb/libvncserver ## if tdenetwork, need libtdevnc, but not yet for 14.0.x==14.0.11[?] which uses krfb/libvncserver
@ -181,29 +180,32 @@ git pull
) )
[[ ! -d libtdevnc ]] && \ [[ ! -d libtdevnc ]] && \
git clone https://mirror.git.trinitydesktop.org/cgit/libtdevnc git clone https://mirror.git.trinitydesktop.org/gitea/TDE/libtdevnc
} }
true # prevent the following i18n download (attempts) if this routine fails true # prevent the following i18n download (attempts) if this routine fails
} || \ } || {
{
## still creating/updating git ## still creating/updating git
## so [3] for tde-i18n-$lang: ## so [3] for tde-i18n-$lang:
## Use wget to download the required i18n repos to avoid the ~1x10^6 byte download for the full tde-i18n ## Use wget to download the required i18n repos to avoid the ~1x10^6 byte download for the full tde-i18n
## - same for both creating and updating ## - same for both creating and updating
cd tdei18n
# ### will download the template, translations, and tde-i18n-$lang modules to:
# ### $BUILD_TDE_ROOT/src/cgit/tdei18n/cgit/tde-i18n/plain/...
wget -m --no-parent --no-host-directories https://mirror.git.trinitydesktop.org/cgit/tde-i18n/plain/translations/desktop_files/entry.desktop/entry.desktop.pot
rm -rf cgit/tde-i18n/plain/template
wget -m --no-parent --no-host-directories https://mirror.git.trinitydesktop.org/cgit/tde-i18n/plain/template/
for lang in $I18N for lang in $I18N
do do
cd tdei18n
## remove the previous repo to avoid build failures caused by any unused old files ## remove the previous repo to avoid build failures caused by any unused old files
rm -rf cgit/tde-i18n/plain/tde-i18n-$lang rm -rf cgit/tde-i18n/plain/tde-i18n-$lang
wget -m --no-parent --no-host-directories https://mirror.git.trinitydesktop.org/cgit/tde-i18n/plain/tde-i18n-$lang/ wget -m --no-parent --no-host-directories https://mirror.git.trinitydesktop.org/cgit/tde-i18n/plain/tde-i18n-$lang/
##will download the tde-i18n-$lang files to: wget -m --no-parent --no-host-directories https://mirror.git.trinitydesktop.org/cgit/tde-i18n/plain/translations/desktop_files/entry.desktop/$lang.po || true # in case it doesn't exist
##$BUILD_TDE_ROOT/src/cgit/tdei18n/cgit/tde-i18n/plain/tde-i18n-$lang/*
## remove admin and cmake links which are downloaded as files
rm cgit/tde-i18n/plain/tde-i18n-$lang/{admin,cmake}
cd ..
done done
cd ..
} }
} }
} }
@ -371,10 +373,10 @@ find $PKG$INSTALL_TDE/doc -type f -exec chmod 644 {} \;
mangzip_fn () mangzip_fn ()
{ {
[[ -d $PKG$INSTALL_TDE/man ]] && { [[ ! -d $PKG$INSTALL_TDE/man ]] && true || { # true == don't let the SB fail if there are no man pages ..
find $PKG$INSTALL_TDE/man -type f -name "*.?" -exec gzip -9f {} \; find $PKG$INSTALL_TDE/man -type f -name "*.?" -exec gzip -9f {} \;
for i in $(find $PKG$INSTALL_TDE/man -type l -name "*.?") ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done for i in $(find $PKG$INSTALL_TDE/man -type l -name "*.?") ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
} } # .. but let the SB fail if there is a problem with the gzipping
} }
strip_fn () strip_fn ()

Loading…
Cancel
Save