Updates 09 November 2025 for 14.1.5 release

tqt3 references changed to tqt
 added 'ia' & 'zh_Hans' to supported locales lists
 krusader translation directories changed
 tdegraphics patched for poppler-25.10+
 libkdcraw build error warning for gcc-15
 misc builds revision updates - clamav [built within klamav], GraphicsMagick, graphviz
master
Ray-V 2 months ago
parent ef53fc8709
commit 30fe4934ae

@ -33,18 +33,6 @@ getsource_fn
untar_fn
## fix showfoto crash - re: digikam issue #50/pull #51
[[ $TDEVERSION == 14.1.4 ]] && {
patch -p0 << EOF
--- src/showfoto/CMakeLists.txt
+++ src/showfoto/CMakeLists.txt
@@ -28,2 +28,1 @@
- imagepropertiesshowfoto-static jpegutils-static showfoto-static showfotosetupinternal-static
- slideshow-static themeengine-static threadimageio-static thumbbar-static
+ showfotosetupinternal-static digikam-shared
EOF
}
## for slack-desc
langs="";for Lang in $I18N;do [[ -s translations/messages/$Lang.po ]] && langs="$langs $Lang";done
ldocs="";for Lang in $I18N;do [[ -d doc/$Lang ]] && ldocs="$ldocs $Lang";done

@ -1,4 +1,6 @@
klamav needs clamav as a build time requirement.
If it's not installed or the source isn't available, running the SlackBuild will show the download URL and exit.
The stated minimum version of rust for clamav-1.5.0 is 1.81 - but this doesn't work, a later version is required. The build was successful with rust-1.85.

@ -33,7 +33,7 @@ source ../../get-source.sh
## klamav needs clamav as a build time requirement
[[ $(cat $TMPVARS/PRE_DOWNLOAD) != yes ]] && {
# ### clamav - start
clamav_VERS=1.4.2
clamav_VERS=1.5.0
clamav_installed_fn () { pkg-config --atleast-version=$clamav_VERS libclamav ;}
## If it's already installed, go to end
clamav_installed_fn || {
@ -89,6 +89,7 @@ cmake ${G_NINJA:-} \
-DENABLE_SYSTEMD="OFF" \
-DENABLE_JSON_SHARED="ON" \
-DCMAKE_INSTALL_MANDIR=/usr/local/man \
-DCVD_CERTS_DIRECTORY=etc/certs \
-Wno-dev \
..

@ -33,48 +33,15 @@ getsource_fn
untar_fn
## patches for building with clang
patch -p0 -N << EOF || true
--- krusader/Konfigurator/kgstartup.cpp
+++ krusader/Konfigurator/kgstartup.cpp
@@ -58,3 +58,4 @@
- KONFIGURATOR_NAME_VALUE_PAIR comboItems[ profileList.count() ];
- for(unsigned int i=0; i != profileList.count(); i++ )
- comboItems[ i ].text = comboItems[ i ].value = profileList [ i ];
+ const int profileListCount = profileList.count();
+ KONFIGURATOR_NAME_VALUE_PAIR *comboItems = new KONFIGURATOR_NAME_VALUE_PAIR[ profileListCount ];
+ for( unsigned int i=0; i != profileListCount; i++ )
+ comboItems[ i ].text = comboItems[ i ].value = profileList[ i ];
@@ -63,2 +64,2 @@
- profileCombo = createComboBox( "Startup", "Starter Profile Name", comboItems[ 0 ].value, comboItems, profileList.count(), panelsGrp, false, false );
- profileCombo->setSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed);
+ profileCombo = createComboBox( "Startup", "Starter Profile Name", comboItems[ 0 ].value, comboItems, profileListCount, panelsGrp, false, false );
+ profileCombo->setSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed );
@@ -65,0 +67,2 @@
+
+ delete [] comboItems;
--- krusader/Panel/krview.h
+++ krusader/Panel/krview.h
@@ -211 +211 @@
-
+ static TQPixmap getIcon(vfile *vf);
@@ -229 +228,0 @@
- static TQPixmap getIcon(vfile *vf);
' | while read line
EOF
# 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="";for Lang in $I18N;do [[ -e translations/messages/krusader/$Lang.po ]] && langs="$langs $Lang.po";done
sed -i "s|POFILES =.*$|POFILES =$langs|" translations/messages/krusader/Makefile.am
langs=$(echo $langs | sed 's|.po||g')
#
ldocs="en tdeioslave/{krarc,virt}"
ldocs="en en/tdeioslave/{krarc,virt}"
[[ $I18N != *ru* ]] && sed -i 's| ru||' doc/Makefile.am || ldocs="$ldocs ru"
## fix check for visibility support - tde-common-admin pull #20
sed -i 's| Q_EXPORT| TQ_EXPORT|' admin/acinclude.m4.in
listdocs_fn
ltoolupdate_fn

@ -101,7 +101,7 @@ Set the version of TDE to be built.
" \
13 75 3 \
"14.1.4" "the R14.1.4 release - source from archives" \
"14.1.5" "the R14.1.5 release - source from archives" \
"14.1.x" "next release preview - source from Trinity git" \
"14.2.0" "R14.2.0 development - source from Trinity git" \
2> $TMPVARS/TDEVERSION
@ -236,7 +236,7 @@ dialog --cr-wrap --nocancel --no-shadow --colors --help-button --help-label "REA
Multiple selections may be made - space separated.
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 es_AR et eu fa fi fr fy ga gl he hi hr hu is it ja ka 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 ia is it ja ka 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_Hans zh_TW\Zn
" \
25 75 \
@ -322,8 +322,8 @@ Look out for messages in the bottom line of the screen, especially relating to d
Non-TDE apps are in the Misc category and don't need the \Zb\Zr\Z4R\Znequired TDE packages." \
17 85 0 \
"Deps/tqt3" "\Zb\Zr\Z4R\Zn The Qt package for TDE" off "\Zb\Z6 \Zn" \
"Deps/tqtinterface" "\Zb\Zr\Z4R\Zn TDE bindings to tqt3." off "\Zb\Z6 \Zn" \
"Deps/tqt" "\Zb\Zr\Z4R\Zn The Qt package for TDE" off "\Zb\Z6 \Zn" \
"Deps/tqtinterface" "\Zb\Zr\Z4R\Zn TDE bindings to tqt." off "\Zb\Z6 \Zn" \
"Deps/arts" "\Zb\Zr\Z4R\Zn Sound server for TDE" 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" \
@ -459,13 +459,13 @@ s|=y|=\\\Zb\\\Z2y\\\Zn|;s|=p|=\\\Zb\\\Z2p\\\Zn|")" \
}
## only run this if tqt3 has been selected
## only run this if tqt has been selected
rm -f $TMPVARS/TQT_OPTS
rm -f $TMPVARS/PKG_CONFIG_PATH_MOD
[[ $(grep -o tqt3 $TMPVARS/TDEbuilds) ]] && {
[[ $(grep -o Deps/tqt[^i] $TMPVARS/TDEbuilds) ]] && {
dialog --cr-wrap --nocancel --no-shadow --colors --title " TQt options " --item-help --checklist \
"
A minimal packaging of tqt3 will install only the run-time library
A minimal packaging of tqt will install only the run-time library
required for TDE, and the headers and binaries required to build
most\Zb\Z2*\Zn of TDE.
@ -502,7 +502,7 @@ dialog --aspect 3 --cr-wrap --yes-label "Set" --no-label "Leave" --defaultno --n
"
$PKGCF_MESSAGE
This will be done with doinst.sh -> pkgconfig.sh and it will therefore apply whenever this build of tqt3 is installed.
This will be done with doinst.sh -> pkgconfig.sh and it will therefore apply whenever this build of tqt is installed.
Either way, the TDE and TQT pkgconfig paths will be added if not already included.
@ -753,8 +753,8 @@ Create and/or update the git repositories local copies.
#rm -f $TMPVARS/PRE_DOWNLOAD ## this is done at the head of this script
[[ $(cat $TMPVARS/TDEVERSION) == 14.1.4 ]] && PRE_DOWNLOAD_MESSAGE="Only the source archives not already in 'src' will be downloaded." || 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'."
## testing for cgit!=no will allow =yes, or null, which is the 14.1.4 build case
[[ $(cat $TMPVARS/TDEVERSION) == 14.1.5 ]] && PRE_DOWNLOAD_MESSAGE="Only the source archives not already in 'src' will be downloaded." || 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'."
## testing for cgit!=no will allow =yes, or null, which is the 14.1.5 build case
[[ $(cat $TMPVARS/DL_CGIT) != no ]] && {
dialog --cr-wrap --no-shadow --colors --defaultno --title " Only download sources " --yesno \
"
@ -898,8 +898,8 @@ koffice:
revert chalk to krita \Zb\Z6$RVT\Zn
build with GraphicsMagick \Zb\Z6$USE_GM\Zn"
#
## tqt3 options, if tqt3 is being built
[[ $(grep -o tqt3 $TMPVARS/TDEbuilds) ]] && {
## tqt options, if tqt is being built
[[ $(grep -o Deps/tqt[^i] $TMPVARS/TDEbuilds) ]] && {
TQT_BLD=yes && [[ $TQT_OPTS != *minimal* ]] && TQT_BLD=no
TQT_DOCS=no && [[ $TQT_OPTS != *nodocs* ]] && TQT_DOCS=yes
}

Binary file not shown.

@ -38,7 +38,7 @@ getsource_fn
## extract, build, and remove source for each language package one at a time
cd $TMP_BUILD/tmp-$PRGNAM
[[ $TDEVERSION == 14.1.4 ]] && {
[[ $TDEVERSION == 14.1.5 ]] && {
# extract the template source once only
echo -e "\033[39;1m
Extracting the template source from $(basename $SOURCE) ...
@ -71,7 +71,7 @@ cp -a --parents cmake/* $TMP_BUILD/tmp-$PRGNAM/$PRGNAM/)
for lang in $I18N
do
[[ $TDEVERSION == 14.1.4 ]] && {
[[ $TDEVERSION == 14.1.5 ]] && {
# extract the source for one language at a time for each iteration of the loop
echo -e "\033[39;1m
Extracting the $PRGNAM-$lang source from $(basename $SOURCE) ...

@ -116,6 +116,82 @@ sed -i 's|KDE_EXPORT|TDE_EXPORT|' kmrml/kmrml/server/*.cpp
sed -i 's|AUTHOR_WARNING|WARNING|' kmrml/CMakeLists.txt
}
## patch for poppler-25.10+ - https://mirror.git.trinitydesktop.org/gitea/TDE/tdegraphics/pulls/136
pkg-config --atleast-version=25.10 poppler && {
patch -p0 << EOF
--- tdefile-plugins/dependencies/poppler-tqt/poppler-document.cpp
+++ tdefile-plugins/dependencies/poppler-tqt/poppler-document.cpp
@@ -91,1 +91,4 @@
-# if (POPPLER_VERSION_C >= 22003000)
+# if (POPPLER_VERSION_C >= 25010000)
+ DocumentData *doc2 = new DocumentData(data->doc.getFileName()->copy(),
+ GooString(password.data()));
+# elif (POPPLER_VERSION_C >= 22003000)
@@ -228,1 +231,8 @@
- while ( i < obj.getString()->getLength() )
+ while
+ (
+# if (POPPLER_VERSION_C >= 25010000)
+ i < obj.getString()->size()
+# else
+ i < obj.getString()->getLength()
+# endif
+ )
--- tdefile-plugins/dependencies/poppler-tqt/poppler-private.cpp
+++ tdefile-plugins/dependencies/poppler-tqt/poppler-private.cpp
@@ -60,1 +60,8 @@
- while ( i < s1->getLength() )
+ while
+ (
+# if (POPPLER_VERSION_C >= 25010000)
+ i < s1->size()
+# else
+ i < s1->getLength()
+# endif
+ )
@@ -132,17 +139,25 @@
- TQChar *charArray = new TQChar[s->getLength()];
- for (int i = 0; i < s->getLength(); ++i) charArray[i] = TQChar(s->GOO_GET_CSTR()[i]);
- TQString aux(charArray, s->getLength());
- item.setAttribute( "DestinationName", aux );
- delete[] charArray;
- }
- else if ( destination && destination->isOk() )
- {
- LinkDestinationData ldd(destination, NULL, this);
- item.setAttribute( "Destination", LinkDestination(ldd).toString() );
- }
- if ( a->getKind() == actionGoToR )
+# if (POPPLER_VERSION_C >= 25010000)
+ int sLen = s->size();
+# else
+ int sLen = s->getLength();
+# endif
+ TQChar *charArray = new TQChar[sLen];
+ for (int i = 0; i < sLen; ++i)
{
- CONST_064 LinkGoToR * g2 = static_cast< CONST_064 LinkGoToR * >( a );
- item.setAttribute( "ExternalFileName", g2->getFileName()->GOO_GET_CSTR() );
+ charArray[i] = TQChar(s->GOO_GET_CSTR()[i]);
}
+ TQString aux(charArray, sLen);
+ item.setAttribute( "DestinationName", aux );
+ delete[] charArray;
+ }
+ else if ( destination && destination->isOk() )
+ {
+ LinkDestinationData ldd(destination, NULL, this);
+ item.setAttribute( "Destination", LinkDestination(ldd).toString() );
+ }
+ if ( a->getKind() == actionGoToR )
+ {
+ CONST_064 LinkGoToR * g2 = static_cast< CONST_064 LinkGoToR * >( a );
+ item.setAttribute( "ExternalFileName", g2->getFileName()->GOO_GET_CSTR() );
}
+ }
EOF
}
listdocs_fn
chown_fn

@ -1,4 +1,4 @@
There is an option to build the regex tester included in the tqt3/examples/regexptester directory.
There is an option to build the regex tester included in the tqt.../examples/regexptester directory.
The patch is to expand the 'Match' row vertically to enable multiline matches to be viewed.
@ -25,5 +25,5 @@ For an introduction to regex, from a konsole:
'khelpcenter help:/kate/regular-expressions.html'
Guidance on what the tqt regex engine supports is given in ntqregexp.html which will be installed to:
'<TDE-installation-directory>/doc/tqt3-<tde-version>/ntqregexp.html'
'<TDE-installation-directory>/doc/tqt-<tde-version>/ntqregexp.html'

@ -26,7 +26,7 @@
# Much help from the 12.2 SlackBuild script of qt3. And from SBo qt3 script
# Man pages are not installed by 'make install' and have not been manually installed
PRGNAM=tqt3
PRGNAM=tqt
VERSION=$TDEVERSION
BUILD=${BUILD:-1}
TAG=${TAG:-_tde}
@ -183,7 +183,7 @@ rm bin/tqm2ts
installdocs_fn
## Ref issue #37
## Set up tqt3.sh to add TDE PATHs only if xinitrc -> xinitrc.tde
## Set up tqt.sh to add TDE PATHs only if xinitrc -> xinitrc.tde
mkdir -p $PKG/etc/profile.d
#
echo '#!'"/bin/sh
@ -193,18 +193,18 @@ echo '#!'"/bin/sh
# Environment path variable for the tQt package.
export TQTDIR=$TQTDIR
" > $PKG/etc/profile.d/tqt3.sh
" > $PKG/etc/profile.d/tqt.sh
echo "echo '# Add TDE library directory:
$INSTALL_TDE/lib$LIBDIRSUFFIX
' > /etc/ld.so.conf.d/tqt3.conf
" >> $PKG/etc/profile.d/tqt3.sh
' > /etc/ld.so.conf.d/tqt.conf
" >> $PKG/etc/profile.d/tqt.sh
[[ $TQTDIR != $INSTALL_TDE ]] && {
echo "echo '# Add TQT library directory:
$TQTDIR/lib$LIBDIRSUFFIX
' >> /etc/ld.so.conf.d/tqt3.conf
" >> $PKG/etc/profile.d/tqt3.sh
' >> /etc/ld.so.conf.d/tqt.conf
" >> $PKG/etc/profile.d/tqt.sh
}
[[ $(cat $TMPVARS/PKG_CONFIG_PATH_MOD) != set ]] && PC_HASH="#"
@ -214,11 +214,11 @@ echo "
## add path for INSTALL_TDE ..
[[ \$PKG_CONFIG_PATH != *$INSTALL_TDE/lib$LIBDIRSUFFIX/pkgconfig* ]] && \\
PKG_CONFIG_PATH=\$PKG_CONFIG_PATH:$INSTALL_TDE/lib$LIBDIRSUFFIX/pkgconfig
## .. and for TQTDIR if different" >> $PKG/etc/profile.d/tqt3.sh
## .. and for TQTDIR if different" >> $PKG/etc/profile.d/tqt.sh
[[ $TQTDIR != $INSTALL_TDE ]] && \
echo "[[ \$PKG_CONFIG_PATH != *$TQTDIR/lib$LIBDIRSUFFIX/pkgconfig* ]] && \\
PKG_CONFIG_PATH=\$PKG_CONFIG_PATH:$TQTDIR/lib$LIBDIRSUFFIX/pkgconfig" >> $PKG/etc/profile.d/tqt3.sh
PKG_CONFIG_PATH=\$PKG_CONFIG_PATH:$TQTDIR/lib$LIBDIRSUFFIX/pkgconfig" >> $PKG/etc/profile.d/tqt.sh
echo "#
## remove duplicated paths:
@ -226,22 +226,22 @@ ${PC_HASH:-}PKG_CONFIG_PATH=\$(echo \$PKG_CONFIG_PATH| tr : \\\\n | awk '!seen[\
#
export PKG_CONFIG_PATH
} || {
[[ -e /etc/ld.so.conf.d/tqt3.conf ]] && {
[[ -e /etc/ld.so.conf.d/tqt.conf ]] && {
echo '# TDE library directory to be added:
' > /etc/ld.so.conf.d/tqt3.conf
' > /etc/ld.so.conf.d/tqt.conf
}
}" >> $PKG/etc/profile.d/tqt3.sh
}" >> $PKG/etc/profile.d/tqt.sh
## set up a placeholder file to enable removal with removepkg -
## contents will be added from tqt3.sh
## contents will be added from tqt.sh
mkdir -p $PKG/etc/ld.so.conf.d
echo '# Placeholder - TDE library directory to be added:
' > $PKG/etc/ld.so.conf.d/tqt3.conf
' > $PKG/etc/ld.so.conf.d/tqt.conf
echo '#!'"/bin/csh
# Environment path variable for the tQt package:
setenv TQTDIR $TQTDIR
" > $PKG/etc/profile.d/tqt3.csh
" > $PKG/etc/profile.d/tqt.csh
strip_fn
@ -277,7 +277,7 @@ echo "
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
$PRGNAM: tqt3 (C++ GUI application framework)
$PRGNAM: tqt (C++ GUI application framework)
$PRGNAM:
$PRGNAM: tQt is a multiplatform C++ GUI application framework
$PRGNAM:
@ -350,7 +350,7 @@ patch -p0 << EOF
+ executePushButton->setText(tr("&Run"));
EOF
## This could be a first build of tqt3, so build with the packaging directory binaries
## This could be a first build of tqt, so build with the packaging directory binaries
$PKG$INSTALL_TDE/bin/tqmake -project -o regextester.pro
$PKG$INSTALL_TDE/bin/tqmake TARGET=regextester -spec $PKG$INSTALL_TDE/lib$LIBDIRSUFFIX/tqt/mkspecs/linux-g++

@ -0,0 +1,4 @@
For R14.1.5, building libkdcraw may fail when using gcc-15 - in which case, try using an earlier version of gcc, or clang.
See https://mirror.git.trinitydesktop.org/gitea/TDE/libkdcraw/pulls/25 for details

@ -135,6 +135,13 @@ tde_add_executable( dcraw_half AUTOMOC
sed -i 's|project( libkdcraw|& VERSION 0.1.9|' CMakeLists.txt
sed -i 's|Version:.*$|Version: @PROJECT_VERSION@|' libkdcraw/libkdcraw.pc.cmake
## patch for build error with gcc-15 - https://mirror.git.trinitydesktop.org/gitea/TDE/libkdcraw/pulls/25
<<'tba'
patch -p0 -N << EOF
EOF
tba
chown_fn
cd_builddir_fn

@ -24,12 +24,12 @@
# SUCH DAMAGE.
PRGNAM=GraphicsMagick
VERSION=1.3.36
VERSION=1.3.46
BUILD=${BUILD:-1}
TAG=${TAG:-}
ARCHIVE_TYPE="tar.xz"
SRCURL="https://ftp.icm.edu.pl/pub/unix/graphics/$PRGNAM/1.3/$PRGNAM-$VERSION.$ARCHIVE_TYPE"
SRCURL="https://downloads.sourceforge.net/project/graphicsmagick/graphicsmagick/$VERSION/GraphicsMagick-$VERSION.$ARCHIVE_TYPE"
source ../../get-source.sh
getsource_fn

@ -26,7 +26,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=graphviz
VERSION=12.2.1
VERSION=14.0.1
BUILD=${BUILD:-1}
TAG=${TAG:-}

@ -7,7 +7,7 @@
See [*Cross compiling for RPi3*](#xcompiling) for building for arm_hf and aarch64.
For a native build, run **./BUILD-TDE.sh** - a dialog based script with a series of screens for user input,
which will build the release version 14.1.4, or the development versions 14.1.x/14.2.0.
which will build the release version 14.1.5, or the development versions 14.1.x/14.2.0.
[<img src="https://ray-v.github.io/TDE-version.png">](https://ray-v.github.io/TDE-version.png "TDE version")
... select TDE version
@ -19,7 +19,7 @@ Information about dependencies for some packages has been added at the bottom of
Only building the packages is a global option. It therefore can't be used where the build list includes packages which will need to be installed as dependencies for other packages in the build list [for example tdesdk needs tdepim to be installed].
14.1.4 source archives will be downloaded from a geoIP located mirror site, or the development sources 14.1.x/14.2.0 cloned or updated from trinitydesktop gitea.
14.1.5 source archives will be downloaded from a geoIP located mirror site, or the development sources 14.1.x/14.2.0 cloned or updated from trinitydesktop gitea.
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).
@ -33,7 +33,7 @@ URLs for this and other locations are @ https://www.trinitydesktop.org/mirrorsta
* BUILD= - sets the package build identifier, overriding the SlackBuild default of 1
* GCC_VIS=0 - override setting gcc visibility if it has been set ON in tdelibs
* FEAT= - test a pre-merge feature for development builds - see notes in get-source.sh
* build_regextester=[yp] - build the regex tester from the tqt3 example - see the tqt3 README
* build_regextester=[yp] - build the regex tester from the tqt example - see the tqt README
* mailmerge=n - build kword without mailmerge - see the koffice README and SlackBuild
* KP_BTN=n - build ksnapshot without the dedicated KolourPaint button - see the tdegraphics README and SlackBuild
* W_SUDO=ON - set backends for using sudo as the super user command [default is su]
@ -67,7 +67,7 @@ See the READMEs in Core/tdeedu, Apps/k3b, Apps/klamav, and Misc/inkscape for det
***Required packages*** for a basic working TDE are:
```
Deps/tqt3
Deps/tqt
Deps/tqtinterface
Deps/arts
Deps/dbus-tqt
@ -77,7 +77,7 @@ Deps/libart-lgpl
Core/tdelibs
Core/tdebase
```
The cmake-trinity package is downloaded with the first archive, usually tqt3.
The cmake-trinity package is downloaded with the first archive, usually tqt.
---
@ -102,7 +102,8 @@ Once any git repository has been cloned, further downloads are updates only [*[2
The git repositories are cloned to 'src/cgit'
---
<a id="xcompiling"></a>***Cross compiling for RPi3***
<a id="xcompiling"></a>
***Cross compiling for RPi3***
Cross compiling a number of packages for the Raspberry Pi3 based on these scripts is detailed in the html page in the gh-pages branch:
```
@ -128,7 +129,8 @@ Includes:
[1] TDM may need some manual setting up - see Core/tdebase/README, which can also be viewed while running ./BUILD-TDE.sh if tdebase is selected.
<a id="git_updates"></a>[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.
<a id="git_updates"></a>
[2] The i18n downloads with wget for development builds 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.

@ -71,14 +71,14 @@ SRCDIR=$BUILD_TDE_ROOT/src
SB_SRCDIR=$(cd $(dirname $0); pwd)
## for 14.0.11 onwards, check for cmake archive ..
[[ $TDEVERSION == 14.1.4 && ! -s $SRCDIR/cmake-$TDEVERSION.tar.xz ]] && (
[[ $TDEVERSION == 14.1.5 && ! -s $SRCDIR/cmake-$TDEVERSION.tar.xz ]] && (
echo -e "\nDownloading to $SRCDIR"
wget -T 20 -O $SRCDIR/cmake-$TDEVERSION.tar.xz $TDE_MIRROR/releases/R$TDEVERSION/main/dependencies/tde-cmake-trinity-$TDEVERSION.tar.xz
echo -e "----\n"
)
## if 14.1.4 or misc, download archive:
[[ $TDEVERSION == 14.1.4 || $TDEMIR_SUBDIR == misc ]] && {
## if 14.1.5 or misc, download archive:
[[ $TDEVERSION == 14.1.5 || $TDEMIR_SUBDIR == misc ]] && {
## check for and remove any zero byte archive files
[[ ! -s $SRCDIR/$PRGNAM-$VERSION.${ARCHIVE_TYPE:-"tar.xz"} ]] && \
rm $SRCDIR/$PRGNAM-$VERSION.${ARCHIVE_TYPE:-"tar.xz"} 2>/dev/null || true
@ -114,7 +114,7 @@ if [ "$P1" == "--download" ]; then
exit 0
fi
} || {
## otherwise, not R14.1.4 nor misc, and we are creating/updating git,
## otherwise, not R14.1.5 nor misc, and we are creating/updating git,
## so [1] start with admin/cmake:
[[ $(cat $TMPVARS/DL_CGIT) == yes ]] && {
cd $BUILD_TDE_ROOT/src/cgit
@ -220,7 +220,7 @@ cd ..
## Installation RPATH:
## Set this to ensure TDE libs have priority when installed
## For tqt3, the configure -R option is used
## For tqt, the configure -R option is used
## Add -Wl,-rpath for gcc/g++ -
## - use --disable-rpath in autotools builds to avoid paths set by configure
## - double quote $SLK[R]CFLAGS with cmake in the SBs for it to recognize the whole string
@ -252,7 +252,7 @@ cd $TMP_BUILD/tmp-$PRGNAM
##
## [1] firstly test for R14 or misc ..
##
[[ $TDEVERSION == 14.1.4 || $TDEMIR_SUBDIR == misc ]] && {
[[ $TDEVERSION == 14.1.5 || $TDEMIR_SUBDIR == misc ]] && {
## unpack R14 or misc
echo -e "\n unpacking $(basename $SOURCE) ... \n"
tar -xf $SOURCE
@ -266,7 +266,7 @@ tar xf $SRCDIR/cmake-$TDEVERSION.tar.xz --strip-components=1 --one-top-level=cma
} || {
## [2] not 14.1.4 nor misc, so must be git ..
## [2] not 14.1.5 nor misc, so must be git ..
[[ $TDEVERSION == 14.2.0 ]] && DEV_BRANCH=master || DEV_BRANCH=r14.1.x
## copy git content to build area:
@ -363,9 +363,9 @@ chmod -R u+w,go+r-w,a+rX-st .
ltoolupdate_fn ()
{
## edit hard coded tqt directory for tqt3/tqtinterface installed to TQTDIR [!= /usr]
## edit hard coded tqt directory for tqt/tqtinterface installed to TQTDIR [!= /usr]
sed -i "s|/usr/include/tqt\"|$TQTDIR/include/tqt\"|" admin/acinclude.m4.in
sed -i "s|/usr/include/tqt3|$TQTDIR/include/tqt|" admin/acinclude.m4.in
sed -i "s|/usr/include/tqt|$TQTDIR/include/tqt|" admin/acinclude.m4.in
## edit hard coded plugins installation directories - could be 'tde'
sed -i "s|trinity|$PLUGIN_INSTALL_DIR|g" admin/acinclude.m4.in

Loading…
Cancel
Save