diff --git a/apidox/data/kdelibs-fixapidoxurls.patch b/apidox/data/kdelibs-fixapidoxurls.patch
new file mode 100644
index 0000000..67941cb
--- /dev/null
+++ b/apidox/data/kdelibs-fixapidoxurls.patch
@@ -0,0 +1,99 @@
+diff --git a/doc/common/footer.html b/doc/common/footer.html
+index 91cdb9711e..37364f6b18 100644
+--- a/doc/common/footer.html
++++ b/doc/common/footer.html
+@@ -2,7 +2,7 @@
+ This file is part of the KDE documentation.
+ Documentation copyright © @copyright@.
+ Generated on $datetime by
+-doxygen $doxygenversion written
++doxygen $doxygenversion written
+ by Dimitri van Heesch, © 1997-2006
+
+ KDE's Doxygen guidelines are available online.
+@@ -53,10 +53,10 @@ KDE's
+
+
+
+
+
+diff --git a/doc/common/header.html b/doc/common/header.html
+index 74a68f7d27..0af74a8801 100644
+--- a/doc/common/header.html
++++ b/doc/common/header.html
+@@ -45,15 +45,15 @@
+
+diff --git a/doc/common/mainfooter.html b/doc/common/mainfooter.html
+index a644603fa8..bf1d086f67 100644
+--- a/doc/common/mainfooter.html
++++ b/doc/common/mainfooter.html
+@@ -2,7 +2,7 @@
+ This file is part of the KDE documentation.
+ Documentation copyright © @copyright@.
+ Generated on $datetime by
+-doxygen $doxygenversion written
++doxygen $doxygenversion written
+ by Dimitri van Heesch, © 1997-2006
+
+ KDE's Doxygen guidelines are available online.
+@@ -49,10 +49,10 @@ KDE's
+
+
+
+
+
+diff --git a/doc/common/mainheader.html b/doc/common/mainheader.html
+index 63fa04fc40..92b047e7bc 100644
+--- a/doc/common/mainheader.html
++++ b/doc/common/mainheader.html
+@@ -43,14 +43,14 @@
+
diff --git a/tools/update-scripts b/tools/update-scripts
index a23419e..b8a2395 100755
--- a/tools/update-scripts
+++ b/tools/update-scripts
@@ -1,46 +1,48 @@
#!/bin/bash
-BRANCH="4.14"
+TOP_QSRC=$HOME/quality-kde-org
update_git()
{
cd $HOME
if [ ! -d $1 ]; then
git clone $2 $1
elif [ -d $1/.git ]; then
cd $1
git pull
else
echo "*** $1 exists and is not a git clone!"
fi
}
# Start
cd $HOME
+# quality-kde-org - also make sanitizer scripts directly available...
+update_git quality-kde-org git://anongit.kde.org/websites/quality-kde-org
+( rm -f sanitizer-scripts; ln -s quality-kde-org/sanitizer sanitizer-scripts )
+
# Krazy - update from git + install - disabled, due to ebn.kde.org to be shut-down
# update_git krazy https://github.com/Krazy-collection/krazy.git
export QMAKE=/usr/lib64/qt5/bin/qmake
# bash $HOME/krazy/install.sh $HOME/krazy-install/
# kdelibs - needed to build apidox properly as it needs full exec permissions which /srv doesn't have...
+# kdelibs repo has now been archived on invent.kde.org, so no new updates are actually expected
update_git kdelibs git://anongit.kde.org/kdelibs
-#we rely on the version in the KDE/$BRANCH branch
-( cd $HOME/kdelibs; git checkout KDE/$BRANCH )
+# we rely on the version in the KDE/4.14, which is the last version
+# with some fixes for urls provided with a patch
+( cd $HOME/kdelibs; git checkout KDE/4.14; patch -p1 -i $TOP_QSRC/apidox/data/kdelibs-fixapidoxurls.patch)
# kdesdk - git checkout script + man/qch generation
update_git sdk-scripts git://anongit.kde.org/kde-dev-scripts.git
cp -f $HOME/sdk-scripts/kde-checkout-list.pl $HOME/bin/
chmod 755 $HOME/bin/kde-checkout-list.pl
-# kde quality - for sanitizer scripts...
-update_git quality-kde-org git://anongit.kde.org/websites/quality-kde-org
-( rm -f sanitizer-scripts; ln -s quality-kde-org/sanitizer sanitizer-scripts )
-
# kapidox - for frameworks dox generation
update_git kapidox git://anongit.kde.org/kapidox
# ecm-doc
update_git extra-cmake-modules git://anongit.kde.org/extra-cmake-modules
mkdir -p /srv/www/api.kde.org/ecm
( cd $HOME/extra-cmake-modules && mkdir -p build && cd build && cmake .. && make && cp -dpr docs/html/* /srv/www/api.kde.org/ecm )