diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2024-09-07 11:59:34 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2024-09-07 11:59:34 +0200 |
commit | b61f5143ed732231103f670406680f73a1116826 (patch) | |
tree | db0683f9a02f51d23cf95e3a549d6711c14ca900 /Documentation | |
parent | kde-frameworks/qqc2-desktop-style: 6.6.0 version bump (diff) | |
download | kde-b61f5143ed732231103f670406680f73a1116826.tar.gz kde-b61f5143ed732231103f670406680f73a1116826.tar.bz2 kde-b61f5143ed732231103f670406680f73a1116826.zip |
Documentation: maintainers/regenerate-files: Drop KF5_RELEASE support
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'Documentation')
-rwxr-xr-x | Documentation/maintainers/regenerate-files | 44 |
1 files changed, 3 insertions, 41 deletions
diff --git a/Documentation/maintainers/regenerate-files b/Documentation/maintainers/regenerate-files index c328b37519..2499047176 100755 --- a/Documentation/maintainers/regenerate-files +++ b/Documentation/maintainers/regenerate-files @@ -9,9 +9,6 @@ cd "$(dirname $0)" SCRIPT=$(basename $0) HEADER="# Autogenerated by ${SCRIPT}, DO NOT EDIT." -KF5_RELEASES="5.116" -KF5_RELEASE=${KF5_RELEASE:-5.116} - KF6_RELEASES="6.5 6.6" KF6_RELEASE=${KF6_RELEASE:-6.5} @@ -23,14 +20,6 @@ GEAR_RELEASE=${GEAR_RELEASE:-24.05} # regenerate keywords pushd ../package.accept_keywords/ > /dev/null -for release in $KF5_RELEASES; do - if [[ -d ".kde-frameworks-5-${release}" ]]; then - echo -e "${HEADER}" > "kde-frameworks-${release}.keywords" - cat ".kde-frameworks-5-${release}/"* | grep -P -v '^>=kde-frameworks/(?!kf-env)' | \ - sed -e '/^~.*[.-]5\.9999$/s/$/ **/' -e '/^@/d' >> "kde-frameworks-${release}.keywords" - fi -done - if [[ -n ${KF6_RELEASES} ]]; then for release in $KF6_RELEASES; do if [[ -d ".kde-frameworks-${release}" ]]; then @@ -108,15 +97,6 @@ popd > /dev/null # regenerate unmask entries (base for package mask) pushd ../package.unmask/ > /dev/null -for release in $KF5_RELEASES; do - if [[ -d ".kde-frameworks-5-${release}" ]]; then - echo -e "${HEADER}" > "kde-frameworks-${release}" - cat ".kde-frameworks-5-${release}/"* | \ - grep -P -v '^>=kde-frameworks/(?!kf-env)' >> "kde-frameworks-${release}" - sed -i "kde-frameworks-${release}" -e "/^@/d" - fi -done - for release in $KF6_RELEASES live; do if [[ -d ".kde-frameworks-${release}" ]]; then echo -e "${HEADER}" > "kde-frameworks-${release}" @@ -144,16 +124,6 @@ popd > /dev/null # regenerate mask entries (base for package mask) pushd ../package.mask/ > /dev/null -for release in $KF5_RELEASES; do - if [[ -d "../package.unmask/.kde-frameworks-5-${release}" ]]; then - echo -e "${HEADER}" > "kde-frameworks-${release}" - cat "../package.unmask/.kde-frameworks-5-${release}/"* | \ - grep -P -v '^>=kde-frameworks/(?!kf-env)' >> "kde-frameworks-${release}" - sed -i "kde-frameworks-${release}" \ - -e "/^<kde-frameworks\/.*-5\..\.50:5$/{s/-5\..\.50/-${release}/;s/^</>=/}" -e '/^@/d' - fi -done - for release in $KF6_RELEASES live; do if [[ -d "../package.unmask/.kde-frameworks-${release}" ]]; then echo -e "${HEADER}" > "kde-frameworks-${release}" @@ -185,20 +155,12 @@ popd > /dev/null # regenerate unversioned sets pushd ../../sets/ > /dev/null -for set in *frameworks-5*${KF5_RELEASE}; do - newfile=${set/%-${KF5_RELEASE}} +for set in *frameworks-*${KF6_RELEASE}; do + newfile=${set/%-${KF6_RELEASE}} echo -e "${HEADER}" > "${newfile}" - sed -r "/@/s/-${KF5_RELEASE}//g;/5\.9999$/s/~//;s/<//;\@kde-[a-z]+/@s/-(5\.9999|5\.[0-9]+\.50)/:5/" "${set}" >> "${newfile}" + sed -r "/@/s/-${KF6_RELEASE}//g;/9999$/s/~//;s/<//;\@kde-frameworks/@s/-(9999|5\.[0-9]+\.50)//" "${set}" >> "${newfile}" done -if [[ -n ${KF6_RELEASE} ]]; then - for set in *frameworks-*${KF6_RELEASE}; do - newfile=${set/%-${KF6_RELEASE}} - echo -e "${HEADER}" > "${newfile}" - sed -r "/@/s/-${KF6_RELEASE}//g;/9999$/s/~//;s/<//;\@kde-frameworks/@s/-(9999|5\.[0-9]+\.50)//" "${set}" >> "${newfile}" - done -fi - for set in *plasma-${PLASMA_RELEASE}; do newfile=${set/%-${PLASMA_RELEASE}} echo -e "${HEADER}" > "${newfile}" |