reassign 516949 unicap thanks Kurt Roeckx <k...@roeckx.be> writes:
> It seems that the include file moved from /usr/include/ffmpeg/avcodec.h > to /usr/include/libavcodec/avcodec.h but that the libavcodec.pc > is not properly changed. > > The old .pc file had: > prefix=/usr > includedir=${prefix}/include > Cflags: -I${includedir}/ffmpeg > > While the new one just has: > prefix=/usr > includedir=${prefix}/include > Cflags: -I${includedir} That is perfectly okay, applications are now expected to use #include <libavcodec/avcodec.h> for unicap this patch does the trick:
--- a/libucil/colorspace.c +++ b/libucil/colorspace.c @@ -20,8 +20,8 @@ #include "config.h" #if HAVE_AVCODEC -#include <avcodec.h> -#include <avutil.h> +#include <libavcodec/avcodec.h> +#include <libavutil/avutil.h> #endif //HAVE_AVCODEC #include <sys/types.h> --- a/examples/c/avcodec/recordvideo.c +++ b/examples/c/avcodec/recordvideo.c @@ -21,7 +21,7 @@ #undef HAVE_AV_CONFIG_H #endif -#include <avcodec.h> +#include <libavcodec/avcodec.h> int PixelFormatBPP[] = { //PIX_FMT_NONE= -1, --- a/libucil/ucil_avc_avi.c +++ b/libucil/ucil_avc_avi.c @@ -31,7 +31,7 @@ #include <semaphore.h> #include <pthread.h> #include <stdarg.h> -#include <avcodec.h> +#include <libavcodec/avcodec.h> #include <glib.h> #include "avi.h" #include "ucil_avc_avi.h"
I've prepared an NMU for this and removing the unnecessary build dependency on libavformat. Here is the debdiff:
unicap.debdiff
Description: Binary data
I'm going to upload it in 3 days unless Jonas prefers that I don't. This short delay is in agreement with the release team (well, in fact, dato just asked me to do so on irc) -- Gruesse/greetings, Reinhard Tartler, KeyID 945348A4