[FFmpeg-devel] [PATCH] dct-test compile fix

Diego Biurrun diego
Wed Jun 25 01:54:05 CEST 2008


On Tue, Jun 24, 2008 at 09:53:32PM +0000, Jacob Meuser wrote:
> On Tue, Jun 24, 2008 at 10:20:56PM +0100, M?ns Rullg?rd wrote:
> > "Ronald S. Bultje" <rsbultje at gmail.com> writes:
> > > On Tue, Jun 24, 2008 at 4:23 PM, Diego Biurrun <diego at biurrun.de> wrote:
> > >> Are you still using your port of our build system to autoconf that
> > >> manages to cram less features into more lines of code? ;-p
> > >
> > > As long as no proper make dist and distcheck replacements exist such
> > > that it allows me to integrate it with 0 (zero) lines of (build) code
> > > into any project that I base on ffmpeg: yes.
> > >
> > > (Actually, it's 2 lines of build code: I need
> > > AC_CONFIG_SUBDIRS(ffmpeg) in my configure.ac and a SUBDIRS=ffmpeg in
> > > the toplevel Makefile.am. Try beating that. :-).)
> > 
> > The fallacy here is in the use of autoconf at all.  If the outer
> > package didn't use autoconf, interfacing to FFmpeg's configure would
> > be trivial.
> 
> I had to hack ffmpeg's build process more than most autotools
> using projects to get ffmpeg to build and work on OpenBSD ...
> including removal of some of the explicit OpenBSD support in the
> configure script which has bit-rotted to the breaking point
> (hint: shared library names).

That hint is not enough, I need to be told what is wrong, I don't have
access to an OpenBSD system for testing.  Patches are also welcome.

> well, at least you're only (ab)using GNU make as opposed to
> say scons (shudder).

GNU Make is available everywhere (even on OpenBSD) and it is much better
than traditional Unix Make.  This is not something that can be said
about all GNU software...

> and no, I'm not going to send my patches back to you because
> they are not "acceptable" and are purely "hacks" that most likely
> break other platforms.  I don't have time to "correctly" fix the
> problems, or argue what is or isn't "correct".

This is precisely the experience I have been having with BSD people here
and in MPlayer: Lots of complaints about portability issues, but no
solutions that are portable even between BSD flavors.  All you seem
to do is collect hacks in your ports trees...

> but if you're interested, they will (most likely) show up at
> http://www.openbsd.org/cgi-bin/cvsweb/ports/graphics/ffmpeg/patches/
> within the next week.

Let me know when they show up.

Diego




More information about the ffmpeg-devel mailing list