Enable faad support in ffmpeg/experimental
Fabian Greffrath
greffrath at leat.rub.de
Thu Mar 20 14:18:22 UTC 2008
Reinhard Tartler schrieb:
> Ok, then the tarball is botched. I'll remove it then. Sorry for the
> inconvenience.
No problem. ;)
> Where does this come from?
Well, you run all other rules from there as well, e.g. think about
where you run 'fakeroot debian/rules clean' from.
> It doesn't make too much sense to me, since
> it would work then inside the top level of the upstream source, creating
> a subdirectory with another copy of the upstream source.
It's a temporary directory that will be deleted afterwards anyway.
For your understanding, the script is supposed to be run inside your
local SVN tree *before* you even have the source code (note that it
saves the tarball in ../tarballs). I.e. you prepare a new package by
first creating a new changelog entry (introducing a new source
version) and secondly running the get-orig-source rule. Not till then
you have your working source tarball.
> the newly created subdirectory ffmpeg-free-0.svn20080206 does not
> contain a debian/ directory yet, so it cannot run debian/strip.sh here.
Argh, it's supposed to be 'sh ../debian/strip.dh', I guess.
> Ideally the script would create a temporary directory in /tmp, prepare
> the source, tar it in a tarball and copies the tarball either on stdout
> or in the current working directory.
IMHO it doesn't matter where the temporary directory is created. The
other steps are allready provided by the rule, with the exeption of
the fact that it stores the tarball in ../tarballs to provide that
it's found by svn-buildpackage (as I tried to explain above).
OTOH, where do you expect the get-orig-source rule to find the
debian/strip.sh script and how could it guess the package version
number (via dpkg-parsechangelog, not hard-coding) if it's not run from
the top level source directory?
> I do hope that not, however I'm not sure. I'm still looking for a
> reliable for checking this.
Hm, we could compare which symbols are provided by the libraries
before and after running debian/strip.sh (and then compiling...).
--
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: greffrath at leat.ruhr-uni-bochum.de
More information about the pkg-multimedia-maintainers
mailing list