aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Pesavento <davidepesa@gmail.com>2013-06-30 16:11:11 -0700
committerDavide Pesavento <davidepesa@gmail.com>2013-06-30 16:11:11 -0700
commit6200bae019f5a5d948d4e4f729e600f5743842f7 (patch)
treec3fb14e30e1ae37dbbad9a556dc9a9fb1f557ee3 /Documentation
parent[dev-python/PyQt4] Add PYTHON_REQUIRED_USE. (diff)
downloadqt-6200bae019f5a5d948d4e4f729e600f5743842f7.tar.gz
qt-6200bae019f5a5d948d4e4f729e600f5743842f7.tar.bz2
qt-6200bae019f5a5d948d4e4f729e600f5743842f7.zip
Remove obsolete scripts.
Diffstat (limited to 'Documentation')
-rwxr-xr-xDocumentation/maintainers/bump-kde-qt.sh38
-rwxr-xr-xDocumentation/maintainers/bump-live-qt66
2 files changed, 0 insertions, 104 deletions
diff --git a/Documentation/maintainers/bump-kde-qt.sh b/Documentation/maintainers/bump-kde-qt.sh
deleted file mode 100755
index 494687d7..00000000
--- a/Documentation/maintainers/bump-kde-qt.sh
+++ /dev/null
@@ -1,38 +0,0 @@
-# Markos Chandras <hwoarang@gentoo.org>
-# Oneliner for bumping kde-qt ebuilds
-# use it like
-# bump-kde-qt <old version> <new version>
-# This will copy the <old version> ebuilds to <new version>
-# New version is always using 4.9999 ebuilds
-# Lets say you want to bump 4.4.9999 ebuilds to 4.5.9999 you have to write:
-#
-# ./bump-kde-qt 4.4.9999 4.5.9999
-#
-source /etc/init.d/functions.sh
-#### VARIABLES ####
-HOME="`pwd|xargs dirname|xargs dirname`"
-LIBS="x11-libs"
-EXCLUDE="qt-embedded"
-old="${1}"
-new="${2}"
-#################
-cd ${HOME}/${LIBS}
-## update ebuilds and create manifest ##
-ebegin "Updating ebuilds"
-for package in $(ls |grep -v ${EXCLUDE}|grep qt);do cd ${package};rm $(ls|grep ${old});cp "${package}-4.9999.ebuild" "${package}-${new}.ebuild";git add "${package}-${new}.ebuild";echangelog "Version bump to ${new}">>/dev/null;repoman manifest;cd ${HOME}/${LIBS};done
-eend $?
-## update sets ##
-ebegin "Updating sets"
-cd ${HOME}/sets
-sed -i "s/${old}/${new}/" qt-all-live-kde
-eend $?
-## update package keywords ##
-cd ${HOME}/Documentation/package.keywords/
-ebegin "Updating package keywords"
-sed -i "s/${old}/${new}/" qt-live-kde
-eend $?
-## add and commit but DONT push ##
-cd ${HOME}
-ebegin "Ready to commit"
-git add .
-eend $?
diff --git a/Documentation/maintainers/bump-live-qt b/Documentation/maintainers/bump-live-qt
deleted file mode 100755
index 1309cc5d..00000000
--- a/Documentation/maintainers/bump-live-qt
+++ /dev/null
@@ -1,66 +0,0 @@
-#!/bin/bash
-
-. /etc/init.d/functions.sh
-base="${1}"
-version="${2}"
-overlay="$(portageq get_repo_path / qt)/dev-qt/"
-RED=$'\033[31;01m'
-GREEN=$'\e[32;01m'
-moto(){
- echo """
- ##############################################
- # Tool for bumping live qt packages using ge #
- # overlay packages as base. Version 0.0.1 #
- # Usefull for bumping qt releases e.g. #
- # 4.6.9999 -> 4.7.9999 on overlay. #
- # Markos Chandras <hwoarang@gentoo.org> #
- # 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-assistant qt-core qt-dbus qt-demo qt-gui qt-multimedia qt-opengl qt-phonon qt-qt3support qt-script qt-sql qt-svg qt-test qt-webkit qt-xmlpatterns; do
- qtpkg=$(find . -type f -name "${pkg}-${base}*.ebuild")
- cp ${qtpkg} ${pkg}/${pkg}-${version}.ebuild
- cd ${pkg}
- git add .
- 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