xvidcore broken - ok to use CDBS?

Andres Mejia mcitadel at gmail.com
Mon Sep 13 16:34:02 UTC 2010


On Monday 13 September 2010 08:35:34 Jonas Smedegaard wrote:
> On Mon, Sep 13, 2010 at 07:58:58AM -0400, Felipe Sateler wrote:
> >On 13/09/10 07:52, Fabian Greffrath wrote:
> >>> * I will no longer offer my help with issues that could be solved
> >>> using either short-form dh or CDBS - except when CDBS is already used.
> >> 
> >> But I still fail to understand this point. If for example a package
> >> using short-form dh7 in debian/rules needs a patch to the source or
> >> is missing a file reference in debian/foo.install, what keeps you
> >> from contributing?
> >
> >The issue at hand was solvable by either:
> >
> >1- Dropping the patch, using a CDBS feature
> >2- Dropping the patch, using dh-autoreconf
> >3- Modifying the patch.
> >
> >From what I understand, jonas was offering 1. When short-form dh is
> >used, _any_ modification to debian/rules needs understanding of short
> >form dh. So he is saying that he will no longer offer help for cases
> >like this one, which can be solved by features either in CDBS or in dh.
> 
> That is correctly understood.
> 
> As an aside, I personally believe that CDBS "infected" rules files are
> easier hackable by non-CDBS developers than short-form dh "infected"
> ones, but respect if others feel similarly alienated by CDBS as I do by
> short-form dh.

I suppose it would be easier to hack on CDBS rules file if you happen to be
CDBS author.

I however didn't find it easier when I was trying to do the equivalent of
'override_dh_gencontrol' using CDBS. For example, look at [1]. Chromium
browser dlopen's ffmpeg libs. In order to depend on proper ffmpeg libs using
dpkg-shlibdeps mechanism of calculating dependencies, the dependencies have to
be manually added.

It took me quite a while to figure out that the equivalent for
'override_dh_gencontrol' in CDBS is overridding
'binary-makedeb-IMPL/<package_name>::' target from debhelper.mk. It was not
documented cdbs-doc, so I had to actually look at the source to figure this
out.

This reminds me. I should now report a bug to CDBS about this.

1. http://bzr.debian.org/scm/loggerhead/pkg-chromium/chromium-browser/chromium-browser.sid/annotate/head:/debian/rules

> 
> Kind regards,
> 
>   - Jonas

-- 
Regards,
Andres Mejia



More information about the pkg-multimedia-maintainers mailing list