[Ffmpeg-devel] ffmpeg uninstall patch

Diego Biurrun diego
Wed May 17 14:34:17 CEST 2006


On Wed, May 17, 2006 at 02:18:25PM +1000, Richard wrote:
> The following is a patch to common.mak, Makefile, and vhook/Makefile
> which adds uninstall functionality. 

cerebus:~/src/ffmpeg$ patch --dry-run -p1  < /tmp/ffmpeg_uninstall.patch 
patching file common.mak
patching file Makefile
Hunk #6 FAILED at 177.
Hunk #7 FAILED at 30.
2 out of 7 hunks FAILED -- saving rejects to file Makefile.rej

Apart from this uninstall is probably a desirable feature.  The question
that needs to be answered first, though is whether uninstallation should
unconditionally uninstall everything or conditionally uninstall just the
parts that were configured during the last configure run.  I'd go for
uninstalling everything.  Opinions?

> --- ffmpeg.orig/Makefile	2006-03-27 09:30:46.000000000 +1100
> +++ ffmpeg/Makefile	2006-05-17 14:03:03.000000000 +1000
> @@ -148,6 +161,14 @@
>  
> +uninstall-libs:
> +	$(MAKE) -C libavutil uninstall-libs
> +	$(MAKE) -C libavcodec uninstall-libs
> +	$(MAKE) -C libavformat uninstall-libs

Nit: Please prettyprint this so that the columns align, same below.

Diego





More information about the ffmpeg-devel mailing list