How to fix the kdelibs5-dev build depend versions easily

José Manuel Santamaría Lema panfaust at
Thu Apr 16 21:13:51 UTC 2015


in the 15.04.0 build status page[1] I noticed you have a fair number of packages 
in dep-wait waiting for an inexistent kdelibs5-dev version:
> 	Dependency wait: kdelibs5-dev >= 4:15.04.0

Since sending patches with git-format-patch would be insane for this case, I will 
offer you a way to do it without much pain instead:

1. clone this repository 
in /usr/local/bin/ or in other place and add it to your $PATH

2. once done you can use the fix-kdelibs-version script to fix one package this way:
> user at host:/home/user/siduction-devel/kde-applications$ cd libkdeedu/   
> user at host:/home/user/siduction-devel/kde-applications/libkdeedu$ fix-kdelibs-version 
> user at host:/home/user/siduction-devel/kde-applications/libkdeedu$ git diff
> diff --git a/debian/control b/debian/control
> index 4181aa2..b33964c 100644
> --- a/debian/control
> +++ b/debian/control
> @@ -6,7 +6,7 @@ Uploaders: Maximiliano Curia <maxy at>
>  Build-Depends: cmake,
>                 debhelper (>= 9),
>                 kde-sc-dev-latest (>= 4:4.12),
> -               kdelibs5-dev (>= 4:4.11),
> +               kdelibs5-dev (>= 4:4.14),
>                 libx11-dev,
>                 pkg-kde-tools (>= 0.12)
>  Standards-Version: 3.9.5

3. or you can fix all of them doing this:
> user at host:/home/user/siduction-devel/kde-applications$ do-all fix-kdelibs-version
> user at host:/home/user/siduction-devel/kde-applications$ do-all git commit -a -m "Fix kdelibs5-dev version"
> user at host:/home/user/siduction-devel/kde-applications$ do-all git push origin kubuntu_vivid_backports
assuming "/home/user/siduction-devel/kde-applications" is a directory containing
all the git repositories for KDE Applications with current branch "kubuntu_vivid_backports"

I hope the idea helps you save some time. If you have any questions about my modest siduction automation 
scriptery feel free to ask here or in #kubuntu-devel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <>

More information about the kubuntu-devel mailing list