Am 19.12.2009 01:53, schrieb drbob:
I tried the method as described by hjsalchow but found that whilst it
produced some deb files for me they too had the codecs stripped out. The
debian rules script is crafted to remove the codecs even if you use
"get-orig-source".


Yes, debian/rules has to do two things here: Strip the codecs out of the source tarball (in get-orig-source) and then strip the calling of these codecs out of the remaining code.

I managed to recompile with the mpeg2 encoder enabled by editing
debian/rules to stop it stripping out the codecs from the original
source. I describe what I did in more detail here:

http://gbdrbob.wordpress.com/2009/12/07/ffmpeg-mpeg2-debian-lenny/

Nice instructions, but: If you set DEB_BUILD_OPTIONS on a separate command line, you should export them to the environment. This is why I suggested to set them on the same line as the calls to "fakeroot debian/rules" resp. "dpkg-buildpackage".

Regarding the problem with the package version remaining the same, you can add a new revision number by running e.g. "dch --nmu" or similar.

I'm sure there must be a more elegant way to do this but it worked for
me. Hope this helps those who need mpeg2 and don't want to use packages
from unstable on their system.

No, there isn't! Rebuilding the Debian packages to achieve extra codecs is completely unsupported. We introduced the "internalencoders" options just for convenience reasons.

Cheers,
Fabian



--
Dipl.-Phys. Fabian Greffrath

Ruhr-Universität Bochum
Lehrstuhl für Energieanlagen und Energieprozesstechnik (LEAT)
Universitätsstr. 150, IB 3/134
D-44780 Bochum

Telefon: +49 (0)234 / 32-26334
Fax:     +49 (0)234 / 32-14227
E-Mail:  greffr...@leat.ruhr-uni-bochum.de



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

Reply via email to