commit: 7303dd1ddb9a791f6a8f7782f9f35e46bc84fb24 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> AuthorDate: Thu Jun 12 01:22:41 2025 +0000 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> CommitDate: Thu Jun 12 01:32:18 2025 +0000 URL: https://gitweb.gentoo.org/proj/qt.git/commit/?id=7303dd1d
Documentation: treeclean Only contains very old scripts (still references Qt4, qt-webkit, etc...), do not believe anyone was still using these. It could be interesting to write some new scripts and keep them somewhere though. Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> Documentation/maintainers/README | 26 --------- Documentation/maintainers/bump-qt-overlay | 68 ----------------------- Documentation/maintainers/bump-qt-tree | 83 ---------------------------- Documentation/maintainers/compare-ebuilds.sh | 44 --------------- Documentation/maintainers/remove-qt-tree | 77 -------------------------- 5 files changed, 298 deletions(-) diff --git a/Documentation/maintainers/README b/Documentation/maintainers/README deleted file mode 100644 index 39cb608b..00000000 --- a/Documentation/maintainers/README +++ /dev/null @@ -1,26 +0,0 @@ -Git Patches: - -Since Qt overlay is a git repo, we prefer patches to be sent in proper git -format. It is easier for us to apply them and you also get all the kudos for -your work on the commit message. The following process aims to simplify the -process of creating git patches: - -1) Create a separate branch for your patches - git checkout -b for-qt - -2) Write stuff and then commit them - -3) Rebase your "for-qt" branch to master branch - a) Switch to master branch - git checkout master - b) Update your master branch - git pull - c) Switch back to "for-qt" branch - git checkout for-qt - d) Rebase your branch onto master - git rebase master - -4) Create your patch - git format-patch master..for-qt - -5) Send your patches to [email protected] or attach them to your bug diff --git a/Documentation/maintainers/bump-qt-overlay b/Documentation/maintainers/bump-qt-overlay deleted file mode 100755 index 41f420b5..00000000 --- a/Documentation/maintainers/bump-qt-overlay +++ /dev/null @@ -1,68 +0,0 @@ -#!/bin/bash - -. /etc/init.d/functions.sh -base="${1}" -version="${2}" -portdir="$(portageq envvar PORTDIR)/dev-qt/" -overlay="$(portageq get_repo_path / qt)" -RED=$'\033[31;01m' -GREEN=$'\e[32;01m' -moto(){ - echo """ - ############################################## - # Tool for bumping qt packages using portage # - # packages as base. Version 0.0.1 # - # Usefull for bumping qt releases e.g. 4.5.1 # - # -> 4.5.2 on overlay. # - # Markos Chandras <[email protected]> # - # qt overlay # - ############################################## - """ -} - -usage(){ - echo """ - ##################### USAGE ##################### - # E.g # - # ./bump-qt-overlay 4.5.1 4.5.2 will copy 4.5.1 # - # packages from portage and bump them to 4.5.2 # - # on qt overlay # - ################################################# - """ -} -if [[ ${1} == -h ]];then - moto - usage - exit 3 -fi - -if [[ $# != 2 ]]; then - eerror "Incorrect number of parameters" - usage - eerror "Exiting..." - exit 2 -fi - - -pushd ${overlay} -for pkg in qt qt-assistant qt-core qt-dbus qt-demo qt-gui qt-opengl qt-phonon qt-qt3support qt-script qt-sql qt-svg qt-test qt-webkit qt-xmlpatterns; do - qtpkg=$(find ${portdir} -type f -name "${pkg}-${base}*"|tail -1) - cp ${qtpkg} ${pkg}/${pkg}-${version}.ebuild - cd ${pkg} - git add . - echangelog "Version bump to ${version}" - repoman manifest - cd .. -done -einfo "Packages are ready but I advice you to review them first. ${GREEN}Commit[C]${NORMAL}/${RED}Review[R]${NORMAL}" && read choice -if [[ "${choice}" == "C" ]]; then - git commit -a -m "dev-qt/qt*:bump to ${version}" - git pull --rebase - git push -elif [[ "${choice}" == "R" ]]; then - einfo "Script ended for further review" -else - eerror "No valid choice" - exit 1 -fi -exit 0 diff --git a/Documentation/maintainers/bump-qt-tree b/Documentation/maintainers/bump-qt-tree deleted file mode 100755 index c90ed1c9..00000000 --- a/Documentation/maintainers/bump-qt-tree +++ /dev/null @@ -1,83 +0,0 @@ -#!/bin/bash -# custom script for bumping Qt release ebuilds -# use at your own risk! -# make sure you take care of any new patches before running this script -# this does not include the qt meta ebuild - -portdir=$(portageq envvar PORTDIR) -RelVer="4.6.2" -FinalVer="4.6.3" - -usage() { - echo - echo "[bump-qt-tree] Bumping Qt ebuilds to ${FinalVer} using ${RelVer} as referense" - echo "[bump-qt-tree] and running cvs add, echangelog and repoman manifest" - echo - echo "Options:" - echo " -h : displays this message " - echo " -f : Does a full bump " - echo " -b : Creates the new ebuilds but it doesn't commit them" - echo " -r : Runs repoman full only" - echo " -c : Run commit phase only" - echo -} - -bump() { - cd $portdir/x11-libs/ - for i in qt-{assistant,core,dbus,demo,gui,multimedia,opengl,phonon,qt3support,script,sql,svg,test,webkit,xmlpatterns} ; do - pushd ${i} || exit 'cannot pushd' - tomove=$(find '.' -type f -name "${i}-${RelVer}*.ebuild"|head -1) - cp ${tomove} ${i}-${FinalVer}.ebuild - cvs add ${i}-${FinalVer}.ebuild || exit 'cannot cvs add' - echangelog "Version bump to ${FinalVer}" || exit 'cannot echangelog' - repoman manifest || exit 'cannot manifest' - popd - done -} - -check() { - cd $portdir/x11-libs/ - echo - echo "[bump-qt-release] Checking ebuilds with repoman full - abort if needed" - echo - for i in qt-{assistant,core,dbus,demo,gui,multimedia,opengl,phonon,qt3support,script,sql,svg,test,webkit,xmlpatterns} ; do - pushd ${i} || exit 'cannot pushd' - repoman full - popd - done -} - -commit() { - cd $portdir/x11-libs/ - echo - echo "[bump-qt-release] Doing the actual commit of Qt ${Final} ebuilds" - echo - echo "Press 'y' if you are sure about this or 'n' to abort" - read choice - case "$choice" in - y)for i in qt-{assistant,core,dbus,demo,gui,multimedia,opengl,phonon,qt3support,script,sql,svg,test,webkit,xmlpatterns} ; do - pushd ${i} || exit 'cannot pushd' - repoman commit -m "Qt ${Final} release version bump" - popd - done - ;; - r|"") echo "aborted..." - ;; - - esac -} - -if [[ "$1" == "-h" ]]; then - usage -elif [[ "$1" == "-f" ]]; then - bump - check - commit -elif [[ "$1" == "-r" ]]; then - check -elif [[ "$1" == "-b" ]]; then - bump -elif [[ "$1" == "-c" ]]; then - commit -else usage -fi diff --git a/Documentation/maintainers/compare-ebuilds.sh b/Documentation/maintainers/compare-ebuilds.sh deleted file mode 100755 index ba630e9e..00000000 --- a/Documentation/maintainers/compare-ebuilds.sh +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/bash - -# -# Script for comparing release ebuilds against live ebuilds -# Author: Markos Chandras <[email protected]> -# - -. /etc/init.d/functions.sh - -usage() { - echo - echo "./compare-ebuilds.sh <version you want to compare>" - echo -} - -PORTDIR="$(portageq envvar PORTDIR)" -OVERLAY= -LIVE_VERSION="4.8.9999" # you normally don't need to change that - -#hacky way to find full path for qt overlay -OVERLAY=$(portageq get_repo_path / qt) - -[[ -z ${OVERLAY} ]] && \ - echo "Can't find path for your Qt overlay" && \ - exit 1 - -[[ -z ${1} ]] && \ - echo "Wrong number of parameters" && \ - usage && exit 1 - -for x in $(find ${PORTDIR}/x11-libs -type f -name "qt-*-${1}*.ebuild" -printf "%h\n"|uniq);do - diff -Naur $(find ${x} -type f -name "*-${1}*.ebuild") \ - ${OVERLAY}/x11-libs/$(basename ${x})/$(basename ${x})-${LIVE_VERSION}.ebuild - if [[ $? != 0 ]]; then - einfo "Press enter if you want to move to the next ebuild" - einfo "or 'n' if you want to stop now!" - read resp - [[ ${resp} == "n" ]] && exit 1 - fi -done - -einfo "Sweet! All done!" - -exit 0 diff --git a/Documentation/maintainers/remove-qt-tree b/Documentation/maintainers/remove-qt-tree deleted file mode 100755 index 5a2981da..00000000 --- a/Documentation/maintainers/remove-qt-tree +++ /dev/null @@ -1,77 +0,0 @@ -#!/bin/bash -# custom script for removing Qt release ebuilds -# use at your own risk! -# make sure you take care of any new patches before running this script -# this does not include the qt meta ebuild - -portdir=$(portageq envvar PORTDIR) -RelVer="4.6.1" - -usage() { - echo - echo "[remove-qt-tree] Removing Qt-${RelVer} ebuilds" - echo - echo "Options:" - echo " -h : displays this message " - echo " -f : Does a full bump " - echo " -r : Removes the ebuilds but doesn't commit them" - echo " -c : Run commit phase only" - echo -} - -remove() { - cd $portdir/x11-libs/ - for i in qt-{assistant,core,dbus,demo,gui,multimedia,opengl,phonon,qt3support,script,sql,svg,test,webkit,xmlpatterns} ; do - pushd ${i} || exit 'cannot pushd' - find '.' -type f -name "${i}-${RelVer}*.ebuild"|xargs cvs remove -f - echangelog "Drop Qt-${RelVer}" || exit 'cannot echangelog' - repoman manifest || exit 'cannot manifest' - popd - done -} - -check() { - cd $portdir/x11-libs/ - echo - echo "[remove-qt-release] Checking ebuilds with repoman full - abort if needed" - echo - for i in qt-{assistant,core,dbus,demo,gui,multimedia,opengl,phonon,qt3support,script,sql,svg,test,webkit,xmlpatterns} ; do - pushd ${i} || exit 'cannot pushd' - repoman full - popd - done -} - -commit() { - cd $portdir/x11-libs/ - echo - echo "[remove-qt-release] Remove ${RelVer} ebuilds from cvs repo" - echo - echo "Press 'y' if you are sure about this or 'n' to abort" - read choice - case "$choice" in - y)for i in qt-{assistant,core,dbus,demo,gui,multimedia,opengl,phonon,qt3support,script,sql,svg,test,webkit,xmlpatterns} ; do - pushd ${i} || exit 'cannot pushd' - repoman commit -m "Removing Qt-${RelVer}" - popd - done - ;; - r|"") echo "aborted..." - ;; - - esac -} - -if [[ "$1" == "-h" ]]; then - usage -elif [[ "$1" == "-f" ]]; then - remove - check - commit -elif [[ "$1" == "-r" ]]; then - remove - check -elif [[ "$1" == "-c" ]]; then - commit -else usage -fi
