Re: libav strict internal shlibs dependencies

2012-04-06 Thread Reinhard Tartler
On Fri, Apr 6, 2012 at 3:59 AM, Andres Mejia amejia...@gmail.com wrote:
 I see the strict internal dependencies was added long ago. [1] Is this
 something that is still needed? I imagine each of the libraries don't
 need these strict dependencies with one another anymore, and if it
 still does, it should be bug. libpostproc will soon be it's own
 package. Any thoughts on these strict shlib dependencies removal?

 1. 
 http://anonscm.debian.org/gitweb/?p=pkg-multimedia/libav.git;a=commitdiff;h=a1229f8ace3f5cf129685b26d9ef212637caa3b9;hp=b5c2d2d409e03c239ba1df50247516f73eff3669

They have been introduced because the  libav* libraries do use a
number of internal APIs that are not supposed by external
applications. This means that within a point release, some library may
introduce or relocate internal symbols so that mixing them would
potentially break of not all binary packages come from the same source
package.

I think we should keep them. However, I see room for simplification.
Since libav-extra is now built from the same source package, we no
longer need ranges, but can declare strict dependencies on the exact
version. I think the following should do:

  dh_makeshlibs -p$$pkg -V$$pkg (= $${binary:Version}) | $$upkg (=
$${binary:Version}));

Regarding libpostproc, AFAIUI libpostproc does not make use of
internal APIs, so strictly speaking, the tight internal dependencies
are not necessary.

-- 
regards,
    Reinhard

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers


Re: libav strict internal shlibs dependencies

2012-04-06 Thread Fabian Greffrath
Am Donnerstag, den 05.04.2012, 21:59 -0400 schrieb Andres Mejia:
 package. Any thoughts on these strict shlib dependencies removal?

Please keep the strict internal dependencies for the reasons Reinhard
mentioned. One should not mix libraries of e.g. version 0.x from testing
with 0.x.y from unstable. The libraries should transition in one single
rush and this should be made sure by their internal dependencies.

But I also think the internal dependencies should get simplified -- in a
way that the alternative dependencies on the -extra flavours should get
dropped for all libraries but libavcodec, which is the only one that
actually provides a reasonable -extra variant.

 - Fabian



___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers


libav strict internal shlibs dependencies

2012-04-05 Thread Andres Mejia
I see the strict internal dependencies was added long ago. [1] Is this
something that is still needed? I imagine each of the libraries don't
need these strict dependencies with one another anymore, and if it
still does, it should be bug. libpostproc will soon be it's own
package. Any thoughts on these strict shlib dependencies removal?

1. 
http://anonscm.debian.org/gitweb/?p=pkg-multimedia/libav.git;a=commitdiff;h=a1229f8ace3f5cf129685b26d9ef212637caa3b9;hp=b5c2d2d409e03c239ba1df50247516f73eff3669

-- 
~ Andres

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers