diff --git a/tools/update-scripts b/tools/update-scripts index 4895d92..a16fdad 100755 --- a/tools/update-scripts +++ b/tools/update-scripts @@ -1,48 +1,48 @@ #!/bin/bash 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 https://invent.kde.org/websites/quality-kde-org.git ( 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 https://invent.kde.org/unmaintained/kdelibs.git # 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) +( cd $HOME/kdelibs; git checkout KDE/4.14; git checkout .; patch -p1 -i $TOP_QSRC/apidox/data/kdelibs-fixapidoxurls.patch) # kdesdk - git checkout script + man/qch generation update_git sdk-scripts https://invent.kde.org/sdk/kde-dev-scripts.git cp -f $HOME/sdk-scripts/kde-checkout-list.pl $HOME/bin/ chmod 755 $HOME/bin/kde-checkout-list.pl # kapidox - for frameworks dox generation update_git kapidox https://invent.kde.org/frameworks/kapidox.git # ecm-doc update_git extra-cmake-modules https://invent.kde.org/frameworks/extra-cmake-modules.git 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 )