[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#280826: patch to make kdelibs include debian revision in shlibs



tags 280826 +patch
thanks

On Wednesday 10 November 2004 04:50 pm, Chris Cheney wrote:
> debhelper used to set it to exact debian revision, but changed now to
> just use the upstream revision with no obvious way to get the old
> behavior.

I don't know if including the debian revision in shlibs is the best thing to 
do, but if KDE upstream regularly adds functions on the branch, it may be.

As Chris said, "dh_makeshlibs -V" from debhelper v3 included the debian 
revision, while v4 only uses upstream version for shlibs.  Here is a patch 
for kdelibs to use v3 compat mode for dh_makeshlibs only (all other dh_* 
will still be run at v4 mode).

Josh

--- debian/rules-old    2004-11-11 10:19:24.000000000 -0500
+++ debian/rules        2004-11-11 10:18:42.000000000 -0500
@@ -206,7 +206,7 @@
        dh_fixperms -Xusr/bin/fileshareset -Xusr/bin/kgrantpty 
-Xusr/bin/kpac_dhcp_helper
        dh_perl
 #      dh_python
-       dh_makeshlibs -V
+       export DH_COMPAT=3; dh_makeshlibs -V
        dh_installdeb
        dh_shlibdeps -ldebian/kdelibs-bin/usr/lib:debian/kdelibs4/usr/lib
        dh_gencontrol



Reply to: